Console Commands (Character and World)

Console Commands (Character and World)


Console | Codes  |  Plants |  Monsters  | Beefalo


Character commands:

  • All recipes and free creation: GetPlayer().components.builder:GiveAllRecipes() 
  • Changing maximum health: GetPlayer().components.health:SetMaxHealth(amount)
  • Changing the maximum hunger:  GetPlayer().components.hunger:SetMax(amount)
  • Changing the maximum sanity: GetPlayer().components.sanity:SetMax(amount)
  • Hunger pause: GetPlayer().components.hunger:Pause(X) - 
  • X - select: true - enable. false - disable.
  • Transforming Woody into a beaver and back (available only for Woody):
  • GetPlayer().components.beaverness:SetPercent(1)
  • GetPlayer().components.beaverness:SetPercent(0)
  • SUPER GOD MODE (Unlimited Food, Sanity, and Health): c_supergodmode() 


Game world teams:

  • Moving to an object/animal: c_gonext("blank") 
  • Removing an object/animal:  TheInput:GetWorldEntityUnderMouse():Remove()
  • Removing an object/animal 2:  c_select() c_sel():Remove()
  • Opening the map: GetWorld().​minimap.MiniMap:ShowArea(0,0,0,10000)​ - remove the question marks. 
  • Skip a day:  GetClock():MakeNextDay()
  • Skipping multiple days: for x = 1, 50 do GetClock():MakeNextDay() end
  • Setting the time of day:  GetClock():SetSegs(Time of day, evening, night)
  • Skip phase of the day: GetClock():NextPhase() 


Change of seasons:

  • Start Summer: GetSeasonManager():StartSummer()
  • Start winter: GetSeasonManager():StartWinter()
  • Start Spring: GetSeasonManager():StartSpring()
  • Start Autumn:  GetSeasonManager():StartAutumn()
  • Start Mild Season: GetSeasonManager():StartMild()
  • Start hurricane season: GetSeasonManager():StartWet()
  • Start the green season: GetSeasonManager():StartGreen()
  • Start the dry season: GetSeasonManager():StartDry()


Weather:

  • Starting the rain:  GetSeasonManager():StartPrecip()
  • Stopping the rain:  GetSeasonManager():StopPrecip()
  • Player struck by lightning: 
  • GetSeasonManager():DoLightningStrike(Vector3(GetPlayer().Transform:GetWorldPosition()))

Console Commands: ( Simple ) (Character and World) ( Monsters 1 ) ( Monsters 2 ) ( RoG ) ( SW )

Author:  ✌Pelmen✌


See also:

Nitrogen and Ammonium Salts

Hospital. Stalker: CH

Meteorite Cartridge (70)