class_name SavedGame extends Resource # This resource collects all data to save, from the player and other nodes # Player info to save @export var player_money : int = 0 @export var party: Array[MonsterData] = [] # Environment info to save (daytime, current world, weather) @export var world : String = "" @export var daytime : float = 12.0 @export var weather : String = "this should be a global enum" # All other nodes's data is collected here @export var saved_data: Array[SavedData] = []