Jump to content

Is it possible for us to create new effects like perishable and wetness?


Recommended Posts

When an item is perishable it has a green, yellow, or red background depending on how spoiled it has become. When an item is wet it has a blue border around the item and the border becomes thicker with wetness.

In the perishable component i couldn't find anything that was coloring the background. I also cannot find what is causing the "Stale ", "Spoiled ", or "Wet " prefixes to display on the item name. I know that's handled through tags. If you put add a "stale" tag to an item its name gets prefixed with "Stale ", but I cannot find what is adding that prefix to an item name.

Are we able to create our own components that have these kind of effects? Are these being handled in lua somewhere that I can look at and model mine after?

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