more ui tweaks and started on enemy health bar

This commit is contained in:
derek
2025-03-19 17:00:08 -05:00
parent 573a20cfa8
commit b85014c48b
13 changed files with 87 additions and 1 deletions

View File

@@ -280,6 +280,8 @@ func bullet_fire():
func can_fire():
if anim_player.is_playing() and anim_player.current_animation == "reload":
return false
elif weapon_info.weapon_type == 0 and GameGlobals.gun_ammo[weapon_info.gun_name] <= 0:
return false
else:
return true