progress on /apps/demos/crawl

This commit is contained in:
veclavtalica
2025-02-20 22:20:02 +03:00
parent bd3b090f6f
commit 80a4ae3d0e
2 changed files with 36 additions and 18 deletions

View File

@ -1,24 +1,27 @@
@map
-- Grid of entities defined by @classes.
-- Grid of symbols defined by @classes section.
#####
#.@.#
#...#
##.##
#...#
#...#
##.######
#...X...#
#./.#####
#####
@classes
-- Defines classes under symbols, which could have properties.
-- Defines classes under symbols, which could have properties attached.
# wall
. void
test : this
. floor
@ player_spawn
unique :
face : south
hold : torch
X door
open_on : sg_torch0
/ torch
emit : sg_torch0
@meta
-- Arbitrary sections could be defined with values pairs.
description : Test Level! Just two square rooms.
-- Arbitrary sections could be defined with value pairs.
description : Test Level! Just two square rooms and a tunnel opened by lever.