diff --git a/game/modules/tome/data/lore/misc.lua b/game/modules/tome/data/lore/misc.lua index 3368ee22a0d1dac331e668b214b98430bc942cbd..d84d2234798af757d0cfb8b116336844ff087436 100644 --- a/game/modules/tome/data/lore/misc.lua +++ b/game/modules/tome/data/lore/misc.lua @@ -571,6 +571,18 @@ Somehow, your foe has invaded your very subconcious and is attacking you in your Free now to face this nightmare, you turn to find your foe. While you have a sense that having one of your dreamselves destroyed may not by itself be catastrophic, what would happen if several or many are cut down? Unwilling to find out, you resolve yourself to end this offensive intrustion into your mind.]], } + +newLore{ + id = "loot-vault-empty", always_pop = true, + category = "vault", + name = "Mocking Note", + lore = [[Dear graverobber, + +Try to be a little faster next time. + +Love, #{italic}#Eden#{normal}#]] +} + -------------------------------------------------------------- -- Misc bosses -------------------------------------------------------------- diff --git a/game/modules/tome/data/maps/vaults/loot-vault.lua b/game/modules/tome/data/maps/vaults/loot-vault.lua new file mode 100644 index 0000000000000000000000000000000000000000..33c7b6e454757b4ea6299d76116b957adf2f161b --- /dev/null +++ b/game/modules/tome/data/maps/vaults/loot-vault.lua @@ -0,0 +1,74 @@ +-- 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"} + +-- Forest Tomb +if rng.percent(66) then + startx = 4 + starty = 6 + + defineTile(',', "GRASS") + defineTile('.', "FLOOR") + defineTile('#', "HARDWALL") + defineTile('+', "DOOR_VAULT") + defineTile('$', "FLOOR", {random_filter={add_levels=10, tome_mod="vault"}}) + defineTile('W', "FLOOR", {random_filter={add_levels=10, tome_mod="vault"}}, {random_filter={add_levels=15, name="forest wight"}}) + + return { + [[,,,,,,,,,]], + [[,,,###,,,]], + [[,,#####,,]], + [[,##$$$##,]], + [[,##$W$##,]], + [[,,##.##,,]], + [[,,,#+#,,,]], + [[,,,,,,,,,]], + } +-- Empty vault +else + local lore = mod.class.Object.new{ + type = "lore", subtype="lore", + unided_name = "scroll", identified=true, + display = "?", color=colors.ANTIQUE_WHITE, image="object/scroll.png", + encumber = 0, + name = "Mocking Note", lore="loot-vault-empty", + desc = [[A small scrap of paper writen in a mocking tone.]], + level_range = {1, 20}, + rarity = false, + } + + defineTile('.', "FLOOR") + defineTile('?', "FLOOR", lore) + defineTile(',', "GRASS") + defineTile('#', "HARDWALL") + defineTile('+', "DOOR_VAULT") + + return { + [[,,,,,,,,,]], + [[,,,###,,,]], + [[,,#####,,]], + [[,##.?.##,]], + [[,##...##,]], + [[,,##.##,,]], + [[,,,#+#,,,]], + [[,,,,,,,,,]], + } +end diff --git a/game/modules/tome/data/zones/old-forest/zone.lua b/game/modules/tome/data/zones/old-forest/zone.lua index 698bc31280d35c6310bcec530d310608bf01d49a..63e68ede28f4549b31799444dbc8a0d788301149 100644 --- a/game/modules/tome/data/zones/old-forest/zone.lua +++ b/game/modules/tome/data/zones/old-forest/zone.lua @@ -41,7 +41,7 @@ return { edge_entrances = {4,6}, 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", "troll-hideout", "mage-hideout", "thief-hideout", "plantlife", "mold-path", "bandit-fortress",}, + lesser_vaults_list = {"honey_glade", "troll-hideout", "mage-hideout", "thief-hideout", "plantlife", "mold-path", "bandit-fortress","loot-vault"}, ['.'] = "GRASS", ['#'] = "TREE", up = "GRASS_UP4",