xiandie/config/archive/assembled_archive.gd

31 lines
854 B
GDScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 ambush_data := {}
# true 为匿名false 非匿名
@export var npc_anonymous_states := {
}
@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()