/cheat off

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 449
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

/cheat off

Post by raiguard »

It would be nice to have a built-in command for disabling cheat mode, instead of just enabling it. It doesn't need to do anything else, just disable cheat mode for the player who types it. I could read this command's execution and do my own cheat-mode cleanup for Editor Extensions as well. :)
Don't forget, you're here forever.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: /cheat off

Post by Rseding91 »

The "cheat" command was added purely for our own internal use. Since we got sick of it not working in the released version of the game when we'd want to test stuff for bug reports we just left it enabled in the released version.

It's just a shortcut for a few lua commands. You can turn cheat mode off yourself by just doing: /c game.player.cheat_mode = false
If you want to get ahold of me I'm almost always on Discord.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: /cheat off

Post by eradicator »

Already implemented *cough*.

Code: Select all

/sudo cheat(off)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 449
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: /cheat off

Post by raiguard »

eradicator wrote:
Tue Oct 27, 2020 1:44 am
Already implemented *cough*.

Code: Select all

/sudo cheat(off)
EE already has it as well:

Code: Select all

/EditorExtensions disable-cheat-mode
But /cheat off would be more convenient. :D
Don't forget, you're here forever.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: /cheat off

Post by ssilk »

more of such suggestions ;)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: /cheat off

Post by eradicator »

Raiguard wrote:
Tue Oct 27, 2020 2:02 am

Code: Select all

/EditorExtensions disable-cheat-mode
I think i win the shortness contest. Also my personal dev mod just has a shortcut button for it ;).

Raiguard wrote:
Tue Oct 27, 2020 2:02 am
But /cheat off would be more convenient. :D
If you really care that much you know how to implement "//cheat off" or "/cheats off" or whatever :p.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Implemented Suggestions”