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

@ -1,5 +1,7 @@
extends Node
var player: Node3D = null
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@ -14,3 +16,9 @@ func load_base_monster_data(p_unique_id) -> MonsterData:
else:
printerr("Monster.gd: No monster with the ID %s found" % p_unique_id)
return null
func set_player(p_player) -> void:
player = p_player
func get_player() -> Node3D:
return player