wip(tracks): phase 5 - a print names its maker, and a read print points at the next one (the chain); goes with maroon-lake phase-5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-27 21:31:14 +03:00
parent f0485a20a8
commit 6e465b233f
8 changed files with 216 additions and 13 deletions

View file

@ -28,6 +28,7 @@ export property Track {
yaw: float = 0.0
sp: int = 0
legend: bool = false
maker: int = -1 # the animal that left it (the game's nid), -1 not known
made: float = 0.0
read: bool = false
}
@ -59,6 +60,11 @@ export state TracksState {
tk_read_n: int = 0 # signs read for the first time, of every source
tk_yaw: float = 0.0 # the heading of the last sign read
tk_has_yaw: bool = false
tk_chain: int = -1 # the maker of the trail being followed, -1 none (chain.ludic)
tk_chain_x: float = 0.0 # the last of its signs read: where, and when it was made
tk_chain_z: float = 0.0
tk_chain_made: float = 0.0
tk_chain_h: float = 0.0 # when it was read, in game hours
tk_reads: Queue<TrackRead> = tk_reads__new()
}