fixed jump pad, started work on machete

This commit is contained in:
derek
2025-01-27 16:55:45 -06:00
parent f1c5b08c38
commit 61dad77f04
86 changed files with 1787 additions and 148 deletions

View File

@@ -623,7 +623,12 @@ func add_ammo(new_gun,gun_name,ammo_type,max_ammo,start_mags):
if ammo_reserve.has(str(ammo_type)):
ammo_reserve[str(ammo_type)] += start_mags * max_ammo
else:
ammo_reserve[str(ammo_type)] = start_mags * max_ammo
#if melee weapon don't do max ammo calc
if ammo_type == 5:
ammo_reserve[str(ammo_type)] = 0
#otherwise calculate starting ammo
else:
ammo_reserve[str(ammo_type)] = start_mags * max_ammo
print("GUN AMMO ",gun_ammo)
print("RESERVE AMMO ", ammo_reserve)