Attached Files |
altar_tso_jericho_becter_ft_grunt.des [^] (2,681 bytes) 2013-01-26 15:20 [Show Content] [Hide Content]{{
function place_wall_jericho(e, alarm_glyph, wall_glyph)
local tm = TriggerableFunction:new{func="callback.wall_jericho_stepped",
repeated=true, data={triggered=false} }
tm:add_triggerer(DgnTriggerer:new{type="player_move"})
local rm = TriggerableFunction:new{func="callback.wall_jericho_tick",
repeated=true,
data={triggered=false, dur=30} }
rm:add_triggerer(DgnTriggerer:new{type="turn"})
e.lua_marker(alarm_glyph, tm)
e.lua_marker(alarm_glyph, rm)
e.lua_marker(alarm_glyph, props_marker { trap= 1 })
e.kfeat(alarm_glyph .. ' = alarm trap')
e.lua_marker(wall_glyph, props_marker { wall_jericho = 1})
e.kfeat(wall_glyph .. ' = rock_wall')
dgn.persist.wall_jericho_triggered = false
end
function callback.wall_jericho_stepped(data, triggerable, triggerer, marker, ev)
if data.triggered == true then
return
end
local x, y = marker:pos()
local you_x, you_y = you.pos()
-- Don't let monsters trigger this when you're not in view of it
if not you.see_cell(x, y) then
return
end
data.triggered = true
dgn.persist.wall_jericho_triggered = true
for slave in iter.slave_iterator("trap", 1) do
dgn.grid(slave.x, slave.y, "alarm trap")
end
end
function callback.wall_jericho_tick(data, triggerable, triggerer, marker, ev)
if data.triggered == true then
return
end
if not dgn.persist.wall_jericho_triggered then
return
end
data.dur = data.dur - ev:ticks()
if data.dur > 0 then
return
end
for slave in iter.slave_iterator("wall_jericho", 1) do
dgn.terrain_changed(slave.x, slave.y, "floor", false, false, false)
dgn.place_cloud(slave.x, slave.y, "grey smoke", crawl.random2(15) + 5)
dgn.noisy(35, slave.x, slave.y)
if (you.see_cell(slave.x, slave.y)) then
crawl.mpr("The walls come tumbling down!")
else
crawl.mpr("The ground quakes!")
end
end
data.triggered = true
end
}}
############
NAME: tso_jericho_becter_ft_grunt
TAGS: overflow_altar_the_shining_one transparent no_monster_gen mini_float
SUBST: M = m.
: place_wall_jericho(_G, '^', 'm')
KFEAT: _ = altar_the_shining_one
KFEAT: ^ = alarm trap
KPROP: _ = no_rtele_into
COLOUR: m' = brown
COLOUR: ^ = yellow
FTILE: m' = floor_pebble_brown
FTILE: _^ = floor_limestone
DEPTH: 2-9
MAP
.....
..MMM....
.MmmmM..'.
.Mm_mM.'^'
.MmmmM..'.
..MMM....
.....
ENDMAP
18morealtars.txt [^] (7,643 bytes) 2013-01-26 15:21 [Show Content] [Hide Content]NAME: ashenzari_conservatory
_becter
TAGS: temple_overflow_ashenzari transparent mini_float
KFEAT: _ = altar_ashenzari
DEPTH: 2-9
MAP
.....
.........
.........
....mmm....
....m_m....
....c+c....
xxxxx.xxxxx
@
ENDMAP
NAME: ashenzari_observation_deck_becter
TAGS: overflow_altar_ashenzari transparent mini_float
KFEAT: _ = altar_ashenzari
KMASK: '{_ = no_monster_gen
DEPTH: 2-9
MAP
.. ..
.........
...mxxxm...
...m'{'m...
...m'_'m...
...mmmmm...
.........
.......
ENDMAP
NAME: chei_snail_safe_becter
TAGS: overflow_altar_cheibriados transparent mini_float no_monster_gen
KMONS: a = agate snail
NSUBST: ' = 1:a / *:.
KFEAT: _ = altar_cheibriados
DEPTH: 2-9
MAP
........
..xxxxxx..
.xx''''xx.
.x'xxxx'x.
.x'm.<x'x.
.xx+._x'x.
..xxxxx'x.
.x.....xx.
.xxxxxxx..
.........
ENDMAP
NAME: kiku_gazebo_garden_becter
TAGS: temple_overflow_kikubaaqudgha transparent mini_float
KMONS: f = w:2 col:darkgrey plant name:withered name_adjective \
tile:mons_withered_plant / w:1 col:lightgrey plant name:withered \
name_adjective tile:mons_withered_plant
KFEAT: _ = altar_kikubaaqudgha
SUBST: ` = f....
COLOUR: c = magenta
COLOUR: i' = brown
COLOUR: " = yellow
TILE: c = dngn_stone_wall_magenta
FTILE: '"_ = floor_pebble_yellow
DEPTH: 2-9
MAP
..````
.ccc`````
.c'c"`````
.c''""````
.c'''"c````
.c'_''cc```
.c'''"c````
.c''""````
.c'c"`````
.ccc`````
..````
ENDMAP
NAME: kiku_gazebo_pond_becter
TAGS: temple_overflow_kikubaaqudgha transparent mini_float
KFEAT: _ = altar_kikubaaqudgha
KMASK: Ww = no_monster_gen
SUBST: M = W..
COLOUR: c = magenta
COLOUR: i' = brown
COLOUR: " = yellow
COLOUR: w = green
COLOUR: W = lightgreen
TILE: c = dngn_stone_wall_magenta
FTILE: '"_ = floor_pebble_yellow
DEPTH: 2-9
MAP
..........
.cccccccc.
.c''''cc...
.c'_'""..V.
.c'W""MMM..
.c'"WWWwwM.
.cc".MWwwM.
.cc..MwwwM.
.c...MwwwM.
...V..MMM..
.........
ENDMAP
NAME: makhleb_blood_cavern_becter
TAGS: uniq_altar_makhleb temple_overflow_makhleb mini_float
: if you.absdepth() < 5 then
KITEM: 1 = human corpse
KMONS: 2 = hound
: else
KMONS: 1 = necrophage
KMONS: 2 = hound skeleton
: end
KFEAT: _ = altar_makhleb
KPROP: y' = bloody
COLOUR: c = darkgrey
TILE: c = wall_hall
SUBST: ' = .
SUBST: y = x
DEPTH: 2-9
MAP
@@@
x..'.xxx
xx...'yxx
xxxx..'yxx
xxxxxx.'yx
xxxxxxy'.x
xxxx.'y'.xx
xcc.12'.xx
xcA_'.xxx
xcc..xxx
xxxxxx
ENDMAP
NAME: makhleb_heckhound_becter
TAGS: uniq_altar_makhleb temple_overflow_makhleb no_monster_gen mini_float
KFEAT: _ = altar_makhleb
KMONS: _ = hound perm_ench:bleeding
COLOUR: c = darkgrey
TILE: c = wall_hall
SUBST: y = xx.
DEPTH: 2-9
MAP
xxxxx
xxcccxx
xycAcyx
x.._..x
xy...yx
y...y
@@@
ENDMAP
NAME: makhleb_grotto_becter
TAGS: no_monster_gen temple_overflow_makhleb mini_float
MONS: iron imp w:1 / shadow imp w:1 / crimson imp
KFEAT: _ = altar_makhleb
COLOUR: c' = darkgrey
TILE: c = wall_hall
FTILE: A_'1 = floor_grey_dirt
SUBST: ' = .
DEPTH: 2-9
MAP
xxxxx
xxcccxx
xwcAcwx
xww_wwx
xww1wwx
x.w'w.x
xx...xx
xx+xx
@
ENDMAP
NAME: nemelex_dance_club_becter
TAGS: overflow_altar_nemelex_xobeh transparent
TAGS: no_rotate no_vmirror no_monster_gen no_item_gen
MONS: ogre ; giant club
MONS: ooze
KFEAT: _ = altar_nemelex_xobeh
SHUFFLE:12_
COLOUR: 12' = random
COLOUR: x = darkgrey
TILE: x = wall_pebble_darkgray
DEPTH: 2-9
MAP
.....
..xxx..
.xx'xx.
...x'1'x...
..xxxx'xxxx..
.xx''x+x''xx.
.x'2'+.+'_'x.
.xx'xx.xx'xx.
..xxx.x.xxx..
.....x.....
.xxx.
.....
ENDMAP
NAME: nemelex_diamond_rough_becter
TAGS: overflow_altar_nemelex_xobeh transparent mini_float
KFEAT: _ = altar_nemelex_xobeh
COLOUR: x = lightred
COLOUR: 'b = silver
TILE: x = wall_pebble_red
TILE: b = dngn_crystal_white
MAP
...
..x..
..xxx..
..xxbxx..
..xxb'bxx..
.xxb'_'bxx.
..xxb'bxx..
..x+b+x..
..xxx..
..x..
...
ENDMAP
NAME: nemelex_lonely_heart_becter
TAGS: overflow_altar_nemelex_xobeh transparent
TAGS: no_rotate no_vmirror no_monster_gen no_item_gen
MONS: butterfly
MONS: nothing w:4 / jessica w:1
KFEAT: _ = altar_nemelex_xobeh
COLOUR: x = lightred
TILE: x = wall_pebble_red
DEPTH: 2-9
MAP
.... ....
..xx...xx..
..xxxx.xxxx..
.xx..x+x..xx.
.xx._.1.1.xx.
..xx.1.1.xx..
..xx.2.xx..
..xx.xx..
..xxx..
.....
ENDMAP
NAME: nemelex_spade_bored_becter
TAGS: overflow_altar_nemelex_xobeh transparent
TAGS: no_rotate no_vmirror no_monster_gen no_item_gen
KFEAT: _ = altar_nemelex_xobeh
KFEAT: o = known shaft trap
KFEAT: p = shaft trap
NSUBST: ' = 4:o / 2:p / *:.
COLOUR: x = darkgrey
TILE: x = wall_pebble_darkgray
DEPTH: 2-9
MAP
.....
..xxx..
..xx'xx..
..xx'''xx..
..xx''_''xx..
..xx'''''''xx..
.xx'''''''''xx.
.x'''xxxxx'''x.
.xx'+x.x.x+'xx.
..xxx..x..xxx..
.....xxx.....
.....
ENDMAP
NAME: okawaru_gym_becter
TAGS: uniq_altar_okawaru temple_overflow_okawaru
TAGS: transparent mini_float
MONS: training dummy ; club
KFEAT: _ = altar_okawaru
DEPTH: 2-9
MAP
.....
.........
.vv...vv.
..v1...1v..
....._.....
..v1...1v..
.vv...vv.
.........
.....
ENDMAP
NAME: trog_butcher_becter
TAGS: overflow_altar_trog mini_float
: if you.absdepth() < 6 then
MONS: orc ; hand axe . animal skin
MONS: giant gecko / rat / giant newt / quokka
ITEM: giant gecko chunk q:1 / rat chunk q:1 / \
giant newt chunk q:1 / quokka chunk q:1
: else
MONS: orc warrior ; war axe . animal skin
MONS: sky beast / sheep / iguana / worker ant
ITEM: sky beast chunk q:1 / sheep chunk q:1 / \
iguana chunk q:1 / worker ant chunk q:1
: end
NSUBST: ' = 3:2 / *:.
KPROP: 1y" = bloody
KFEAT: _ = altar_trog
KFEAT: ^ = known shaft trap
KFEAT: m = iron_grate
COLOUR: m = darkgrey
SUBST: y = x
SUBST: " = .
DEPTH: 2-9
MAP
xxxxxxx
xx'''''xx
xx.xxxxxxxx
xx+xmmmx^yx
xx.."1d""yx
xx..._"..xx
xx.....xx
xx...xx
@
ENDMAP
NAME: trog_hazing_becter
TAGS: overflow_altar_trog mini_float no_monster_gen no_item_gen no_pool_fixup
MONS: goblin ; stone q:5 . animal skin / hobgoblin ; stone q:5 . animal skin /\
kobold ; stone q:5 | throwing net q:1 . animal skin /
ITEM: stone
NSUBST: T = 6:1 / *:.
SUBST: . = d....
KFEAT: _ = altar_trog
KFEAT: m = iron_grate
COLOUR: m = darkgrey
DEPTH: 2-9
MAP
xxxxx
xxmmmxx
xx.._..xx
xTw...wTx
xTWw.wWTx
xTTw.wTTx
xxTw.wTxx
xxx.xxx
xx@xx
ENDMAP
NAME: trog_three_pillars_becter
TAGS: overflow_altar_trog transparent mini_float
KFEAT: _ = altar_trog
SUBST: y = x..
SUBST: z = xx.
DEPTH: 2-9
MAP
..........
.......yy..
..yy..zxxy.
.yxxz.xbxy.
.yxb...xxy.
.yxx._.....
.......xy..
.....zbxy..
..yxxy..
...yy...
......
ENDMAP
NAME: tso_oasis_becter
TAGS: temple_overflow_the_shining_one transparent mini_float
TAGS: no_item_gen no_monster_gen
KMONS: f = plant
SUBST: ` = ff.
COLOUR: . = yellow
FTILE: `.Tf = floor_sand
FTILE: _ = floor_limestone
COLOUR: c = white
TILE: c = wall_church
KFEAT: _ = altar_the_shining_one
MAP
....
..``....
.`ww`...
..``..c..
......+cc..
..T..cc_cc.
.....ccc..
....c..
....
ENDMAP
NAME: yredelemnul_forgotten_temple_becter
TAGS: temple_overflow_yredelemnul no_monster_gen no_item_gen mini_float
KFEAT: _ = altar_yredelemnul
KFEAT: . = known web trap / .
: if you.absdepth() < 6 then
KMONS: _ = spectral dwarf
:else
KMONS: _ = spectral elf
:end
DEPTH: 2-9
MAP
xxxxxxxxx
xcccccccx
xc.._..cx
xcc...ccx
xc.....cx
xcc...ccx
xxcc+ccxx
xxx@xxx
ENDMAP
|