townengine/apps/demos/crawl/data/levels/00.lvl
2025-02-21 01:13:53 +03:00

33 lines
673 B
Plaintext

@map
-- Grid of symbols defined by @classes section.
#####
#.@.#
#...#
##.######
#...X...#
#./.#####
#####
@classes
-- Defines classes under symbols, which could have properties attached.
# stone_wall
wall_texture : /assets/brick.png
. stone_floor
tile_texture : /assets/pebbles.png
@ player_spawn
unique :
face : south
hold : torch
tile_texture : /assets/pebbles.png
X door
open_on_signal : sg_torch0
tile_texture : /assets/pebbles.png
/ lever
on_interact_emit : sg_torch0
tile_texture : /assets/pebbles.png
@meta
-- Arbitrary sections could be defined with value pairs.
description : Test Level! Just two square rooms and a tunnel opened by lever.