tModLoader
No Lava Lava Slimes
11 件のコメント
moss 2024年9月27日 2時37分 
i am the same with code on my own hobby projects, so understandable! have a nice day :>
RblDiver  [作成者] 2024年9月26日 15時07分 
That is indeed a distinct possibility (highly probable imo). I'll admit I don't exactly know C#, mostly just fumbling around until something appears to work well enough. Essentially, I did an override on the HitEffect function, which inside the original has the bit to spawn the bit of lava. My override says, no, turn that tile's liquid amount to 0. So my guess is the game runs the original first, spawning lava, then runs mine, despawning lava.

Unfortunately that means I have no idea how to prevent your issue from happening moss, sorry.
moss 2024年9月25日 19時20分 
hi! i have encountered some errors with this mod- it seems like when a slime dies directly on a furniture / platform or any other lava-breakable object, it still breaks the object even though no lava spawns.
Is it possible that with this implementation the lava is still spawning but is being deleted in the same frame? It seems like the game still recognizes lava there for a moment.
A_Potitonear 2024年6月25日 15時20分 
El mejor mod que he visto, gracias
Altus 2024年4月15日 22時31分 
Thank you for this. I haven't been able to find a working version of this mod since tMod 1.4 released. Kudos!
RblDiver  [作成者] 2024年4月10日 13時28分 
Update appears to be working so new version published, please let me know if you encounter errors.
RblDiver  [作成者] 2024年4月10日 9時48分 
Note, initial test in a master getfixedboi world seemed to work, but testing in a regular expert world is not working. Apologies, will work on it when I can.
Willow 2024年4月9日 12時06分 
ahh i understand no worries!
RblDiver  [作成者] 2024年4月9日 11時16分 
I suppose you could try it on the server side. I never do multiplayer so don't know how it'd work; took me a while to even figure out where the lava spawning appeared to occur in the first place :P
Willow 2024年4月9日 0時52分 
i wonder if its possible to make this a server side mod, there's a search category for server side mods and so far nobody has ever made one for some reason
RblDiver  [作成者] 2024年4月8日 17時28分 
A note, I have this as version 0.1 because, while it appears to function as intended (aka lava slimes aren't spawning lava), there could be unintended consequences I'm not yet aware of.

(Implementation details, I'm overriding HitEffect, so it may be that other things which rely on this will be messed up (like no gore spawning etc), which is why this is still an early version until I can play and see what's going on.)