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

New vault types for amon sul

git-svn-id: http://svn.net-core.org/repos/t-engine4@1564 51575b47-30f0-44d4-a5cc-537603b46e54
parent a8356e28
No related branches found
No related tags found
No related merge requests found
-- ToME - Tales of Middle-Earth
-- Copyright (C) 2009, 2010 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}
defineTile('.', "FLOOR")
defineTile('D', "DOOR")
defineTile('X', "HARDWALL")
defineTile('M', "FLOOR", nil, {random_filter={subtype="molds", add_levels=4}})
defineTile('W', "FLOOR", nil, {random_filter={name="giant white rat"}})
defineTile('B', "FLOOR", {random_filter={type="money"}}, {random_filter={name="giant brown rat"}})
defineTile('G', "FLOOR", {random_filter={add_levels=4}}, {random_filter={name="giant grey rat"}})
rotates = {"default", "90", "180", "270", "flipx", "flipy"}
return {
[[.........WW......WW....]],
[[.XXXXXXXXX..XX..XX....W]],
[[.XMWWGWBGWX.XB..WW...X.]],
[[.DBWBXXWWBDWD..WXXB..D.]],
[[.XGBWBWWBMXWXM..MBG.MX.]],
[[.XXXXXXXXXXWXXXXXXXXX.W]],
[[...WW..............WW.W]],
}
-- ToME - Tales of Middle-Earth
-- Copyright (C) 2009, 2010 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}
defineTile('.', "FLOOR")
defineTile('D', "DOOR")
defineTile('!', "DOOR_VAULT")
defineTile('X', "HARDWALL")
defineTile('W', "FLOOR", {random_filter={subtype="staff", ego_chance=25, add_levels=4}})
defineTile('S', "FLOOR", {random_filter={type="scroll", ego_chance=25, add_levels=4}})
defineTile('M', "FLOOR", nil, {random_filter={name="skeleton mage", add_levels=4}})
rotates = {"default", "90", "180", "270", "flipx", "flipy"}
return {
[[.........]],
[[.XXXXXXX.]],
[[.XSSSSSX.]],
[[.XXXDXXX.]],
[[.X..M..X.]],
[[.X.M.M.X.]],
[[.X..M..X.]],
[[.XDX!XDX.]],
[[.XWX.XWX.]],
[[.XXX.XXX.]],
[[.........]],
}
......@@ -37,7 +37,7 @@ return {
force_last_stair = true,
nb_rooms = 10,
rooms = {"simple", "pilar", {"money_vault",5}, {"lesser_vault",8}},
lesser_vaults_list = {"circle"},
lesser_vaults_list = {"circle","amon-sul-crypt","rat-nest","skeleton-mage-cabal"},
lite_room_chance = 100,
['.'] = "FLOOR",
['#'] = "WALL",
......
......@@ -34,7 +34,7 @@ return {
class = "engine.generator.map.Roomer",
nb_rooms = 10,
rooms = {"simple", "pilar", {"money_vault",5}, {"lesser_vault",8}},
lesser_vaults_list = {"circle","amon-sul-crypt"},
lesser_vaults_list = {"circle","amon-sul-crypt","rat-nest","skeleton-mage-cabal"},
lite_room_chance = 100,
['.'] = "FLOOR",
['#'] = "WALL",
......
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