chessboard vault
Posted: Sunday, 5th August 2012, 17:14
Second try at a vault, this time a pair of vaults, one representing a chessboard of monsters set up and ready to battle, the second being the same chessboard after the monsters have fought and killed one another. The idea is to make this an infrequently-appearing vault (because it is a bit silly . . . ), and when it is selected, one of the two versions gets used. Each version of the vault tests and loads fine if included individually, but when I include both at the same time, even when they have their CHANCE elements commented out (as below), the application won't load. Does anyone know what issue I'm running into here?
Also, any general feedback on the idea would be welcome (too silly, too much loot, too dangerous, etc).
Also, any general feedback on the idea would be welcome (too silly, too much loot, too dangerous, etc).
- Code:
# a chessboard with two opposing sides set up.
NAME: lasty_chessboard_before
#CHANCE: 50 : 1%
TAGS: no_monster_gen
#, chance_chessboard_group
DEPTH: D:9-18
KFEAT: X = .
KFEAT: Z = .
FTILE: Z = floor_sand
KFEAT: A = .
KMONS: A = goblin
KFEAT: B = .
FTILE: B = floor_sand
KMONS: B = kobold
KFEAT: C = .
KMONS: C = orc priest
KFEAT: D = .
FTILE: D = floor_sand
KMONS: D = orc priest
KFEAT: E = .
KMONS: E = centaur
KFEAT: F = .
FTILE: F = floor_sand
KMONS: F = centaur
KFEAT: G = .
KMONS: G = ogre
KFEAT: H = .
FTILE: H = floor_sand
KMONS: H = ogre
KFEAT: I = .
KMONS: I = 8
KFEAT: J = .
FTILE: J = floor_sand
KMONS: J = 8
KITEM: I = *
KITEM: J = |
MAP
xxxxxxxxxx
xGFCJIDEHx
xBABABABAx
xXZXZXZXZx
@+ZXZXZXZX+@
@+XZXZXZXZ+@
xZXZXZXZXx
xABABABABx
xHEDIJCFGx
xxxxxxxxxx
END MAP
# a chessboard after the sides battle
NAME: lasty_chessboard_after
#CHANCE: 50 : 1%
TAGS: no_monster_gen
#, chance_chessboard_group
DEPTH: D:9-18
KFEAT: F = .
KFEAT: E = .
FTILE: E = floor_sand
KFEAT: G = E
KFEAT: H = F
KFEAT: X = x
#: dgn.delayed_decay(_G, 'C', 'orc corpse')
#: dgn.delayed_decay(_G, 'D', 'orc corpse')
KITEM: C = nothing w:40 / % w:20 / * w:5 / | w:1, \
nothing w:40 / % w:20 / * w:5 / | w:1
KFEAT: C = E
KITEM: D = nothing w:40 / % w:20 / * w:5 / | w:1, \
nothing w:40 / % w:20 / * w:5 / | w:1
KFEAT: D = F
KMONS: Q = 8
KMONS: R = 8
KFEAT: Q = F
KFEAT: R = E
SUBST: E = E:90 C
SUBST: F = F:90 D
SUBST: E = E:95 R:5
SUBST: F = F:95 Q:5
SUBST: E = E:50 G
SUBST: F = F:50 H
SUBST: x = x:50 X
KPROP: G = bloody
KPROP: H = bloody
KPROP: X = bloody
MAP
xxxxxxxxxx
xEFEFEFEFx
xFEFEFEFEx
xEFEFEFEFx
@+FEFEFEFE+@
@+EFEFEFEF+@
xFEFEFEFEx
xEFEFEFEFx
xFEFEFEFEx
xxxxxxxxxx
END MAP