slight gameplay changes and new ui

This commit is contained in:
2025-07-21 05:56:11 +10:00
parent d2dc74d533
commit a452bbb406
53 changed files with 538 additions and 245 deletions

View File

@@ -119,6 +119,8 @@ func gain_energy(energy_gained: float, energy_type: Data.EnergyType = Data.Energ
energy += energy_gained
progress_bar.value = energy
big_progress_bar.value = energy
#TODO: Theres a bug here that should be fixed by making the discrete and continuous bars
#into a different ui element which i think i wanna do anyway
if energy_type == Data.EnergyType.DISCRETE and int(energy) > prev_energy_int:
cell_icons[int(energy) - 1].visible = true
prev_energy_int = int(energy)