The road generation method makes networks of connection terrain between particular unit types, usually those resembling cities.
SynthesisMethod: make-roads
This methods synthesizes roads for an area.
For any connection type of terrain, if no layer has been created for it
already, and the type has a subtype-x
of 3,
put down roads between any pair of units whose
road-chance
is nonzero.
The method will attempt to share road routes whenever possible,
and choose terrain according to road-into-chance
.
Table: road-chance
u1 u2 -> n%
This table is the chance that a road will be laid, running
from a unit of type u1 to one of type u2.
This is not a symmmetrical relationship.
Defaults to 0
.
Table: road-into-chance
t1 t2 -> n%
This table is the chance that a road will be chosen to pass
from terrain of type t1 into terrain of type t2.
Defaults to 100
.