You are on page 1of 4

http://download.microsoft.

com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6
E/vcredist_x86.exe
Simple commands
Spawn prefab
c_spawn("prefab", amount)
Improved DebugSpawn("prefab"), spawns amount of selected "prefab" under the mous
e 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%
.
Spawn item
c_give("prefab", am?ount)
Creates selected item at given amount directly into your inventory.
God Mode
c_godmode()
It won't drain Sanity, Hunger or Health when attacked anymore.
Set running speed
c_speed(value)
Standard runspeed is 1. 10 makes you a bit faster and with 40 you can walk throu
gh walls and "over" water.
There's some other commands, but they're hard to use and not very useful.
ADVERTISEMENT
Player commands
Creative mode
?GetPlayer().components.builder:GiveAllRecipes()?
You can craft everything.
Maximum health
??GetPlayer().components.health:SetMaxHealth(value)?
Change the Maximum Health of your Characters

Maximum sanity
?GetPlayer().components.sanity:SetMax(value)?
Change the Maximum Sanity of your Characters
Maximum hunger
?GetPlayer().components.hunger:SetMax(value)?
Change the Maximum Hunger of your Characters
Pause hunger
?GetPlayer().components.hunger:Pause(true)?
Your Characters won't starve anymore.
Werebeaver
?GetPlayer().components.beaverness:SetPercent(1)?
Turn Woodie into the Werebeaver.
World commands
Teleport to Prefab
?c_gonext("prefab")?
After pressing enter, it teleports you to the first numerical instance of the na
med prefab. If multiple iterations of the prefab exist, a list of the entity num
bers will be displayed in the console log, and each subsequent execution of the
same command will transport the player from entity to entity in the order they w
ere generated in the world.
Delete Item Under Mouse
?TheInput:GetWorldEntityUnderMouse():Remove()?
After pressing enter, it deletes the item under your mouse
Reveal Map
GetWorld().?minimap.MiniMap:ShowArea(0,0,0,10000)?
Skip day
?GetClock():MakeNextDay()
Skips the current day.
Skip more days
?for x = 1, 50 do GetClock():MakeNextDay() end?
Skips 50 days in this example. Replace 50 with the amount of days you want to sk
ip.
WARNING: Too big values may freeze the game. (Depending on computer speed)
Skip time units and update
?LongUpdate(X)?
Skips X time units and performs the "LongUpdate" function on world objects
Note: There are 30 time units per segment. To skip a whole day one can either us
e LongUpdate(480) or use multiplicative values such as LongUpdate(X*16*30) or Lo
ngUpdate(X*TUNING.TOTAL_DAY_TIME), with X=days to skip.
Set segments
Usage:

?GetClock():SetSegs(day,dusk,night)
Sets amount of segments. Errors if adds up to over 16. Example:
?GetClock():SetSegs(14,1,1)
Very long day, very short dusk and night (one segment for dusk and one for night
)
Skip phase
?GetClock():NextPhase()?
Skips the current phase.
Start Summer
?GetSeasonManager():StartSummer()?
Start summer
Start Winter
?GetSeasonManager():StartWinter()?
Start winter
For the DLC the additional commands are GetSeasonManager():StartSpring()? and Ge
tSeasonManager():StartAutumn()?
Start Rain
?GetSeasonManager():StartPrecip()?
Start rain.
Stop Rain
?GetSeasonManager():StopPrecip()?
Stop rain.
Do Lightning Strike
?GetSeasonManager():DoLightningStrike(Vector3(GetPlayer().Transform:GetWorldPosi
tion()))?
Lightning strike on player. Will hit lightning rod instead if there is one near
Measure Distance
?print(math.sqrt(GetPlayer():GetDistanceSqToInst(TheInput:GetWorldEntityUnderMou
se())))?
Prints the distance between player and object under mouse to the console log (di
splayed with Ctrl + L by default).
Profile Commands
While profile commands are permanent and do not need to be done each time, they
do need to be performed while in a game. You can unlock multiple characters at
a time without requiring the line including the save until the very last step.
Unlock Willow
GetPlayer().profile:UnlockCharacter("willow")
GetPlayer().profile:Save()
Unlocks Willow. Does not need to be re-entered after the first time unless you
lose your profile settings.
Unlock Wolfgang
GetPlayer().profile:UnlockCharacter("wolfgang")
GetPlayer().profile:Save()
Unlocks Wolfgang. Does not need to be re-entered after the first time unless yo
u lose your profile settings.
Unlock Wendy

GetPlayer().profile:UnlockCharacter("wendy")
GetPlayer().profile:Save()
Unlocks Wendy. Does not need to be re-entered after the first time unless you l
ose your profile settings.
Unlock WX-78
GetPlayer().profile:UnlockCharacter("wx78")
GetPlayer().profile:Save()
Unlocks WX-78. Does not need to be re-entered after the first time unless you l
ose your profile settings.
Unlock Wickerbottom
GetPlayer().profile:UnlockCharacter("wickerbottom")
GetPlayer().profile:Save()
Unlocks Wickerbottom. Does not need to be re-entered after the first time unles
s you lose your profile settings.
Unlock Woodie
GetPlayer().profile:UnlockCharacter("woodie")
GetPlayer().profile:Save()
Unlocks Woodie. Does not need to be re-entered after the first time unless you
lose your profile settings.
Unlock Wes
GetPlayer().profile:UnlockCharacter("wes")
GetPlayer().profile:Save()
Unlocks Wes. Does not need to be re-entered after the first time unless you los
e your profile settings.
Unlock Maxwell (character)
GetPlayer().profile:UnlockCharacter("waxwell")
GetPlayer().profile:Save()
Unlocks Maxwell. Does not need to be re-entered after the first time unless you
lose your profile settings.
Unlock Wigfrid (Reign of Giants DLC)
GetPlayer().profile:UnlockCharacter("wigfrid")
GetPlayer().profile:Save()
Unlocks Wigfrid. Does not need to be re-entered after the first time unless you
lose your profile settings.
Unlock Webber (Reign of Giants DLC)
GetPlayer().profile:UnlockCharacter("webber")
GetPlayer().profile:Save()
Unlocks Webber. Does not need to be re-entered after the first time unless you
lose your profile settings.
Unlock Everything (Currently all characters)
?GetPlayer().profile:UnlockEverything()
Miscellaneous Commands
Clear the morgue

You might also like