stujones11 / shooter

First Person Shooter Mod for Minetest
Other
30 stars 18 forks source link

Add ammo type param #27

Closed BrunoMine closed 5 years ago

BrunoMine commented 6 years ago

My suggestion is to allow you to set an item to reload the weapons, not just shooter:ammo for all weapons.

stujones11 commented 6 years ago

Why should such an object exist and what would you call it?

BrunoMine commented 6 years ago

For example:

shooter.register_weapon("mymod:myweapon",
    reload_item = "mymod:my_ammo",
)
stujones11 commented 5 years ago

Added by 3ead0531f0b282cdbe209beba994d173fb900342