Line 2: |
Line 2: |
| | | |
| Stardew Valley's developers added several hidden debug commands to test the game. This page documents them. | | Stardew Valley's developers added several hidden debug commands to test the game. This page documents them. |
| + | |
| + | If you are using Stardew Valley 1.3 and type 'debug' into the chat box, a message appears: 'ConcernedApe: Nice try... |
| | | |
| == Accessing debug commands == | | == Accessing debug commands == |
Line 42: |
Line 44: |
| | <tt>mp</tt> || Adds a [[Milk Pail]] to your inventory. | | | <tt>mp</tt> || Adds a [[Milk Pail]] to your inventory. |
| |- | | |- |
− | | <tt>lantern</tt> || '''[broken]''' Adds a Lantern to your inventory. However, the game freezes if you try to use it. | + | | <tt>lantern</tt> || '''[broken]''' Adds a Lantern to your inventory. However, the game freezes if you try to use it. One possible way to get out is by clicking the Quest menu. |
| |- | | |- |
| | colspan=2 | | | | colspan=2 | |
Line 82: |
Line 84: |
| ! command !! description | | ! command !! description |
| |- | | |- |
− | | clone {{t|S:NPC}} || Makes a copy of {{t|NPC}}'s actor and places it to the current location. | + | | clone {{t|S:NPC}} || Makes a copy of {{t|NPC}}'s actor and places it to the current location. WARNING: Will crash your game if you do 'clone farmer'! |
| |- | | |- |
| | sb {{t|S:NPC}} || Puts "Hello! This is a test" in a bubble above {{t|NPC}}'s head. | | | sb {{t|S:NPC}} || Puts "Hello! This is a test" in a bubble above {{t|NPC}}'s head. |
| |- | | |- |
− | | sf, setFrame {{t|I}} || Sets and stops the player actor's current animation at the given frame. | + | | sf, setFrame {{t|I}} || Sets and stops the player actor's current animation at the given frame. Only works with the player. |
| |- | | |- |
| | fd, face, faceDirection {{t|S:NPC}} {{t|I:dir}} || Sets {{t|NPC}} to face in {{t|direction}} | | | fd, face, faceDirection {{t|S:NPC}} {{t|I:dir}} || Sets {{t|NPC}} to face in {{t|direction}} |
| |- | | |- |
− | | jump {{t|S:NPC}} {{t|I}} || makes the given NPC/player actor jump once, at velocity {{t|I}}. | + | | jump {{t|S:NPC}} {{t|I}} || makes the given NPC/player actor jump once, at velocity {{t|I}} (Case sensitive). e.g. jump farmer 10 |
| |- | | |- |
| | c, cm, canmove || Force-enables movement for the player actor. Force-closes inventory menu, presumably other menus and dialogue as well. | | | c, cm, canmove || Force-enables movement for the player actor. Force-closes inventory menu, presumably other menus and dialogue as well. |
Line 122: |
Line 124: |
| | event {{t|S:Location}} {{t|int}} || Starts event {{t|int}} at {{t|Location}}. A location is the name of a file in the game's Data\Events directory. Each has one or more events, which are referenced by {{t|int}}, counting up from zero. You should not already be in the location when starting the event, or things may not work correctly. | | | event {{t|S:Location}} {{t|int}} || Starts event {{t|int}} at {{t|Location}}. A location is the name of a file in the game's Data\Events directory. Each has one or more events, which are referenced by {{t|int}}, counting up from zero. You should not already be in the location when starting the event, or things may not work correctly. |
| |- | | |- |
− | | leaveEvent, endEvent || Ends the current event, but also clears all previous events seen, dialogue questions answered, and mail received. Clarify: For that day or entirely? | + | | leaveEvent, endEvent || Ends the current event, but also clears all previous events seen, dialogue questions answered, and mail received. Starts the current event over. (Clarify Possible for that day or entirely) |
| |- | | |- |
| | busDriveBack || BusStop.busDriveBack() | | | busDriveBack || BusStop.busDriveBack() |
| |- | | |- |
− | | wedding || | + | | wedding || Activates the wedding cutscene |
| |- | | |- |
− | | eventOver || | + | | eventOver || Makes the even start over again. |
| |- | | |- |
| | train || Makes a train pass through Stardew Valley. | | | train || Makes a train pass through Stardew Valley. |
Line 174: |
Line 176: |
| | dp, dap, daysPlayed || Displays the number of game-days played on the save. | | | dp, dap, daysPlayed || Displays the number of game-days played on the save. |
| |- | | |- |
− | | pm, panmode, panMode, || On/off toggle for map-panning view; pan map with WASD when toggled on. | + | | pm, panmode, panMode, || On/off toggle for map-panning view; pan map with WASD when toggled on. (Note: If you use 'pm', you won't be able to get back until you type 'panmode') |
| |- | | |- |
| | version || Prints the SDV version number in console. | | | version || Prints the SDV version number in console. |
Line 232: |
Line 234: |
| | fenceDecay || presumably sets the rate of fence decay | | | fenceDecay || presumably sets the rate of fence decay |
| |- | | |- |
− | | bc, buildcoop || | + | | bc, buildcoop || Possibly toggles the build coop menu, bypassing the fee. |
| |- | | |- |
| | coop, upgradecoop || upgrades player coop(s) one level. | | | coop, upgradecoop || upgrades player coop(s) one level. |
Line 259: |
Line 261: |
| | resetMines || Resets permanent mine changes such as coal carts and treasure chests. Does not affect mines level progress or monster eradication goals. | | | resetMines || Resets permanent mine changes such as coal carts and treasure chests. Does not affect mines level progress or monster eradication goals. |
| |- | | |- |
− | | warp {{t|S:MAP}} {{t|I:X}} {{t|I:Y}} || warps Farmer to {{t|MAP}} at ({{t|X}}, {{t|}}y). | + | | warp {{t|S:MAP}} {{t|I:X}} {{t|I:Y}} || warps Farmer to {{t|MAP}} at ({{t|X}}, {{t|}}y). e.g. warp blacksmith 3 15 |
| |- | | |- |
| | warpHome, warphome, wh || Warps the current player into their farmhouse. | | | warpHome, warphome, wh || Warps the current player into their farmhouse. |
Line 269: |
Line 271: |
| | dayUpdate [I:AMT] || Progresses the game either 1 or [AMT] days. | | | dayUpdate [I:AMT] || Progresses the game either 1 or [AMT] days. |
| |- | | |- |
− | | al, ambientLight || | + | | al, ambientLight || Sets the maps default ambient light. |
| |- | | |- |
| | time {{t|TIME}} || set game time of day, {{t|TIME}} format is military time (24 hours, no colon). | | | time {{t|TIME}} || set game time of day, {{t|TIME}} format is military time (24 hours, no colon). |
Line 319: |
Line 321: |
| | hurry {{t|S:NPC}} || warps {{t|NPC}} to their currently scheduled endpoint, such as Pam from her home to the bus stop in the morning | | | hurry {{t|S:NPC}} || warps {{t|NPC}} to their currently scheduled endpoint, such as Pam from her home to the bus stop in the morning |
| |- | | |- |
− | | makeInedible || Makes the item the player is holding inedible. | + | | makeInedible || Makes the item the player is holding inedible. Does not make the item permanently inedible. |
| |- | | |- |
| | toss || Player actor plays the vial-dropping animation. | | | toss || Player actor plays the vial-dropping animation. |
Line 341: |
Line 343: |
| | water || Irrigate all tilled land on the current map. | | | water || Irrigate all tilled land on the current map. |
| |- | | |- |
− | | growAnimalsFarm || | + | | growAnimalsFarm || Turns all baby animals to adults. |
| |- | | |- |
| | wp, wallpaper || Inside the current farm building, switches all wallpapers to the next available wallpaper counting from (assumedly) the left/topmost room. | | | wp, wallpaper || Inside the current farm building, switches all wallpapers to the next available wallpaper counting from (assumedly) the left/topmost room. |
Line 351: |
Line 353: |
| | m, mv, musicvolume || | | | m, mv, musicvolume || |
| |- | | |- |
− | | emote || | + | | emote || (Broken) Will make you do an emote according to the emote id. If you use this command, it will play an endless loop of an empty emote. |
| |- | | |- |
| | remoteLargeTF || | | | remoteLargeTF || |
Line 361: |
Line 363: |
| | speech || | | | speech || |
| |- | | |- |
− | | ps, playSound || | + | | ps, playSound || Does not work, most likely to crash your game |
| |- | | |- |
− | | wc, warpCharacter || | + | | wc, warpCharacter || Warps player to the define NPC (Case sensitive). e.g. warpCharacter Abigail |
| |- | | |- |
| | fruitTrees || | | | fruitTrees || |
Line 369: |
Line 371: |
| | animalInfo || | | | animalInfo || |
| |- | | |- |
− | | ff, furniture || | + | | ff, furniture || Works just like the 'item' command, only with furniture. Format: furniture [ID] |
| |- | | |- |
− | | achieve || | + | | achieve || Gives the player the achievement according to its id. |
| |- | | |- |
| | sdkinfo, steaminfo || | | | sdkinfo, steaminfo || |
Line 377: |
Line 379: |
| | morepollen || | | | morepollen || |
| |- | | |- |
− | | specialItem || | + | | specialItem || Gives the player an item for your wallet defined by its id. |
| |- | | |- |
− | | levelup || | + | | levelup || Promotes the player's defined skill up. Format: levelup [skill] [level] |
| |- | | |- |
| | kms, killMonsterStat || | | | kms, killMonsterStat || |
Line 397: |
Line 399: |
| | ccload || | | | ccload || |
| |- | | |- |
− | | minigame || | + | | minigame || The base command for toggling a specified scene or action |
| |- | | |- |
| | addOtherFarmer || | | | addOtherFarmer || |
Line 430: |
Line 432: |
| | test || TODO. Changes game display to a swatch list of floorings, which can be clicked once to return to normal game display. | | | test || TODO. Changes game display to a swatch list of floorings, which can be clicked once to return to normal game display. |
| |- | | |- |
− | | fish || | + | | fish || Presumably, adds a fish into the caught fish achievements. |
| |- | | |- |
− | | year || | + | | year || Sets the year |
| |- | | |- |
| | crafting || Teaches the player all crafting recipes. | | | crafting || Teaches the player all crafting recipes. |
| |- | | |- |
− | | f, floor || | + | | f, floor || Sets the floor of every room in your house |
| |- | | |- |
| | killAll || TODO. Possibly removes all NPC actors from the current map. | | | killAll || TODO. Possibly removes all NPC actors from the current map. |
Line 446: |
Line 448: |
| | build || | | | build || |
| |- | | |- |
− | | farmMap || | + | | farmMap || Sets the player's map to the default, combat, fishing, mining, and foraging. |
| |- | | |- |
| | blueprint || | | | blueprint || |
Line 478: |
Line 480: |
| | bloom || | | | bloom || |
| |- | | |- |
− | | day || | + | | day || Sets the day to the defined number |
| |- | | |- |
| | upgradeCoop || | | | upgradeCoop || |
Line 486: |
Line 488: |
| | busDriveOff || Plays the cutscene of the bus driving off and sends the player to Calico Desert (NOTE: Only works at the bus stop) | | | busDriveOff || Plays the cutscene of the bus driving off and sends the player to Calico Desert (NOTE: Only works at the bus stop) |
| |- | | |- |
− | | child2 || | + | | child2 || Adds a second child to you family. |
| |- | | |- |
− | | playMusic {{t|ID}} || Changes music track to <tt>ID</tt>. | + | | playMusic {{t|ID}} || Changes music track to <tt>ID</tt>. Does not work, will crash your game. |
| |- | | |- |
− | | hat || | + | | hat || Givs the player a hat according to its id |
| |- | | |- |
| | r || | | | r || |
Line 498: |
Line 500: |
| | waterColor || | | | waterColor || |
| |- | | |- |
− | | ring || | + | | ring || Gives the player a ring according to its id |
| |- | | |- |
| | clearFurniture || | | | clearFurniture || |
| |- | | |- |
− | | boots || | + | | boots || Gives the player boots according to its id |
| |- | | |- |
− | | resetAchievements || Resets the Steam achievements. | + | | resetAchievements || Resets the Steam achievements. Most likely to not affect Steam itself. |
| |} | | |} |
| | | |
| [[Category:Modding]] | | [[Category:Modding]] |