Trait Restrictions
Addon for Player Model Lib that allows to define item food and wearable restrictions based on traits
Description
THIS MOD DOES NOTHING ON ITS OWN. IT REQUIRES A RACE MOD THAT IMPLEMENT THESE FEATURES.
Traits can restrict which items a character can use to attack or interact with or wear and can be used to override food items values and edibility.
For food overrides, you can specify Satiety, Health and the food category. These values are optional and will use the item's base value if omitted, provided it has any.
Items that are explicitly allowed as food will not be blocked if listed in DisallowedInteract. If a liquid (example: milk) is specified as disallowed, any containers with milk inside them will not let you drink it.
Items or wearables that are explicitly allowed will always be allowed even if disallowed, even by other traits. The order is Exclusive>Allowed>Disallowed. You can use this in combination with wildcards to disallow a lot of items at once but only allow one or two.
Items marked as exclusive will only be able to be used by classes that have those traits and disallowed for everyone else even if in AllowedItems. The wearable restriction system supports usage of: "type:all" "type:armor" "type:clothing" to easily restrict one or both categories of wearables.
Used by:
Lupines
Animalica & Body tools and classes
Ratings & reviews
Sign in to leave a rating or comment.

