Difference between revisions of "Modding:Console commands"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! command | + | ! command !! description |
− | ! description | ||
|- | |- | ||
− | | <tt>shears</tt> | + | | <tt>shears</tt> || Adds [[Shears]] to your inventory. |
− | | Adds [[Shears]] to your inventory. | ||
|- | |- | ||
− | | <tt>pickaxe</tt> | + | | <tt>pickaxe</tt> || Adds a basic [[Pickaxe]] to your inventory.<br />''Aliases: <tt>pickax</tt>, <tt>pickaxe</tt>.'' |
− | | Adds a basic [[Pickaxe]] to your inventory.<br />''Aliases: <tt>pickax</tt>, <tt>pickaxe</tt>.'' | ||
|- | |- | ||
− | | <tt>pole</tt> | + | | <tt>pole</tt> || Adds a [[Bamboo Pole]] to your inventory. |
− | | Adds a [[Bamboo Pole]] to your inventory. | ||
|- | |- | ||
− | | <tt> | + | | <tt>slingshot</tt> || Adds a [[Slingshot]] to your inventory. |
− | | Adds | ||
|- | |- | ||
− | | <tt> | + | | <tt>wand</tt> || Adds a [[Return Scepter]] to your inventory. |
− | | Adds a [[ | ||
|- | |- | ||
− | | <tt> | + | | <tt>can</tt> || Adds a basic [[Watering Can]] to your inventory.<br />''Aliases: <tt>wateringcan</tt>.'' |
− | | Adds a [[ | ||
|- | |- | ||
− | | <tt> | + | | <tt>pan</tt> || Adds [[Copper Pan]] to your inventory. |
− | | Adds | ||
|- | |- | ||
− | | <tt> | + | | <tt>hoe</tt> || Adds a basic [[Hoe]] to your inventory. |
− | | Adds [[ | ||
|- | |- | ||
− | | <tt> | + | | <tt>ax</tt> || Adds a basic [[Axe]] to your inventory. |
− | | Adds a basic [[ | ||
|- | |- | ||
− | | <tt> | + | | <tt>mp</tt> || Adds a [[Milk Pail]] to your inventory. |
− | | Adds a | ||
|- | |- | ||
− | | <tt> | + | | <tt>lantern</tt> || '''[broken]''' Adds a Lantern to your inventory. However, the game freezes if you try to use it. |
− | | | ||
|- | |- | ||
− | | | + | | colspan=2 | |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>skullkey</tt> || Adds the [[Skull Key]] to your wallet. |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>darkTalisman</tt> || Adds the [[Dark Talisman]] to your wallet and makes the [[Witch's Hut]] accessible. Removes the [[Magic Ink]], if you have it. |
− | | Adds the [[ | ||
|- | |- | ||
− | | | + | | colspan=2 | |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>itemnamed {{t|string itemName}} {{o|int count}}</tt> || Adds {{o|count}} of the item named {{t|itemName}} to player inventory. The {{t|itemName}} is the full item name, with punctuation but no spaces (like <tt>miner'streat</tt>). If {{o|count}} isn't specified, defaults to 1.<br />''Aliases: <tt>in</tt>.'' |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>fillbackpack</tt> || Fills your inventory with random items until full.<br />''Aliases: <tt>fbp</tt>, <tt>fill</tt>, <tt>fillbp</tt>. |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>removeObjects</tt> || Clears all objects from the current location. |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>removeDebris</tt> || Removes all debris (such as dropped items).<br />''Aliases: <tt>mainmenu</tt>, <tt>mainMenu</tt>.''<br /><!--As odd as it seems, these aliases are indeed aliases. There may have been a different MainMenu command but as things are, these are aliases.--> |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>museumloot</tt> || Marks artifacts as found and adds minerals to your inventory. Stops when your inventory is full. |
− | | | ||
|- | |- | ||
− | | <tt> | + | | <tt>TV</tt> || Adds a TV to your inventory. |
− | | Adds a | ||
|- | |- | ||
− | | <tt> | + | | <tt>weapon {{t|int weaponID}}</tt> || Gives the weapon matching {{t|weaponID}} to the player. (For example, <tt>weapon 12</tt> spawns a [[Wooden Blade]].) |
− | | | ||
|- | |- | ||
− | | <tt>fillbin</tt> | + | | <tt>gold</tt> || Adds a large sum of money to your inventory. |
− | | Adds five items (24, 82, 136, 16, 388) to the shipping bin.<br />''Aliases: <tt>fb</tt>.'' | + | |- |
+ | | <tt>refuel</tt> || Sets Lantern fuel to maximum (unimplemented feature). | ||
+ | |- | ||
+ | | <tt>fillbin</tt> || Adds five items (24, 82, 136, 16, 388) to the shipping bin.<br />''Aliases: <tt>fb</tt>.'' | ||
|} | |} | ||
;NPCs, character actors, interactions, relationships | ;NPCs, character actors, interactions, relationships | ||
− | + | {| class="wikitable" | |
− | clone <S:NPC> | + | |- |
− | sb <S:NPC> | + | ! command !! description |
− | sf, setFrame <I> | + | |- |
− | fd, face, faceDirection <S:NPC> <I:dir> | + | | clone <tt>S:NPC</tt> || Makes a copy of <tt>NPC</tt>'s actor and places it to the current location. |
− | jump <S:NPC> <I> | + | |- |
− | c, cm, canmove | + | | sb <tt>S:NPC</tt> || Puts "Hello! This is a test" in a bubble above <tt>NPC</tt>'s head. |
− | stoprafting | + | |- |
+ | | sf, setFrame <tt>I</tt> || Sets and stops the player actor's current animation at the given frame. | ||
+ | |- | ||
+ | | fd, face, faceDirection <tt>S:NPC</tt> <tt>I:dir</tt> || Sets <tt>NPC</tt> to face in <tt>direction</tt> | ||
+ | |- | ||
+ | | jump <tt>S:NPC</tt> <tt>I</tt> || makes the given NPC/player actor jump once, at velocity <tt>I</tt>. | ||
+ | |- | ||
+ | | c, cm, canmove || Force-enables movement for the player actor. Force-closes inventory menu, presumably other menus and dialogue as well. | ||
+ | |- | ||
+ | | stoprafting || Ends the "is.Rafting" action. (Presumably an unimplemented feature.) | ||
+ | |- | ||
+ | | colspan=2 | | ||
+ | |- | ||
+ | | db <tt>S:NPC</tt> || Triggers the relevant dialogue with <tt>NPC</tt>, or by default, Pierre. Counts as having spoken to that NPC. Prints "Stack empty" in console if the NPC has no more dialogue at that time. | ||
+ | |- | ||
+ | | colspan=2 | | ||
+ | |- | ||
+ | | divorce || Makes the player divorce from their current spouse that night. | ||
+ | |- | ||
+ | | minigame makeEx <tt>S:NPC</tt> || sets <tt>NPC</tt>'s relationship to Farmer as "divorced". | ||
+ | |- | ||
+ | | marry <tt>S:NPC</tt> || Marries the player to <tt>NPC</tt>. | ||
+ | |- | ||
+ | | friendAll || Sets all NPCs to 10 hearts (or 8 hearts for bachelor/ettes that you aren't dating). | ||
+ | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
;Events | ;Events | ||
− | + | {| class="wikitable" | |
− | leaveEvent, endEvent | + | |- |
− | busDriveBack | + | ! command !! description |
− | wedding - | + | |- |
− | eventOver - | + | | 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? |
− | train | + | |- |
− | ccloadcutscene - | + | | busDriveBack || BusStop.busDriveBack() |
− | ee | + | |- |
− | minigame blastoff | + | | wedding || |
− | minigame cowboy | + | |- |
− | end | + | | eventOver || |
− | + | |- | |
+ | | train || Makes a train pass through Stardew Valley. | ||
+ | |- | ||
+ | | ccloadcutscene || | ||
+ | |- | ||
+ | | ee || Restarts current event (heart events only?). Outside of events, warps player actor to (0,0) on current map. | ||
+ | |- | ||
+ | | minigame blastoff || presumably starts a specific heart event of [[Maru]]. | ||
+ | |- | ||
+ | | minigame cowboy || presumably starts a specific heart event of [[Abigail]]. | ||
+ | |- | ||
+ | | end || Starts the Stardew Hero Celebration event. | ||
+ | |} | ||
;Quests, world objectives, in-game achievements | ;Quests, world objectives, in-game achievements | ||
− | + | {| class="wikitable" | |
− | quest <I:ID> | + | |- |
− | bundle <I:ID> | + | ! command !! description |
− | completeCC | + | |- |
− | completeQuest <I:ID> | + | | quest <tt>I:ID</tt> || Adds quest the ID <tt>ID</tt>. |
− | caughtFish, fishCaught <I:AMT> | + | |- |
− | + | | bundle <tt>I:ID</tt> || Marks bundle <tt>ID</tt> as completed. | |
+ | |- | ||
+ | | completeCC || Sets the Community Centre as complete. | ||
+ | |- | ||
+ | | completeQuest <tt>I:ID</tt> || Marks quest <tt>ID</tt> as complete. | ||
+ | |- | ||
+ | | caughtFish, fishCaught <tt>I:AMT</tt> || Sets the number of fish caught to <tt>AMT</tt>. | ||
+ | |} | ||
− | ; | + | ;Meta & information |
− | + | {| class="wikitable" | |
− | where, whereis <S:NPC> | + | |- |
− | dp, dap, daysPlayed | + | ! command !! description |
− | pm, panmode, panMode, | + | |- |
− | version | + | | where, whereis <tt>S:NPC</tt> || Prints the location and coordinates of <tt>NPC</tt> in the console. |
− | localInfo | + | |- |
− | characterInfo | + | | 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. | ||
+ | |- | ||
+ | | version || Prints the SDV version number in console. | ||
+ | |- | ||
+ | | localInfo || Prints a bunch of debug information about the current location in the console. | ||
+ | |- | ||
+ | | characterInfo || Displays number of characters on the current map. | ||
+ | |} | ||
;Player character stats, skills, recipes, and player actor properties | ;Player character stats, skills, recipes, and player actor properties | ||
− | + | {| class="wikitable" | |
− | fishing <I> | + | |- |
− | heal | + | ! command !! description |
− | speed <I> | + | |- |
− | cooking | + | | fishing <tt>I</tt> || sets player Fishing skill to <tt>I</tt> |
− | energize | + | |- |
− | die | + | | heal || Sets player health to maximum. |
− | money <I> | + | |- |
− | specials | + | | speed <tt>I</tt> || Increases player actor speed by the given amount. (1 is equal to the speed increase from coffee.) |
− | festivalScore <I:score>- adds <score> to Farmer's grange display score at Stardew Valley Fair | + | |- |
− | toggleCatPerson | + | | cooking || Teaches the player all cooking recipes. |
− | seenmail <I:ID> | + | |- |
− | + | | energize || Sets player energy to maximum. | |
+ | |- | ||
+ | | die || Sets the player's health to minimum, making them pass out. | ||
+ | |- | ||
+ | | money <tt>I</tt> || Set player money to given integer. | ||
+ | |- | ||
+ | | specials || Sets all special access conditions to true (Sewers, Skull Cave, Club, Witch's Hut, Dwarf), and gives the player the [[Special Charm]]. | ||
+ | |- | ||
+ | | festivalScore <tt>I:score</tt>- adds <tt>score</tt> to Farmer's grange display score at Stardew Valley Fair | ||
+ | |- | ||
+ | | toggleCatPerson || Toggles the selected pet species. | ||
+ | |- | ||
+ | | seenmail <tt>I:ID</tt> || Adds letter <tt>ID</tt> to the list of those the farmer has already received and read. | ||
+ | |} | ||
;Farm, crops, fruit trees, livestock, pets, farm buildings | ;Farm, crops, fruit trees, livestock, pets, farm buildings | ||
− | + | {| class="wikitable" | |
− | minigame setUpFarm | + | |- |
− | upgradebarn, barn | + | ! command !! description |
− | growCrops <I:AMT> | + | |- |
− | house, houseUpgrade, hu <I:LVL> | + | | minigame setUpFarm || tills certain patches of land; adds 20K money; adds a silo, a coop, and a barn; adds shears, milk pail, and full stacks of items 472, 473, 322, 388, and 390; upgrades all four tools to iridium level. |
− | fenceDecay | + | |- |
− | bc, buildcoop - | + | | upgradebarn, barn || upgrades player barn(s) one level |
− | coop, upgradecoop | + | |- |
− | spreadDirt | + | | growCrops <tt>I:AMT</tt> || Advances all crops in the current location <tt>AMT</tt> days. |
− | removeDirt | + | |- |
− | minigame befriendAnimals | + | | house, houseUpgrade, hu <tt>I:LVL</tt> || Up/downgrades your house to the given level. |
− | fixAnimals | + | |- |
− | + | | fenceDecay || presumably sets the rate of fence decay | |
+ | |- | ||
+ | | bc, buildcoop || | ||
+ | |- | ||
+ | | coop, upgradecoop || upgrades player coop(s) one level. | ||
+ | |- | ||
+ | | spreadDirt || On the farm, till all tillable dirt that is currently untilled and unoccupied by actors. | ||
+ | |- | ||
+ | | removeDirt || On the farm, until all tillable dirt. Will destroy all crops! | ||
+ | |- | ||
+ | | minigame befriendAnimals || Sets your friendship with all of your (present) animals to 1000. Must be used inside a coop or a barn. | ||
+ | |- | ||
+ | | fixAnimals || Presumably, moves all livestock to their home buildings. | ||
+ | |} | ||
;Map, locations, terrain features, time and weather | ;Map, locations, terrain features, time and weather | ||
− | + | {| class="wikitable" | |
− | minelevel <LVL> | + | |- |
− | warp <S:MAP> <I:X> <I: | + | ! command !! description |
− | removeLights | + | |- |
− | clearLightGlows | + | | minelevel <tt>LVL</tt> || Warps Farmer to given [[Mines]] level. |
− | dayUpdate [I:AMT] | + | |- |
− | al, ambientLight - | + | | warp <tt>S:MAP</tt> <tt>I:X</tt> <tt>I:</tt>y || warps Farmer to <tt>MAP</tt> at (<tt>X</tt>, <tt></tt>y). |
− | time <TIME> | + | |- |
− | rain | + | | removeLights || Disables light effects on the current map. |
− | + | |- | |
+ | | clearLightGlows || Removes light glow textures on current map. | ||
+ | |- | ||
+ | | dayUpdate [I:AMT] || Progresses the game either 1 or [AMT] days. | ||
+ | |- | ||
+ | | al, ambientLight || | ||
+ | |- | ||
+ | | time <tt>TIME</tt> || set game time of day, <tt>TIME</tt> format is military time (24 hours, no colon). | ||
+ | |- | ||
+ | | rain || Toggles whether current [[weather]] is rain. | ||
+ | |} | ||
− | + | {| class="wikitable" | |
− | cmenu, customize, customizeMenu | + | |- |
− | bloomDay | + | ! command !! description |
− | cat <I:X> <I: | + | |- |
− | question | + | | cmenu, customize, customizeMenu || Opens the character menu (new game, not wizard). |
− | growgrass <number> | + | |- |
− | petToFarm | + | | bloomDay || The game's bloom. Doesn't work. |
− | junimoStar | + | |- |
− | growAnimals | + | | cat <tt>I:X</tt> <tt>I:</tt>y || Adds a cat at (<tt>X</tt>, <tt></tt>y) in the current location. |
− | bluebook | + | |- |
− | removeTF, removeTerrainFeatures | + | | question || Marks a particular dialogue question as answered. |
− | removeFurniture | + | |- |
− | rfh, readyForHarvest <I:X> <I: | + | | growgrass <tt>number</tt> || Adds <tt>number</tt> grass to your current location. May freeze the game if used outside of the farm. |
− | resource <I:ID> <I:AMT> | + | |- |
− | craftingrecipe <S:str> | + | | petToFarm || Moves the player's pet to the farm at (54, 8) if it isn't raining. |
− | setstat <S:stat> <I:num>- Sets the stat <stat> to <num>. (<stat> is property in StardewValley.Stats) | + | |- |
− | conventionMode | + | | junimoStar || (CC.characters[0] as junimo).returnToFetchStar |
− | jn, junimoNote <I:ID> | + | |- |
− | resetJunimoNotes | + | | growAnimals || Makes all animals in the current location (must be an animal house) grow up. |
− | hurry - | + | |- |
− | makeInedible | + | | bluebook || Adds a blueprint to your inventory. |
− | toss | + | |- |
− | completeJoja | + | | removeTF, removeTerrainFeatures || Removes all terrain features from the current location. |
− | zl, zoomlevel - | + | |- |
− | eventseen, seenevent <I:ID> | + | | removeFurniture || Removes all furniture from the current location. |
− | sl | + | |- |
− | sr | + | | rfh, readyForHarvest <tt>I:X</tt> <tt>I:</tt>y || Sets the object at (<tt>X</tt>, <tt></tt>y) to be ready in one minute. Also sets stones to 1 health. |
− | shirt - | + | |- |
− | b, bi, big, bigitem - | + | | resource <tt>I:ID</tt> <tt>I:AMT</tt> || Marks some debris as collected, useful for quests. 0=copper, 2=iron, 4=coal, 6=gold, 8=money (somewhat random amount), |- |
− | facePlayer | + | 10=iridium, 12=wood, 28=lantern fuel |
− | j, aj, addJunimo - | + | |- |
− | deleteArch - | + | | craftingrecipe <tt>S:str</tt> || Adds the recipe for <tt>str</tt> to your known items. |
− | ns, nosave, noSave - | + | |- |
− | water | + | | setstat <tt>S:stat</tt> <tt>I:num</tt>- Sets the stat <tt>stat</tt> to <tt>num</tt>. (<tt>stat</tt> is property in StardewValley.Stats) |
− | growAnimalsFarm - | + | |- |
− | wp, wallpaper | + | | conventionMode || Toggles Game1.conventionMode |
− | tool - | + | |- |
− | fo, frameOffset - | + | | jn, junimoNote <tt>I:ID</tt> || Adds junimo note <tt>ID</tt>. |
− | m, mv, musicvolume - | + | |- |
− | emote - | + | | resetJunimoNotes || presumably resets all JunimoNotes to not-seen status. |
− | remoteLargeTF - | + | |- |
− | spawnweeds <number> | + | | hurry || |
− | lu, lookup - | + | |- |
− | speech - | + | | makeInedible || Makes the item the player is holding inedible. |
− | ps, playSound - | + | |- |
− | wc, warpCharacter - | + | | toss || Vial drop animation plays at the player actor's location- |
− | fruitTrees - | + | |- |
− | animalInfo - | + | | completeJoja || presumably set completeJoja value to true (or input value) |
− | ff, furniture - | + | |- |
− | pixelZoom <LVL> | + | | zl, zoomlevel || |
− | achieve - | + | |- |
− | sdkinfo, steaminfo - | + | | eventseen, seenevent <tt>I:ID</tt> || adds given event's ID to the list of Seen Events. Useful for enabling access to event-dependent areas or events. |
− | morepollen - | + | |- |
− | specialItem - | + | | sl || Switches items in player inventory one row down, looping to top. Useful for browsing inventories larger than 36 spaces. |
− | levelup - | + | |- |
− | kms, killMonsterStat - | + | | sr || Switches items in player inventory one row up, looping to bottom. Useful for browsing inventories larger than 36 spaces. |
− | backpack - | + | |- |
− | child, kid - | + | | shirt || |
− | allbundles - | + | |- |
− | movebuilding - | + | | b, bi, big, bigitem || |
− | mft, mailForTomorrow - | + | |- |
− | ccload - | + | | facePlayer || presumably makes given NPC actor face player actor |
− | minigame - | + | |- |
− | addOtherFarmer - | + | | j, aj, addJunimo || |
− | addAllCrafting | + | |- |
− | plaque - | + | | deleteArch || |
− | horse <I:X> <I: | + | |- |
− | sprinkle - | + | | ns, nosave, noSave || |
− | i, item - | + | |- |
− | owl - | + | | water || Irrigate all tilled land on the current map. |
− | removeQuest - | + | |- |
− | w, wall - | + | | growAnimalsFarm || |
− | KillAllHorses - | + | |- |
− | skinColor - | + | | wp, wallpaper || Inside the current farm building, switches all wallpapers to the next available wallpaper counting from (assumedly) the left/topmost room. |
− | debrisWeather | + | |- |
− | clearMail - | + | | tool || |
− | cookingrecipe - | + | |- |
− | clearCharacters - | + | | fo, frameOffset || |
− | dialogue | + | |- |
− | test | + | | m, mv, musicvolume || |
− | fish - | + | |- |
− | year - | + | | emote || |
− | crafting | + | |- |
− | f, floor - | + | | remoteLargeTF || |
− | killAll | + | |- |
− | beachBridge | + | | spawnweeds <tt>number</tt> || Spawns <tt>number</tt> weeds in your current location. May freeze or crash the game if used outside of the farm. |
− | achievement - | + | |- |
− | slimecraft - | + | | lu, lookup || |
− | LSD - | + | |- |
− | build - | + | | speech || |
− | farmMap - | + | |- |
− | blueprint - | + | | ps, playSound || |
− | upgradeBarn - | + | |- |
− | season | + | | wc, warpCharacter || |
− | friend, friendship, | + | |- |
− | save | + | | fruitTrees || |
− | gamePad - | + | |- |
− | coopDweller - | + | | animalInfo || |
− | hairStyle - | + | |- |
− | spreadSeeds - | + | | ff, furniture || |
− | removeBuildings - | + | |- |
− | addKent | + | | pixelZoom <tt>LVL</tt> || sets the graphical zoom level the game displays at--takes integers, 1 is 100% pixel size, default is 4 (400% pixel size). Movement does not scale. Changes in zoom level may put the player actor outside the boundaries of the map. |
− | getstat - | + | |- |
− | doesItemExist - | + | | achieve || |
− | clearSpecials - | + | |- |
− | pants - | + | | sdkinfo, steaminfo || |
− | gamemode - | + | |- |
− | barnDweller - | + | | morepollen || |
− | bloom - | + | |- |
− | viewport - | + | | specialItem || |
− | day - | + | |- |
− | upgradeCoop - | + | | levelup || |
− | dog | + | |- |
− | busDriveOff - | + | | kms, killMonsterStat || |
− | child2 - | + | |- |
− | playMusic - | + | | backpack || |
− | resetMines - | + | |- |
− | hat - | + | | child, kid || |
− | r - | + | |- |
− | hairColor - | + | | allbundles || |
− | waterColor - | + | |- |
− | ring - | + | | movebuilding || |
− | clearFurniture - | + | |- |
− | boots - | + | | mft, mailForTomorrow || |
− | event - | + | |- |
− | resetAchievements | + | | ccload || |
− | + | |- | |
+ | | minigame || | ||
+ | |- | ||
+ | | addOtherFarmer || | ||
+ | |- | ||
+ | | addAllCrafting || possibly adds the achievement for having crafted every item | ||
+ | |- | ||
+ | | plaque || | ||
+ | |- | ||
+ | | horse <tt>I:X</tt> <tt>I:</tt>y || Spawns a new horse on the current map at (<tt>X</tt>, <tt></tt>y). | ||
+ | |- | ||
+ | | sprinkle || | ||
+ | |- | ||
+ | | i, item || | ||
+ | |- | ||
+ | | owl || | ||
+ | |- | ||
+ | | removeQuest || | ||
+ | |- | ||
+ | | w, wall || | ||
+ | |- | ||
+ | | KillAllHorses || | ||
+ | |- | ||
+ | | skinColor || | ||
+ | |- | ||
+ | | debrisWeather || presumably changes the current weather to windy. | ||
+ | |- | ||
+ | | clearMail || | ||
+ | |- | ||
+ | | cookingrecipe || | ||
+ | |- | ||
+ | | clearCharacters || | ||
+ | |- | ||
+ | | dialogue || possibly initiate dialogue by ID | ||
+ | |- | ||
+ | | test || changes game display to a swatch list of floorings, which can be clicked once to return to normal game display | ||
+ | |- | ||
+ | | fish || | ||
+ | |- | ||
+ | | year || | ||
+ | |- | ||
+ | | crafting || Teaches the player all crafting recipes. | ||
+ | |- | ||
+ | | f, floor || | ||
+ | |- | ||
+ | | killAll || possibly abort all operations on machines. Does not affect monsters on farm or in mines. | ||
+ | |- | ||
+ | | beachBridge || presumably fixes the bridge separating the beach parts | ||
+ | |- | ||
+ | | achievement || | ||
+ | |- | ||
+ | | slimecraft || | ||
+ | |- | ||
+ | | LSD || | ||
+ | |- | ||
+ | | build || | ||
+ | |- | ||
+ | | farmMap || | ||
+ | |- | ||
+ | | blueprint || | ||
+ | |- | ||
+ | | upgradeBarn || | ||
+ | |- | ||
+ | | season || presumably timeskips to the 1st day of the given season. | ||
+ | |- | ||
+ | | friend, friendship, || presumably sets the friendship point value with the given character to the given value. | ||
+ | |- | ||
+ | | save || Saves the game. Doesn't work. | ||
+ | |- | ||
+ | | gamePad || | ||
+ | |- | ||
+ | | coopDweller || | ||
+ | |- | ||
+ | | hairStyle || | ||
+ | |- | ||
+ | | spreadSeeds || | ||
+ | |- | ||
+ | | removeBuildings || | ||
+ | |- | ||
+ | | addKent || Adds Kent to the game. | ||
+ | |- | ||
+ | | getstat || | ||
+ | |- | ||
+ | | doesItemExist || | ||
+ | |- | ||
+ | | clearSpecials || | ||
+ | |- | ||
+ | | pants || | ||
+ | |- | ||
+ | | gamemode || | ||
+ | |- | ||
+ | | barnDweller || | ||
+ | |- | ||
+ | | bloom || | ||
+ | |- | ||
+ | | viewport || | ||
+ | |- | ||
+ | | day || | ||
+ | |- | ||
+ | | upgradeCoop || | ||
+ | |- | ||
+ | | dog || Presumably adds a dog at (<tt>X</tt>, <tt></tt>y) on the current map. | ||
+ | |- | ||
+ | | busDriveOff || | ||
+ | |- | ||
+ | | child2 || | ||
+ | |- | ||
+ | | playMusic || | ||
+ | |- | ||
+ | | resetMines || | ||
+ | |- | ||
+ | | hat || | ||
+ | |- | ||
+ | | r || | ||
+ | |- | ||
+ | | hairColor || | ||
+ | |- | ||
+ | | waterColor || | ||
+ | |- | ||
+ | | ring || | ||
+ | |- | ||
+ | | clearFurniture || | ||
+ | |- | ||
+ | | boots || | ||
+ | |- | ||
+ | | event || | ||
+ | |- | ||
+ | | resetAchievements || Resets the Steam achievements. | ||
+ | |} | ||
[[Category:Modding]] | [[Category:Modding]] |
Revision as of 08:44, 8 October 2017
Stardew Valley's developers added several hidden debug commands to test the game. This page documents them.
Accessing debug commands
These are for advanced users only. These commands may crash or break your save if used incorrectly.
You can run debug commands in the SMAPI console (the terminal window that opens alongside the game) through the debug command, assuming you have the bundled TrainerMod installed:
debug where Robin > Robin is at Farm, 21,4
Commands
Article Stub
This article is a stub and is missing information. You can help Stardew Valley Wiki by expanding it! |
Many commands that ask for an NPC (such as faceDirection) can take 'farmer' as well.
- Items, tools, loot, debris, inventory
command | description |
---|---|
shears | Adds Shears to your inventory. |
pickaxe | Adds a basic Pickaxe to your inventory. Aliases: pickax, pickaxe. |
pole | Adds a Bamboo Pole to your inventory. |
slingshot | Adds a Slingshot to your inventory. |
wand | Adds a Return Scepter to your inventory. |
can | Adds a basic Watering Can to your inventory. Aliases: wateringcan. |
pan | Adds Copper Pan to your inventory. |
hoe | Adds a basic Hoe to your inventory. |
ax | Adds a basic Axe to your inventory. |
mp | Adds a Milk Pail to your inventory. |
lantern | [broken] Adds a Lantern to your inventory. However, the game freezes if you try to use it. |
skullkey | Adds the Skull Key to your wallet. |
darkTalisman | Adds the Dark Talisman to your wallet and makes the Witch's Hut accessible. Removes the Magic Ink, if you have it. |
itemnamed <string itemName> [int count] |
Adds [count] of the item named <itemName> to player inventory. The <itemName> is the full item name, with punctuation but no spaces (like miner'streat). If [count] isn't specified, defaults to 1.Aliases: in. |
fillbackpack | Fills your inventory with random items until full. Aliases: fbp, fill, fillbp. |
removeObjects | Clears all objects from the current location. |
removeDebris | Removes all debris (such as dropped items). Aliases: mainmenu, mainMenu. |
museumloot | Marks artifacts as found and adds minerals to your inventory. Stops when your inventory is full. |
TV | Adds a TV to your inventory. |
weapon <int weaponID> |
Gives the weapon matching <weaponID> to the player. (For example, weapon 12 spawns a Wooden Blade.)
|
gold | Adds a large sum of money to your inventory. |
refuel | Sets Lantern fuel to maximum (unimplemented feature). |
fillbin | Adds five items (24, 82, 136, 16, 388) to the shipping bin. Aliases: fb. |
- NPCs, character actors, interactions, relationships
command | description |
---|---|
clone S:NPC | Makes a copy of NPC's actor and places it to the current location. |
sb S:NPC | Puts "Hello! This is a test" in a bubble above NPC's head. |
sf, setFrame I | Sets and stops the player actor's current animation at the given frame. |
fd, face, faceDirection S:NPC I:dir | Sets NPC to face in direction |
jump S:NPC I | makes the given NPC/player actor jump once, at velocity I. |
c, cm, canmove | Force-enables movement for the player actor. Force-closes inventory menu, presumably other menus and dialogue as well. |
stoprafting | Ends the "is.Rafting" action. (Presumably an unimplemented feature.) |
db S:NPC | Triggers the relevant dialogue with NPC, or by default, Pierre. Counts as having spoken to that NPC. Prints "Stack empty" in console if the NPC has no more dialogue at that time. |
divorce | Makes the player divorce from their current spouse that night. |
minigame makeEx S:NPC | sets NPC's relationship to Farmer as "divorced". |
marry S:NPC | Marries the player to NPC. |
friendAll | Sets all NPCs to 10 hearts (or 8 hearts for bachelor/ettes that you aren't dating). |
- Events
command | description |
---|---|
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? |
busDriveBack | BusStop.busDriveBack() |
wedding | |
eventOver | |
train | Makes a train pass through Stardew Valley. |
ccloadcutscene | |
ee | Restarts current event (heart events only?). Outside of events, warps player actor to (0,0) on current map. |
minigame blastoff | presumably starts a specific heart event of Maru. |
minigame cowboy | presumably starts a specific heart event of Abigail. |
end | Starts the Stardew Hero Celebration event. |
- Quests, world objectives, in-game achievements
command | description |
---|---|
quest I:ID | Adds quest the ID ID. |
bundle I:ID | Marks bundle ID as completed. |
completeCC | Sets the Community Centre as complete. |
completeQuest I:ID | Marks quest ID as complete. |
caughtFish, fishCaught I:AMT | Sets the number of fish caught to AMT. |
- Meta & information
command | description |
---|---|
where, whereis S:NPC | Prints the location and coordinates of NPC in the console. |
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. |
version | Prints the SDV version number in console. |
localInfo | Prints a bunch of debug information about the current location in the console. |
characterInfo | Displays number of characters on the current map. |
- Player character stats, skills, recipes, and player actor properties
command | description |
---|---|
fishing I | sets player Fishing skill to I |
heal | Sets player health to maximum. |
speed I | Increases player actor speed by the given amount. (1 is equal to the speed increase from coffee.) |
cooking | Teaches the player all cooking recipes. |
energize | Sets player energy to maximum. |
die | Sets the player's health to minimum, making them pass out. |
money I | Set player money to given integer. |
specials | Sets all special access conditions to true (Sewers, Skull Cave, Club, Witch's Hut, Dwarf), and gives the player the Special Charm. |
festivalScore I:score- adds score to Farmer's grange display score at Stardew Valley Fair | |
toggleCatPerson | Toggles the selected pet species. |
seenmail I:ID | Adds letter ID to the list of those the farmer has already received and read. |
- Farm, crops, fruit trees, livestock, pets, farm buildings
command | description |
---|---|
minigame setUpFarm | tills certain patches of land; adds 20K money; adds a silo, a coop, and a barn; adds shears, milk pail, and full stacks of items 472, 473, 322, 388, and 390; upgrades all four tools to iridium level. |
upgradebarn, barn | upgrades player barn(s) one level |
growCrops I:AMT | Advances all crops in the current location AMT days. |
house, houseUpgrade, hu I:LVL | Up/downgrades your house to the given level. |
fenceDecay | presumably sets the rate of fence decay |
bc, buildcoop | |
coop, upgradecoop | upgrades player coop(s) one level. |
spreadDirt | On the farm, till all tillable dirt that is currently untilled and unoccupied by actors. |
removeDirt | On the farm, until all tillable dirt. Will destroy all crops! |
minigame befriendAnimals | Sets your friendship with all of your (present) animals to 1000. Must be used inside a coop or a barn. |
fixAnimals | Presumably, moves all livestock to their home buildings. |
- Map, locations, terrain features, time and weather
command | description |
---|---|
minelevel LVL | Warps Farmer to given Mines level. |
warp S:MAP I:X I:y | warps Farmer to MAP at (X, y). |
removeLights | Disables light effects on the current map. |
clearLightGlows | Removes light glow textures on current map. |
dayUpdate [I:AMT] | Progresses the game either 1 or [AMT] days. |
al, ambientLight | |
time TIME | set game time of day, TIME format is military time (24 hours, no colon). |
rain | Toggles whether current weather is rain. |
command | description |
---|---|
cmenu, customize, customizeMenu | Opens the character menu (new game, not wizard). |
bloomDay | The game's bloom. Doesn't work. |
cat I:X I:y | Adds a cat at (X, y) in the current location. |
question | Marks a particular dialogue question as answered. |
growgrass number | Adds number grass to your current location. May freeze the game if used outside of the farm. |
petToFarm | Moves the player's pet to the farm at (54, 8) if it isn't raining. |
junimoStar | (CC.characters[0] as junimo).returnToFetchStar |
growAnimals | Makes all animals in the current location (must be an animal house) grow up. |
bluebook | Adds a blueprint to your inventory. |
removeTF, removeTerrainFeatures | Removes all terrain features from the current location. |
removeFurniture | Removes all furniture from the current location. |
rfh, readyForHarvest I:X I:y | Sets the object at (X, y) to be ready in one minute. Also sets stones to 1 health. |
resource I:ID I:AMT | -
10=iridium, 12=wood, 28=lantern fuel |
craftingrecipe S:str | Adds the recipe for str to your known items. |
setstat S:stat I:num- Sets the stat stat to num. (stat is property in StardewValley.Stats) | |
conventionMode | Toggles Game1.conventionMode |
jn, junimoNote I:ID | Adds junimo note ID. |
resetJunimoNotes | presumably resets all JunimoNotes to not-seen status. |
hurry | |
makeInedible | Makes the item the player is holding inedible. |
toss | Vial drop animation plays at the player actor's location- |
completeJoja | presumably set completeJoja value to true (or input value) |
zl, zoomlevel | |
eventseen, seenevent I:ID | adds given event's ID to the list of Seen Events. Useful for enabling access to event-dependent areas or events. |
sl | Switches items in player inventory one row down, looping to top. Useful for browsing inventories larger than 36 spaces. |
sr | Switches items in player inventory one row up, looping to bottom. Useful for browsing inventories larger than 36 spaces. |
shirt | |
b, bi, big, bigitem | |
facePlayer | presumably makes given NPC actor face player actor |
j, aj, addJunimo | |
deleteArch | |
ns, nosave, noSave | |
water | Irrigate all tilled land on the current map. |
growAnimalsFarm | |
wp, wallpaper | Inside the current farm building, switches all wallpapers to the next available wallpaper counting from (assumedly) the left/topmost room. |
tool | |
fo, frameOffset | |
m, mv, musicvolume | |
emote | |
remoteLargeTF | |
spawnweeds number | Spawns number weeds in your current location. May freeze or crash the game if used outside of the farm. |
lu, lookup | |
speech | |
ps, playSound | |
wc, warpCharacter | |
fruitTrees | |
animalInfo | |
ff, furniture | |
pixelZoom LVL | sets the graphical zoom level the game displays at--takes integers, 1 is 100% pixel size, default is 4 (400% pixel size). Movement does not scale. Changes in zoom level may put the player actor outside the boundaries of the map. |
achieve | |
sdkinfo, steaminfo | |
morepollen | |
specialItem | |
levelup | |
kms, killMonsterStat | |
backpack | |
child, kid | |
allbundles | |
movebuilding | |
mft, mailForTomorrow | |
ccload | |
minigame | |
addOtherFarmer | |
addAllCrafting | possibly adds the achievement for having crafted every item |
plaque | |
horse I:X I:y | Spawns a new horse on the current map at (X, y). |
sprinkle | |
i, item | |
owl | |
removeQuest | |
w, wall | |
KillAllHorses | |
skinColor | |
debrisWeather | presumably changes the current weather to windy. |
clearMail | |
cookingrecipe | |
clearCharacters | |
dialogue | possibly initiate dialogue by ID |
test | changes game display to a swatch list of floorings, which can be clicked once to return to normal game display |
fish | |
year | |
crafting | Teaches the player all crafting recipes. |
f, floor | |
killAll | possibly abort all operations on machines. Does not affect monsters on farm or in mines. |
beachBridge | presumably fixes the bridge separating the beach parts |
achievement | |
slimecraft | |
LSD | |
build | |
farmMap | |
blueprint | |
upgradeBarn | |
season | presumably timeskips to the 1st day of the given season. |
friend, friendship, | presumably sets the friendship point value with the given character to the given value. |
save | Saves the game. Doesn't work. |
gamePad | |
coopDweller | |
hairStyle | |
spreadSeeds | |
removeBuildings | |
addKent | Adds Kent to the game. |
getstat | |
doesItemExist | |
clearSpecials | |
pants | |
gamemode | |
barnDweller | |
bloom | |
viewport | |
day | |
upgradeCoop | |
dog | Presumably adds a dog at (X, y) on the current map. |
busDriveOff | |
child2 | |
playMusic | |
resetMines | |
hat | |
r | |
hairColor | |
waterColor | |
ring | |
clearFurniture | |
boots | |
event | |
resetAchievements | Resets the Steam achievements. |