#362 remove item when charges depleted

Suljettu
2 vuotta sitten avasi neatz09 · 3 kommenttia
neatz09 kommentoitu 2 vuotta sitten

items need to be removed when out of charge and give the message similar to below

items need to be removed when out of charge and give the message similar to below
image kommentoitu 2 vuotta sitten
Yhteistyökumppani

we want this as the default for all items? Thing is some items auto remove on used, others don't, we have a mix of all sorts of behavior for this

we want this as the default for all items? Thing is some items auto remove on used, others don't, we have a mix of all sorts of behavior for this
neatz09 kommentoitu 2 vuotta sitten
Yhteistyökumppani

yikes... maybe default it for all with a lua override if possible? i can't imagine there are too many items that don't remove when all charges are consumed.

yikes... maybe default it for all with a lua override if possible? i can't imagine there are too many items that don't remove when all charges are consumed.
image kommentoitu 2 vuotta sitten
Yhteistyökumppani

right now any return value >= 0 on "used" function triggers default behavior of removing the item/count.. those items that remove the item through the script though -- I think it is going to continue omitting, not sure if they send other messages.

right now any return value >= 0 on "used" function triggers default behavior of removing the item/count.. those items that remove the item through the script though -- I think it is going to continue omitting, not sure if they send other messages.
image viittasi tähän ongelmaan commitissa 2 vuotta sitten
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.