Log inGet started
World

Apex Raceway: Race Tracks, Laps and AI Rivals Kit

Branchmain
Branchesmain
Commit068099240e

README.md

materials

Every material the kit draws with, resolved once by literal name (so a publish pins each one) and looked up by a short key. build, gates and OilSlick ask it for materials by the keys that surfaces and gate parts name.

Keys: the kit's own (kitPaint, kitGloss, kitMetal, kitRubber, glowCyan, glowMagenta, glowAmber, glowGreen, glowRed, glowWhite, holoGlass, channelWater, neonTrack, neonEdge, racingLine, kerb), paving from driveSurfaces (tarmac, concrete) and natural grounds from groundMaterials (dirt, dryGrass, ice, packedSnow, freshSnow, forestFloor, gravel, shortGrass, mud).

Functions

  • get(key): the material for a key, or kitPaint for an unknown key.
  • has(key): whether key names a material here.