Skip to content
Snippets Groups Projects
Commit 73f1f1f9 authored by dg's avatar dg
Browse files

Fixed lore in the ID and graveyard

git-svn-id: http://svn.net-core.org/repos/t-engine4@6193 51575b47-30f0-44d4-a5cc-537603b46e54
parent 84cac185
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ newEntity{
add_displays = {class.new{image="terrain/signpost.png"}},
always_remember = true,
on_move = function(self, x, y, who)
if who.player then who:learnLore(self.lore) end
if who.player then game.party:learnLore(self.lore) end
end,
}
end
......@@ -55,7 +55,7 @@ newEntity{ base = "FLOOR", define_as = "GRAVE",
nice_editer = grass_editer,
block_move = function(self, x, y, who, act, couldpass)
if not who or not who.player or not act then return true end
if self.lore then who:learnLore(self.lore) end
if self.lore then game.party:learnLore(self.lore) end
return true
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