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

New lore about the Fearscape

git-svn-id: http://svn.net-core.org/repos/t-engine4@3382 51575b47-30f0-44d4-a5cc-537603b46e54
parent 395734d4
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ function _M:setScroll(i)
local tstr = self.lines[z]
if not tstr then break end
local gen = self.font:draw(tstr, self.iw - 10, 255, 255, 255)
for i = #gen, 1, -1 do
for i = 1, #gen do
self.dlist[#self.dlist+1] = gen[i]
nb = nb + 1
if nb >= self.max_display then stop = true break end
......
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 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
--------------------------------------------------------------------------
-- Fearscape, the demon plane
--------------------------------------------------------------------------
newLore{
id = "fearscape-entry",
category = "fearscape",
name = "a fearsome sight",
lore = [[You stand in a field of fire, the flames dancing back and forth like hell-spawned corn waving in the wind. It licks your feet, your skin, your face, and writhes around in tiny shapes which tear across your flesh and crawl down your throat. It burns and blazes through your body, and crazed thoughts fill your mind. This is Goedalath they tell you, the Fearscape, and you have no rightful place here.
In the distance you see looming, demonic shapes of absolute darkness, towering above the blazing land like wardens of doom. The sky is black, but above your head hangs a round world that you recognise as Eyal. Across the burning plains gather armies of fiendish figures, and glowing eyes turn up with hateful glowers to your home world. Suddenly both you and it and seem small and frail. As the flames fill your body with pain your only thought is of escape.]],
}
......@@ -39,5 +39,6 @@ load("/data/lore/spellblaze.lua")
load("/data/lore/orc-prides.lua")
load("/data/lore/age-allure.lua")
load("/data/lore/age-pyre.lua")
load("/data/lore/fearscape.lua")
load("/data/lore/misc.lua")
load("/data/lore/arena.lua")
......@@ -203,6 +203,7 @@ newTalent{
end
game.logPlayer(game.player, "#LIGHT_RED#You are taken to the Fearscape!")
game.player:learnLore("fearscape-entry")
level.allow_demon_plane_damage = true
end)
......
......@@ -64,4 +64,7 @@ return {
nb_trap = {12, 15},
},
},
on_enter = function(lev, old_lev, newzone)
if newzone then game.player:learnLore("fearscape-entry") end
end,
}
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