more hub tweaks

This commit is contained in:
Derek
2025-02-24 23:32:13 -06:00
parent 1147035942
commit 38a93588a2
6 changed files with 26 additions and 27 deletions

View File

@@ -37,7 +37,7 @@ func money_penalty():
func weapon_penalty():
var level_control = get_tree().current_scene
GameGlobals.ammo_reserve = {}
match level_control.gamemode.weapon_penalty:
0: #Drop All
GameGlobals.held_guns = []

View File

@@ -50,6 +50,8 @@ func _ready() -> void:
SignalBus.player_hit.connect(player_hit)
SignalBus.shot_fired.connect(crosshair_size_change)
money_count = GameGlobals.money
health_bar.max_value = level_control.gamemode.start_health
health_bar_start_pos = health_bar.position