Jump to content

Recommended Posts

Im not much of a coder, but I want to make a DST character. I already have everything done and working (stats, model ect.) but I just want to add a perk for my character where he can only eat monster meat (and I would need to know how to take away negative effects of monster meat.)  I just don't have the coding skills or the info to do so. All help would be appreciated.

Im not much of a coder, but I want to make a DST character. I already have everything done and working (stats, model ect.) but I just want to add a perk for my character where he can only eat monster meat (and I would need to know how to take away negative effects of monster meat.)  I just don't have the coding skills or the info to do so. All help would be appreciated.

In your scripts/prefabs/yourcharacter.lua put this

 

inst.components.eater.strongstomach = true

 

this uses webber for don't get any health debuff. I don't know exactly the specific eater i never tried to do that :p

Edited by Neutral_Steve

In your scripts/prefabs/yourcharacter.lua put this

 

inst.components.eater.strongstomach = true

 

this uses webber for don't get any health debuff. I don't know exactly the specific eater i never tried to do that :razz:

Thanks for the help dude!  :encouragement:

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...