Jump to content

How do I change the behaviour of lureplants / eyeplants towards my character?


Recommended Posts

Hi guys,
 
I have given my Wanda character a Lureplant Bulb in her starting inventory, and want them to behave a bit differently towards her once she plants it:
 
* Eyeplants are not agro at Wanda, or she is immune to their attacks when wearing a grass suit or something

* Wanda can access the lureplant's inventory without having to kill it

* Items in the lureplant's inventory for longer than 20s will not disappear entirely but turn into rot

* If Wanda harvests leafy meat, it doesn't cause all the eyeplants to retreat, and the lureplant doesn't go all the way back to "just planted" stage

 

I have already given her a tag in the local common_postinit of her prefab, I just need help with altering this behaviour towards those with that tag, and I don't even know where to begin with the other stuff.

 

Cheers,

 

Rusty | SkyPaladin

Edited by RustyNayle
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...