Open DarthFutuza opened 6 years ago
Detonator weapon with mine consumables as ammo. Maybe make a special case where it gives you a detonator with mine consumables if you don't have one in inventory
Also we're starting to touch the territory of consumables that use consumables...
A while back there was discussion of mines that could use grenades as their payload
Not sure why this got marked as closed, 65e6c28 didn't fix this, just improved it.
Simple temp fix, prevent user from using the last charge! Okay we need to do something more clever, but here's a placeholder fix for now. See 609fc16.
Since detonator type items were added as consumables, after placing your last one the item is removed from your inventory and you can't detonate. Eg sequencer
Possible Fixes: Don't remove until detonation is pressed, just set ammo count to 0? Two seperate stacks? A detonator button and detonator charges? *Don't treat as consumable, make it a weapon with ammo?