From c879caf783d55e4fa456c7e2a371186a2c17807d Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Thu, 14 Oct 2010 23:36:46 +0000 Subject: [PATCH] New vault possible in amon sul git-svn-id: http://svn.net-core.org/repos/t-engine4@1518 51575b47-30f0-44d4-a5cc-537603b46e54 --- .../tome/data/maps/vaults/amon-sul-crypt.lua | 44 +++++++++++++++++++ .../tome/data/zones/tower-amon-sul/zone.lua | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 game/modules/tome/data/maps/vaults/amon-sul-crypt.lua diff --git a/game/modules/tome/data/maps/vaults/amon-sul-crypt.lua b/game/modules/tome/data/maps/vaults/amon-sul-crypt.lua new file mode 100644 index 0000000000..bf95b7d6ca --- /dev/null +++ b/game/modules/tome/data/maps/vaults/amon-sul-crypt.lua @@ -0,0 +1,44 @@ +-- 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('X', "HARDWALL") +defineTile('!', "DOOR_VAULT") +defineTile('D', "DOOR") +defineTile('^', "FLOOR", nil, nil, {random_filter={add_levels=4}}) +defineTile('S', "FLOOR", {random_filter={add_levels=4}}, {random_filter={name="degenerated skeleton warrior", add_levels=4}}) +defineTile('A', "FLOOR", {random_filter={type="armor", ego_chance=25}}, nil) +defineTile('G', "FLOOR", nil, {random_filter={name="armoured skeleton warrior", add_levels=4}}) +rotates = {"default", "90", "180", "270", "flipx", "flipy"} + +return { +[[.........]], +[[...X^X...]], +[[..XX!XX..]], +[[.XXX^XXX.]], +[[.XSD.DSX.]], +[[.XXXGXXX.]], +[[.XSD.DAX.]], +[[.XXX^XXX.]], +[[..XX!XX..]], +[[...X^X...]], +[[.........]], +} diff --git a/game/modules/tome/data/zones/tower-amon-sul/zone.lua b/game/modules/tome/data/zones/tower-amon-sul/zone.lua index ea1c403ac8..23a1a08f14 100644 --- a/game/modules/tome/data/zones/tower-amon-sul/zone.lua +++ b/game/modules/tome/data/zones/tower-amon-sul/zone.lua @@ -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"}, + lesser_vaults_list = {"circle","amon-sul-crypt"}, lite_room_chance = 100, ['.'] = "FLOOR", ['#'] = "WALL", -- GitLab