starters
Ready-made places to grow a town: forestClearing, riversideMarket, hilltopTerraces and scifiColony. Each builds its ground and scenery inside a scene's content(), places the first well and house plot, and says its look, ladder, starting coins, build zone and spawn. Called by `Tow…
townKit.starters
Ready-made places to grow a town: forestClearing, riversideMarket, hilltopTerraces and scifiColony. Each builds its ground and scenery inside a scene's content(), places the first well and house plot, and says its look, ladder, starting coins, build zone and spawn. Called by Town.starter; add your own with define.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2nonstrict
R(f: () → void
| arg | type | description |
|---|---|---|
| f | ( |
shortGrass( ) → void
forestFloor( ) → void
dirt( ) → void
gravel( ) → void
wetSand( ) → void
desertCrust( ) → void
lavaRock( ) → void
clay( ) → void
freshSnow( ) → void
packedSnow( ) → void
ice( ) → void
drySand( ) → void
dryGrass( ) → void
water( ) → void
deck( ) → void
hull( ) → void
glow( ) → void
stone( ) → void
slab(name: string, material: any, pos: { number }, size: { number }, collide: boolean?, rotY: number?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| material | any | |
| pos | { number } | |
| size | { number } | |
| collide | boolean? | |
| rotY | number? |
disc(name: string, material: any, pos: { number }, radius: number, h: number, collide: boolean?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| material | any | |
| pos | { number } | |
| radius | number | |
| h | number | |
| collide | boolean? |
rock(name: string, material: any, pos: { number }, s: { number }, yaw: number) → any
| arg | type | description |
|---|---|---|
| name | string | |
| material | any | |
| pos | { number } | |
| s | { number } | |
| yaw | number |
forest(keepClear: string, seed: number, extra: any?) → void
| arg | type | description |
|---|---|---|
| keepClear | string | |
| seed | number | |
| extra | any? |
piece(kind: string, style: string, pos: { number }, yaw: number?) → void
| arg | type | description |
|---|---|---|
| kind | string | |
| style | string | |
| pos | { number } | |
| yaw | number? |
build( ) → void
build( ) → void
build( ) → void
build( ) → void
build( ) → void
build( ) → void
get(id: string?) → any
| arg | type | description |
|---|---|---|
| id | string? |
list( ) → void
define(def: any) → any
Add or replace a starter: { id, name, look, ladder, coins, zone = { position, size }, spawn, build = function() ... end }.
| arg | type | description |
|---|---|---|
| def | any |
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.