Skip to content
Snippets Groups Projects
Commit 68827030 authored by dg's avatar dg
Browse files

Two new greater vaults

git-svn-id: http://svn.net-core.org/repos/t-engine4@5822 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4b4618a3
No related branches found
No related tags found
No related merge requests found
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011, 2012 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
setStatusAll{no_teleport=true}
rotates = {"default", "90", "180", "270", "flipx", "flipy"}
startx = 7
starty = 0
--Traps
defineTile('f',"FLOOR", nil, nil, {random_filter={name="ice blast trap"}})
--Greed will be your undoing
defineTile('S',"FLOOR", {random_filter={add_levels = 10, tome_mod = "vault"}}, nil, {add_levels=20, random_filter={name="ice blast trap"}})
--Enemies
defineTile('o',"FLOOR", nil, {random_filter={name = "black ooze"}}) -- to lull them into a false sense of security
defineTile('w',"FLOOR", nil, {random_filter={add_levels=10,name = "wretchling"}})
defineTile('D',"FLOOR", nil, {random_filter={add_levels=20,name = "venom wyrm"}})
defineTile('H',"FLOOR", nil, {random_filter={add_levels=10,name = "worm that walks"}})
--Goodies
defineTile('j',"FLOOR",{random_filter={add_levels=10, tome_mod = "vault"}})
defineTile('$',"FLOOR",{random_filter={add_levels = 10, tome_mod = "gvault"}})
defineTile('%',"FLOOR",{random_filter={add_levels = 20, tome_mod = "gvault"}})
defineTile('&',"FLOOR",{random_filter={add_levels = 20, tome_mod = "vault"}})
--Tiles
defineTile('.', "FLOOR")
defineTile('X', "HARDWALL")
defineTile('#', "DOOR_VAULT", nil, nil, nil, {room_map={special=false, room=false, can_open=true}})
defineTile('=', "DOOR")
return {
[[XXXXXXX#XXXXXXX]],
[[X$&$$$X.X$$$&$X]],
[[XXXXX=X.X=XXXXX]],
[[X...XfX.XfX...X]],
[[X.w...XoX...w.X]],
[[X.X.X.X.X.X.X.X]],
[[X..X.XX.XX.X..X]],
[[XX..X.X=X.X..XX]],
[[Xw.X.X...X.X.wX]],
[[XX.....S.....XX]],
[[X.X.XX.X.XX.X.X]],
[[X...X.X.X.X...X]],
[[X..X.X.X.X.X..X]],
[[X..DX.XHX.XD..X]],
[[XXXXXX.X.XXXXXX]],
[[X%jjj=fXf=jjj%X]],
[[XXXXXXXXXXXXXXX]],
}
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011, 2012 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
setStatusAll{no_teleport=true}
rotates = {"default", "90", "180", "270", "flipx", "flipy"}
startx = 7
starty = 0
defineTile('.', "FLOOR")
defineTile('X', "HARDWALL")
defineTile('#', "DOOR_VAULT", nil, nil, nil, {room_map={special=false, room=false, can_open=true}})
defineTile('s', "FLOOR", nil , {random_filter={add_levels=5,type="spiderkin",subtype="spider"}})
defineTile('S', "FLOOR", {random_filter={add_levels=10, tome_mod=vault}}, {random_filter={add_levels=10, type="spiderkin",subtype="spider"}})
defineTile('g', "FLOOR", {random_filter={add_levels=15, tome_mod=gvault}}, {random_filter={add_levels=15, type="spiderkin",subtype="spider"}})
defineTile('B', "FLOOR", {random_filter={add_levels=20, tome_mod=gvault}}, {random_filter={add_levels=20, type="spiderkin",subtype="spider"}})
defineTile('^', "FLOOR", nil, nil, {random_filter = {name="poison blast trap", add_levels=20}})
return {
[[...XXXX#XXXX...]],
[[..XXSs^.^ssXX..]],
[[.XXS^XXXXX^SXX.]],
[[XX.sS^s^s^Ss.XX]],
[[Xs.S.s.ggg..ssX]],
[[XS.s^S.gBgS^SSX]],
[[Xss..ssggg.ss.X]],
[[XXsSsS^s^.SsSXX]],
[[.XX^Ss.Ss.s.XX.]],
[[..XXsS.s^SsXX..]],
[[...XXXXXXXXX...]],
}
\ No newline at end of file
......@@ -22,7 +22,7 @@ local list = {
"double-t", "crypt", "treasure1", "diggers", "hillbert_curve", "quiet", "lightning-vault", "water-vault",
"32-chambers", "demon-nest-1", "demon-nest-2", "demon-nest-3", "frost-dragon-lair", "greater-money-vault",
"trapped-hexagon", "yin-yang", "zigzag-chambers", "rain-of-death", "paladin-vs-vampire", "orc-hatred", "lich-lair",
"greater-crypt", "trickvault",
"greater-crypt", "trickvault", "spider-den", "acidic-vault",
}
return function(gen, id, lev, old_lev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment