I'm looking to make something similar to a dark souls estus flask. the item has a max value and and when activating an event the item would go to the max amount.
example:
estus flask x10 max
estus flask x2 left
activate event: estux flask x10
example:
estus flask x10 max
estus flask x2 left
activate event: estux flask x10