Don't Starve: Hamlet Cheats List



Console Commands
Code Effect
RunS​cript [consolecommands] enable console commands:
c_spawn [prefab,amount] Spawn prefab
c_give [prefab,amount] Give Item
c_doscenario [scenario] Scenario (Not tested)
c_sethea​lth [percent] Health
c_setsanit​y [percent] Sanity
c_sethunger [pe​rcent] Hunger
c_godmode God Mode
c_speed [value] Set running speed
GetPlayer().HUD:Hide Hide and show HUD
​GetPlayer().components.builder Creative mode
​​GetPlayer().components.health:SetMaxHealth [value] Maximum health
​GetPlayer().components.sanity:SetMax [value] Maximum sanity
​GetPlayer().components.hunger:SetMax [value] Maximum hunger
​GetPlayer().components.hunger:Pause [true] Pause hunger
​GetPlayer().components.beaverness:SetPercent [1] Werebeaver
c_gonext [prefab] Teleport to Prefab
​TheInput:GetWorldEntityUnderMouse() Delete Entity Under Mouse
c_removeall [prefab] Remove all of one prefab
c_countprefabs [prefab] Count prefabs
c_countallprefabs [prefab] Count all prefabs
GetWorld().minimap.MiniMap:ShowArea [0,0,0,10000] Reveal Map
​GetClock():MakeNextDay Skip day
​c_skipdays [x] Skip more days
​LongUpdate [X] Skip time units and update
​GetClock():SetSegs [day,dusk,night] Set segments
​GetClock():NextPhase Skip phase
​GetSeasonManager():StartSummer Start Summer
​GetSeasonManager():StartWinter Start Winter
GetSeasonManager():StartAutumn Start Autumn
GetSeasonManager():StartSpring Start Spring
GetSeasonManager():StartMild Start Mild Season
GetSeasonManager():StartWet Start Hurricane Season
GetSeasonManager():StartGreen Start Monsoon Season
GetSeasonManager():StartDry Start Dry Season
​GetSeasonManager():StartPrecip Start Rain
​GetSeasonManager():StopPrecip Stop Rain
​GetSeasonManager():DoLightningStrike(Vector3(GetPlayer().Transform:GetWorldPosition Do Lightning Strike
GetVolcanoManager():StartEruption(smokeduration,ashduration,firerainduration,firerockspersecond Do Volcano Eruption
​print(math.sqrt(GetPlayer():GetDistanceSqToInst(TheInput:GetWorldEntityUnderMouse Measure Distance
GetPlayer().prefab = [character] Change Character
GetPlayer().profile:UnlockCharacter[willow] Unlock Willow
GetPlayer().profile:UnlockCharacter [wolfgang] Unlock Wolfgang
GetPlayer().profile:UnlockCharacter [wendy] Unlock Wendy
GetPlayer().profile:UnlockCharacter [wx78] Unlock WX-78
GetPlayer().profile:UnlockCharacter [wickerbottom] Unlock Wickerbottom
GetPlayer().profile:UnlockCharacter [woodie] Unlock Woodie
GetPlayer().profile:UnlockCharacter [wes] Unlock Wes
GetPlayer().profile:UnlockCharacter [waxwell] Unlock Maxwell (character)
GetPlayer().profile:UnlockCharacter [wathgrithr] Unlock Wigfrid
GetPlayer().profile:UnlockCharacter [webber] Unlock Webber
GetPlayer().profile:UnlockCharacter [walani] Unlock Walani
GetPlayer().profile:UnlockCharacter [warly] Unlock Warly
​GetPlayer().profile:UnlockEverything Unlock Everything (Currently all characters)
​ErasePersistentString [morgue] Clear the morgue
ErasePersistentString [profile] Re-lock all unlockable players