RELEASED [SMAPI] Simple Sprinkler 1.6

Customizable Sprinklers

  1. ADoby

    ADoby Subatomic Cosmonaut

    ADoby submitted a new mod:
    Simple Sprinkler - Customizable Sprinklers

    => [Planning Automation Mod] <=
    ==> [Better Sprinkler Mod] <==


    Information
    Simple Sprinkler changes the way sprinkler water your soil.
    You can chose between patterns and configure the range of the three sprinklers.

    Currently available pattern (sample with first sprinkler):
    [​IMG][​IMG][​IMG][​IMG][​IMG]

    Download Version 1.4:
    Required: [SMAPI] <=== Storm frozen for now
    Download SimpleSprinkler on GitHub


    Installation:
    1. Install ModAPI (Link above)
    2. Place SimpleSprinkler.dll and manifest.json in %APPDATA%/StardewValley/Mods/SimpleSprinkler folder
    3. [SMAPI] Start "StardewModdingAPI.exe"
    3. [STORM] Start "StormLoader.exe"

    Configuration:
    Start the ModdedGame once:
    Config will be generated into "<GameFolder>/Mods/SimpleSprinkler/Config.ini"

    Locations = Farm,Greenhouse
    This will limit the locations in which this mod works, if you don't want to
    have Simple Sprinkler active in the Greenhouse just remove it (and the ,)

    SprinklerConfiguration = 599/2,621/3,645/5
    This can be used to either change the range of the sprinklers or
    to add even more objects to have them behave like sprinklers.
    e.g. you could add the scaregrow to this list and it will behave just like a sprinkler :D
    Format: objectID/Range
    Example:
    SprinklerConfiguration = 599/2,621/3,645/5,8/100
    This will add the scarecrow as a sprinkler with a range of 100

    CalculationMethod = 2
    This can be used to change the pattern of the sprinklers.
    0 = Vanilla
    1 = Box
    2 = Circle
    Version 1.3+
    3 = Horizontal Line
    4 = Vertical Line

    Source:
    Found on GitHub

    Current Known Bugs or missing Features:
    Minor:
    Change Config path to AppData when using STORM

    Suggested pattern:
    None yet

    Donations through Patreon possible, If you want.
    Expect more mods and updates when donating.
    More mods are in planning phase.
     
      Last edited: Mar 31, 2016
      kevinoduke, DatRaph, Pietoro and 7 others like this.
    • ADoby

      ADoby Subatomic Cosmonaut

    • Xerosxz

      Xerosxz Scruffy Nerf-Herder

      How to find Object ID sir ?
       
      • ADoby

        ADoby Subatomic Cosmonaut

        I thought there was a thread somewhere with a list, but I can't find it now.
        If you have the object on your farm and saved by sleeping. You can find it by searching in your save file
        %APPDATA%/Stardew Valley/Saves/YourName_ANumber/ open the file named like your character with an editor.
        Search for the objects name, probably 2 times. There should be a number between two "parentSheetIndex" in brackets after the name somewhere.

        But there might be a list somewhere (I will link it if someone finds it)

        Found it: List by this Guy
        LINK
         
          Nightscaled likes this.
        • Xerosxz

          Xerosxz Scruffy Nerf-Herder


          Thank your sir :rofl:
           
          • Exulant

            Exulant Scruffy Nerf-Herder

            Hi ADoby,

            thank you for your work.

            Just a quick question: Should I see a config file with V1.2 Storm? Because I do not.

            Thank, Exulant

            Edit: Yes, I did ran the game once ;)
             
            • ADoby

              ADoby Subatomic Cosmonaut

              Did you check in the Games Installation Folder ?
               
              • Exulant

                Exulant Scruffy Nerf-Herder

                Ah, there it is. I thought it would be in the modfolder like any other mod or like in your description.

                Anyway, thank you for your quick answer.
                 
                • ADoby

                  ADoby Subatomic Cosmonaut

                  Description: "Config will be generated into "<GameFolder>/Mods/SimpleSprinkler/Config.ini""
                  :D

                  Its because this mod first made for SMAPI, I don't use STORMs config system.
                   
                  • Akira-hime

                    Akira-hime Poptop Tamer

                    Is it possible to add a toggle to allow walking through sprinklers? I'm getting tired of walking around them to fertilize and plant.
                     
                    • Jigain

                      Jigain Phantasmal Quasar

                    • raenevigil

                      raenevigil Phantasmal Quasar

                      It generated a config file, but upon looking at it, I see none of the configuration or calculation lines. Just this:

                      APIMode = 1
                      UseCiruclarCalculation = true
                      Level1SprinklerID = 599
                      Level1SprinklerRange = 2
                      Level2SprinklerID = 621
                      Level2SprinklerRange = 3
                      Level3SprinklerID = 645
                      Level3SprinklerRange = 5
                      Locations = Farm,Greenhouse

                      And I have no idea what to do with it to make it do squares. I'm not very code savvy.
                       
                      • ADoby

                        ADoby Subatomic Cosmonaut

                        Your config looks old (pre version 1.1)
                        Easiest thing would be to delete the old config and restart the game.
                        It will generate a clean version.
                        And use version 1.2 of the mod
                         
                        • raenevigil

                          raenevigil Phantasmal Quasar

                          Yep, that was it. I somehow had an old version and didn't know it. Thanks!
                           
                          • ADoby

                            ADoby Subatomic Cosmonaut

                            Version 1.3 Released:
                            Added Horizontal and Vertical Line Pattern
                            Because why not
                             
                            • Dadycupcakes

                              Dadycupcakes Space Spelunker

                              Thanks for the response and fixing so soon :)
                               
                              • tandpastatester

                                tandpastatester Poptop Tamer

                                Do you have examples of those new patterns? Like the ones in the OP. What are the ranges for every tier of sprinklers?
                                 
                                • ADoby

                                  ADoby Subatomic Cosmonaut

                                  Its just a line going horizontally or verticaly from the sprinkler. Ranges are configurable in the config. Defaults can be seen in the description.
                                  Ranges are always a radius going outwards from the sprinkler.
                                  New Pattern Previews Added
                                   
                                  • Hixxie

                                    Hixxie Intergalactic Tourist

                                    Are there different sizes for the spread based off the Sprinkler type?
                                    Sprinkler : Base size.
                                    Quality Sprinkler: 2x2
                                    Iridium Sprinkler: 3x3?

                                    So if people use Iridium sprinklers they can grow potentially 4x large crops in each corner.
                                    xxx|xxx
                                    xxx|xxx
                                    xxx|xxx
                                    ---S---
                                    xxx|xxx
                                    xxx|xxx
                                    xxx|xxx
                                     
                                    • Genn Faol

                                      Genn Faol Scruffy Nerf-Herder

                                      You can configure the shape the sprinklers use, and the range of each sprinkler type. If you choose a box shape, then even the Quality Sprinkler is capable of supporting such a shape with the range that ADoby set for them by default.
                                       

                                      Share This Page