Error code · a mistake in the document
dt::seed
A tile's seed is a whole number from 0.
What the program says
dt::seed
× a seed is a whole number from 0 to 9223372036854775807, not -3
╭─[example.dtile:2:22]
1 │ dharmatiles version="1.0.0"
2 │ tile size="1x1" seed=-3 {
· ─┬
· ╰── out of range
3 │ stack { dirt }
╰────
help: explain: https://dharmatiles.healtoletgo.com/e/seed
offline: dharmatiles explain dt::seed
What to do
Write seed= with a whole number, 0 or more.
Broken, then fixed
dt::seeddharmatiles version="1.0.0"
tile size="1x1" seed=-3 {
stack { dirt }
}dharmatiles version="1.0.0"
tile size="1x1" seed=3 {
stack { dirt }
}The rule
tile size="1x1" seed=97 { … }sets it; a tile that writes none is built with the seed the build is asked for (dharmatiles check --seed N, or the seed control of a card or the editor). A negative or fractional seed is refused.
Read it in context: Seeds · A tile’s seed is a whole number from 0