RELEASED Farm Type Manager

Discussion in 'Gameplay Mechanics' started by Escaleone, Jan 8, 2019.

  1. Escaleone

    Escaleone Scruffy Nerf-Herder

    Farm Type Manager lets you customize and combine features from different farm maps. Add daily forage and ore spawning to any location in the game, and stumps/logs/boulders/meteors anywhere on your farm.

    Check it out on Nexus Mods or GitHub.

    This was originally a project for my friend and I to use while Nishtra's Mining at the Farm mod was disabled by the multiplayer beta. I wasn't sure if I'd ever release it publicly, but it does enough now that it should be helpful to some folks. Future updates may include fish and monster customization as well (to cover all the farm type features) and more support for large objects like stumps and boulders.

    The config files might be a bit complicated in some places, so let me know here or in the Nexus comments if you need help with anything. The GitHub link includes a huge readme with descriptions of every setting, and both links have some examples.

    Have fun~

    [​IMG]
    [​IMG]
     
      Last edited: Jan 8, 2019
    • Escaleone

      Escaleone Scruffy Nerf-Herder

      Farm Type Manager v1.1 is now available on Nexus Mods and GitHub.

      Changes:
      • Adds the StrictTileChecking area setting. Allows spawning objects on tiles that Stardew would normally skip. (See the readme on GitHub for details.)
      • Fixes a bug with the FindExistingObjectLocations search process that caused it to stop early.

      [​IMG]
       
        Last edited: Jan 11, 2019
      • Escaleone

        Escaleone Scruffy Nerf-Herder

        Farm Type Manager v1.2 is now available on Nexus Mods and GitHub.

        Changes:
        • Adds forage area overrides for SpringItemIndex, SummerItemIndex, etc. Replace them to spawn different forage items in specific areas.
        • Adds default.json to the data folder. Edit it to change any new config files, making it easier to customize new farms frequently.
         
        • Escaleone

          Escaleone Scruffy Nerf-Herder

          Farm Type Manager v1.3 is now available on Nexus Mods and GitHub.

          Changes:
          • Adds a group of settings called ExtraConditions for each area. These are inactive by default, but when filled in, objects will only spawn in that area when the conditions are met.
            • Time: Only spawn things on specific years, seasons, or days.
            • Weather: Only spawn things before, during, or after certain weather conditions.
            • Limited number of spawns: Whenever the area spawns objects, this will count down; when it reaches zero, spawning will be disabled. This can be used to create unique rewards or block custom map areas with logs or boulders.
           
          • Escaleone

            Escaleone Scruffy Nerf-Herder

            Farm Type Manager v1.3.1 is now available on Nexus Mods and GitHub.

            Changes:
            • Fixes a bug from v1.3 that produced a generic error message when creating a new farm.
            • Fixes a bug from v1.3 where loading a farm, returning to the title screen, and creating a new farm would use the previous farm's config file.
             
            • Escaleone

              Escaleone Scruffy Nerf-Herder

              Farm Type Manager v1.3.2 is now available on Nexus Mods and GitHub.

              This is a hotfix for a bug reported by FlashShifter with Stardew Valley Expanded.

              Changes:
              • Fixes a bug where ExtraConditions caused spawning to stop entirely, which would skip any additional spawn areas.
              • Adds some trace messages to SMAPI for debugging. (Incomplete)
               
              • Escaleone

                Escaleone Scruffy Nerf-Herder

                Farm Type Manager v1.4 is now available on Nexus Mods and GitHub.

                Changes:
                • Adds support for content packs.
                • Adds "File Conditions" settings to limit a config file to specific farm types, farmer names, or save files.
                • Uses separate .save files instead of auto-editing config files, e.g. to track LimitedNumberOfSpawns.
                • Supports using item names instead of ID numbers in the forage "ItemIndex" lists.
                • Improves randomization of spawn placement and ore types (especially gems).
                • Adds trace log messages for easier debugging and tech support.
                 
                • Escaleone

                  Escaleone Scruffy Nerf-Herder

                  Farm Type Manager v1.4.1 is now available on Nexus Mods and GitHub.

                  Changes:
                  • Reworks FindExistingObjectLocations to use save files, rather than overwriting config file settings. (This fixes minor issues with content packs + multiple farms.)
                  • Fixes an error when MinimumSpawnsPerDay is larger than the maximum.
                   
                  • Escaleone

                    Escaleone Scruffy Nerf-Herder

                    Farm Type Manager v1.4.2 is now available on Nexus Mods and GitHub.

                    Changes:
                    • Adds ResetMainDataFolder to File_Conditions, a one-time-only switch that archives all files in the FarmTypeManager\data folder. Designed for use by older mods when migrating to the content pack format.
                    • Adds EnableContentPackFileChanges to config.json, which can be used to disable behavior like ResetMainDataFolder if necessary.
                     
                    • Escaleone

                      Escaleone Scruffy Nerf-Herder

                      Farm Type Manager v1.4.3 is now available on Nexus Mods and GitHub.

                      Changes:
                      • Fixes a bug from v1.4 where if a content pack didn't spawn forage/large objects/ore, other packs and files would be unable to spawn them. (Reported by minervamaga)
                      • Improves error log trace messages.

                      Apologies for the back-to-back updates, but this bug was silently skipping some content packs and config files.
                       
                      • Escaleone

                        Escaleone Scruffy Nerf-Herder

                        Farm Type Manager v1.4.4 is now available on Nexus Mods and GitHub.

                        Changes:
                        • Fixes issues with data folders on non-Windows operating systems.
                        • Fixes a bug where if the FarmTypeManager/data folder didn't exist yet, content packs would fail to load.
                         
                        • kserlee9

                          kserlee9 Void-Bound Voyager

                          I wanna ask something. I start a new farm with farm extended mod and my forege items, stumps and ore area not respawning. Can you help me ?
                           
                          • Escaleone

                            Escaleone Scruffy Nerf-Herder

                            Sure. Can you post a link to your SMAPI log? (Go to log.smapi.io and follow the instructions there.)

                            If you're able to use Discord and need quicker help, you can also join the Stardew Valley server and ask for help in the #modding channel.
                             
                            • Escaleone

                              Escaleone Scruffy Nerf-Herder

                              Farm Type Manager v1.5.0 is now available on Nexus Mods and GitHub.

                              Changes:
                              • Adds the OtherMods file condition, allowing content packs to require/forbid other mods while active.
                              • Adds the DaysUntilSpawnsExpire area setting, causing each spawned object to disappear after a set number of days. This also respawns objects if deleted overnight, e.g. by the base game's weekly forage cleanup.
                              • Changes a weather check to avoid a freezing issue in MartyrPher's SMAPI Android.
                              • Improves error handling for some config settings.
                               
                              • Escaleone

                                Escaleone Scruffy Nerf-Herder

                                Farm Type Manager v1.6.0 is now available on GitHub, Nexus Mods, and ModDrop.

                                Changes:
                                • Adds the Config Editor to the FarmTypeManager folder, an HTML page used to create and edit config files in a more user-friendly way. Most modern browsers are supported.
                                Note that this version does not alter the mod itself.
                                 
                                • Escaleone

                                  Escaleone Scruffy Nerf-Herder

                                  Farm Type Manager v1.6.1 is now available on GitHub, Nexus Mods, and ModDrop.

                                  Changes:
                                  • Fixes a bug with the FindExistingObjectLocations setting: when set to true in more than one area, the second area would assume its save data already existed & throw an error. (Reported by pranus)
                                  • Adds an update key for ModDrop to the manifest file.
                                   
                                  • Escaleone

                                    Escaleone Scruffy Nerf-Herder

                                    Farm Type Manager v1.6.2 is now available on GitHub, Nexus Mods, and ModDrop.

                                    Config Editor changes:
                                    • Adds Edit Area ID buttons for each spawn area list
                                    • Fixes issues with the FindExistingObjectLocations setting
                                      • Fixes a bug where the setting never loaded or saved
                                      • Improves the setting's tooltip information
                                      • Moves the setting to a more visible location on the menu
                                    • Fixes a bug where loading an invalid file failed to produce an error message
                                    Note that this version does not alter the mod itself.
                                     
                                    • Escaleone

                                      Escaleone Scruffy Nerf-Herder

                                      Farm Type Manager v1.7.0 is now available on GitHub, Nexus Mods, and ModDrop.

                                      Major changes:
                                      • Adds the ability to spawn monsters with various customization settings
                                      • Adds the SpawnTiming section to each spawn area, allowing objects to be spawned at specific/random times throughout the day
                                      • Adds support for spawning objects in buildable locations (Reported by Trent)
                                        • Spawn areas set to buildable locations will spawn objects for each copy of that building
                                        • This includes support for TMXLoader buildable locations (Assisted by Platonymous)
                                      Ore changes:
                                      • Adds the ability to spawn ore of specific gems
                                      • Adjusts spawned ore durability to be more similar to the base game (Assisted by Dragonwrath)
                                      Other changes:
                                      • Allows unused "Spawn_Settings" sections to be set to null, which can improve config file size and readability
                                      • Renames AutoSpawnTerrainTypes to IncludeTerrainTypes
                                      • Renames IncludeAreas to IncludeCoordinates
                                      • Renames ExcludeAreas to ExcludeCoordinates
                                      • Adds the ExcludeTerrainTypes setting to each spawn area, which can override and prevent spawning on specific terrain types
                                      • Adds the EnableTraceLogMessages setting to config.json, which can toggle the more frequent SMAPI console/log messages
                                      • Adds the MonsterLimitPerLocation setting to config.json, which can limit the amount of monsters FTM will spawn on each map
                                      • Optimizes some spawn processes to improve morning load times
                                      • Improves trace messages and reduce console/log spam
                                      • Improves descriptions and formatting in the GitHub readme and Config Editor tooltips
                                      Fixes:
                                      • Fixes issues with expiration dates and some ore types
                                      • Fixes Config Editor bugs with weather condition settings (Reported by orngjce223)
                                      • Fixes a rare bug where config.json changes could be undone
                                      • Fixes potential bugs with multiplayer farmhands, preventing unnecessary code being called by accident
                                      • Tweaks the object expiration system, slightly improving behavior with missing mods and maps
                                      Designed for Stardew Valley v1.3.36.
                                       
                                      • Escaleone

                                        Escaleone Scruffy Nerf-Herder

                                        Farm Type Manager v1.8.0 is now available on GitHub, Nexus Mods, and ModDrop.

                                        Major changes:
                                        • Adds support for Stardew Valley v1.4 and its new features:
                                          • 3 new spawnable monsters
                                          • The Four Corners farm type
                                        • Adds support for large objects to every map, removing the "farm only" limitation
                                        • Adds the ability to spawn custom monster subclasses from other installed SMAPI mods
                                        Large Object Changes:
                                        • Adds the ability to spawn giant crops: "Giant Cauliflower", "Giant Melon", and "Giant Pumpkin"
                                        Monster Changes:
                                        • Fixes the damage setting for Duggies in multiplayer
                                        • Fixes Mummies' behavior when the SeesPlayerAtSpawn setting is enabled
                                        • Fixes missing "mini-slime" spawns when Big Slimes are defeated by multiplayer farmhands
                                        • Removes the "Speed" setting from monster types due to issues with frequent hard-coded changes
                                        Other Changes:
                                        • Adds the list_monsters console command, which displays the name of each monster from Stardew Valley and any installed mods
                                        • Adds the "Maximum" option to StrictTileChecking, which should respect the "NoSpawn" tile property
                                        • Adds integer support to the FarmTypes setting, allowing the use of MTN's farm type ID numbers
                                        • Fixes a bug with some Extra Conditions settings in the Config Editor (reported by Vadie)
                                        Designed for Stardew Valley v1.4.0.
                                         
                                        • Escaleone

                                          Escaleone Scruffy Nerf-Herder

                                          Farm Type Manager v1.9.0 is now available on GitHub, Nexus Mods, and ModDrop.

                                          Major Changes:
                                          • Forage and monster loot can now spawn almost any item type
                                          • Forage items can spawn in chests or breakable containers (barrels/crates)
                                          • Items can now use "stack size" and "percent chance to spawn" settings
                                          • Spawning objects on larger maps should take less time
                                          Bug Fixes:
                                          • Save Anywhere should no longer freeze when saving monsters or customized objects
                                          • Large monsters and giant crops should no longer spawn partially on top of walls or other "invalid" tiles
                                          • Artifact spots and "Forest Farm" weeds can no longer be picked up when spawned as forage
                                          Known Issues:
                                          • ConfigEditor.html has not yet been updated for this version of Farm Type Manager; manual editing is recommended until the next update
                                          Designed for Stardew Valley v1.4.3.
                                           

                                          Share This Page