foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
339 stars 226 forks source link

'Consume resource' button in chat isnt functional for module-added consumption types #4724

Open krbz999 opened 1 week ago

krbz999 commented 1 week ago

repro:

add basic flag property (numeric value) and add the basic consume and consumptionLabels method in the config.

use some spell or other item that consumes this property.

refund resource via chat button (works)

attempt to consume again (does not work).