ludic.wildlife, ludic.npc (18.3): a crowd walker carries its walker's id (set_crowd(a, id), -1 off)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 00:32:25 +03:00
parent 24c16ebee4
commit 9ec1b3a9bf
6 changed files with 13 additions and 5 deletions

View file

@ -53,6 +53,7 @@ export property NpcPerson {
wtz: float = 0.0
way_t: float = 0.0 # seconds until it asks the way again
crowd: bool = false # walked by the world's crowd (phase 18): it decides, the crowd moves it
crowd_id: int = -1 # its walker in that crowd, the world's number for it
goal_x: float = 0.0 # where it walks this tick and how fast (0 standing): what a crowd is handed
goal_z: float = 0.0
goal_speed: float = 0.0