Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

kdau

Uploaded by

kdau

Virus scan

Safe to use

12 comments

  1. kdau
    kdau
    • premium
    • 21 kudos
    Locked
    Sticky
    NOTE: PlatoTK, which this mod depends on, is currently incompatible with SMAPI 3.12. This mod will start working with SMAPI 3.12 once PlatoTK is updated beyond 1.9.3.
  2. itsjustzen
    itsjustzen
    • premium
    • 0 kudos
    Missed opportunity to say "Make Blooms, not Booms" :/ good mod tho I like the idea :)
  3. PrismaticSnakeBomb
    PrismaticSnakeBomb
    • member
    • 1 kudos
    q u e s t i o n . do bombs still make boom? things in its range go poof or do boom become bomf?
  4. LCKa
    LCKa
    • member
    • 1 kudos
    Something curious happens when launching the game. The SMAPI console informs me in red that

    [Flower Bombs] This mod failed in the GameLoop.GameLaunched event. Technical details:
    System.Exception: Harmony instance kdau.FlowerBombs failed applying postfix to method StardewValley.Item.drawAttachments.
     ---> InvalidProgramException: Common Language Runtime detected an invalid program.
       at System.Runtime.CompilerServices.RuntimeHelpers._PrepareMethod(IRuntimeMethodInfo method, IntPtr* pInstantiation, Int32 cInstantiation)
       at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.PrepareMethod(MethodBase method, RuntimeMethodHandle handle)
       at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.<>c__DisplayClass24_0.<Pin>b__0(MethodBase m)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
       at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
       at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
       at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
       at HarmonyLib.PatchProcessor.Patch()
       at StardewModdingAPI.Framework.ModLoading.RewriteFacades.HarmonyInstanceFacade.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler) in SMAPI\Framework\ModLoading\RewriteFacades\HarmonyInstanceFacade.cs:line 36
       --- End of inner exception stack trace ---
       at StardewModdingAPI.Framework.ModLoading.RewriteFacades.HarmonyInstanceFacade.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler) in SMAPI\Framework\ModLoading\RewriteFacades\HarmonyInstanceFacade.cs:line 49
       at FlowerBombs.FlowerBomb.Register() in /home/kevin/doc/projects/stardew/FlowerBombs/src/FlowerBomb.cs:line 87
       at FlowerBombs.ModEntry.onGameLaunched(Object _sender, GameLaunchedEventArgs _e) in /home/kevin/doc/projects/stardew/FlowerBombs/src/ModEntry.cs:line 85
       at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args, Func`2 match) in SMAPI\Framework\Events\ManagedEvent.cs:line 126

    However, once the game starts, the flower bombs can be crafted, placed, etc, without any issue. Any idea what is causing the SMAPI error? I have the latest SMAPI, PlatoTK, etc.
  5. LaraZA13
    LaraZA13
    • member
    • 0 kudos
    I am having a different bug now where it turns the truffles to weeds 
    1. kdau
      kdau
      • premium
      • 21 kudos
      Hmm. I've just confirmed that a Flower Bombs wouldn't directly replace any Truffles in its range when it germinates. However, if a Flower Bomb placed on the farm spawns weeds, those weeds have a chance of spreading and damaging other items overnight, just like weeds that spawn naturally on the farm. If you got the message "The spreading weeds have caused damage to your farm." one morning, that is likely what happened. Otherwise we could look at interactions with other mods you have installed, though I took a quick look at the list from your last log and didn't see any likely candidates.
    2. LaraZA13
      LaraZA13
      • member
      • 0 kudos
      I really have no idea whats going on xD but it is still happening even if I have your mod out. But I legit watch my pigs and instead of dropping truffles they drop weeds and I have no idea where to even start looking for the issue. At this point I'm just laughing 
    3. kdau
      kdau
      • premium
      • 21 kudos
      Very strange! I checked the Pig's code, and it directly identifies Truffles by object ID (430). So either one of your other mods is patching over the object data for 430/Truffle to be weeds instead, or is actually replacing the objects as soon as they spawn. I would suggest "harvesting" one of them and making sure that it behaves like a weed and not a truffle (since it might just be a graphical error). In any case, you'll have to try turning off different (groups of) mods until your pigs learn how to forage again. xD Good luck!
    4. LaraZA13
      LaraZA13
      • member
      • 0 kudos
      Yeah when I pick them up it still says weed and doesn't change to truffles. Thanks! I'm sure I will figure it out xD
  6. LaraZA13
    LaraZA13
    • member
    • 0 kudos
    Thank you so much for the fix <3
  7. penny3
    penny3
    • supporter
    • 7 kudos
    This is amazing?????? I want to get flower bombs from Kent. Hell yeah.
    1. kdau
      kdau
      • premium
      • 21 kudos
      Thanks! I just published a bugfix release, so be sure to get the latest version.