xiandie/config/archive/assembled_archive.gd

31 lines
854 B
GDScript3
Raw Normal View History

2024-12-24 11:24:55 +00:00
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)
2024-12-24 11:24:55 +00:00
@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"
2025-01-10 09:53:12 +00:00
@export var ambush_data := {}
# true 为匿名false 非匿名
@export var npc_anonymous_states := {
}
2025-01-10 09:53:12 +00:00
@export var prop_inventory: PropInventory
2025-01-10 09:53:12 +00:00
@export_group("八音盒", "bayinhe")
2025-01-07 10:54:50 +00:00
@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()