This commit is contained in:
team3
2026-09-16 17:55:38 +02:00
parent c9416ed3c6
commit f012dd7cd5
17 changed files with 878 additions and 160 deletions

View File

@@ -9,6 +9,7 @@ const PLATFORM_LEN := 44.0
const PLATFORM_H := 0.95
var station_name := ""
var seg := 0
var progress := 0.0
var side := 1.0
var produces := -1
@@ -19,8 +20,9 @@ var rate := 0.55
var waiting_spots: Array[Vector3] = [] ## Weltpositionen auf dem Bahnsteig
var waiting: Array = [] ## wartende Passagiere
func setup(nm: String, prog: float, prod: int, acc: Array[int]) -> void:
func setup(nm: String, seg_id: int, prog: float, prod: int, acc: Array[int]) -> void:
station_name = nm
seg = seg_id
progress = prog
produces = prod
accepts = acc