Changes

→‎Relationships: note that you should run `debug houseUpgrade` with `debug marry` if needed
Line 1: Line 1:  
←[[Modding:Index|Index]]
 
←[[Modding:Index|Index]]
 +
 +
{{note box|type=warning|text=<span style="font-size: larger;">'''Console commands aren't meant for general use. Be very careful using them.'''</span>
 +
<br />They can have permanent side-effects on your save data, break your save, or have other unintended effects. If you don't understand the command, don't use it on a save you care about.'''
 +
}}
    
SMAPI provides access to hundreds of console commands with a wide variety of effects, ranging from useful tools to cheats to specialized test commands. These are documented on this page.
 
SMAPI provides access to hundreds of console commands with a wide variety of effects, ranging from useful tools to cheats to specialized test commands. These are documented on this page.
 +
 +
{{TOC}}
    
==Format used on this page==
 
==Format used on this page==
Line 12: Line 18:  
==Console commands==
 
==Console commands==
 
===How to enter console commands===
 
===How to enter console commands===
You must have the Console Commands mod installed to use the commands listed below. That mod is bundled with SMAPI; if you deleted it, just [[Modding:Player Guide|reinstall SMAPI]] to get the mod back.
+
You must have the Console Commands mod installed to use the commands listed below. That mod is bundled with SMAPI; if you deleted it, just [[Modding:Player Guide/Getting Started|reinstall SMAPI]] to get the mod back.
    
You can enter console commands directly into the SMAPI console window (or into the in-game chat if you have {{nexus mod|2092|Chat Commands}} too). You can type <code>help</code> to get a list of console commands (including commands added by other mods).
 
You can enter console commands directly into the SMAPI console window (or into the in-game chat if you have {{nexus mod|2092|Chat Commands}} too). You can type <code>help</code> to get a list of console commands (including commands added by other mods).
Line 30: Line 36:  
   |example =
 
   |example =
 
<pre>
 
<pre>
> list_items iridum object
+
> list_items iridium
 
  −
  type |              name |  id
  −
------ | ----------------- | ----
  −
Object |      Iridium Bar |  337
  −
Object |      Iridium Milk |  803
  −
Object |      Iridium Ore |  386
  −
Object | Iridium Sprinkler |  645
  −
</pre>
  −
}}
  −
{{/cmd
  −
  |command = list_item_types
  −
  |params  =
  −
  |desc    = Shows a list of item types that can be used with the <samp>list_items</samp> and <samp>player_add</samp> commands.
  −
 
  −
  |example =
  −
<pre>
  −
> list_item_types
     −
        type
+
                name |                    id
------------
+
-------------------- | ---------------------
BigCraftable
+
   Iridium Fireplace |              (F)1796
      Boots
+
       Iridium Krobus |              (F)2396
    Clothing
+
        Iridium Pan |      (H)IridiumPanHat
    Flooring
+
         Iridium Band |                (O)527
   Furniture
+
        Iridium Bar |                (O)337
        Hat
+
...
       Object
  −
        Ring
  −
         Tool
  −
  Wallpaper
  −
      Weapon
   
</pre>
 
</pre>
 
}}
 
}}
Line 77: Line 61:  
{{/cmd
 
{{/cmd
 
   |command = player_add
 
   |command = player_add
   |params  = {{t|S:item type}}, {{t|I:item ID}}, {{o|I:count}}, {{o|I:quality}}
+
   |params  = {{t|I:item ID}}, {{o|I:count}}, {{o|I:quality}}
   |desc    = Adds an item to your inventory based on its type and ID.
+
   |desc    = Adds an item to your inventory based on its item ID.
    
Parameters:
 
Parameters:
* {{t|S:item type}} is one of <samp>BigCraftable</samp>, <samp>Boots</samp>, <samp>Clothing</samp>, <samp>Flooring</samp>, <samp>Furniture</samp>, <samp>Hat</samp>, <samp>Object</samp>, <samp>Ring</samp>, <samp>Tool</samp>, <samp>Wallpaper</samp>, or <samp>Weapon</samp>.
+
* {{t|I:item ID}} is the unique ID for the item to add (as shown by the <samp>list_items</samp> command).
* {{t|I:item ID}} is the integer item ID (as shown by the <samp>list_items</samp> command).
   
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
 
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
 
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
 
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
   |example = <code>player_add object 246</code> will create a [[Wheat Flour]] item.;<code>player_add object pufferfish 10 4</code> would create 10 iridium-quality [[pufferfish]].
+
   |example = <code>player_add (O)246</code> will create a [[Wheat Flour|wheat flour]] item.;<code>player_add (O)128 10 4</code> would create 10 iridium-quality [[pufferfish]].
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 139: Line 122:  
   |command = player_setmaxhealth
 
   |command = player_setmaxhealth
 
   |params  = {{t|I:amount}}
 
   |params  = {{t|I:amount}}
   |desc    = Sets the player's maximum [[health]]. This permanently changes the baseline; for example, if you set your max health to 500 and then drink [[Iridium Snake Milk]], your max health will increase to 525.
+
   |desc    = Sets the player's maximum [[health]]. This permanently changes the baseline; for example, if you set your max health to 500 and then drink [[Skull Cavern#Secret|Iridium Snake Milk]], your max health will increase to 525.
 
   |example = <code>player_setmaxhealth 500</code> would give you a maximum of 500 health points.
 
   |example = <code>player_setmaxhealth 500</code> would give you a maximum of 500 health points.
 
}}
 
}}
Line 146: Line 129:  
   |params  = {{t|I:amount}}
 
   |params  = {{t|I:amount}}
 
   |desc    = Sets the player's maximum [[energy|stamina]]. This permanently changes the baseline; for example, if you set your max stamina to 300 and then collect a [[Stardrop]], your max stamina will increase to 334.
 
   |desc    = Sets the player's maximum [[energy|stamina]]. This permanently changes the baseline; for example, if you set your max stamina to 300 and then collect a [[Stardrop]], your max stamina will increase to 334.
   |example = <code>player_setmaxhealth 500</code> would give you a maximum of 500 health points.
+
   |example = <code>player_setmaxstamina 500</code> would give you a maximum of 500 stamina points.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 259: Line 242:  
   |desc    = Provides documentation for console commands. If called without an argument, shows general help text and a list of available commands. If called with a command name, shows the documentation for that command.
 
   |desc    = Provides documentation for console commands. If called without an argument, shows general help text and a list of available commands. If called with a command name, shows the documentation for that command.
 
   |example =  
 
   |example =  
 +
}}
 +
{{/cmd
 +
  |command = log_context
 +
  |params  =
 +
  |desc    = Enables logging more contextual info like buttons pressed, menus changed, etc. For example, it can be used to get [[Modding:Player Guide/Key Bindings|key binding codes]] or to simplify troubleshooting. This is enabled until you restart the game, or run the command again to disable it.
 +
  |example =
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 275: Line 264:  
   |command = show_game_files
 
   |command = show_game_files
 
   |params  =  
 
   |params  =  
   |desc    = Opens the [[Modding:Game folder|game folder]].
+
   |desc    = Opens the [[Modding:Player Guide/Getting Started#Find your game folder|game folder]].
  |example =
  −
}}
  −
{{/cmd
  −
  |command = test_input
  −
  |params  =
  −
  |desc    = Logs the [[Modding:Player Guide/Key Bindings|key codes]] for all button presses to the console for 30 seconds.
   
   |example =
 
   |example =
 
}}
 
}}
 
|}
 
|}
 +
 +
Mods may also add their own commands. For example, Content Patcher adds the <samp>patch</samp> command, documented [https://github.com/Pathoschild/StardewMods/blob/develop/ContentPatcher/docs/author-guide/troubleshooting.md here].
    
===Advanced===
 
===Advanced===
Line 321: Line 306:     
==Debug commands==
 
==Debug commands==
<div style="border: 1px solid red; background: #FCC; padding: 1em;">'''Warning: These commands are intended for testing and troubleshooting rather than general playing. Some have permanent side effects and may cause crashes or other problems.'''</div>
+
{{note box|type=error|text=<span style="font-size: larger;">'''Don't use these commands unless you're aware of the possible consequences.'''</span><br />These are meant for the game developers, not players. They may crash your game, permanently corrupt or break your save, or cause other problems. Using these in a save you care about is not recommended.}}
    
===How to enter debug commands===
 
===How to enter debug commands===
Line 360: Line 345:  
   |command = bigitem,big,bi,b
 
   |command = bigitem,big,bi,b
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Big craftables data|big craftables data]] for a list of base game IDs.
+
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Items|big craftables data]] for a list of base game IDs.
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
}}
 
}}
Line 366: Line 351:  
   |command = createdebris,mainmenu
 
   |command = createdebris,mainmenu
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Spawns the specified object at your position. See [[Modding:Item|object data]] for a list of base game IDs. The object will initially be laying on the ground and will be picked up if you have room once the game regains focus.
+
   |desc    = Spawns the specified object at your position. See [[Modding:Items|object data]] for a list of base game IDs. The object will initially be laying on the ground and will be picked up if you have room once the game regains focus.
 
   |example = <code>debug createdebris 24</code> would spawn a [[parsnip]].
 
   |example = <code>debug createdebris 24</code> would spawn a [[parsnip]].
 
   <!-- As odd as it seems, the above alias is correct. There may have been a different "mainmenu" command at one time, but currently it is equivalent to createdebris. -->
 
   <!-- As odd as it seems, the above alias is correct. There may have been a different "mainmenu" command at one time, but currently it is equivalent to createdebris. -->
Line 377: Line 362:  
   |command = furniture,ff
 
   |command = furniture,ff
 
   |params  = {{o|I:itemID}}
 
   |params  = {{o|I:itemID}}
   |desc    = Adds the specified piece of furniture to your inventory. See [[Modding:Furniture data|Furniture data]] for a list of base game IDs. If the itemID is not supplied, a random piece of furniture (ID 0 - 1612) will be given.
+
   |desc    = Adds the specified piece of furniture to your inventory. See [[Modding:Items|furniture data]] for a list of base game IDs. If the itemID is not supplied, a random piece of furniture (ID 0 - 1612) will be given.
 
   |example = <code>debug furniture 704</code> would give you an [[Oak Dresser]].
 
   |example = <code>debug furniture 704</code> would give you an [[Oak Dresser]].
 
}}
 
}}
Line 384: Line 369:  
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Shirts|"Good Grief" Shirt]].
+
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Tailoring#Shirts|"Good Grief" Shirt]].
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 409: Line 394:  
   |desc    = Outputs the parent sheet index (''i.e.,'' ID) of the specified object to the SMAPI console. Accepts only object names; this is not a fuzzy match but is case-insensitive and spaces should still be included (see examples below). If the requested name is not unique, all matching objects will be included in the output.
 
   |desc    = Outputs the parent sheet index (''i.e.,'' ID) of the specified object to the SMAPI console. Accepts only object names; this is not a fuzzy match but is case-insensitive and spaces should still be included (see examples below). If the requested name is not unique, all matching objects will be included in the output.
 
   |example = <code>debug lookup diamond</code> would output ''diamond 72''.; <code>debug lu strange doll</code> would output ''strange 126'' and ''strange 127''.
 
   |example = <code>debug lookup diamond</code> would output ''diamond 72''.; <code>debug lu strange doll</code> would output ''strange 126'' and ''strange 127''.
}}
  −
{{/cmd
  −
  |command = resource
  −
  |params  = {{o|I:type}},{{o|I:amount}}
  −
  |desc    = Marks specified amount of specified resource item as collected. This does not actually add any items but does increment some collection stats and may be useful for completing gathering quests. Valid types are 0 (copper), 2 (iron), 4 (coal), 6 (gold), 8 (coins), 10 (iridium), 12 (wood), and 28 (lantern fuel). Type 8 will increase your money by a random amount (rolls 10-49 and multiplies by the amount specified).
  −
  |example =
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 446: Line 425:  
   |command = doesitemexist
 
   |command = doesitemexist
 
   |params  = {{t|I:itemID}}, {{o|S:isCraftable}}
 
   |params  = {{t|I:itemID}}, {{o|S:isCraftable}}
   |desc    = Checks all locations and all player inventories to see if the specified item exists anywhere. If the isCraftable argument is present (no matter what it is), the search will look for [[Modding:Big craftables data|big craftables]] with the specified ID; if the isCraftable argument is absent, the search will instead look for Objects with the specified ID. A global message saying ''Yes'' or ''No'' will be displayed, but there is no indication of where the item is located if it is found.
+
   |desc    = Checks all locations and all player inventories to see if the specified item exists anywhere. If the isCraftable argument is present (no matter what it is), the search will look for [[Modding:Items|big craftables]] with the specified ID; if the isCraftable argument is absent, the search will instead look for Objects with the specified ID. A global message saying ''Yes'' or ''No'' will be displayed, but there is no indication of where the item is located if it is found.
 
   |example = <code>debug doesitemexist 24</code> will search for Parsnips; <code>debug doesitemexist 12 t</code> will search for Kegs.
 
   |example = <code>debug doesitemexist 24</code> will search for Parsnips; <code>debug doesitemexist 12 t</code> will search for Kegs.
 
}}
 
}}
Line 473: Line 452:  
   |command = boots
 
   |command = boots
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Adds the specified pair of [[boots]] to your inventory. See <samp>Data/Boots</samp> for a list of base game IDs.
+
   |desc    = Adds the specified pair of [[Footwear|boots]] to your inventory. See <samp>Data/Boots</samp> for a list of base game IDs.
 
   |example = <code>debug boots 504</code> would give you [[Sneakers]].
 
   |example = <code>debug boots 504</code> would give you [[Sneakers]].
 
}}
 
}}
Line 507: Line 486:  
   |command = hat
 
   |command = hat
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Gives and automatically equips the specified [[hat]] to your farmer; any currently equipped hat will be destroyed.  See [[Modding:Hat data|Hat data]] for a list of base game IDs.
+
   |desc    = Gives and automatically equips the specified [[Hats|hat]] to your farmer; any currently equipped hat will be destroyed.  See [[Modding:Items|hat data]] for a list of base game IDs.
 
   |example = <code>debug hat 3</code> would give you a [[Sombrero]] and automatically equip it.
 
   |example = <code>debug hat 3</code> would give you a [[Sombrero]] and automatically equip it.
 
}}
 
}}
Line 513: Line 492:  
   |command = ring
 
   |command = ring
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Adds the specified [[ring]] to your inventory. See [[Modding:Items|object data]] for a list of base game IDs.
+
   |desc    = Adds the specified [[Rings|ring]] to your inventory. See [[Modding:Items|object data]] for a list of base game IDs.
 
   |example = <code>debug ring 527</code> would give you an [[Iridium Band]].
 
   |example = <code>debug ring 527</code> would give you an [[Iridium Band]].
 
}}
 
}}
Line 551: Line 530:  
{{/cmd
 
{{/cmd
 
   |command = pan
 
   |command = pan
   |desc    = Adds a [[Copper Pan]] to your inventory.
+
   |desc    = Adds a [[Pans|Copper Pan]] to your inventory.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 560: Line 539:  
   |command = pole
 
   |command = pole
 
   |params  = {{o|I:type}}
 
   |params  = {{o|I:type}}
   |desc    = Adds a [[Fishing Poles|Fishing Pole]] of the specified type to your inventory. Valid types are 0 (Bamboo Pole; the default), 1 (Training Rod), 2 (Fiberglass Rod), or 3 (Iridium Rod).
+
   |desc    = Adds a [[Tools#Fishing Poles|Fishing Pole]] of the specified type to your inventory. Valid types are 0 (Bamboo Pole; the default), 1 (Training Rod), 2 (Fiberglass Rod), or 3 (Iridium Rod).
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 573: Line 552:  
   |command = tool
 
   |command = tool
 
   |params  = {{t|S:name}},{{t|I:level}}
 
   |params  = {{t|S:name}},{{t|I:level}}
   |desc    = Changes the upgrade level of the specified tool to the specified level; the tool must be in your inventory. Tool names are case-sensitive but can match partially; valid names are <samp>Ax</samp>, <samp>Hoe</samp>, <samp>Pickaxe</samp>, and <samp>Watering Can</samp>. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium).
+
   |desc    = Changes the upgrade level of the specified tool to the specified level; the tool must be in your inventory. Tool names are case-sensitive but can match partially; valid names are <samp>Ax</samp>, <samp>Hoe</samp>, <samp>Pickaxe</samp>, and <samp>Can</samp>. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium).
   |example = <code>debug tool Pick 0</code> would set your pickaxe to base quality.; <code>debug tool Can 4</code> would set your watering can to iridium quality.
+
   |example = <code>debug tool Pick 0</code> would set your pickaxe to base quality.; <code>debug tool Can 4</code> would set your watering can to iridium quality.; <code>debug tool ax 3</code> would set your '''''pickaxe''''' to gold quality, because of the case-sensitive substring match.  
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 592: Line 571:  
   |command = weapon
 
   |command = weapon
 
   |params  = {{t|I:weaponID}}
 
   |params  = {{t|I:weaponID}}
   |desc    = Adds the specified weapon to your inventory. See [[Modding:Weapon data|Weapon data]] for a list of base game IDs.
+
   |desc    = Adds the specified weapon to your inventory. See [[Modding:Items|weapon data]] for a list of base game IDs.
 
   |example = <code>debug weapon 12</code> would give you a [[Wooden Blade]].
 
   |example = <code>debug weapon 12</code> would give you a [[Wooden Blade]].
 
}}
 
}}
Line 721: Line 700:  
{{/cmd
 
{{/cmd
 
   |command = die
 
   |command = die
   |desc    = Sets your [[health]] to zero, resulting in passing out and awakening in the [[Clinic]].
+
   |desc    = Sets your [[health]] to zero, resulting in passing out and awakening in the [[Harvey's Clinic|Clinic]].
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 779: Line 758:  
   |command = minelevel
 
   |command = minelevel
 
   |params  = {{t|I:level}}
 
   |params  = {{t|I:level}}
   |desc    = Warps you to the specified level of the [[Mines]]. Use level 77377 to warp to the [[Quarry Mine]], and to warp to a level in the [[Skull Cavern]], add 120 to your target level.
+
   |desc    = Warps you to the specified level of the [[The Mines|Mines]]. Use level 77377 to warp to the [[Quarry Mine]], and to warp to a level in the [[Skull Cavern]], add 120 to your target level.
 
   |example = <code>debug minelevel 219</code> will warp you to level 99 of the Skull Cavern.
 
   |example = <code>debug minelevel 219</code> will warp you to level 99 of the Skull Cavern.
 
}}
 
}}
Line 850: Line 829:  
   |command = profession
 
   |command = profession
 
   |params  = {{t|I:ID}}
 
   |params  = {{t|I:ID}}
   |desc    = Gives you the specified profession. Valid profesion IDs from the base game are shown below.
+
   |desc    = Gives you the specified profession. Note that this just hard adds the profession, it's not a way to switch skill trees. Valid profession IDs from the base game are shown below.
 
<table class="wikitable"><tr><th>Farming</th><th>Fishing</th><th>Foraging</th><th>Mining</th><th>Combat</th></tr>
 
<table class="wikitable"><tr><th>Farming</th><th>Fishing</th><th>Foraging</th><th>Mining</th><th>Combat</th></tr>
 
<tr><td>0 - Rancher</td><td>6 - Fisher</td><td>12 - Forester</td><td>18 - Miner</td><td>24 - Fighter</td></tr>
 
<tr><td>0 - Rancher</td><td>6 - Fisher</td><td>12 - Forester</td><td>18 - Miner</td><td>24 - Fighter</td></tr>
Line 877: Line 856:  
   |params  = {{t|S:steamAchieveID}}
 
   |params  = {{t|S:steamAchieveID}}
 
   |desc    = Awards the specified Steam achievement. Steam achievements which correspond to in-game achievements use the same numeric ID as listed in [[Modding:Achievement data|Achievement data]] with one exception: the ID for ''Greenhorn'' is <samp>a0</samp> instead of just <samp>0</samp>. Steam-only achievements have a much longer string ID; these are listed below.
 
   |desc    = Awards the specified Steam achievement. Steam achievements which correspond to in-game achievements use the same numeric ID as listed in [[Modding:Achievement data|Achievement data]] with one exception: the ID for ''Greenhorn'' is <samp>a0</samp> instead of just <samp>0</samp>. Steam-only achievements have a much longer string ID; these are listed below.
<table class="wikitable"><tr><td><samp>Achievement_SigularTalent</samp> - ''Singular Talent''</td><td><samp>Achievement_MasterOfTheFiveWays</samp> - ''Master Of The Five Ways''</td></tr>
+
<table class="wikitable"><tr><td><samp>Achievement_SingularTalent</samp> - ''Singular Talent''</td><td><samp>Achievement_MasterOfTheFiveWays</samp> - ''Master Of The Five Ways''</td></tr>
 
<tr><td><samp>Achievement_LocalLegend</samp> - ''Local Legend''</td><td><samp>Achievement_Joja</samp> - ''Joja Co. Member Of The Year''</td></tr>
 
<tr><td><samp>Achievement_LocalLegend</samp> - ''Local Legend''</td><td><samp>Achievement_Joja</samp> - ''Joja Co. Member Of The Year''</td></tr>
 
<tr><td><samp>Achievement_FullHouse</samp> - ''Full House''</td><td><samp>Achievement_Stardrop</samp> - ''Mystery Of The Stardrops''</td></tr>
 
<tr><td><samp>Achievement_FullHouse</samp> - ''Full House''</td><td><samp>Achievement_Stardrop</samp> - ''Mystery Of The Stardrops''</td></tr>
Line 1,044: Line 1,023:  
{{/cmd
 
{{/cmd
 
   |command = clearmail
 
   |command = clearmail
   |desc    = Clears records of all received mail (including hidden progress flags.) This also clears the letters tab in the collections menu.
+
   |desc    = Clears records of all received mail '''(including hidden progress flags)'''. This also clears the letters tab in the collections menu.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,243: Line 1,222:  
   |command = marry
 
   |command = marry
 
   |params  = {{t|S:npcName}}
 
   |params  = {{t|S:npcName}}
   |desc    = Increases your friendship with specified NPC by 2500 points (10 hearts) and sets relationship status to <samp>Married</samp> with an anniversary of today. Name is a fuzzy match. The spouse room generally appears empty on the first day and you'll need to sleep for it and your spouse to spawn properly. For non-vanilla marriage candidates:
+
   |desc    = <p>Increases your friendship with the specified NPC by 2500 points (10 hearts), and sets your relationship status to <samp>Married</samp> with an anniversary of today. Name is a fuzzy match.</p>
 +
 
 +
Notes:
 +
* If you haven't upgraded your farmhouse, also run <code>debug houseUpgrade 1</code> to avoid errors.
 +
* The spouse room generally appears empty on the first day and you'll need to sleep for it and your spouse to spawn properly.
 +
 
 +
For non-vanilla marriage candidates:
 
<ul><li>Trying to <samp>debug marry Krobus</samp> will work, but will set him as a spouse rather than a roommate. Most of his dialogue and actions remain the same, but he will use some hardcoded spouse lines where he would otherwise have his own version, have a heart instead of a smiley face for his hug/kiss sprite, and the social menu will list him as your spouse. It's unclear if you're able to have children this way.</li>
 
<ul><li>Trying to <samp>debug marry Krobus</samp> will work, but will set him as a spouse rather than a roommate. Most of his dialogue and actions remain the same, but he will use some hardcoded spouse lines where he would otherwise have his own version, have a heart instead of a smiley face for his hug/kiss sprite, and the social menu will list him as your spouse. It's unclear if you're able to have children this way.</li>
 
<li>For other non-marriageable villagers, an empty spouse room will spawn and the NPC will move in. They will follow a basic hardcoded spouse schedule and can be kissed (although they won't have a kiss sprite), but they will rarely have dialogue.</li></ul>
 
<li>For other non-marriageable villagers, an empty spouse room will spawn and the NPC will move in. They will follow a basic hardcoded spouse schedule and can be kissed (although they won't have a kiss sprite), but they will rarely have dialogue.</li></ul>
Line 1,423: Line 1,408:  
   |command = cat
 
   |command = cat
 
   |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
 
   |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
   |desc    = Spawns a new [[Cat]] at the given coordinates of the current location. Breed can be <samp>0</samp>, <samp>1</samp>, or <samp>2</samp> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
+
   |desc    = Spawns a new [[Animals#Cat or Dog|Cat]] at the given coordinates of the current location. Breed can be <samp>0</samp>, <samp>1</samp>, or <samp>2</samp> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,432: Line 1,417:  
   |command = dog
 
   |command = dog
 
   |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
 
   |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
   |desc    = Spawns a new [[Dog]] at the given coordinates of the current location. Breed can be <samp>0</samp>, <samp>1</samp>, or <samp>2</samp> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
+
   |desc    = Spawns a new [[Animals#Cat or Dog|Dog]] at the given coordinates of the current location. Breed can be <samp>0</samp>, <samp>1</samp>, or <samp>2</samp> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
 
}}
 
}}
 
{{/cmd
 
{{/cmd
 
   |command = horse
 
   |command = horse
 
   |params  = {{t|I:X}},{{t|I:Y}}
 
   |params  = {{t|I:X}},{{t|I:Y}}
   |desc    = Spawns a new [[Horse]] at the given coordinates of the current location. Horse may disappear after dismounting if there is no stable for it.
+
   |desc    = Spawns a new [[Animals#Horse|Horse]] at the given coordinates of the current location. Horse may disappear after dismounting if there is no stable for it.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,523: Line 1,508:  
{{/cmd
 
{{/cmd
 
   |command = runtestevent,rte
 
   |command = runtestevent,rte
   |desc    = Runs an event from the file <code>test_event.txt</code> in the root game folder. The first line of the file should specify the location where the event takes place, and the rest of the file should be the same as a normal event script except that line breaks will be treated as <code>/</code> delimiters.
+
   |desc    = Runs an event from the file <code>test_event.txt</code> in the root game folder. The first line of the file should specify the location where the event takes place, and the rest of the file should be the same as a normal event script except that line breaks will be treated as <code>/</code> delimiters.<br />'''Note: this file must use CRLF (Windows-style) line breaks, or it will fail to parse.''' If you are on Mac or Linux, make sure you convert when saving (any text editor should be able to do this).
 
}}
 
}}
 
|}
 
|}
Line 1,591: Line 1,576:  
! &nbsp;
 
! &nbsp;
 
|-
 
|-
{{/cmd
  −
  |command = addquartz
  −
  |params  = {{t|I:number}}
  −
  |desc    = Spawns the specified amount of ''Quartz'' terrain features on the Farm. The locations are randomly chosen and no checking is done on the underlying tiles, so they may wind up in impassable areas.
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = clearfarm
 
   |command = clearfarm
Line 1,709: Line 1,689:  
   |command = fillwithobject
 
   |command = fillwithobject
 
   |params  = {{t|I:itemID}},{{o|S:isBigCraftable}}
 
   |params  = {{t|I:itemID}},{{o|S:isBigCraftable}}
   |desc    = Places the specified item on all open tiles in the current location. The first argument is the [[Modding:Items|object ID]] or [[Modding:Big craftables data|Craftable ID]]. If the second argument is "<samp>true</samp>", the ID will be interpreted as a craftable, but if it is anything else (or missing) the ID will be interpreted as an object. Note that many objects spawned this way cannot be easily removed.
+
   |desc    = Places the specified item on all open tiles in the current location. The first argument is the [[Modding:Items|object or big craftable ID]]. If the second argument is "<samp>true</samp>", the ID will be interpreted as a craftable, but if it is anything else (or missing) the ID will be interpreted as an object. Note that many objects spawned this way cannot be easily removed.
 
   |example = <code>debug fillwithobject 13 true</code> would fill the map with [[Furnace|furnaces]].
 
   |example = <code>debug fillwithobject 13 true</code> would fill the map with [[Furnace|furnaces]].
 
}}
 
}}
Line 1,826: Line 1,806:  
   <li>Spawns a large field of random spring crops (force-grown for 8 days) with a wooden path through it and 4 junimo huts to the south.</li>
 
   <li>Spawns a large field of random spring crops (force-grown for 8 days) with a wooden path through it and 4 junimo huts to the south.</li>
 
   <li>Spawns two large patches of grass and 18 random fruit trees (cherry and apricot)</li>
 
   <li>Spawns two large patches of grass and 18 random fruit trees (cherry and apricot)</li>
   <li>Spawns large groups of torches, furnaces, preserve jars, cheese presses, and kegs; the kegs are full of ancient fruit to make wine</li></ul>
+
   <li>Spawns large groups of torches, furnaces, preserves jars, cheese presses, and kegs; the kegs are full of ancient fruit to make wine</li></ul>
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,936: Line 1,916:  
   |command = minedifficulty,md
 
   |command = minedifficulty,md
 
   |params  = {{o|I:difficultyLevel}}
 
   |params  = {{o|I:difficultyLevel}}
   |desc    = Sets the difficulty of the mines to the specified level. In the base game, normal difficulty is <samp>0</samp> and the harder difficulty corresponding to the "Danger in the Deep" quest or [[Shrine of Challenge]] activation is <samp>1</samp>. Higher numbers can be used. If no difficulty level is specified, command will simply print the current difficulty level to the console.
+
   |desc    = Sets the difficulty of the mines to the specified level. In the base game, normal difficulty is <samp>0</samp> and the harder difficulty corresponding to the "Danger in the Deep" quest or [[The Mines#Shrine of Challenge|Shrine of Challenge]] activation is <samp>1</samp>. Higher numbers can be used. If no difficulty level is specified, command will simply print the current difficulty level to the console.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 2,014: Line 1,994:  
   |params  = {{t|I:value}}
 
   |params  = {{t|I:value}}
 
   |desc    = Sets current time to the specified value. This is essentially 24-hour time without a colon, although the stardew clock keeps running until 2600. See examples.
 
   |desc    = Sets current time to the specified value. This is essentially 24-hour time without a colon, although the stardew clock keeps running until 2600. See examples.
   |example = <code>debug tme 2040</code> would set the time to 20:40 or 8:40pm.; <code>debug tme 2550</code> would set the time to 1:50am.
+
   |example = <code>debug time 2040</code> would set the time to 20:40 or 8:40pm.; <code>debug time 2550</code> would set the time to 1:50am.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 2,128: Line 2,108:  
{{/cmd
 
{{/cmd
 
   |command = netjoin
 
   |command = netjoin
   |desc    = Details unknown.
+
   |desc    = Calls up the farmhand menu. Details unknown.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 2,244: Line 2,224:  
{{/cmd
 
{{/cmd
 
   |command = sprinkle
 
   |command = sprinkle
   |desc    = Shows an animation of a sprinkle effect around the farmer. Unsure if the animation is used.
+
   |desc    = Shows an animation of a sprinkle effect around the farmer. (It's the animation used while fairy-dusting a machine).
 
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 2,337: Line 2,317:  
! &nbsp;
 
! &nbsp;
 
|-
 
|-
{{/cmd
  −
  |command = bluebook
  −
  |desc    = Adds a "Farmer's Catalogue" to your inventory which looks like an axe and opens up a partially-implemented menu when used.
  −
}}
  −
{{/cmd
  −
  |command = blueprint
  −
  |params  = {{t|s:ID}}
  −
  |desc    = Adds the specified blueprint to the "Farmer's Catalogue" menu. IDs seem to be buildings and animals from <samp>Data/Blueprints</samp>.
  −
}}
  −
{{/cmd
  −
  |command = end
  −
  |desc    = Attempts to warp the player to town and start the "Stardew Hero Celebration" event but appears to crash due to missing music cues.
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = lantern
 
   |command = lantern
Line 2,361: Line 2,328:  
   |command = stoprafting
 
   |command = stoprafting
 
   |desc    = Sets an internal <samp>isRafting</samp> flag to false. As rafting was not fully implemented, this doesn't do much.
 
   |desc    = Sets an internal <samp>isRafting</samp> flag to false. As rafting was not fully implemented, this doesn't do much.
}}
  −
{{/cmd
  −
  |command = upgradebarn, barn
  −
  |desc    = Increments an unused barn upgrade level variable (max 3).<br />'''Warning: This feature was not completely implemented and the game will crash on new day due to missing textures after using it.'''
  −
}}
  −
{{/cmd
  −
  |command = upgradecoop, coop
  −
  |desc    = Increments an unused coop upgrade level variable (max 3).<br />'''Warning: This feature was not completely implemented and the game will crash on new day due to missing textures after using it.'''
   
}}
 
}}
 
|}
 
|}
translators
8,403

edits