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

38 lines
810 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
solid : 1
. stone_floor
tile_texture : /assets/mossy_rock.png
@ player_spawn
unique : 1
face : south
hold : torch
tile_texture : /assets/mossy_rock.png
X door
open_on_signal : sg_torch0
tile_texture : /assets/mossy_rock.png
face : horizon
face_texture : /assets/castledoors.png
/ lever
on_interact_emit : sg_torch0
tile_texture : /assets/mossy_rock.png
face : observer
face_texture : /assets/lever.png
@meta
-- Arbitrary sections could be defined with value pairs.
description : Test Level! Just two square rooms and a tunnel opened by lever.