How to disable recipe for character with specific trait?

1 post in this topic

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

Share this post

Link to post
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