From 457a6fada97b701166d069bc90517fe5b7271112 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Mon, 8 Nov 2010 12:59:23 +0000 Subject: [PATCH] New vaults in the old forest git-svn-id: http://svn.net-core.org/repos/t-engine4@1826 51575b47-30f0-44d4-a5cc-537603b46e54 --- .../tome/data/maps/vaults/plantlife-dark.lua | 43 +++++++++++++++ .../data/maps/vaults/thief-hideout-dark.lua | 55 +++++++++++++++++++ .../tome/data/zones/old-forest/zone.lua | 2 +- 3 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 game/modules/tome/data/maps/vaults/plantlife-dark.lua create mode 100644 game/modules/tome/data/maps/vaults/thief-hideout-dark.lua diff --git a/game/modules/tome/data/maps/vaults/plantlife-dark.lua b/game/modules/tome/data/maps/vaults/plantlife-dark.lua new file mode 100644 index 0000000000..d067c73699 --- /dev/null +++ b/game/modules/tome/data/maps/vaults/plantlife-dark.lua @@ -0,0 +1,43 @@ +-- ToME - Tales of Maj'Eyal +-- 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} + +rotates = {"default", "90", "180", "270", "flipx", "flipy"} + +defineTile('.', "GRASS_DARK1") +defineTile('#', {"TREE_DARK1","TREE_DARK2","TREE_DARK3","TREE_DARK4","TREE_DARK5","TREE_DARK6","TREE_DARK7","TREE_DARK8","TREE_DARK9","TREE_DARK10","TREE_DARK11","TREE_DARK12","TREE_DARK13","TREE_DARK14","TREE_DARK15","TREE_DARK16","TREE_DARK17","TREE_DARK18","TREE_DARK19","TREE_DARK20"}) +defineTile('X', {"HARDTREE_DARK1","HARDTREE_DARK2","HARDTREE_DARK3","HARDTREE_DARK4","HARDTREE_DARK5","HARDTREE_DARK6","HARDTREE_DARK7","HARDTREE_DARK8","HARDTREE_DARK9","HARDTREE_DARK10","HARDTREE_DARK11","HARDTREE_DARK12","HARDTREE_DARK13","HARDTREE_DARK14","HARDTREE_DARK15","HARDTREE_DARK16","HARDTREE_DARK17","HARDTREE_DARK18","HARDTREE_DARK19","HARDTREE_DARK20"}) +defineTile('!', "ROCK_VAULT") + +defineTile('V', "GRASS_DARK1", nil, {random_filter={name="poison vine"}}) +defineTile('H', "GRASS_DARK1", {random_filter={add_levels=5, ego_chance=50}}, {random_filter={name="huorn", add_levels=3}}) + +startx = 4 +starty = 6 + +return { +[[#XXXXXXX#]], +[[XXV...VXX]], +[[XV.VVV.VX]], +[[X..VHV..X]], +[[XV.VVV.VX]], +[[XXV...VXX]], +[[#XXX!XXX#]], +} diff --git a/game/modules/tome/data/maps/vaults/thief-hideout-dark.lua b/game/modules/tome/data/maps/vaults/thief-hideout-dark.lua new file mode 100644 index 0000000000..60a32cb981 --- /dev/null +++ b/game/modules/tome/data/maps/vaults/thief-hideout-dark.lua @@ -0,0 +1,55 @@ +-- ToME - Tales of Maj'Eyal +-- 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} + +rotates = {"default", "90", "180", "270", "flipx", "flipy"} + +defineTile('.', "FLOOR") +defineTile(',', "GRASS_DARK1") +defineTile('#', "WALL") +defineTile('X', "HARDWALL") +defineTile('+', "DOOR") +defineTile('!', "DOOR_VAULT") + +defineTile('p', "FLOOR", nil, {random_filter={name="rogue", add_levels=3}}) +defineTile('P', "FLOOR", nil, {random_filter={name="bandit", add_levels=5}}) + +defineTile('&', "FLOOR", {random_filter={type="potion"}}) +defineTile('$', "FLOOR", "MONEY_SMALL") +defineTile('*', "FLOOR", {random_filter={type="gem"}}) + +startx = 10 +starty = 0 + +return { +[[,,,,,,,,,,,,,,]], +[[,XXXXXXX,,,,,,]], +[[,X*#$$$X,,,,,,]], +[[,X*#$$$X,,,,,,]], +[[,X*#$$$X,,,,,,]], +[[,XXXX+XX#!###,]], +[[,#..#.#.....#,]], +[[,#.p+.#.p.p.#,]], +[[,####.#..P..#,]], +[[,#P.#.#.p.p.#,]], +[[,#&.+.+.....#,]], +[[,############,]], +[[,,,,,,,,,,,,,,]], +} \ No newline at end of file diff --git a/game/modules/tome/data/zones/old-forest/zone.lua b/game/modules/tome/data/zones/old-forest/zone.lua index 070d6ecaa9..e1f3e2b4f4 100644 --- a/game/modules/tome/data/zones/old-forest/zone.lua +++ b/game/modules/tome/data/zones/old-forest/zone.lua @@ -38,7 +38,7 @@ return { edge_entrances = {6,4}, rooms = {"forest_clearing", {"lesser_vault",8}}, rooms_config = {forest_clearing={pit_chance=5, filters={{type="insect", subtype="ant"}, {type="insect"}, {type="animal", subtype="snake"}, {type="animal", subtype="canine"}}}}, - lesser_vaults_list = {"honey_glade_dark", "troll-hideout-dark", "mage-hideout-dark"}, + lesser_vaults_list = {"honey_glade_dark", "troll-hideout-dark", "mage-hideout-dark", "thief-hideout-dark", "plantlife-dark"}, ['.'] = "GRASS_DARK1", ['#'] = {"TREE_DARK1","TREE_DARK2","TREE_DARK3","TREE_DARK4","TREE_DARK5","TREE_DARK6","TREE_DARK7","TREE_DARK8","TREE_DARK9","TREE_DARK10","TREE_DARK11","TREE_DARK12","TREE_DARK13","TREE_DARK14","TREE_DARK15","TREE_DARK16","TREE_DARK17","TREE_DARK18","TREE_DARK19","TREE_DARK20",}, up = "UP", -- GitLab