Changes

Jump to navigation Jump to search
→‎Console commands: + world commands
Line 159: Line 159:  
   |desc    = Sets the player's current [[energy|stamina]].
 
   |desc    = Sets the player's current [[energy|stamina]].
 
   |example = <code>player_setstamina 200</code> would give you 200 stamina points.
 
   |example = <code>player_setstamina 200</code> would give you 200 stamina points.
 +
}}
 +
|}
 +
 +
===World===
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/cmd
 +
  |command = hurry_all
 +
  |params  =
 +
  |desc    = Immediately warps all NPCs to their scheduled positions. (To hurry a single NPC, use [[#Debug commands|<tt>debug hurry npc-name</tt>]] instead.)
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = world_clear
 +
  |params  = {{t|S:location}},{{t|S:entity type}}
 +
  |desc    = Removes all entities of the given type from a location.
 +
 +
Parameters:
 +
* {{t|S:location}} is the [[Modding:Location data|internal name for a location]], or <c>current</tt> for the one you're in.
 +
* {{t|S:entity type}} is one of <tt>crops</tt>, <tt>debris</tt>, <tt>fruit-trees</tt>, <tt>furniture</tt>, <tt>grass</tt>, <tt>trees</tt>, <tt>removable</tt> (everything that can be removed or destroyed during normal gameplay), or <tt>everything</tt> (everything including permanent bushes).
 +
  |example = <code>world_clear current debris</code> will remove all debris (sticks, stones, and small plants).
 +
}}
 +
{{/cmd
 +
  |command = world_downminelevel
 +
  |params  =
 +
  |desc    = Goes down one mine level. If you're not in the mines, warps you to the first mine level.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = world_freezetime
 +
  |params  = {{t|I:action}}
 +
  |desc    = Freezes or resumes the time. The {{o|I:action}} can be <c>0</c> (resume time) or <c>1</c> (freeze time); if omitted, time is toggled.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = world_setday
 +
  |params  = {{t|I:day}}
 +
  |desc    = Sets the day of month.
 +
  |example = <code>world_setday 30</code> will set the date to the 30th of the current season.
 +
}}
 +
{{/cmd
 +
  |command = world_setminelevel
 +
  |params  = {{t|I:mine level}}
 +
  |desc    = Warps you to the given mine level. This can be the [[The Mines|regular mines]] (levels 1&ndash;120), [[Skull Cavern]] (121+), or [[Quarry Mine]] (77377).
 +
  |example = <code>world_setminelevel 80</code> warps to mine level 80.
 +
}}
 +
{{/cmd
 +
  |command = world_setseason
 +
  |params  = {{t|S:season}}
 +
  |desc    = Sets the season (one of <tt>spring</tt>, <tt>summer</tt>, <tt>fall</tt>, or <tt>winter</tt>).
 +
  |example = <code>world_setseason spring</code> will set the season to spring.
 +
}}
 +
{{/cmd
 +
  |command = world_settime
 +
  |params  = {{t|I:time}}
 +
  |desc    = Sets the time of day, using the game's 26-hour time format (from 0600 for 6am at the start of day, to 2600 for 2am at the end of day).
 +
  |example = <code>world_settime 1430</code> will set time to 2:30pm.
 +
}}
 +
{{/cmd
 +
  |command = world_setyear
 +
  |params  = {{t|I:year}}
 +
  |desc    = Sets the year number.
 +
  |example = <code>world_setyear 10</code> will set the the game to the 10th year.
 
}}
 
}}
 
|}
 
|}
Line 173: Line 240:  
   |params  =  
 
   |params  =  
 
   |desc    = Opens the folder containing the save and log files.
 
   |desc    = Opens the folder containing the save and log files.
 +
  |example =
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 178: Line 246:  
   |params  =  
 
   |params  =  
 
   |desc    = Opens the [[Modding:Game folder|game folder]].
 
   |desc    = Opens the [[Modding:Game folder|game folder]].
 +
  |example =
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 183: Line 252:  
   |params  =  
 
   |params  =  
 
   |desc    = Logs the [[Modding:Player Guide/Key Bindings|key codes]] for all button presses to the console for 30 seconds.
 
   |desc    = Logs the [[Modding:Player Guide/Key Bindings|key codes]] for all button presses to the console for 30 seconds.
 +
  |example =
 
}}
 
}}
 
|}
 
|}
translators
8,447

edits

Navigation menu