############################################################################## # 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