When asking for help or reporting a bug, please provide a link to your SMAPI log. The log contains useful information such as your version, mods installed, what happened in your game, etc. Please follow this procedure even if you don't see any errors in the log.
Hi, I already unlocked Grampleton (Grampleton was an option when Robin asked me which farm to manage), yet I can't move my empty barn to Grampleton. The dialogue option after selecting the building wouldn't show up.
Here is my smapi log: https://smapi.io/log/818348121b7847e1964b5c7e3fd65abb
There don't seem to be any issues according to the logs. Just to be sure, did you right-click on the building? To relocate a building, hover over it, right-click to open the dialog box, then choose the desired location. Once you've selected the location, you can left-click to place the building!
The hay hoppers in coops and barns are only connected to the silos at the building's location. However, the "Autofeed System" in the Deluxe Coop and Deluxe Barn first retrieves hay from the silos at the building's location. If no silos are present or they are empty, it will take hay from the silos on the main farm.
I'm currently doing a PIF run (tiny farm, most everything gets outsourced) and almost demolished some of my farm buildings because I changed my mind on where they should go - this mod saved my ass big time! Moved both buildings and animals without issue, excellent mod :D
pressing x on controller or right-click on building while in move building view just picks up the building. i can't see any option for moving to other locations.
The dialogue box doesn't open if the only buildable location is the main farm. You need to install mods that add new buildable locations (e.g., the Buildable Ginger Island Farm mod, which allows you to build on the Ginger Island farm). This mod only allows you to move buildings and farm animals between the main farm and the additional buildable locations added by mods.
Yeah I think Build and Place Anything Anywhere isn't working right because I can't get the build menu to give me location options either. I'll try throwing in some map patches to allow building in a few locations and try it again
I am trying to use this mod in conjunction with expanded moving things from my farm to the frontier extra space but it does not give me the option to do this, in fact I am not even getting an option to chose ginger island.
Can someone please tell me what I am doing wrong? I have attached my smapi log if that helps:
[SMAPI] SMAPI 4.1.10 with Stardew Valley 1.6.15 build 24356 on Microsoft Windows 10 Pro [SMAPI] Mods go here: d:\steam\steamapps\common\Stardew Valley\Mods [SMAPI] Waiting for game to launch... [SMAPI] Loading mod metadata... [SMAPI] Loading mods... [Initialize] Clear Glasses 0.4.2.0 (Release) [SMAPI] Loaded 28 mods: [SMAPI] AutoAnimalDoors 4.2.0 by Aaron Taggart | Open and close the doors automatically for your animals. [SMAPI] Automate 2.3.2 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests. [SMAPI] AutomaticGates 2.5.4 by Rakiin aKa ScheKaa | Opens and closes gates automatically [SMAPI] Better Junimos 3.1.0 by hawkfalcon,ceruleandeep | Allow your Junimos (from Junimo huts) to automatically plant seeds, fertilize, and so much more! [SMAPI] Bigger Backpack 7.3.0 by spacechase0, yoseiri, bcmpinc | Adds another backpack size. [SMAPI] Build On Any Tile 1.1.3 by Esca | Allows buildings to be placed on any tile, even if they're obstructed by terrain or other buildings. [SMAPI] CJB Cheats Menu 1.38.0 by CJBok and Pathoschild | Simple in-game cheats menu! [SMAPI] CJB Item Spawner 2.5.2 by CJBok and Pathoschild | Simple in-game item spawner! [SMAPI] Clear Glasses 0.4.2 by aurpine | Steps up the visuals of your game by using pixel scaling techniques and filters. [SMAPI] Console Commands 4.1.10 by SMAPI | Adds SMAPI console commands that let you manipulate the game. [SMAPI] Content Patcher 2.5.1 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files. [SMAPI] Custom Cask Mod 1.6.3 by Digus | Adds ways to customize the casks. [SMAPI] Destroyable Bushes 1.5.1 by Esca | Allows the player to destroy bushes with an axe. [SMAPI] Farm Type Manager 1.24.0 by Esca | Allows custom spawning of content from each farm type: forage, large objects, ore, and monsters [SMAPI] Garden Pot - Automate 1.1.1 by NCarigon | Adds additional support for garden pots within Automate. [SMAPI] Generic Mod Config Menu 1.14.1 by spacechase0 | Adds an in-game UI to edit other mods' config options (for mods which support it). [SMAPI] Lookup Anything 1.47.0 by Pathoschild | View metadata about anything by pressing a button. [SMAPI] Mail Framework Mod 1.18.0 by Digus | Utility classes to send mail in the game. [SMAPI] No Greenhouse Entrance Tiles 1.1.0 by idermailer | No Greenhouse Entrance Tiles [SMAPI] NPC Map Locations 3.3.0 by Bouhm | Shows NPCs and farmers on a modified map page for accurate tracking. [SMAPI] Relocate Buildings And Farm Animals 1.0.3 by mouahrara | Allows you to relocate buildings and farm animals to new locations. [SMAPI] Save Backup 4.1.10 by SMAPI | Automatically backs up all your saves once per day into its folder. [SMAPI] SkullCavernElevator 1.6.2 by lestoph | Elevator for the Skull Cavern [SMAPI] Stardew Valley Expanded Code 1.15.8 by FlashShifter, Esca, super-aardvark, and kittycatcasey | Adds coded elements to the game [SMAPI] StardewHack 7.4.0 by bcmpinc | Transpilation library used by my other mods. Doesn't do much on its own. [SMAPI] Tractor Mod 4.21.0 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc. [SMAPI] UI Info Suite 2 2.3.7 by Annosz | Adds a useful information to the user interface. Based on Cdaragorn's excellent UI Info Suite. [SMAPI] Wear More Rings 7.7.0 by bcmpinc | Adds additional ring slots to your inventory. [SMAPI] Loaded 22 content packs: [SMAPI] (CCM)Advanced Casks Mod 2.0.1 by Digus | for Custom Cask Mod | Adds configuration of my advanced casks to Custom Cask Mod. [SMAPI] (CP)Advanced Cask Mod 2.0.1 by Digus | for Content Patcher | Adds advanced casks to the game. [SMAPI] (MFM)Advanced Casks Mod 2.0.1 by Digus | for Mail Framework Mod | Letter to receive the advanced casks. [SMAPI] Elle's Cuter Barn Animals 1.0.1 by Elle/Junimods | for Content Patcher | Adds new skins for all your barn animals! [SMAPI] Elle's Cuter Cats 1.0.0 by Elle/Junimods | for Content Patcher | Adds new skins/breeds for your cats! [SMAPI] Elle's Cuter Coop Animals 1.0.2 by Elle/Junimods | for Content Patcher | Adds new skins for all your coop animals! [SMAPI] Elle's Cuter Dogs 1.0.1 by Elle/Junimods | for Content Patcher | Adds new skins/breeds for your dogs! [SMAPI] Elle's Cuter Horses 1.0.0 by Elle/Junimods | for Content Patcher | Adds new skins for your horse! [SMAPI] Elle's Cuter Trinkets 1.0.1 by Elle/Junimods | for Content Patcher | Adds new sprites for all of your trinket companions! [SMAPI] Elle's Dirt and Cliff Recolor 1.2.9 by Elle/Junimods | for Content Patcher | Recolors the yellow dirt and the cliffs to match! [SMAPI] Elle's Grass Replacement 1.1.2 by Elle/Junimods | for Content Patcher | Replaces your grass!! [SMAPI] Elle's Kitchen Replacement 1.1.6 by Elle/Junimods | for Content Patcher | Replaces the kitchen tiles in farmhouse_tiles.xnb! [SMAPI] Elle's Seasonal Buildings 1.3.5 by Elle/Junimods | for Content Patcher | A replacement for all buildings on your farm for each season! [SMAPI] Elle's Town Buildings 1.0.4 by Elle/Junimods | for Content Patcher | A CP replacement for all of Pelican Town's buildings! [SMAPI] Frontier Farm 1.15.8 by FlashShifter | for Content Patcher | A massive custom farm map for Stardew Valley Expanded. [SMAPI] Frontier Farm Forage Locations 1.15.8 by FlashShifter | for Farm Type Manager | Frontier Farm FTM Data. [SMAPI] Grandpa's Farm 1.15.8 by FlashShifter | for Content Patcher | A medium sized farm map for Stardew Valley Expanded. [SMAPI] Grandpa's Farm Forage Locations 1.15.8 by FlashShifter | for Farm Type Manager | A farm map for Stardew Valley Expanded. [SMAPI] Marnie's Auto-Petters 1.0.0 by Damentia | for Content Patcher | Marnie will now sell Auto-Petters after the Community Center is completed. [SMAPI] Shed Expansion 2.0.0 by Tsabhira | for Content Patcher | My custom shed [SMAPI] Stardew Valley Expanded 1.15.8 by FlashShifter | for Content Patcher | An expansive fanmade mod for ConcernedApe's Stardew Valley. [SMAPI] Stardew Valley Expanded Farm Type Manager 1.15.8 by FlashShifter | for Farm Type Manager | This FTM pack is for SVE! [SMAPI] Patched game code [SMAPI] -------------------------------------------------- [SMAPI] These mods directly change the game code. They're more likely to cause errors or bugs in-game; if [SMAPI] your game has issues, try removing these first. Otherwise you can ignore this warning. [SMAPI] - Better Junimos [SMAPI] - Bigger Backpack [SMAPI] - Build On Any Tile [SMAPI] - Clear Glasses [SMAPI] - Custom Cask Mod [SMAPI] - Destroyable Bushes [SMAPI] - Farm Type Manager [SMAPI] - Garden Pot - Automate [SMAPI] - Mail Framework Mod [SMAPI] - No Greenhouse Entrance Tiles [SMAPI] - Relocate Buildings And Farm Animals [SMAPI] - Stardew Valley Expanded Code [SMAPI] - StardewHack [SMAPI] - Wear More Rings [SMAPI] No update keys [SMAPI] -------------------------------------------------- [SMAPI] These mods have no update keys in their manifest. SMAPI may not notify you about updates for these [SMAPI] mods. Consider notifying the mod authors about this problem. [SMAPI] - Marnie's Auto-Petters [SMAPI] - No Greenhouse Entrance Tiles [SMAPI] - Shed Expansion [SMAPI] Launching mods... [StardewHack] Loaded StardewHack library v7.4.0 using Harmony v2.2.2.0. [Bigger Backpack] Applying bytecode patches for spacechase0.BiggerBackpack. [Stardew Valley Expanded Code] Starting Installation Checker... [Stardew Valley Expanded Code] (Installation Checker provided by shekurika and moe) [Stardew Valley Expanded Code] Installation check completed. Everything seems fine! [Wear More Rings] Applying bytecode patches for bcmpinc.WearMoreRings. [SMAPI] Mods loaded and ready! Setting breakpad minidump AppID = 413150 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199127897750 [API loaded no] [SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage [AutoAnimalDoors] Generic Mod Config detected, initializing menu [UI Info Suite 2] Loaded API for mod spacechase0.GenericModConfigMenu [Clear Glasses] [Dump] System Information: Architecture: x64 Number of Cores: 4 OS Version: Microsoft Windows NT 10.0.19045.0 CPU Information Brand : Intel Microarchitecture : Haswell Family : 6 Model : 60 Stepping : 3 Type : OriginalOem Instruction Sets: SSSE3 : true (enabled) SSE4.1 : true (enabled) BMI2 : true (enabled) AVX2 : true (disabled) Total Committed Memory: 2.20 GiB Total Available Memory: 7.95 GiB Graphics Adapter Description : NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 Vendor : Nvidia Dedicated : True Dedicated VRAM : 4.00 GiB Total VRAM : 4.00 GiB [Clear Glasses] [Dump] GLExt Dump: Context Version: 4.6 CreateTextures : True TexStorage2D : True TextureStorage2D : True TextureStorage2DExt : True CopyImageSubData : True GetInteger64v : False GetTexImage : True GetTextureSubImage : True GetCompressedTexImage : True GetCompressedTextureSubImage: True DrawElements : True DrawRangeElements : True VertexAttribPointer : True BindBuffer : True BufferData : True VertexAttribDivisor : True GetTexParameteriv : True _bindTexture : True _pixelStorei : True [Content Patcher] Some content packs haven't been updated for Stardew Valley 1.6.0. Content Patcher will try to auto-migrate them, but compatibility isn't guaranteed. Affected content packs: - Shed Expansion For mod authors, see how to update a mod: https://smapi.io/cp-migrate. [Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields. [Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields. [UI Info Suite 2] Setting up icon sheet [Wear More Rings] Save loaded for Lopsy. [AutoAnimalDoors] Skipping because it is Winter [Better Junimos] On day starter [Better Junimos] Edited Junimo Huts to cost $10000, with materials 390 100 / 268 3 / 771 100
By default, only the main farm is buildable. However, some mods add new buildable locations, allowing players to construct buildings here. When multiple buildable locations are available, a dialog box will appear when opening Robin’s or the Wizard’s construction menu. If this dialog box does not appear, it means no mods are adding new buildable locations to the game, or you have not unlocked them.
To build on Ginger Island’s farm, you need to install the Buildable Ginger Island Farm mod. For the Frontier Farm, only the main farm and the area west of it (unlocked after repairing the bridge) are buildable.
Also, I would like to clarify that support for multiple buildable locations (added by mods since only the main farm is buildable in the base game) has been added in version 1.6.0 of the game. This mod only allows you to move buildings and farm animals between the main farm and the additional buildable locations added by mods.
I recommend checking whether the dialog box for selecting a buildable location appears when you open Robin’s or the Wizard’s construction menu. If it doesn’t, review your mod list and the unlock requirements for buildable locations. Once additional buildable locations are unlocked, you can move buildings between them using this mod by clicking the Move button (☩) in either Robin’s or the Wizard’s construction menu, then right-clicking (or pressing Ⓧ on a controller) on a building.
Running a heavily modded version of 1.6 with SVE (+ Grandpa's Farm) and RSV. I do not get a dialog box when trying to move animals. No errors on loading or when I try to move the animals. Anyone else experiencing similar issues?
SMAPI Log after attempting to move an animal: [SMAPI] SMAPI 4.0.8 with Stardew Valley 1.6.8 build 24119 on Microsoft Windows 11 Home [SMAPI] Mods go here: D:\Programs\Steam\steamapps\common\Stardew Valley\Mods [SMAPI] Waiting for game to launch... [SMAPI] Loading mod metadata... [SMAPI] Loading mods... [SMAPI] Loaded 40 mods: [SMAPI] Animal Husbandry Mod 2.6.13 by Digus | Adds features related to animal husbandry. [SMAPI] Automate 2.2.5 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests. [SMAPI] AutomaticGates 2.5.4 by Rakiin aKa ScheKaa | Opens and closes gates automatically [SMAPI] Berry Season Reminder 1.1.1 by Anthony Hilyard | Adds berry season icons to your calendar after receiving Bear's Knowledge. [SMAPI] Better Chests 2.18.3 by LeFauxMatt | Framework that adds new features to chests. [SMAPI] Better Crafting 2.13.0 by Khloe Leclair | Replaces the vanilla crafting menu with an improved reimplementation with support for favorites, categories, and that doesn't lock nearby chests in multiplayer. [SMAPI] Better Ranching 2.0.5 by Urbanyeti | Prevents failed milk/shear attempts and displays when animals can be milked/sheared and petted. [SMAPI] Billboard Anywhere 1.14.0 by Alpha_Omegasis | Lets you view the billboard from anywhere. [SMAPI] Chests Anywhere 1.24.1 by Pathoschild | Access your chests from anywhere and organize them your way. [SMAPI] Console Commands 4.0.8 by SMAPI | Adds SMAPI console commands that let you manipulate the game. [SMAPI] Content Patcher 2.3.0 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files. [SMAPI] Custom Companions 4.1.1 by PeacefulEnd | Framework for creating custom entities that can be spawned on maps or follow you around in Stardew Valley. [SMAPI] Data Layers 1.17.2 by Pathoschild | Overlays the world with visual data like accessibility, bee/Junimo/scarecrow/sprinkler coverage, etc. [SMAPI] Deluxe Journal 1.3.3 by MolsonCAD | Upgrades the journal with new features. [SMAPI] Farm Type Manager 1.23.0 by Esca | Allows custom spawning of content from each farm type: forage, large objects, ore, and monsters [SMAPI] Farmer Helper 1.0.3 by Fiorbeth | Farmer Helper. [SMAPI] FauxCore 1.1.1 by LeFauxMatt | Framework that provides shared functionality for all of my mods. [SMAPI] Generic Mod Config Menu 1.12.0 by spacechase0 | Adds an in-game UI to edit other mods' config options (for mods which support it). [SMAPI] Gift Taste Helper Continued x2 1.2.3 by JoXW, Isi0, tstaples (aka catman) | Displays NPC gift tastes in a handy tooltip. [SMAPI] Horse Overhaul 1.5.9 by Goldenrevolver | Thin horse with saddle bags. Give your horse pets, food and water for friendship and increased speed. [SMAPI] Increased Sprinkler Range 1.0.0 by EternalSoap | Increases the sprinkler range [SMAPI] Json Assets 1.11.8 by spacechase0 | Lets content packs add custom content to the game. [SMAPI] Lookup Anything 1.45.3 by Pathoschild | View metadata about anything by pressing a button. [SMAPI] Love of Cooking 2.0.0-alpha.4 by blueberry | Cooking overhaul suite. Enter a world of food! [SMAPI] Mail Framework Mod 1.18.0 by Digus | Utility classes to send mail in the game. [SMAPI] More Books 1.1.9 by jeWel | This mod adds 16 new books and powers. [SMAPI] NPC Map Locations 3.1.0 by Bouhm | Shows NPCs and farmers on a modified map page for accurate tracking. [SMAPI] Ornithologist's Guild 1.8.0 by Ivy | Ornithologist's Guild brings a totally new birding experience to Stardew Valley, complete with overhauled bird mechanics, bird feeders and baths, seasonal birds, nests and fledglings, a progression system, a new location and shop, a new NPC with a tragic past, and sooo much more! Do you have what it takes to be Pelican Town's next great birder? [SMAPI] Relocate Buildings And Farm Animals 1.0.1 by mouahrara | Allows you to relocate buildings and farm animals to new locations. [SMAPI] Ridgeside Village (SMAPI component) 2.5.13 by Rafseazz | Ridgeside Village SMAPI and Harmony Component [SMAPI] Save Backup 4.0.8 by SMAPI | Automatically backs up all your saves once per day into its folder. [SMAPI] Seed Bag 1.8.3-alpha.20240226 by Platonymous | Adds a Seed Bag to the Game [SMAPI] SkipFishingMinigame 0.7.1 by DewMods | When a fish bites, just hook the fish and skip the bobber bar minigame [SMAPI] SpaceCore 1.24.2 by spacechase0 | A framework mod used by some of my other mods. [SMAPI] Sprinkler Attachments 1.1.0 by mushymato | Add new sprinkler add-on items similar to pressure nozzle and enricher. [SMAPI] Stardew Valley Expanded Code 1.14.46 by FlashShifter, Esca, super-aardvark, and kittycatcasey | Adds coded elements to the game [SMAPI] StardewValleyMapTeleport 1.0.1 by hlyvia | Teleport by clicking on the map [SMAPI] Tractor Mod 4.19.2 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc. [SMAPI] Tree Transplant(Fix) 2.0.0 by LeonBlade/Siweipancc | (Fix Version)Allows you to transplant trees in game. [SMAPI] World Maps 1.0.1 by shekurika | Allows the player to access all worldmaps from everywhere [SMAPI] Loaded 19 content packs: [SMAPI] (CP) Ornithologist's Guild 1.8.0 by Ivy | for Content Patcher | Ornithologist's Guild brings a totally new birding experience to Stardew Valley, complete with overhauled bird mechanics, bird feeders and baths, seasonal birds, nests and fledglings, a progression system, a new location and shop, a new NPC with a tragic past, and sooo much more! Do you have what it takes to be Pelican Town's next great birder? [SMAPI] (CP) Sprinkler Attachments 1.1.0 by mushymato | for Content Patcher | Add items supported by mushymato.SprinklerAttachments. [SMAPI] (MFM) SpousesIncomeSVE 1.1.1 by Astraios | for Mail Framework Mod | Give you your SVE spouse's paycheck [SMAPI] (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0 by Arrbyte | for Ornithologist's Guild | Adds Arrbyte's Birds to OrnithologistsGuild by Ivy. They will roam around. [SMAPI] CC Unique Horses 1.5.0 by cajcbell | for Content Patcher | choose a unique horse for a unique farmer [SMAPI] Elle's Seasonal Buildings 1.3.5 by Elle/Junimods | for Content Patcher | A replacement for all buildings on your farm for each season! [SMAPI] Farm Animal Facelift 1.3.0 by siamece | for Content Patcher | Touches up all of the coop and barn animal sprites. [SMAPI] Grampleton Fields 1.14.42 by FlashShifter | for Content Patcher | Adds Grampleton Fields to the game, expansive flatlands residing between Pelican Town and the city of Grampleton. [SMAPI] Grandpa's Farm 1.14.43 by FlashShifter | for Content Patcher | The recommended farm map for Stardew Valley Expanded. [SMAPI] Grandpa's Farm Forage Locations 1.14.43 by FlashShifter | for Farm Type Manager | A farm map for Stardew Valley Expanded. [SMAPI] Immersive Farm 2 Remastered 1.14.42 by FlashShifter (Original Author: zanderb14) | for Content Patcher | FlashShifter's remastered version of Zander's Immersive Farm 2 map [SMAPI] Love of Cooking (CP) 2.0.0-alpha.4 by blueberry | for Content Patcher | Love of Cooking assets and content. [SMAPI] MoreBooks 1.1.9 by jeWel | for Content Patcher | This mod adds 16 new books and powers. [SMAPI] Ridgeside Village (Content Patcher component) 2.5.13 by Rafseazz | for Content Patcher | Adds Ridgeside Village to the game. A Stardew Valley Expansion mod. [SMAPI] Ridgeside Village (Custom Companions component) 2.5.13 by Rafseazz | for Custom Companions | Custom Companions pack for Ridgeside Village. [SMAPI] Ridgeside Village (Farm Type Manager component) 2.5.13 by Rafseazz | for Farm Type Manager | Adds forage and monsters to Ridgeside Village. [SMAPI] Stardew Valley Expanded 1.14.46 by FlashShifter | for Content Patcher | An expansive fanmade mod for ConcernedApe's Stardew Valley. [SMAPI] Stardew Valley Expanded Farm Type Manager 1.14.46 by FlashShifter | for Farm Type Manager | This FTM pack is for SVE! [SMAPI] Stardew Valley Expanded Forage Locations - Immersive Farm 2 1.14.42 by FlashShifter | for Farm Type Manager | This FTM pack is for IF2R. Only useable if playing with SVE! [SMAPI] Found 24 mods with warnings: [SMAPI] Changed save serializer [SMAPI] -------------------------------------------------- [SMAPI] These mods change the save serializer. They may corrupt your save files, or make them unusable if [SMAPI] you uninstall these mods. [SMAPI] - SpaceCore [SMAPI] Patched game code [SMAPI] -------------------------------------------------- [SMAPI] These mods directly change the game code. They're more likely to cause errors or bugs in-game; if [SMAPI] your game has issues, try removing these first. Otherwise you can ignore this warning. [SMAPI] - Animal Husbandry Mod [SMAPI] - Berry Season Reminder [SMAPI] - Better Chests [SMAPI] - Better Crafting [SMAPI] - Custom Companions [SMAPI] - Deluxe Journal [SMAPI] - Farm Type Manager [SMAPI] - Farmer Helper [SMAPI] - FauxCore [SMAPI] - Horse Overhaul [SMAPI] - Increased Sprinkler Range [SMAPI] - Json Assets [SMAPI] - Love of Cooking [SMAPI] - Mail Framework Mod [SMAPI] - Ornithologist's Guild [SMAPI] - Relocate Buildings And Farm Animals [SMAPI] - Ridgeside Village (SMAPI component) [SMAPI] - Seed Bag [SMAPI] - SpaceCore [SMAPI] - Sprinkler Attachments [SMAPI] - Stardew Valley Expanded Code [SMAPI] - StardewValleyMapTeleport [SMAPI] - World Maps [SMAPI] No update keys [SMAPI] -------------------------------------------------- [SMAPI] These mods have no update keys in their manifest. SMAPI may not notify you about updates for these [SMAPI] mods. Consider notifying the mod authors about this problem. [SMAPI] - Berry Season Reminder [SMAPI] - Love of Cooking (CP) [SMAPI] Launching mods... [Stardew Valley Expanded Code] Starting Installation Checker... [Stardew Valley Expanded Code] (Installation Checker provided by shekurika and moe) [Stardew Valley Expanded Code] Installation check completed. Everything seems fine! [SMAPI] Mods loaded and ready! Setting breakpad minidump AppID = 413150 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198206747587 [API loaded no] [SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage [Better Crafting] Creating specific API instance for Better Chests (furyx639.BetterChests) [Custom Companions] Successfully hooked into spacechase0.JsonAssets. [Custom Companions] Successfully hooked into Pathoschild.ContentPatcher. [Custom Companions] Loading companions from pack: Ridgeside Village (Custom Companions component) 2.5.13 by Rafseazz [Ornithologist's Guild] Reading content pack: Ornithologist's Guild birds 1.8.0 from D:\Programs\Steam\steamapps\common\Stardew Valley\Mods\Ornithologists Guild\assets\content-pack [Ornithologist's Guild] Read 12 birdies from Ornithologist's Guild birds 1.8.0 [Ornithologist's Guild] Reading content pack: (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0 from D:\Programs\Steam\steamapps\common\Stardew Valley\Mods\[OG] Arrbyte's Birds [Ornithologist's Guild] Read 19 birdies from (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0 [Json Assets] Loading content packs... [SpaceCore] A warp from JoshHouse references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from BathHouse_MensLocker references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from Forest references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from Beach references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from Town references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from Saloon references DayEnd_WarpRoom which could not be found. [SpaceCore] A warp from AnimalShop references DayEnd_WarpRoom which could not be found. [Ridgeside Village (SMAPI component)] RSV: 39 animals pet for 390g
Have you built animal houses in other locations? A location needs to have at least one animal house to appear. If there is only one location that meets this condition (the current location), the dialog box will not appear.
I have not. That would explain it, I've just been trying to move them between barns on the main farm. O.o That would explain it. I missed that part. Thanks for the quick clarification!
I'm having a similar problem, but moving buildings. Neither Wizard's nor Robin's moving menus prompt the dialogue box to relocate buildings to Ginger Island (or build)
@mileserrans2 By default, only the main farm is buildable. However, some mods add new buildable locations, allowing players to construct buildings here. When multiple buildable locations are available, a dialog box will appear when opening Robin’s or the Wizard’s construction menu. If this dialog box does not appear, it means no mods are adding new buildable locations to the game, or you have not unlocked them.
Also, I would like to clarify that support for multiple buildable locations (added by mods since only the main farm is buildable in the base game) has been added in version 1.6.0 of the game. This mod only allows you to move buildings and farm animals between the main farm and the additional buildable locations added by mods.
Hello! This is not a problem with you mod, I just want advice since your mod does something very similar to what I want to do for a mod I'm making. I want people to be able to build cabins on other locations in the world, currently when adding a new location with CanBuildHere game adds it to robin menu automatically but it doesn't let you add a cabin. Do you know which class would I need to modify with harmony to allow all kind of structures?
I removed a part of a line in your code to allow move cabins and it works well so i guess the array of valid structures to build should be around here, I'm not sure if its CarpenterMenu cause looking at your code (Patches/Menus/CarpenterMenu.cs) looks like this is just what appears when you are moving structure but I'm not completely sure how this class works as harmony confuses me a bit.
I'm making a mod that adds multiple farms to the world but I wanted to first implement this to publish it. Another solution I had in mind was more of a petition to you to remove this condition and I add it to my mod as a dependency so people are free to build cabins anywhere but If you added it maybe it was cause there were problems when having cabins on other locations?
To allow cabins to be built in any buildable location, you need to patch the IsValidBuildingForLocation method of the CarpenterMenu class. Here's the source code: /// <summary>Get whether a building can ever be built in the target location.</summary> /// <param name="typeId">The building type ID in <c>Data/Buildings</c>.</param> /// <param name="data">The building data from <c>Data/Buildings</c>.</param> /// <param name="targetLocation">The location it would be built in.</param> public virtual bool IsValidBuildingForLocation(string typeId, BuildingData data, GameLocation targetLocation) { if (typeId == "Cabin" && TargetLocation.Name != "Farm") { return false; } return true; }Here's a simple patch to remove the restriction: Harmony harmony = new(ModManifest.UniqueID);
harmony.Patch( original: AccessTools.Method(typeof(CarpenterMenu), nameof(CarpenterMenu.IsValidBuildingForLocation)), postfix: new HarmonyMethod(typeof(IsValidBuildingForLocation_Patch), nameof(IsValidBuildingForLocation_Patch.Postfix)) );And: public class IsValidBuildingForLocation_Patch { public static void Postfix(string typeId, ref bool __result) { if (typeId == "Cabin") { __result = true; } } }Please note that cabins are tightly coupled to the main farm, which is why this restriction exists in the base game and why I've reproduced it in my mod. I don't know what the consequences will be if you break this restriction.
For my patch (CarpenterMenuPatch.ReceiveRightClickPostfix), I'm using Harmony to execute my own function when the player right-clicks in "move building" mode. There's no list of valid buildings. I just check that the building under the mouse is not under construction, is not the farmhouse, a cabin, or the greenhouse, and that the player has permission to move it.
I will not remove my condition. However, if you manage to create a mod that removes this restriction and properly handles all the consequences, I could add compatibility to my mod by removing this condition when yours is installed.
Thank you so much for your detailed response!! I did not think it would be that easy as to just replace the method haha, because of that yeah, I'm worried it could cause problems having cabins on other farms but I did a quick test with split screen coop and had no problem. Will add this to my mod and probably call some friends later to test it further.
I would be really interested in a mod that lets you relocate existing cabins outside of the farm. I have been looking for two days, and you are the only two people I’ve found who know how to make it. I know you showed how to reproduce it, but I have no clue how to make that happen.
After all that, I could relocate the camper or shed (cabin) in the town, forest, etc., and the bed was still working. You will be able to sleep and respawn in the shed in the zone where the building was relocated.
Hi friend! I am also interested in being able to move cabins between maps. I may have a go at making a patch, your code below is really helpful!
Would there be any chance of an optional file with the cabin restriction removed, to be used at our own peril? I would be happy to try it out and test for major consequences. All good either way! Cheers mate :)
41 comments
Here is my smapi log: https://smapi.io/log/818348121b7847e1964b5c7e3fd65abb
Thank you in advance!
https://smapi.io/log/75a7f6635d884465a6a905134fa21c0c
Can someone please tell me what I am doing wrong? I have attached my smapi log if that helps:
[SMAPI] SMAPI 4.1.10 with Stardew Valley 1.6.15 build 24356 on Microsoft Windows 10 Pro
[SMAPI] Mods go here: d:\steam\steamapps\common\Stardew Valley\Mods
[SMAPI] Waiting for game to launch...
[SMAPI] Loading mod metadata...
[SMAPI] Loading mods...
[Initialize] Clear Glasses 0.4.2.0 (Release)
[SMAPI] Loaded 28 mods:
[SMAPI] AutoAnimalDoors 4.2.0 by Aaron Taggart | Open and close the doors automatically for your animals.
[SMAPI] Automate 2.3.2 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests.
[SMAPI] AutomaticGates 2.5.4 by Rakiin aKa ScheKaa | Opens and closes gates automatically
[SMAPI] Better Junimos 3.1.0 by hawkfalcon,ceruleandeep | Allow your Junimos (from Junimo huts) to automatically plant seeds, fertilize, and so much more!
[SMAPI] Bigger Backpack 7.3.0 by spacechase0, yoseiri, bcmpinc | Adds another backpack size.
[SMAPI] Build On Any Tile 1.1.3 by Esca | Allows buildings to be placed on any tile, even if they're obstructed by terrain or other buildings.
[SMAPI] CJB Cheats Menu 1.38.0 by CJBok and Pathoschild | Simple in-game cheats menu!
[SMAPI] CJB Item Spawner 2.5.2 by CJBok and Pathoschild | Simple in-game item spawner!
[SMAPI] Clear Glasses 0.4.2 by aurpine | Steps up the visuals of your game by using pixel scaling techniques and filters.
[SMAPI] Console Commands 4.1.10 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[SMAPI] Content Patcher 2.5.1 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files.
[SMAPI] Custom Cask Mod 1.6.3 by Digus | Adds ways to customize the casks.
[SMAPI] Destroyable Bushes 1.5.1 by Esca | Allows the player to destroy bushes with an axe.
[SMAPI] Farm Type Manager 1.24.0 by Esca | Allows custom spawning of content from each farm type: forage, large objects, ore, and monsters
[SMAPI] Garden Pot - Automate 1.1.1 by NCarigon | Adds additional support for garden pots within Automate.
[SMAPI] Generic Mod Config Menu 1.14.1 by spacechase0 | Adds an in-game UI to edit other mods' config options (for mods which support it).
[SMAPI] Lookup Anything 1.47.0 by Pathoschild | View metadata about anything by pressing a button.
[SMAPI] Mail Framework Mod 1.18.0 by Digus | Utility classes to send mail in the game.
[SMAPI] No Greenhouse Entrance Tiles 1.1.0 by idermailer | No Greenhouse Entrance Tiles
[SMAPI] NPC Map Locations 3.3.0 by Bouhm | Shows NPCs and farmers on a modified map page for accurate tracking.
[SMAPI] Relocate Buildings And Farm Animals 1.0.3 by mouahrara | Allows you to relocate buildings and farm animals to new locations.
[SMAPI] Save Backup 4.1.10 by SMAPI | Automatically backs up all your saves once per day into its folder.
[SMAPI] SkullCavernElevator 1.6.2 by lestoph | Elevator for the Skull Cavern
[SMAPI] Stardew Valley Expanded Code 1.15.8 by FlashShifter, Esca, super-aardvark, and kittycatcasey | Adds coded elements to the game
[SMAPI] StardewHack 7.4.0 by bcmpinc | Transpilation library used by my other mods. Doesn't do much on its own.
[SMAPI] Tractor Mod 4.21.0 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc.
[SMAPI] UI Info Suite 2 2.3.7 by Annosz | Adds a useful information to the user interface. Based on Cdaragorn's excellent UI Info Suite.
[SMAPI] Wear More Rings 7.7.0 by bcmpinc | Adds additional ring slots to your inventory.
[SMAPI] Loaded 22 content packs:
[SMAPI] (CCM)Advanced Casks Mod 2.0.1 by Digus | for Custom Cask Mod | Adds configuration of my advanced casks to Custom Cask Mod.
[SMAPI] (CP)Advanced Cask Mod 2.0.1 by Digus | for Content Patcher | Adds advanced casks to the game.
[SMAPI] (MFM)Advanced Casks Mod 2.0.1 by Digus | for Mail Framework Mod | Letter to receive the advanced casks.
[SMAPI] Elle's Cuter Barn Animals 1.0.1 by Elle/Junimods | for Content Patcher | Adds new skins for all your barn animals!
[SMAPI] Elle's Cuter Cats 1.0.0 by Elle/Junimods | for Content Patcher | Adds new skins/breeds for your cats!
[SMAPI] Elle's Cuter Coop Animals 1.0.2 by Elle/Junimods | for Content Patcher | Adds new skins for all your coop animals!
[SMAPI] Elle's Cuter Dogs 1.0.1 by Elle/Junimods | for Content Patcher | Adds new skins/breeds for your dogs!
[SMAPI] Elle's Cuter Horses 1.0.0 by Elle/Junimods | for Content Patcher | Adds new skins for your horse!
[SMAPI] Elle's Cuter Trinkets 1.0.1 by Elle/Junimods | for Content Patcher | Adds new sprites for all of your trinket companions!
[SMAPI] Elle's Dirt and Cliff Recolor 1.2.9 by Elle/Junimods | for Content Patcher | Recolors the yellow dirt and the cliffs to match!
[SMAPI] Elle's Grass Replacement 1.1.2 by Elle/Junimods | for Content Patcher | Replaces your grass!!
[SMAPI] Elle's Kitchen Replacement 1.1.6 by Elle/Junimods | for Content Patcher | Replaces the kitchen tiles in farmhouse_tiles.xnb!
[SMAPI] Elle's Seasonal Buildings 1.3.5 by Elle/Junimods | for Content Patcher | A replacement for all buildings on your farm for each season!
[SMAPI] Elle's Town Buildings 1.0.4 by Elle/Junimods | for Content Patcher | A CP replacement for all of Pelican Town's buildings!
[SMAPI] Frontier Farm 1.15.8 by FlashShifter | for Content Patcher | A massive custom farm map for Stardew Valley Expanded.
[SMAPI] Frontier Farm Forage Locations 1.15.8 by FlashShifter | for Farm Type Manager | Frontier Farm FTM Data.
[SMAPI] Grandpa's Farm 1.15.8 by FlashShifter | for Content Patcher | A medium sized farm map for Stardew Valley Expanded.
[SMAPI] Grandpa's Farm Forage Locations 1.15.8 by FlashShifter | for Farm Type Manager | A farm map for Stardew Valley Expanded.
[SMAPI] Marnie's Auto-Petters 1.0.0 by Damentia | for Content Patcher | Marnie will now sell Auto-Petters after the Community Center is completed.
[SMAPI] Shed Expansion 2.0.0 by Tsabhira | for Content Patcher | My custom shed
[SMAPI] Stardew Valley Expanded 1.15.8 by FlashShifter | for Content Patcher | An expansive fanmade mod for ConcernedApe's Stardew Valley.
[SMAPI] Stardew Valley Expanded Farm Type Manager 1.15.8 by FlashShifter | for Farm Type Manager | This FTM pack is for SVE!
[SMAPI] Patched game code
[SMAPI] --------------------------------------------------
[SMAPI] These mods directly change the game code. They're more likely to cause errors or bugs in-game; if
[SMAPI] your game has issues, try removing these first. Otherwise you can ignore this warning.
[SMAPI] - Better Junimos
[SMAPI] - Bigger Backpack
[SMAPI] - Build On Any Tile
[SMAPI] - Clear Glasses
[SMAPI] - Custom Cask Mod
[SMAPI] - Destroyable Bushes
[SMAPI] - Farm Type Manager
[SMAPI] - Garden Pot - Automate
[SMAPI] - Mail Framework Mod
[SMAPI] - No Greenhouse Entrance Tiles
[SMAPI] - Relocate Buildings And Farm Animals
[SMAPI] - Stardew Valley Expanded Code
[SMAPI] - StardewHack
[SMAPI] - Wear More Rings
[SMAPI] No update keys
[SMAPI] --------------------------------------------------
[SMAPI] These mods have no update keys in their manifest. SMAPI may not notify you about updates for these
[SMAPI] mods. Consider notifying the mod authors about this problem.
[SMAPI] - Marnie's Auto-Petters
[SMAPI] - No Greenhouse Entrance Tiles
[SMAPI] - Shed Expansion
[SMAPI] Launching mods...
[StardewHack] Loaded StardewHack library v7.4.0 using Harmony v2.2.2.0.
[Bigger Backpack] Applying bytecode patches for spacechase0.BiggerBackpack.
[Stardew Valley Expanded Code] Starting Installation Checker...
[Stardew Valley Expanded Code] (Installation Checker provided by shekurika and moe)
[Stardew Valley Expanded Code] Installation check completed. Everything seems fine!
[Wear More Rings] Applying bytecode patches for bcmpinc.WearMoreRings.
[SMAPI] Mods loaded and ready!
Setting breakpad minidump AppID = 413150
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199127897750 [API loaded no]
[SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[AutoAnimalDoors] Generic Mod Config detected, initializing menu
[UI Info Suite 2] Loaded API for mod spacechase0.GenericModConfigMenu
[Clear Glasses] [Dump] System Information:
Architecture: x64
Number of Cores: 4
OS Version: Microsoft Windows NT 10.0.19045.0
CPU Information
Brand : Intel
Microarchitecture : Haswell
Family : 6
Model : 60
Stepping : 3
Type : OriginalOem
Instruction Sets:
SSSE3 : true (enabled)
SSE4.1 : true (enabled)
BMI2 : true (enabled)
AVX2 : true (disabled)
Total Committed Memory: 2.20 GiB
Total Available Memory: 7.95 GiB
Graphics Adapter
Description : NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Vendor : Nvidia
Dedicated : True
Dedicated VRAM : 4.00 GiB
Total VRAM : 4.00 GiB
[Clear Glasses] [Dump] GLExt Dump:
Context Version: 4.6
CreateTextures : True
TexStorage2D : True
TextureStorage2D : True
TextureStorage2DExt : True
CopyImageSubData : True
GetInteger64v : False
GetTexImage : True
GetTextureSubImage : True
GetCompressedTexImage : True
GetCompressedTextureSubImage: True
DrawElements : True
DrawRangeElements : True
VertexAttribPointer : True
BindBuffer : True
BufferData : True
VertexAttribDivisor : True
GetTexParameteriv : True
_bindTexture : True
_pixelStorei : True
[Content Patcher] Some content packs haven't been updated for Stardew Valley 1.6.0. Content Patcher will try to auto-migrate them, but compatibility isn't guaranteed.
Affected content packs:
- Shed Expansion
For mod authors, see how to update a mod: https://smapi.io/cp-migrate.
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields.
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields.
[UI Info Suite 2] Setting up icon sheet
[Wear More Rings] Save loaded for Lopsy.
[AutoAnimalDoors] Skipping because it is Winter
[Better Junimos] On day starter
[Better Junimos] Edited Junimo Huts to cost $10000, with materials 390 100 / 268 3 / 771 100
To build on Ginger Island’s farm, you need to install the Buildable Ginger Island Farm mod. For the Frontier Farm, only the main farm and the area west of it (unlocked after repairing the bridge) are buildable.
Also, I would like to clarify that support for multiple buildable locations (added by mods since only the main farm is buildable in the base game) has been added in version 1.6.0 of the game. This mod only allows you to move buildings and farm animals between the main farm and the additional buildable locations added by mods.
I recommend checking whether the dialog box for selecting a buildable location appears when you open Robin’s or the Wizard’s construction menu. If it doesn’t, review your mod list and the unlock requirements for buildable locations. Once additional buildable locations are unlocked, you can move buildings between them using this mod by clicking the Move button (☩) in either Robin’s or the Wizard’s construction menu, then right-clicking (or pressing Ⓧ on a controller) on a building.
SMAPI Log after attempting to move an animal:
[SMAPI] SMAPI 4.0.8 with Stardew Valley 1.6.8 build 24119 on Microsoft Windows 11 Home
[SMAPI] Mods go here: D:\Programs\Steam\steamapps\common\Stardew Valley\Mods
[SMAPI] Waiting for game to launch...
[SMAPI] Loading mod metadata...
[SMAPI] Loading mods...
[SMAPI] Loaded 40 mods:
[SMAPI] Animal Husbandry Mod 2.6.13 by Digus | Adds features related to animal husbandry.
[SMAPI] Automate 2.2.5 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests.
[SMAPI] AutomaticGates 2.5.4 by Rakiin aKa ScheKaa | Opens and closes gates automatically
[SMAPI] Berry Season Reminder 1.1.1 by Anthony Hilyard | Adds berry season icons to your calendar after receiving Bear's Knowledge.
[SMAPI] Better Chests 2.18.3 by LeFauxMatt | Framework that adds new features to chests.
[SMAPI] Better Crafting 2.13.0 by Khloe Leclair | Replaces the vanilla crafting menu with an improved reimplementation with support for favorites, categories, and that doesn't lock nearby chests in multiplayer.
[SMAPI] Better Ranching 2.0.5 by Urbanyeti | Prevents failed milk/shear attempts and displays when animals can be milked/sheared and petted.
[SMAPI] Billboard Anywhere 1.14.0 by Alpha_Omegasis | Lets you view the billboard from anywhere.
[SMAPI] Chests Anywhere 1.24.1 by Pathoschild | Access your chests from anywhere and organize them your way.
[SMAPI] Console Commands 4.0.8 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[SMAPI] Content Patcher 2.3.0 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files.
[SMAPI] Custom Companions 4.1.1 by PeacefulEnd | Framework for creating custom entities that can be spawned on maps or follow you around in Stardew Valley.
[SMAPI] Data Layers 1.17.2 by Pathoschild | Overlays the world with visual data like accessibility, bee/Junimo/scarecrow/sprinkler coverage, etc.
[SMAPI] Deluxe Journal 1.3.3 by MolsonCAD | Upgrades the journal with new features.
[SMAPI] Farm Type Manager 1.23.0 by Esca | Allows custom spawning of content from each farm type: forage, large objects, ore, and monsters
[SMAPI] Farmer Helper 1.0.3 by Fiorbeth | Farmer Helper.
[SMAPI] FauxCore 1.1.1 by LeFauxMatt | Framework that provides shared functionality for all of my mods.
[SMAPI] Generic Mod Config Menu 1.12.0 by spacechase0 | Adds an in-game UI to edit other mods' config options (for mods which support it).
[SMAPI] Gift Taste Helper Continued x2 1.2.3 by JoXW, Isi0, tstaples (aka catman) | Displays NPC gift tastes in a handy tooltip.
[SMAPI] Horse Overhaul 1.5.9 by Goldenrevolver | Thin horse with saddle bags. Give your horse pets, food and water for friendship and increased speed.
[SMAPI] Increased Sprinkler Range 1.0.0 by EternalSoap | Increases the sprinkler range
[SMAPI] Json Assets 1.11.8 by spacechase0 | Lets content packs add custom content to the game.
[SMAPI] Lookup Anything 1.45.3 by Pathoschild | View metadata about anything by pressing a button.
[SMAPI] Love of Cooking 2.0.0-alpha.4 by blueberry | Cooking overhaul suite. Enter a world of food!
[SMAPI] Mail Framework Mod 1.18.0 by Digus | Utility classes to send mail in the game.
[SMAPI] More Books 1.1.9 by jeWel | This mod adds 16 new books and powers.
[SMAPI] NPC Map Locations 3.1.0 by Bouhm | Shows NPCs and farmers on a modified map page for accurate tracking.
[SMAPI] Ornithologist's Guild 1.8.0 by Ivy | Ornithologist's Guild brings a totally new birding experience to Stardew Valley, complete with overhauled bird mechanics, bird feeders and baths, seasonal birds, nests and fledglings, a progression system, a new location and shop, a new NPC with a tragic past, and sooo much more! Do you have what it takes to be Pelican Town's next great birder?
[SMAPI] Relocate Buildings And Farm Animals 1.0.1 by mouahrara | Allows you to relocate buildings and farm animals to new locations.
[SMAPI] Ridgeside Village (SMAPI component) 2.5.13 by Rafseazz | Ridgeside Village SMAPI and Harmony Component
[SMAPI] Save Backup 4.0.8 by SMAPI | Automatically backs up all your saves once per day into its folder.
[SMAPI] Seed Bag 1.8.3-alpha.20240226 by Platonymous | Adds a Seed Bag to the Game
[SMAPI] SkipFishingMinigame 0.7.1 by DewMods | When a fish bites, just hook the fish and skip the bobber bar minigame
[SMAPI] SpaceCore 1.24.2 by spacechase0 | A framework mod used by some of my other mods.
[SMAPI] Sprinkler Attachments 1.1.0 by mushymato | Add new sprinkler add-on items similar to pressure nozzle and enricher.
[SMAPI] Stardew Valley Expanded Code 1.14.46 by FlashShifter, Esca, super-aardvark, and kittycatcasey | Adds coded elements to the game
[SMAPI] StardewValleyMapTeleport 1.0.1 by hlyvia | Teleport by clicking on the map
[SMAPI] Tractor Mod 4.19.2 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc.
[SMAPI] Tree Transplant(Fix) 2.0.0 by LeonBlade/Siweipancc | (Fix Version)Allows you to transplant trees in game.
[SMAPI] World Maps 1.0.1 by shekurika | Allows the player to access all worldmaps from everywhere
[SMAPI] Loaded 19 content packs:
[SMAPI] (CP) Ornithologist's Guild 1.8.0 by Ivy | for Content Patcher | Ornithologist's Guild brings a totally new birding experience to Stardew Valley, complete with overhauled bird mechanics, bird feeders and baths, seasonal birds, nests and fledglings, a progression system, a new location and shop, a new NPC with a tragic past, and sooo much more! Do you have what it takes to be Pelican Town's next great birder?
[SMAPI] (CP) Sprinkler Attachments 1.1.0 by mushymato | for Content Patcher | Add items supported by mushymato.SprinklerAttachments.
[SMAPI] (MFM) SpousesIncomeSVE 1.1.1 by Astraios | for Mail Framework Mod | Give you your SVE spouse's paycheck
[SMAPI] (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0 by Arrbyte | for Ornithologist's Guild | Adds Arrbyte's Birds to OrnithologistsGuild by Ivy. They will roam around.
[SMAPI] CC Unique Horses 1.5.0 by cajcbell | for Content Patcher | choose a unique horse for a unique farmer
[SMAPI] Elle's Seasonal Buildings 1.3.5 by Elle/Junimods | for Content Patcher | A replacement for all buildings on your farm for each season!
[SMAPI] Farm Animal Facelift 1.3.0 by siamece | for Content Patcher | Touches up all of the coop and barn animal sprites.
[SMAPI] Grampleton Fields 1.14.42 by FlashShifter | for Content Patcher | Adds Grampleton Fields to the game, expansive flatlands residing between Pelican Town and the city of Grampleton.
[SMAPI] Grandpa's Farm 1.14.43 by FlashShifter | for Content Patcher | The recommended farm map for Stardew Valley Expanded.
[SMAPI] Grandpa's Farm Forage Locations 1.14.43 by FlashShifter | for Farm Type Manager | A farm map for Stardew Valley Expanded.
[SMAPI] Immersive Farm 2 Remastered 1.14.42 by FlashShifter (Original Author: zanderb14) | for Content Patcher | FlashShifter's remastered version of Zander's Immersive Farm 2 map
[SMAPI] Love of Cooking (CP) 2.0.0-alpha.4 by blueberry | for Content Patcher | Love of Cooking assets and content.
[SMAPI] MoreBooks 1.1.9 by jeWel | for Content Patcher | This mod adds 16 new books and powers.
[SMAPI] Ridgeside Village (Content Patcher component) 2.5.13 by Rafseazz | for Content Patcher | Adds Ridgeside Village to the game. A Stardew Valley Expansion mod.
[SMAPI] Ridgeside Village (Custom Companions component) 2.5.13 by Rafseazz | for Custom Companions | Custom Companions pack for Ridgeside Village.
[SMAPI] Ridgeside Village (Farm Type Manager component) 2.5.13 by Rafseazz | for Farm Type Manager | Adds forage and monsters to Ridgeside Village.
[SMAPI] Stardew Valley Expanded 1.14.46 by FlashShifter | for Content Patcher | An expansive fanmade mod for ConcernedApe's Stardew Valley.
[SMAPI] Stardew Valley Expanded Farm Type Manager 1.14.46 by FlashShifter | for Farm Type Manager | This FTM pack is for SVE!
[SMAPI] Stardew Valley Expanded Forage Locations - Immersive Farm 2 1.14.42 by FlashShifter | for Farm Type Manager | This FTM pack is for IF2R. Only useable if playing with SVE!
[SMAPI] Found 24 mods with warnings:
[SMAPI] Changed save serializer
[SMAPI] --------------------------------------------------
[SMAPI] These mods change the save serializer. They may corrupt your save files, or make them unusable if
[SMAPI] you uninstall these mods.
[SMAPI] - SpaceCore
[SMAPI] Patched game code
[SMAPI] --------------------------------------------------
[SMAPI] These mods directly change the game code. They're more likely to cause errors or bugs in-game; if
[SMAPI] your game has issues, try removing these first. Otherwise you can ignore this warning.
[SMAPI] - Animal Husbandry Mod
[SMAPI] - Berry Season Reminder
[SMAPI] - Better Chests
[SMAPI] - Better Crafting
[SMAPI] - Custom Companions
[SMAPI] - Deluxe Journal
[SMAPI] - Farm Type Manager
[SMAPI] - Farmer Helper
[SMAPI] - FauxCore
[SMAPI] - Horse Overhaul
[SMAPI] - Increased Sprinkler Range
[SMAPI] - Json Assets
[SMAPI] - Love of Cooking
[SMAPI] - Mail Framework Mod
[SMAPI] - Ornithologist's Guild
[SMAPI] - Relocate Buildings And Farm Animals
[SMAPI] - Ridgeside Village (SMAPI component)
[SMAPI] - Seed Bag
[SMAPI] - SpaceCore
[SMAPI] - Sprinkler Attachments
[SMAPI] - Stardew Valley Expanded Code
[SMAPI] - StardewValleyMapTeleport
[SMAPI] - World Maps
[SMAPI] No update keys
[SMAPI] --------------------------------------------------
[SMAPI] These mods have no update keys in their manifest. SMAPI may not notify you about updates for these
[SMAPI] mods. Consider notifying the mod authors about this problem.
[SMAPI] - Berry Season Reminder
[SMAPI] - Love of Cooking (CP)
[SMAPI] Launching mods...
[Stardew Valley Expanded Code] Starting Installation Checker...
[Stardew Valley Expanded Code] (Installation Checker provided by shekurika and moe)
[Stardew Valley Expanded Code] Installation check completed. Everything seems fine!
[SMAPI] Mods loaded and ready!
Setting breakpad minidump AppID = 413150
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198206747587 [API loaded no]
[SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[Better Crafting] Creating specific API instance for Better Chests (furyx639.BetterChests)
[Custom Companions] Successfully hooked into spacechase0.JsonAssets.
[Custom Companions] Successfully hooked into Pathoschild.ContentPatcher.
[Custom Companions] Loading companions from pack: Ridgeside Village (Custom Companions component) 2.5.13 by Rafseazz
[Ornithologist's Guild] Reading content pack: Ornithologist's Guild birds 1.8.0 from D:\Programs\Steam\steamapps\common\Stardew Valley\Mods\Ornithologists Guild\assets\content-pack
[Ornithologist's Guild] Read 12 birdies from Ornithologist's Guild birds 1.8.0
[Ornithologist's Guild] Reading content pack: (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0 from D:\Programs\Steam\steamapps\common\Stardew Valley\Mods\[OG] Arrbyte's Birds
[Ornithologist's Guild] Read 19 birdies from (OG) Arrbyte's Birds for Ornithologists Guild 1.0.0
[Json Assets] Loading content packs...
[SpaceCore] A warp from JoshHouse references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from BathHouse_MensLocker references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from Forest references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from Beach references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from Town references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from Saloon references DayEnd_WarpRoom which could not be found.
[SpaceCore] A warp from AnimalShop references DayEnd_WarpRoom which could not be found.
[Ridgeside Village (SMAPI component)] RSV: 39 animals pet for 390g
Neither Wizard's nor Robin's moving menus prompt the dialogue box to relocate buildings to Ginger Island (or build)
Also, I would like to clarify that support for multiple buildable locations (added by mods since only the main farm is buildable in the base game) has been added in version 1.6.0 of the game. This mod only allows you to move buildings and farm animals between the main farm and the additional buildable locations added by mods.
I removed a part of a line in your code to allow move cabins and it works well so i guess the array of valid structures to build should be around here, I'm not sure if its CarpenterMenu cause looking at your code (Patches/Menus/CarpenterMenu.cs) looks like this is just what appears when you are moving structure but I'm not completely sure how this class works as harmony confuses me a bit.
I'm making a mod that adds multiple farms to the world but I wanted to first implement this to publish it. Another solution I had in mind was more of a petition to you to remove this condition and I add it to my mod as a dependency so people are free to build cabins anywhere but If you added it maybe it was cause there were problems when having cabins on other locations?
/// <summary>Get whether a building can ever be built in the target location.</summary>
Here's a simple patch to remove the restriction:/// <param name="typeId">The building type ID in <c>Data/Buildings</c>.</param>
/// <param name="data">The building data from <c>Data/Buildings</c>.</param>
/// <param name="targetLocation">The location it would be built in.</param>
public virtual bool IsValidBuildingForLocation(string typeId, BuildingData data, GameLocation targetLocation)
{
if (typeId == "Cabin" && TargetLocation.Name != "Farm")
{
return false;
}
return true;
}
Harmony harmony = new(ModManifest.UniqueID);
And:harmony.Patch(
original: AccessTools.Method(typeof(CarpenterMenu), nameof(CarpenterMenu.IsValidBuildingForLocation)),
postfix: new HarmonyMethod(typeof(IsValidBuildingForLocation_Patch), nameof(IsValidBuildingForLocation_Patch.Postfix))
);
public class IsValidBuildingForLocation_Patch
Please note that cabins are tightly coupled to the main farm, which is why this restriction exists in the base game and why I've reproduced it in my mod. I don't know what the consequences will be if you break this restriction.{
public static void Postfix(string typeId, ref bool __result)
{
if (typeId == "Cabin")
{
__result = true;
}
}
}
For my patch (CarpenterMenuPatch.ReceiveRightClickPostfix), I'm using Harmony to execute my own function when the player right-clicks in "move building" mode. There's no list of valid buildings. I just check that the building under the mouse is not under construction, is not the farmhouse, a cabin, or the greenhouse, and that the player has permission to move it.
I will not remove my condition. However, if you manage to create a mod that removes this restriction and properly handles all the
consequences, I could add compatibility to my mod by removing this condition when yours is installed.
Edit: Found a way to do it myself.
I downloaded a mod that adds another type of shed (designed to look like a cabin):
https://www.nexusmods.com/stardewvalley/mods/25519?tab=description
Here’s the camper mod, but the interior is not a shed (interior is like a caravan):
https://www.nexusmods.com/stardewvalley/mods/23284?tab=description
After that, I downloaded the interior of the big shed mod to make it look like a house:
https://www.nexusmods.com/stardewvalley/mods/3484?tab=description
Since the first mod uses the big shed for the second upgrade interior, both are compatible.
I downloaded EMP to place and use beds everywhere:https://www.nexusmods.com/stardewvalley/mods/9296
Edit: looks like placing bed in any building and use them is part of 1.6.9
I design the interior on the farm, I place a bed, and made it ready to relocate.
I downloaded a mod to add many locations in the town as buildable:https://www.nexusmods.com/stardewvalley/mods/23376
After all that, I could relocate the camper or shed (cabin) in the town, forest, etc., and the bed was still working. You will be able to sleep and respawn in the shed in the zone where the building was relocated.
Would there be any chance of an optional file with the cabin restriction removed, to be used at our own peril? I would be happy to try it out and test for major consequences. All good either way! Cheers mate :)