VedVid / RAWIG

RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Consumables with multiple uses #56

Open VedVid opened 5 years ago

VedVid commented 5 years ago

Add bool "consumable" and "charges" maybe? Then checks for their values, and if consumable is true then charges-- and if charge == 0 then removes from inventory.

VedVid commented 2 years ago

The original name of this issue was "Way to remove item from inventory after "consuming" him" but basic consumables (as "heal" item included in the sample game) works as intended. But there is no support for multiple use consumables, yet.