build
Builds the whole town of Swords and Sandals NG from authored primitives under one root entity: forum plaza with fountain and bronze gladiator statue, colonnaded temple, blacksmith forge, armorer, tavern, Livia's healer house and herb stall, market street with awnings, houses with…
game.town.build
Builds the whole town of Swords and Sandals NG from authored primitives under one root entity:
forum plaza with fountain and bronze gladiator statue, colonnaded temple, blacksmith forge, armorer,
tavern, Livia's healer house and herb stall, market street with awnings, houses with terracotta roofs,
cypresses, town walls and the arena gate at z = -68. Called by game.town.Town at play start
(B.build(root)); returns { count, lights }.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game/town/build.module — the town of Swords and Sandals NG, built from authored geometry under one root entity: forum plaza with fountain and bronze gladiator statue, colonnaded temple, terracotta-roofed plastered houses, blacksmith and armorer workshops, tavern, healer's stall, market street with awnings, cypresses, town walls and the arena gate at z = -68. Big solids carry BoxColliders. Returns anchors (light entities, marker spots) for the Town component.
plaster_ochre( ) → void
plaster_cream( ) → void
plaster_rose( ) → void
plaster_umber( ) → void
roof_tile( ) → void
roof_tile_dark( ) → void
travertine( ) → void
basalt( ) → void
marble_white( ) → void
bronze_aged( ) → void
wood_dark( ) → void
wood_weathered( ) → void
cloth_red( ) → void
cloth_ochre( ) → void
cloth_linen( ) → void
cloth_saffron( ) → void
water( ) → void
cypress( ) → void
iron_dark( ) → void
ember( ) → void
smoke( ) → void
shadow( ) → void
skin( ) → void
skin_olive( ) → void
hair_dark( ) → void
leather( ) → void
pottery( ) → void
fruit_red( ) → void
herb_green( ) → void
gold_quest( ) → void
cobble( ) → void
plaster( ) → void
sand( ) → void
mat(name: ?) → void
| arg | type | description |
|---|---|---|
| name | ? |
quat(ax: ?, ay: ?, az: ?, deg: ?) → void
| arg | type | description |
|---|---|---|
| ax | ? | |
| ay | ? | |
| az | ? | |
| deg | ? |
node(name: ?, parent: ?, pos: ?, yaw: ?) → void
An empty transform node.
| arg | type | description |
|---|---|---|
| name | ? | |
| parent | ? | |
| pos | ? | |
| yaw | ? |
prim(parent: ?, name: ?, pos: ?, size: ?, material: ?, opt: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| pos | ? | |
| size | ? | |
| material | ? | |
| opt | ? |
rnd( ) → void
pick(t: ?) → void
| arg | type | description |
|---|---|---|
| t | ? |
house(parent: ?, name: ?, x: ?, z: ?, yaw: ?, w: ?, d: ?, h: ?, opt: ?) → void
A house: plastered block, plinth, cornice, gable roof of terracotta with imbrex ribs, door, shuttered windows, chipped plaster patches. Local frame: front faces +z, width along x, depth along z.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| x | ? | |
| z | ? | |
| yaw | ? | |
| w | ? | |
| d | ? | |
| h | ? | |
| opt | ? |
artModel(which: ?) → void
set dressing generated props (game/town/art); nil when a bundle is missing so callers fall back
| arg | type | description |
|---|---|---|
| which | ? |
amphora(parent: ?, x: ?, y: ?, z: ?, s: ?, m: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| x | ? | |
| y | ? | |
| z | ? | |
| s | ? | |
| m | ? |
crate(parent: ?, x: ?, z: ?, s: ?, yaw: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| x | ? | |
| z | ? | |
| s | ? | |
| yaw | ? |
cypress(parent: ?, x: ?, z: ?, h: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| x | ? | |
| z | ? | |
| h | ? |
column(parent: ?, name: ?, x: ?, y: ?, z: ?, h: ?, r: ?, m: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| x | ? | |
| y | ? | |
| z | ? | |
| h | ? | |
| r | ? | |
| m | ? |
stall(parent: ?, name: ?, x: ?, z: ?, yaw: ?, cloth: ?, goods: ?) → void
A market stall: counter, posts, sloped cloth awning, goods.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| x | ? | |
| z | ? | |
| yaw | ? | |
| cloth | ? | |
| goods | ? |
statue(parent: ?) → void
The forum: paving, fountain, bronze gladiator statue
| arg | type | description |
|---|---|---|
| parent | ? |
forum(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
temple(parent: ?) → void
The temple: podium, steps, colonnade, cella, pediment, terracotta roof. Faces +x (toward the forum).
| arg | type | description |
|---|---|---|
| parent | ? |
blacksmith(parent: ?) → void
Workshops Blacksmith: house behind, open lean-to forge in front (facing -x / the forum).
| arg | type | description |
|---|---|---|
| parent | ? |
armorer(parent: ?) → void
Armorer: shop front with armour stands and hanging shields.
| arg | type | description |
|---|---|---|
| parent | ? |
tavern(parent: ?) → void
Tavern: two-storey house, outdoor tables, amphorae.
| arg | type | description |
|---|---|---|
| parent | ? |
gate(parent: ?, gz: ?) → void
The arena gate: a monumental arch in the north wall at z = -68.
| arg | type | description |
|---|---|---|
| parent | ? | |
| gz | ? |
walls(parent: ?, gz: ?) → void
Town walls, enclosing the town; the gate breaks the north side.
| arg | type | description |
|---|---|---|
| parent | ? | |
| gz | ? |
seg(name: ?, x: ?, z: ?, sx: ?, sz: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| x | ? | |
| z | ? | |
| sx | ? | |
| sz | ? |
build(root: ?) → void
The whole town.
| arg | type | description |
|---|---|---|
| root | ? |
light(name: ?, p: ?, c: ?, i: ?, r: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| p | ? | |
| c | ? | |
| i | ? | |
| r | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.