Page 1 of 1

[Solved] Is there a way to check if cheat mode is enabled?

Posted: Wed Nov 14, 2012 1:43 am
by andar_b
I'm just thinking it makes sense to have 'debug commands' only available under Cheat Mode - quick and dirty way to make sure they're not available to just everyone if I forget to comment them out.

If there IS just a variable I can check, is there a list of engine variables that I could have referenced instead of asking?

Thanks :)

Re: Is there an easy way to check if cheat mode is enabled?

Posted: Wed Nov 14, 2012 4:39 am
by bricks
tome/dialogs/Birther.lua checks "config.settings.cheat". Don't know if that works globally, though.

Re: Is there an easy way to check if cheat mode is enabled?

Posted: Wed Nov 14, 2012 5:23 am
by andar_b
That seems to work just peachy. Thank you.