Writing it
pebble at="(0.5sq, 0.5sq)" // one, there
dirt { scatter perSquare=40 { pebble } }
A thing is one of itself. Scattered inside dirt, pebbles lie half sunk in the soil. Many of them are a scatter.
Like a rock, a pebble takes a top=: a cloud worked out at its middle that its peak stands at (pebble top="$bottom + [1dmm .. 3dmm]").
Reference
Kind
a thing: one solid, standing on the surface
Place
at= region, pointBuilt
yes
Controls
| Control | Takes | Default | What it does |
|---|---|---|---|
size | length (dmm), over 0, up to 200, or a range, or a weighted range | 1dmm..2.2dmm | rock width |
shape | word | a mix of all three | river stones, broken rock, flat slabs
|
wear | word | — | sharp, or chipped and rounded edges not built yet check accepts it; build refuses it
|
buried | percent, 0% to 100%, or a range, or a weighted range | — | how much of each rock is under the ground |
top | height | its own height, not held to a level | how high the top stands, as a height worked out where it stands: $bottom + [4dmm .. 9dmm] |
In the library
1x1-cliff-corner.dtilelib:tiles/cliffs/1x1-cliff-corner.dtile · Open in the editor1x1-cliff-mound.dtilelib:tiles/cliffs/1x1-cliff-mound.dtile · Open in the editor1x1-cliff-spire.dtilelib:tiles/cliffs/1x1-cliff-spire.dtile · Open in the editor1x1-cliff.dtilelib:tiles/cliffs/1x1-cliff.dtile · Open in the editor2x1-cliff-blocks.dtilelib:tiles/cliffs/2x1-cliff-blocks.dtile · Open in the editor2x1-cliff-escarpment.dtilelib:tiles/cliffs/2x1-cliff-escarpment.dtile · Open in the editor2x1-cliff-needles.dtilelib:tiles/cliffs/2x1-cliff-needles.dtile · Open in the editor2x1-cliff-rubble.dtilelib:tiles/cliffs/2x1-cliff-rubble.dtile · Open in the editor2x1-cliff.dtilelib:tiles/cliffs/2x1-cliff.dtile · Open in the editor2x2-cliff-canyon.dtilelib:tiles/cliffs/2x2-cliff-canyon.dtile · Open in the editor2x2-cliff-corner.dtilelib:tiles/cliffs/2x2-cliff-corner.dtile · Open in the editor2x2-cliff-massif.dtilelib:tiles/cliffs/2x2-cliff-massif.dtile · Open in the editor2x2-cliff-plateau.dtilelib:tiles/cliffs/2x2-cliff-plateau.dtile · Open in the editor
Generated from dharmatiles elements pebble by cargo xtask docs.
Notes
How rocks are made, and how they print, is on the rock page.
Seen from the language
The guide pages that use pebble: Placement and scatter, Things and layers.
