fixes saving of party monsters, adds display of monster stats in battle ui

This commit is contained in:
Luca 2024-09-29 11:10:46 +02:00
parent 5748d34b34
commit b09eee0805
9 changed files with 201 additions and 61 deletions

View file

@ -37,7 +37,7 @@ func start_new_game() -> void:
# Give the player a monster
var monster = MonsterData.new()
monster.set_data("debuggy")
monster.set_values("debuggy", { "current_health": 12 }, 5)
SaveManager.current_save.party.push_back(monster)
# Update the UI once