Cheat mode (demo version) Press [~] during game play to display the console window. Press [Tab] to cycle through the available cheat options.
Set armor (demo version) Use Notepad to edit "\Scripts\Default\Gamerules.lua" file (make a backup first!). Find the line with "armor = 0;" string and change the value to 255. Save the changes and run the game.
Invincibility (demo version) Use Notepad to edit "\Scripts\Default\Gamerules.lua" file (make a backup first!). Find the following line:
ai_to_player_damage = { 1, 1, 1, 0.5, 0.5, 0.5 }
and change it to:
ai_to_player_damage = { 0, 0, 0, 0, 0, 0 }
Save the changes, and run the game.
Unlimited ammo (demo version) Use Notepad to edit "\Scripts\Default\Entities\Weapons.lua" file (make a backup first!). Find the line with "loacal unlimitedAmmo = 0;" string and change the value to 1. Save the changes and run the game.
God mode Before [Backspace] will toggle God mode (see the alternative method), open the "devmode.lua" file with a text editor. Scroll to the very bottom, and paste the following if it is not present:
function ToggleGod() if (not god) then god=1; else god=1-god; end if (god==1) then System:LogToConsole("God-Mode ON"); else System:LogToConsole("God-Mode OFF"); end end Input:BindCommandToKey("#ToggleGod()","backspace",1);