RELEASED Simple Sprinkler [Old Thread] Please Remove

Discussion in 'Gameplay Mechanics' started by ADoby, Mar 13, 2016.

  1. Sharkivore

    Sharkivore Astral Cartographer

    Wait, are you saying if I add scarecrow, it becomes a sprinkler?
     
    • Yunix

      Yunix Big Damn Hero

      If you change in the config the ID of springler, yes. i have some sccarecrows atm as sprengler. its pretty useful.
      Would just nice to be able to increase the scarecrow range too haha...
       
      • clanf

        clanf Big Damn Hero

        if you add scarecrows as sprinklers - will they still work as scarecrows too?
         
        • Lewisking50

          Lewisking50 Void-Bound Voyager

          The config won't generate for me :/
           
          • ADoby

            ADoby Subatomic Cosmonaut

            Jep

            You don't have to change a current setting, if you just add another one to the list it will work as well.
            The second value, after the "/" mark is the Range. (See Configuration Description)
            So if you change:
            SprinklerConfiguration = 599/2,621/3,645/5
            to
            SprinklerConfiguration = 599/2,621/3,645/5,8/100

            It will look for an Object with ID=8 (scarecrow) and use it as a sprinkler with Range=100

            They should

            The config will not be generated in the %APPDATA% folder (NOT near the dll files)
            It will be generated in the Installation Folder of the Game after you started it once.
            for steam = "C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\SimpleSprinkler"
             
              Last edited: Mar 15, 2016
              Yunix likes this.
            • Lewisking50

              Lewisking50 Void-Bound Voyager

              I know where it should be, it isn't there though...
              The SMAPI console gives me an error when it tries to load the dll though, it is however in german:
              Code:
              Failed to load mod 'D:\Spiele\Steam\SteamApps\common\Stardew Valley\Mods\SimpleSprinkler.dll'.
              Exception details:
              System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden.
              Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn
               Sie weitere Informationen benotigen.
                 bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
                 bei System.Reflection.RuntimeAssembly.get_DefinedTypes()
                 bei StardewModdingAPI.Program.LoadMods()
              
              I tried to translate it into English as best as i can:
              Code:
              Failed to load mod 'D:\Spiele\Steam\SteamApps\common\Stardew Valley\Mods\SimpleSprinkler.dll'. 
              Exception details:
              System.Reflection.ReflectionTypeLoadException: At least one type in the Assembly can not be loaded. 
              Check the LoaderExceptions-properties if more informations are required.
                 at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
                 at System.Reflection.RuntimeAssembly.get_DefinedTypes()
                 at StardewModdingAPI.Program.LoadMods()
              
               
              • Dadycupcakes

                Dadycupcakes Space Spelunker

                For some reason 1.0 works from me but when I changed to 1.1 it no longer worked and no longer generated the config or simplesprinkler folder.

                I also get the same error as the person above me.
                 
                • ADoby

                  ADoby Subatomic Cosmonaut


                  My mistake, workaround install StormLoader as well.
                   
                  • clickeddaisy

                    clickeddaisy Big Damn Hero

                    no storm support yet, dang. oh well i hope you will get it to work soon :)
                     
                    • ADoby

                      ADoby Subatomic Cosmonaut

                      Fixed 1.1 is uploaded to GitHub
                      Sorry guys.

                      I will try to add STORM support using Names as a work around.
                      We will see later today if that works
                       
                      • ADoby

                        ADoby Subatomic Cosmonaut

                        Version 1.2 is out [GitHub]
                        STORM WORKING
                         
                          Drogean likes this.
                        • themaddoctor

                          themaddoctor Scruffy Nerf-Herder

                          yea no im stupid, i put down the basic one and it does a 5x5 plot, so now im wondering what the other 2 sprinklers do
                           
                            Last edited: Mar 16, 2016
                          • Genn Faol

                            Genn Faol Scruffy Nerf-Herder

                            No, those are the IDs of the respective sprinklers. The tile width is the number AFTER the slash. It's 2, 3 and 5 by default, and is the horizontal/vertical radius.
                             
                            • Arathorn

                              Arathorn Orbital Explorer

                              Just a suggestion, but I think the config file should be generated in the %appdata% folder. All other mods put their config files there, and Storm doesn't seem to load mods stored in the Stardew game folder. Kind of strange having to pop into the game dir for just this one config file.
                               
                              • ADoby

                                ADoby Subatomic Cosmonaut

                                Jeah I was going to look into that next. :D
                                 
                                • Yunix

                                  Yunix Big Damn Hero

                                  Uhm, im pretty happy that it's aving at the normal folder where i have everything. Mods, API, configs. Only save would be appdata for me.
                                   
                                  • ADoby

                                    ADoby Subatomic Cosmonaut

                                    Storm Mods won't load from the Gamefolder
                                    I can change that for STORM only, no problem

                                    Please use the new Thread here:
                                    http://community.playstarbound.com/threads/simple-sprinkler.110326/
                                     

                                    Share This Page