Don’t Starve: Hamlet Cheats
Don’t Starve: Hamlet
Cheat Codes:
————
Submitted by: David K
Open the console while in game by pressing “~” by default on English keyboards.
This can be changed at any time in the controls menu. Also you can hide the console
menu again by pressing Ctrl + L.
You will need to run this command once to enable console commands:
RunS?cript(“consolecommands”)
Spawn prefab
c_spawn(“prefab”, amount)
Improved DebugSpawn(“prefab”), spawns amount of selected “prefab” under the mouse cursor.
Give Item
c_give(“prefab”, amount)
Spawns amount of selected “prefab” in your inventory.
Only works with Backpacks and Items that can be stored in the inventory.
Scenario (Not tested)
c_doscenario(scenario)
Apply a scenario script to the selection and run it.
Health
c_sethea?lth(percent)
Sets your health to selected percentage. Note: Use fractional numbers 0.90 = 90%.
Sanity
c_setsanit?y(percent)
Sets your sanity to selected percentage. Note: Use fractional numbers 0.90 = 90%.
Hunger
c_sethunger(pe?rcent)
Sets your hunger to selected percentage. Note: Use fractional numbers 0.90 = 90%.
God Mode
c_godmode()
It won’t drain Sanity, Hunger or Health when attacked anymore. Note that you will need to
turn it off and on again after passing through a Worm Hole, sleeping, Telepoofing, entering
or exiting a cave system, eating mandrakes, or using complicated commands too many times.
Set running speed
c_speed(value)
Standard runspeed is 1. 10 makes you a bit faster and with 40 you can walk through walls
and “over” water.
There’s some other commands, but they’re hard to use and not very useful.