Error code · a mistake in the document

dt::base-order

The base is the first line of the stack, and there is one.

What the program says

dt::base-order

  × the base is the first line of the stack
   ╭─[example.dtile:3:19]
 2 │ tile size="1x1" {
 3 │     stack { dirt; base }
   ·                   ──┬──
   ·                     ╰── not first
 4 │ }
   ╰────
  help: the connector is laid first and everything rests on it: move `base`
        above the other lines
        explain: https://dharmatiles.healtoletgo.com/e/base-order
        offline: dharmatiles explain dt::base-order

What to do

Move base to the top of the stack, and keep one.

Broken, then fixed

Gives dt::base-order
dharmatiles version="1.0.0"
tile size="1x1" {
    stack { dirt; base }
}
Mended, it reads clean
dharmatiles version="1.0.0"
tile size="1x1" {
    stack { base; dirt }
}

The rule

base anywhere but first, or a second one, is refused while the document is read (the base is the first line of the stack). A stack with no base line has none, and prints flat on the bed from zero.

Read it in context: The stack · The base is the first line of the stack, and there is one