Jump to content

How to Prevent a Custom Character from Using Healing Items?


Recommended Posts

Hello!  I'm very green to the modding scene, and have been working on updating an old mod.  She works just fine, thankfully!  I've just been looking to balance out some of her features, and I can't seem to find anything on preventing a character from using healing items (poultices and bandages, for example).  Is it something that can go in the character or modmain luas?  Could somebody help me out?

Link to comment
Share on other sites

There are many ways to do that. You can check inventory or inventoryitem components, I don't remember, to drop the healing items instantly when she picks them up. 

Another way, there must be a function that do the healing, you can wrap that function to return immediately, without doing any effect. 

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