five-on-it / packages/sim/src/nails / spawnNailStrip
Function: spawnNailStrip()
spawnNailStrip(
sim,at,unroll?,__namedParameters?):number
Defined in: packages/sim/src/nails.ts:66
Lays a nail strip across a road (at: its centre once laid in full, its full length): whole at once, or unrolled from one end over a few seconds; of a kind (0 nails, the default; 1 an oil slick, mods.ts) and gone after ttl ticks (0, the default: there until whoever laid it picks it up). Returns its entity.
Parameters
sim
at
unroll?
__namedParameters?
kind?
number = 0
ttl?
number = 0
Returns
number