31 lines
854 B
GDScript
31 lines
854 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 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()
|