JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Detonator Consumables delete themselves #282

Open DarthFutuza opened 6 years ago

DarthFutuza commented 6 years ago

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?

Silverfang22 commented 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

Silverfang22 commented 6 years ago

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

DarthFutuza commented 5 years ago

Not sure why this got marked as closed, 65e6c28 didn't fix this, just improved it.

DarthFutuza commented 5 months ago

shot2024-04-23_01-37-44

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.