Error code · a mistake in the document
dt::header-twice
A document has one header line.
What the program says
dt::header-twice
× a document has one header line
╭─[example.dtile:2:1]
1 │ dharmatiles version="1.0.0"
2 │ dharmatiles version=1
· ─────┬─────
· ╰── a second one
3 │ tile size="1x1" {
╰────
help: keep `dharmatiles version=…` once, as the first node of the file
explain: https://dharmatiles.healtoletgo.com/e/header-twice
offline: dharmatiles explain dt::header-twice
What to do
Remove the second header line.
Broken, then fixed
dt::header-twicedharmatiles version="1.0.0"
dharmatiles version=1
tile size="1x1" {
stack { dirt }
}dharmatiles version="1.0.0"
tile size="1x1" {
stack { dirt }
}The rule
A document of any kind (a tile, a parts file, a printer profile, a palette) starts with one line that says which version of the language it is written in:
Read it in context: The tile document · A document starts with a header line