1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
##############################################################################
# The Hall of Blades
#
# This file is here for save compatibility reasons, and should be removed when
# TAG_MAJOR_VERSION >= 35. (i.e, it is only necessary if the TAG_MAJOR_VERSION
# is 34)
##############################################################################
# Guarantee two rare base types with a brand
{{
function hall_of_blades_weapon(e)
local long_blade_type = crawl.one_chance_in(2) and "bastard sword"
or "claymore"
local types = {"quick blade", long_blade_type,
"executioner's axe", "eveningstar", "bardiche",
"lajatang"}
local egos = {"flaming", "freezing", "electrocution", "venom",
"holy_wrath", "pain", "vampirism", "draining",
"antimagic", "distortion"}
local weapon1 = util.random_from(types)
local weapon2 = weapon1
while weapon2 == weapon1 do
weapon2 = util.random_from(types)
end
local ego1 = util.random_from(egos)
local ego2 = ego1
while ego2 == ego1 do
ego2 = util.random_from(egos)
end
e.mons("dancing weapon; good_item " .. weapon1 .. " ego:" .. ego1)
e.mons("dancing weapon; good_item " .. weapon2 .. " ego:" .. ego2)
end
}}
# Main layout
NAME: hall_of_blades
TAGS: no_dump no_monster_gen
PLACE: Blade
ORIENT: encompass
: hall_of_blades_weapon(_G)
SHUFFLE: C{D[ / C{D[ / D{C[ / D[C{ / D{D[
SUBST: C = c, D[ = ., E : c.., F : c.., c : cv
NSUBST: { : 1:{ / *:., . : 6:0 / 6 = 0. / 6 = 0... / *:.
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccxxx
xxxcccc....cccc.cccc.cccc{cccc.F.cccc.F.cccc.cccc.cccc.cccc....ccccxxx
xxxccF......cc...cc...cc...cc....{cc.....cc...cc...cc...cc......Fccxxx
xxxcc............................................................ccxxx
xxxc......c..............c..................c..............c......cxxx
xxxc.....ccc............ccc................ccc............ccc.....cxxx
xxxcE...ccccc..........ccccc..............ccccc..........ccccc...Ecxxx
xxxcE...ccccc...........ccc................ccc...........ccccc...Ecxxx
xxxc....0ccc.............c..................c.............ccc0....cxxx
xxxcE....ccc..............................................ccc....Ecxxx
xxxcE.....c................................................c.....Ecxxx
xxxc.............................[DD..............................cxxx
xxxc.............CC..............DDDD..............CC.............cxxx
xxxcE1...0......CCCC.............DDDD.............CCCC......0...2Ecxxx
xxxc.............CC..............DDDD..............CC.............cxxx
xxxc..............................DD..............................cxxx
xxxcE.....c................................................c.....Ecxxx
xxxcE....ccc..............................................ccc....Ecxxx
xxxc....0ccc.............c..................c.............ccc0....cxxx
xxxc....ccccc...........ccc................ccc...........ccccc....cxxx
xxxcE...ccccc..........ccccc..............ccccc..........ccccc...Ecxxx
xxxcE....ccc............ccc................ccc............ccc....Ecxxx
xxxc......c..............c..................c..............c......cxxx
xxxcc............................................................ccxxx
xxxccF......cc...cc...cc...cc.....cc.....cc...cc...cc...cc......Fccxxx
xxxcccc....cccc.cccc.cccc.cccc.F.cccc.F.cccc.cccc.cccc.cccc....ccccxxx
xxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP
|