five-on-it / packages/sim/src/pedestrians / PEDESTRIAN_ROLES
Variable: PEDESTRIAN_ROLES
constPEDESTRIAN_ROLES: readonly ["civilian","shopkeeper","jogger","commuter","dog_walker","vendor","smoker","queuer","sitter","foot_officer","street_sweeper","dog","mechanic","partier"]
Defined in: packages/sim/src/pedestrians.ts:81
The roles a pedestrian may have; Pedestrian.role (and the snapshot's cls of a character) is an index. One of them, dog, is no person: a dog, spawned by spawnDog and run by dogs.ts; the roles after it came later (appended, so the earlier keep their index).