User Tools

Site Tools


dev:core:tracktype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev:core:tracktype [2019-12-02 14:29]
orwell created
dev:core:tracktype [2019-12-02 14:30] (current)
orwell
Line 11: Line 11:
  
 The drives_on table of wagons determines on which tracktypes a wagon can drive. Typically, this is only a single tracktype, however it is allowed to specify multiple. The tracktypes a train drives on are determined using the cut set of the wagon's drives_on's. (this happens in ''advtrains.update_trainpart_properties()'') The drives_on table of wagons determines on which tracktypes a wagon can drive. Typically, this is only a single tracktype, however it is allowed to specify multiple. The tracktypes a train drives on are determined using the cut set of the wagon's drives_on's. (this happens in ''advtrains.update_trainpart_properties()'')
 +
 +===== advtrains.all_tracktypes =====
 +
 +This table contains all registered tracktypes in the form ''<tracktype> = true''. This is also the format that advtrains.is_track_and_drives_on accepts.
dev/core/tracktype.1575293355.txt.gz · Last modified: 2019-12-02 14:29 by orwell