Jump to content

Recommended Posts

I'm trying to create my own mod for the character Wormwood to change the stats of the salamanders. Mainly, I just want them to stay permanently after being summoned instead of disappearing over time. I don't know how to code, so I tried using what I found on the internet and unfortunately ChatGPT, but the mod isn't working, and I couldn't find anything similar on Steam. :(

Link to comment
https://forums.kleientertainment.com/forums/topic/164388-moding/
Share on other sites

This is a relatively easy change to make, given you know where to look.

The saladmander that wormwood spawns is called "wormwood_fruitdragon", then looking for something that indicates how long it's alive in the corresponding prefab file (wormwood_fruitdragon.lua). Luckily, there's a tuning for it. We can make it 1/0 (means infinite in lua). Let me know if this breaks something though.

modmain.lua

TUNING.WORMWOOD_PET_FRUITDRAGON_LIFETIME = 1/0
Edited by oregu

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...