station draft

This commit is contained in:
betalars 2025-07-01 14:40:48 +02:00
parent 305fa1523c
commit e2ae1bc5e3
6 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class_name Station extends Resource
@export var station_name: StringName = ""
@export var memory: Scenes.id = Scenes.id.YOUTH_DRAEVEN
@export_file("*.tscn") var station_path: String = ""
@export var shedule: Dictionary[float, int]
@export var announcement: AudioStream

View File

@ -0,0 +1 @@
uid://cyeh7sa20bmcf

View File

@ -0,0 +1,4 @@
extends RoomTemplate
@export var all_stations: Array[Station] = []
@export var all_lines: Array[TrainLine] = []

View File

@ -0,0 +1 @@
uid://snugj1gnggjj

View File

@ -0,0 +1,12 @@
class_name TrainLine extends Resource
enum id {
NONE,
RING,
}
@export var train_id: id = 0
@export var destination: StringName = ""
@export var via: StringName = ""
@export var stops: Array[Station] = []

View File

@ -0,0 +1 @@
uid://dfkq0djtygmma