more various tweaks to held items and chests in order to make carrying chests fun

This commit is contained in:
derek
2025-03-04 17:02:52 -06:00
parent e84aea9ef7
commit 5d989470a6
20 changed files with 111 additions and 106 deletions

View File

@@ -160,7 +160,6 @@ func spawn_casing():
instance_casing.player_velocity = player.velocity * transform.basis
get_tree().get_root().add_child(instance_casing)
func spawn_revolver_casings():
if casing_array.size() > 0:
var ammo_needed = weapon_info.max_ammo - GameGlobals.gun_ammo[weapon_info.gun_name]
@@ -271,6 +270,10 @@ func bullet_fire():
if weapon_info.fire_mode != 0:
cycle_count -= 1
func hitscan_fire():
# Fire hitscan
pass
func swapped_out():
queue_free()