xiandie/config/archive/assembled_archive.gd

26 lines
747 B
GDScript

class_name AssembledArchive extends Resource
@export var archive_id := 0
@export var current_scene := ""
@export var entrance_portal := ""
@export var player_global_position := Vector2(0, 0)
@export var player_direction := Vector2(0, 0)
@export var current_chapter := 0
@export var current_section := 0
@export var game_seconds_all := 0
@export var game_seconds_current := 0
@export var created_time := "2024-12-24 00:00:00"
@export var prop_inventory: PropInventory
@export_group("八音盒","bayinhe")
@export var bayinhe_current_answer := [0, 0, 0, 0, 0, 0, 0, 0, 0]
@export_enum("closed", "opened", "playing", "finished") var bayinhe_mode := "closed"
func _init() -> void:
if not prop_inventory:
prop_inventory = PropInventory.new()