fixes saving of party monsters, adds display of monster stats in battle ui
This commit is contained in:
parent
5748d34b34
commit
b09eee0805
9 changed files with 201 additions and 61 deletions
2
game.gd
2
game.gd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue