Jump to content

How to disable recipe for character with specific trait?


Maris

Recommended Posts

I know that there is OnTest function.

But it takes only item as argument. It doesn't access to the character who is trying to use the recipe.

 

My recipe is for making a book. And I want to disable it if a character (in multiplayer) has "Illiterate" trait. Because it means that character can't write (not only read).

Edited by Maris
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
×
×
  • Create New...