In my mod, I'm trying to make a crossbow that shoots cartridges.The code I have below works partially: The player can use the crossbow, however, no ammo is deducted from the cartridge count.
["explode_crossbow", "Explosive Crossbow", [("crossbow_a",0)], itp_type_pistol...