{"params":{"colorway":{"type":"choice","default":"signal-red","label":"Colorway","describe":"Curated paint scheme; the deck and benches are always tan timber. works-green = green engine box on a maroon frame with blue-grey steelwork (the reference); signal-red = red engine box with cream panels on a dark red frame, black steelwork (the kit's shared signal-red livery); royal-blue = royal blue engine box with pale grey panels on a black frame (the kit's shared royal-blue livery); engineers-grey = grey engine box with pale grey panels on maroon; maroon = maroon engine box with cream panels on a black frame; works-black = black engine box with grey panels on maroon. Lamp lenses and rust never change.","affects":"colors","options":["works-green","signal-red","royal-blue","engineers-grey","maroon","works-black"]},"paint":{"type":"color","default":"#738936","label":"Engine box","describe":"Albedo of the painted engine box at the front: its sides, top and shoulder chamfers, front, back and the grille's louvre blades. Wear fades it and rusts its bottom edge.","affects":"colors"},"panels":{"type":"color","default":"#768f30","label":"Engine panels","describe":"Albedo of the raised bevelled panel on each side of the engine box and the grille surround (on the open trolley this is what the old cab-panel knob paints; by default a green a hair off the box so the panels read as part of it). Wear fades it.","affects":"colors"},"seats":{"type":"color","default":"#a77149","label":"Bench timber","describe":"Albedo of the bench planks: the seats and backs of the cross benches and the driver's plank seat. Wear greys planks one by one.","affects":"colors"},"timber":{"type":"color","default":"#af8361","label":"Deck","describe":"Albedo of the transverse deck planks, their V-joints and ends, the tool handles and the toe batten. Wear greys boards one by one.","affects":"colors"},"frame":{"type":"color","default":"#6f261b","label":"Frame","describe":"Albedo of the deep frame under the deck (solebars, which carry the number decal, headstocks, transoms), the benches' pedestal ends and the lever knob. Wear never touches it.","affects":"colors"},"glass":{"type":"color","default":"#3f4140","label":"Grille slots","describe":"The open trolley has no glazing: this knob (the old cab glazing) now paints the dark slots behind the engine box's louvred grille.","affects":"colors"},"roof":{"type":"color","default":"#715f50","label":"Canvas tilt","describe":"Albedo of the canvas tilt over the seats (canopy on) and, always, of the driver's padded backrest (the old cab roof knob). Wear bleaches it.","affects":"colors"},"curtain":{"type":"color","default":"#928d46","label":"Blinds","describe":"Albedo of the roll-down canvas blinds on the sides of the tilt, their rolls and straps; they exist only with the canopy on. Wear bleaches them.","affects":"colors"},"iron":{"type":"color","default":"#2d2925","label":"Ironwork","describe":"Albedo of the dark ironwork: the wheel tyres and axles, the lever rod, the axle gearbox and drive shaft under the deck. Wear rusts the small pieces.","affects":"colors"},"steel":{"type":"color","default":"#426e8f","label":"Steelwork","describe":"Albedo of the painted steelwork: the W-iron plates and axleboxes, the hooks and their plates, the driver's box and seat stand, the backrest stays, the lamp bodies, the tilt's hoops and the tool heads. The hooks never change with wear.","affects":"colors"},"wheels":{"type":"color","default":"#7c766b","label":"Wheel centres","describe":"Albedo of the spoked wheel centres: spokes, hubs and the axle caps on the W-iron plates (the tyres are ironwork). Wear tints them toward rust.","affects":"colors"},"lampFront":{"type":"color","default":"#f2f2ec","label":"Headlamp lenses","describe":"Albedo by day of the two headlamp lenses on the engine box front; they burn warm amber at night (export const night). No other part wears this colour.","affects":"colors"},"lampRear":{"type":"color","default":"#ede9e0","label":"Tail lamp lens","describe":"Albedo by day of the tail lamp lens at the middle of the rear deck edge; it burns a dimmer amber at night. No other part wears this colour.","affects":"colors"},"rust":{"type":"color","default":"#573e25","label":"Rust","describe":"The rust colour the wear knob paints on the engine box's bottom edge, the axleboxes, W-irons and lamp brackets; it also tints the wheels. Unused at wear 0.","affects":"colors"},"benches":{"type":"range","default":2,"label":"Benches","describe":"How many forward-facing cross benches stand on the deck, and so how long the trolley is, a bench every 0.98 m. 1 = a short 2.22 m trolley with one bench behind the driver; 2 = the reference 3.20 m; 3 = a long 4.18 m. The deck, frame and (with canopy on) the tilt lengthen and the wheelbase spreads (1.00, 1.70, 2.68 m); the engine box, driver's station, benches, wheels and every member keep their size.","affects":"geometry","min":1,"max":3,"step":1},"curtains":{"type":"range","default":0,"label":"Curtains","describe":"Roll-down canvas blinds on both long sides of the canopy tilt. 0 = rolled tight under the tilt's edges, each roll held in two straps; 1 = let down to below the bench backs, the gang screened from the weather; in between the roll hangs part way. They exist only while the canopy is up (canopy off = no blinds); they never close the trolley into a cab.","affects":"geometry","min":0,"max":1,"step":0.1},"canopy":{"type":"toggle","default":false,"label":"Canopy","describe":"A light canvas tilt over the seats only, on thin steel hoops standing at the four corners of the bench area. Off (default) = the open trolley of the reference, nothing over the driver or the gang. On = the tilt, which also carries the roll-down blinds (curtains knob). The driver's station and the engine stay open either way.","affects":"geometry"},"tools":{"type":"toggle","default":true,"label":"Tools","describe":"The gang's hand tools on the rear deck: a shovel and a spade standing blade-up, a beater pick and a long keying hammer head-up, leaning on the back of the last bench with their feet against a low batten. Off = a clean rear deck with only the batten. Also detachable as one group.","affects":"geometry"},"wear":{"type":"range","default":0.3,"label":"Wear","describe":"0 freshly painted and new, 1 old and weathered: faded paint, dirt, rust and small chips; the object itself never changes.","affects":"geometry","min":0,"max":1,"step":0.1}},"presets":{"works-green":{"panels":"#768f30","seats":"#a77149","timber":"#af8361","frame":"#6f261b","glass":"#3f4140","roof":"#715f50","curtain":"#928d46","iron":"#2d2925","steel":"#426e8f","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#573e25","paint":"#738936"},"signal-red":{"panels":"#ddc68f","seats":"#a77149","timber":"#af8361","frame":"#581710","glass":"#573e25","roof":"#715f50","curtain":"#928d46","iron":"#3f4140","steel":"#2d2925","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#793f32","paint":"#9c4639"},"royal-blue":{"panels":"#dfddd8","seats":"#a77149","timber":"#af8361","frame":"#2d2925","glass":"#573e25","roof":"#715f50","curtain":"#928d46","iron":"#3f4140","steel":"#426e8f","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#793f32","paint":"#375d7d"},"engineers-grey":{"panels":"#dfddd8","seats":"#a77149","timber":"#af8361","frame":"#6f261b","glass":"#3f4140","roof":"#715f50","curtain":"#928d46","iron":"#2d2925","steel":"#426e8f","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#573e25","paint":"#968d84"},"maroon":{"panels":"#ddc68f","seats":"#a77149","timber":"#af8361","frame":"#2d2925","glass":"#573e25","roof":"#715f50","curtain":"#928d46","iron":"#3f4140","steel":"#426e8f","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#793f32","paint":"#662c24"},"works-black":{"panels":"#968d84","seats":"#a77149","timber":"#af8361","frame":"#6f261b","glass":"#573e25","roof":"#715f50","curtain":"#928d46","iron":"#3f4140","steel":"#426e8f","wheels":"#7c766b","lampFront":"#f2f2ec","lampRear":"#ede9e0","rust":"#793f32","paint":"#2d2925"}},"night":{"lampFront":{"color":"#e7c092","intensity":1,"describe":"the two small headlamps on the engine box front either side of the grille, warm amber","albedo":"#f2f2ec","findable":true},"lampRear":{"color":"#e4b485","intensity":0.6,"describe":"the small tail lamp at the middle of the rear deck edge, a dimmer amber","albedo":"#ede9e0","findable":true}},"decals":[{"name":"solebar-right","size":[0.62,0.09],"at":[0.9,0.68,0],"normal":[1,0,0],"up":[0,1,0],"describe":"the flat face of the maroon solebar along the side, between the wheels: the trolley's running number or a permanent-way gang mark","albedo":"#581710","mode":"plate","relief_mm":0,"verified":true},{"name":"solebar-left","size":[0.62,0.09],"at":[-0.9,0.68,0],"normal":[-1,0,0],"up":[0,1,0],"describe":"the flat face of the maroon solebar along the side, between the wheels: the trolley's running number or a permanent-way gang mark","albedo":"#581710","mode":"plate","relief_mm":0,"verified":true}],"materials":{"paint":{"kind":"paint","finish":"gloss"},"panels":{"kind":"paint","finish":"gloss"},"seats":{"kind":"wood","finish":"oiled"},"timber":{"kind":"wood","finish":"raw"},"frame":{"kind":"paint","finish":"eggshell"},"glass":{"kind":"metal","finish":"cast"},"roof":{"kind":"fabric","finish":"canvas"},"curtain":{"kind":"fabric","finish":"canvas"},"iron":{"kind":"metal","finish":"cast"},"steel":{"kind":"paint","finish":"eggshell"},"wheels":{"kind":"metal","finish":"cast"},"lampFront":{"kind":"emissive","finish":"glow"},"lampRear":{"kind":"emissive","finish":"glow"},"rust":{"kind":"metal","finish":"rusted"}},"rev":1793363110,"materials_note":"what each colour zone is made of: `kind` and `finish` name a procedural PBR material in https://polyfork.dev/materials.mjs (dressByAlbedo finds a zone by its albedo in COLOR_0). A zone not listed has not been classified.","night_note":"match `albedo` in COLOR_0 exactly, make those vertices emissive at `color` and `intensity`, and drop your scene lights. findable false means that colour is no longer in this asset's geometry: skip the zone rather than guessing.","decals_note":"flat areas on the surface where you can print your own logo, sign or number. `at` is the centre in model space, `normal` points out of the surface, `size` is [width, height] in metres. Bake art with https://polyfork.dev/cdn/sdf.mjs and place it with https://polyfork.dev/cdn/decal.mjs, or use `at`/`normal`/`size` directly in any engine. `albedo` is the colour it prints on. mode `plate` means the face is flat and a quad is enough; `projected` means it is curved (`relief_mm` deep) and the mark has to be projected onto the geometry. Measured on the DEFAULT build: a geometry knob can move the surface a few centimetres; decal.mjs follows it, anywhere else re-measure or keep the defaults.","preview_v":1793363439,"mod_v":1793363110}