From 280441a58acbdc49ad9047c88cbdce536489d418 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Tue, 14 Feb 2012 08:45:08 +0000 Subject: [PATCH] back to the future git-svn-id: http://svn.net-core.org/repos/t-engine4@4865 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/general/objects/scrolls.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/game/modules/tome/data/general/objects/scrolls.lua b/game/modules/tome/data/general/objects/scrolls.lua index cc6c06735c..eb139d777f 100644 --- a/game/modules/tome/data/general/objects/scrolls.lua +++ b/game/modules/tome/data/general/objects/scrolls.lua @@ -110,6 +110,16 @@ newEntity{ desc = [[This parchment contains some lore.]], } +newEntity{ + define_as = "BASE_LORE_RANDOM", + type = "lore", subtype="lore", not_in_stores=true, no_unique_lore=true, + unided_name = "scroll", identified=true, + display = "?", color=colors.ANTIQUE_WHITE, image="object/scroll.png", + encumber = 0, + checkFilter = function(self) if self.lore and game:getPlayer(true).lore_known and game:getPlayer(true).lore_known[self.lore] then print('[LORE] refusing', self.lore) return false else return true end end, + desc = [[This parchment contains some lore.]], +} + ----------------------------------------------------------- -- Infusions ----------------------------------------------------------- -- GitLab