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

When encountering the new special farportal zone, you will learn a new painted lore, it is awesome!

git-svn-id: http://svn.net-core.org/repos/t-engine4@4200 51575b47-30f0-44d4-a5cc-537603b46e54
parent f515bf12
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ A wave of mental and magical power blasts into you with the might of a falling s
game:changeLevel(1, "shertul-fortress")
local spot = game.level:pickSpot{type="spawn", subtype="farportal"}
game.player:move(spot.x, spot.y, true)
game.player:learnLore("shertul-fortress-caldizar")
end},
}
}
......
game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png

385 KiB

......@@ -116,3 +116,11 @@ newLore{
image = "fortress_takeoff.png",
lore = [[Yiilkgur, the Sher'Tul Fortress is re-activated and raises from the depths of Nur toward the sky.]],
}
newLore{
id = "shertul-fortress-caldizar",
category = "sher'tul",
name = "a living Sher'Tul?!", always_pop = true,
image = "inside_caldizar_fortress.png",
lore = [[You somehow got teleported to an other Sher'Tul Fortress, in a very alien location. There you saw a living Sher'Tul.]],
}
......@@ -40,7 +40,7 @@ newEntity{ base = "BASE_NPC_SHERTUL", define_as = "CALDIZAR",
can_talk = "shertul-fortress-caldizar",
seen_by = function(self, who)
if not game.party:hasMember(who) then return end
if not game.party:hasMember(who) or not who.player then return end
self.seen_by = nil
local chat = require("engine.Chat").new(self.can_talk, self, who, {player=who})
local d = chat:invoke()
......
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