fixed jump pad, started work on machete
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user