Jump to content

Need help with modding


Recommended Posts

Hi, I am new to modding and coding. I recently started to play DST and I found a character in the workshop and i wanted to add a improvement to the mod just to use for my own group of friends. The character has a weapon that does 45 damager at cost of 8 sanity. but when the sanity reaches zero it still can do damage. 

Is there a way to fix this? that if you reach 0 sanity the weapon is not useable. I can upload the file here. grandr is the weapon.

rin.lua gandr.lua

Edit: Topic can be closed I just solved it!

Link to comment
Share on other sites

16 hours ago, MisterFixit said:

Hi, I am new to modding and coding. I recently started to play DST and I found a character in the workshop and i wanted to add a improvement to the mod just to use for my own group of friends. The character has a weapon that does 45 damager at cost of 8 sanity. but when the sanity reaches zero it still can do damage. 

Is there a way to fix this? that if you reach 0 sanity the weapon is not useable. I can upload the file here. grandr is the weapon.

rin.lua 1.43 kB · 0 downloads gandr.lua 3.31 kB · 0 downloads

Edit: Topic can be closed I just solved it!

Glad that you solved it, though the mod's don't generally close topics for us around here. Add a prefix tag yourself if you really want to.

Link to comment
Share on other sites

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
 Share

×
  • Create New...