Changes

Jump to navigation Jump to search
→‎Debug commands: add info about removed commands and new aliases from Modding:Migrate to Stardew Valley 1.6 (main author Pathoschild, with formatting fixes by BarleyZP, Atravita)
Line 340: Line 340:  
!  
 
!  
 
|-
 
|-
{{/cmd
  −
  |command = bigitem,big,bi,b
  −
  |params  = {{t|I:itemID}}
  −
  |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]].
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = createdebris,mainmenu
 
   |command = createdebris,mainmenu
Line 352: Line 346:  
   |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. -->
}}
  −
{{/cmd
  −
  | command = everythingshop
  −
  | desc    = Opens a shop menu containing a furniture [[catalogue]], all objects, all craftables, and all weapons. All items are free.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 431: Line 421:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = sl
+
   |command = sl,shiftToolbarLeft
 
   |desc    = Shifts inventory rows down, looping previous bottom row to top; similar to using Control-Tab with default keyboard controls. Will work with larger-than-normal inventories.
 
   |desc    = Shifts inventory rows down, looping previous bottom row to top; similar to using Control-Tab with default keyboard controls. Will work with larger-than-normal inventories.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = sr
+
   |command = sr,shiftToolbarRight
 
   |desc    = Shifts inventory rows up, looping previous top row to bottom; similar to using Tab with default keyboard controls. Will work with larger-than-normal inventories.
 
   |desc    = Shifts inventory rows up, looping previous top row to bottom; similar to using Tab with default keyboard controls. Will work with larger-than-normal inventories.
 
}}
 
}}
Line 447: Line 437:  
! &nbsp;
 
! &nbsp;
 
|-
 
|-
{{/cmd
  −
  |command = boots
  −
  |params  = {{t|I:itemID}}
  −
  |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]].
  −
}}
  −
{{/cmd
  −
  |command = clothes
  −
  |params  = {{t|I:itemID}}
  −
  |desc    = Adds the specified [[Tailoring|clothing]] item to your inventory. See <samp>Data/ClothingInformation</samp> for a list of base game IDs.
  −
  |example = <code>debug clothes 1008</code> would give you a "Good Grief" Shirt.; <code>debug clothes 11</code> would give you a Simple Dress.
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = dye
 
   |command = dye
Line 486: Line 464:  
   |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.
 
   |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.
}}
  −
{{/cmd
  −
  |command = ring
  −
  |params  = {{t|I:itemID}}
  −
  |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]].
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 510: Line 482:  
! &nbsp;
 
! &nbsp;
 
|-
 
|-
{{/cmd
  −
  |command = ax
  −
  |desc    = Adds a basic [[Axes|Axe]] to your inventory.
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = forge
 
   |command = forge
 
   |desc    = Shows the [[Forge]] menu.
 
   |desc    = Shows the [[Forge]] menu.
}}
  −
{{/cmd
  −
  |command = hoe
  −
  |desc    = Adds a basic [[Hoes|Hoe]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = mp
  −
  |desc    = Adds a [[Milk Pail]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = pan
  −
  |desc    = Adds a [[Pans|Copper Pan]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = pickaxe,pickax,pick
  −
  |desc    = Adds a basic [[Pickaxes|Pickaxe]] to your inventory.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 538: Line 490:  
   |params  = {{o|I:type}}
 
   |params  = {{o|I:type}}
 
   |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).
 
   |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
  −
  |command = shears,scissors
  −
  |desc    = Adds [[Shears]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = slingshot
  −
  |desc    = Adds a [[Slingshot]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = tool
  −
  |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>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.; <code>debug tool ax 3</code> would set your '''''pickaxe''''' to gold quality, because of the case-sensitive substring match.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 557: Line 495:  
   |params  = {{t|I:level}}
 
   |params  = {{t|I:level}}
 
   |desc    = Changes the upgrade level of your inventory [[Trash Cans|Trash Can]]. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium). The can sprite may not fully update until the inventory is closed and reopened.
 
   |desc    = Changes the upgrade level of your inventory [[Trash Cans|Trash Can]]. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium). The can sprite may not fully update until the inventory is closed and reopened.
}}
  −
{{/cmd
  −
  |command = wand
  −
  |desc    = Adds a [[Return Scepter]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = wateringcan,can
  −
  |desc    = Adds a basic [[Watering Cans|Watering Can]] to your inventory.
  −
}}
  −
{{/cmd
  −
  |command = weapon
  −
  |params  = {{t|I:weaponID}}
  −
  |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]].
   
}}
 
}}
 
|}
 
|}
Line 870: Line 794:  
   |params  = {{t|I:value}}
 
   |params  = {{t|I:value}}
 
   |desc    = Sets the <samp>FishCaught</samp> stat to the specified amount.
 
   |desc    = Sets the <samp>FishCaught</samp> stat to the specified amount.
}}
  −
{{/cmd
  −
  |command = changestat
  −
  |params  = {{t|S:statID}},{{t|I:value}}
  −
  |desc    = Sets the specified stat to the specified value. These are different than the stats used in [[#getstat|getstat]]/[[#setstat|setstat]] (Technical note: they are entries in StardewValley.Stats.stat_dictionary). Known IDs as of version 1.4.3 are: <samp>trashCansChecked</samp>.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 944: Line 863:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = craftingrecipe
+
   |command = craftingrecipe,addCraftingRecipe
 
   |params  = {{t|S:recipeName}}
 
   |params  = {{t|S:recipeName}}
 
   |desc    = Teaches you the specified crafting recipe. Names are case-sensitive and may contain spaces.
 
   |desc    = Teaches you the specified crafting recipe. Names are case-sensitive and may contain spaces.
Line 988: Line 907:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = sn
+
   |command = sn,secretNote
 
   |params  = {{o|I:noteID}}
 
   |params  = {{o|I:noteID}}
 
   |desc    = Adds specified secret note to your inventory. If no ID is specified, a random unseen note will be added. See <samp>Data/SecretNotes</samp> for a list of IDs.
 
   |desc    = Adds specified secret note to your inventory. If no ID is specified, a random unseen note will be added. See <samp>Data/SecretNotes</samp> for a list of IDs.
Line 1,245: Line 1,164:  
|-
 
|-
 
{{/cmd
 
{{/cmd
   |command = db
+
   |command = db,speakTo
 
   |params  = {{t|S:npcName}}
 
   |params  = {{t|S:npcName}}
 
   |desc    = Shows a dialogue box with the current dialogue for the specified NPC. Name is a fuzzy match and will default to Pierre if not supplied. This does count as having spoken to that NPC today, and if they don't have any more dialogue right now, the message ''Stack empty'' will be output to the console.
 
   |desc    = Shows a dialogue box with the current dialogue for the specified NPC. Name is a fuzzy match and will default to Pierre if not supplied. This does count as having spoken to that NPC today, and if they don't have any more dialogue right now, the message ''Stack empty'' will be output to the console.
 
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = dialogue
+
   |command = dialogue,addDialogue
 
   |params  = {{t|S:npcName}},{{t|S:dialogueString}}
 
   |params  = {{t|S:npcName}},{{t|S:dialogueString}}
 
   |desc    = Sets the dialogue for the specified character to the specified string. Name is a fuzzy match, and NPC names containing spaces should be quoted (e.g. <code>debug dialogue "Some NPC" Some dialgoue text$h</code>. The dialogue string should start with a zero and everything after will be parsed. It can include tokens such as <samp>@</samp> for the farmer name and portrait commands; see [[Modding:Dialogue#Format|Dialogue]] for format specifics.
 
   |desc    = Sets the dialogue for the specified character to the specified string. Name is a fuzzy match, and NPC names containing spaces should be quoted (e.g. <code>debug dialogue "Some NPC" Some dialgoue text$h</code>. The dialogue string should start with a zero and everything after will be parsed. It can include tokens such as <samp>@</samp> for the farmer name and portrait commands; see [[Modding:Dialogue#Format|Dialogue]] for format specifics.
Line 1,271: Line 1,190:  
{{/cmd
 
{{/cmd
 
   |command = sb
 
   |command = sb
   |params  = {{t|S:npcName}}
+
   |params  = {{t|S:npcName}},showTextAboveHead
 
   |desc    = Shows a speech bubble saying ''"Hello! This is a test"'' above the specified NPC's head. Name is a fuzzy match.
 
   |desc    = Shows a speech bubble saying ''"Hello! This is a test"'' above the specified NPC's head. Name is a fuzzy match.
 
}}
 
}}
Line 1,309: Line 1,228:  
   |params  = {{t|S:npcName}},{{o|F:velocity}}
 
   |params  = {{t|S:npcName}},{{o|F:velocity}}
 
   |desc    = Makes specified character jump with the specified velocity. Name is a fuzzy match and also accepts <samp>farmer</samp>. Velocity is a float and defaults to 8.0 if not supplied, which results in a jump of about half the height of the player character.
 
   |desc    = Makes specified character jump with the specified velocity. Name is a fuzzy match and also accepts <samp>farmer</samp>. Velocity is a float and defaults to 8.0 if not supplied, which results in a jump of about half the height of the player character.
}}
  −
{{/cmd
  −
  |command = pathspousetome,pstm
  −
  |desc    = Causes your spouse (NPC only) to start walking towards you if they are already on the current map or warp directly to you otherwise.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,497: Line 1,412:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = leaveevent,endevent
+
   |command = endevent
 
   |desc    = Ends (and restarts) the current event.<br />'''Warning: also clears all records of events seen, dialogue questions answered, and mail received (including hidden mail flags.)'''
 
   |desc    = Ends (and restarts) the current event.<br />'''Warning: also clears all records of events seen, dialogue questions answered, and mail received (including hidden mail flags.)'''
 
}}
 
}}
Line 1,529: Line 1,444:  
   |params  = {{t|I:fishID}}
 
   |params  = {{t|I:fishID}}
 
   |desc    = Starts the fishing minigame with the specified fish hooked and a treasure chest available. You must have a fishing line already cast into the water before entering the command in order to actually receive the fish after completing the minigame. Additional "hits" may trigger during the game, and none of the fishing pole animations will play. See [[Modding:Items|object data]] for a list of valid IDs; non-fish objects can be used and caught.
 
   |desc    = Starts the fishing minigame with the specified fish hooked and a treasure chest available. You must have a fishing line already cast into the water before entering the command in order to actually receive the fish after completing the minigame. Additional "hits" may trigger during the game, and none of the fishing pole animations will play. See [[Modding:Items|object data]] for a list of valid IDs; non-fish objects can be used and caught.
}}
  −
{{/cmd
  −
  |command = oldminegame
  −
  |desc    = Starts the pre-1.4 version of Junimo Kart.
   
}}
 
}}
 
{{/cmd
 
{{/cmd
Line 1,610: Line 1,521:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = r
+
   |command = r,resetForPlayerEntry
 
   |desc    = Resets current location which essentially simulates the player leaving and reentering. Most noticeable effect is the restarting of music tracks.
 
   |desc    = Resets current location which essentially simulates the player leaving and reentering. Most noticeable effect is the restarting of music tracks.
 
}}
 
}}
Line 1,622: Line 1,533:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = removelargetf
+
   |command = removelargetf,removeLargeTerrainFeature
 
   |desc    = Removes all large terrain features (such as bushes) from the current location.
 
   |desc    = Removes all large terrain features (such as bushes) from the current location.
 
}}
 
}}
Line 1,712: Line 1,623:  
! &nbsp;
 
! &nbsp;
 
|-
 
|-
{{/cmd
  −
  |command = bpm
  −
  |desc    = Shows the building painting menu for the building immediately North of the player, or for the farmhouse if no such building is found.
  −
}}
   
{{/cmd
 
{{/cmd
 
   |command = build
 
   |command = build
Line 1,937: Line 1,844:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = pgb
+
   |command = pgb,printGemBirds
 
   |desc    = Prints the [[Ginger Island#Gem Birds|Gem Bird Puzzle]] solution to the console.  
 
   |desc    = Prints the [[Ginger Island#Gem Birds|Gem Bird Puzzle]] solution to the console.  
 
}}
 
}}
Line 2,271: Line 2,178:  
}}
 
}}
 
{{/cmd
 
{{/cmd
   |command = tls
+
   |command = tls,toggleLightingScale
 
   |desc    = Toggles between scaled and unscaled lighting.
 
   |desc    = Toggles between scaled and unscaled lighting.
 
}}
 
}}
138

edits

Navigation menu