townengine/apps/demos/crawl/data/levels/00.lvl

33 lines
673 B
Plaintext
Raw Normal View History

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