assets/_index.toml

38 lines
714 B
TOML

# TODO: proper documentation
# These are paths to subdirectories,
# each should contain another _index.toml.
#
# textures defined in subindices get a prefix,
# currently "{path}::"
#
# TODO: check all failure modes
# - this should always be a relative path
# - should we allow slashes?
# - error if there is no _index?
# include."path" = "label"
include."planet" = "planet"
include."star" = "star"
# Only the root _index.toml may contain config.
[config]
error = "error"
starfield = "starfield"
[[texture]]
name = "error"
path = "error.png"
[[texture]]
name = "starfield"
path = "starfield.png"
[[texture]]
name = "ship::gypsum"
path = "gypsum.png"
[[texture]]
name = "ship::dolomite"
path = "dolomite.png"