#362 remove item when charges depleted

已關閉
neatz093 年之前創建 · 3 條評論
neatz09 commented 3 年之前

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 commented 2 年之前
協同者

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 commented 2 年之前
協同者

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 commented 2 年之前
協同者

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 在代碼提交 2 年之前 中引用了該問題
image2 年之前 關閉
Sign in to join this conversation.
正在加載...
取消
保存
尚未有任何內容