From 9e8585c27c63d6b3408d3104d9bbeeb62ae7b997 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sat, 14 May 2011 00:09:10 +0000 Subject: [PATCH] New lore associated with the Spellblade and Eden's Guile artifacts git-svn-id: http://svn.net-core.org/repos/t-engine4@3361 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/class/Object.lua | 3 +++ .../data/general/objects/world-artifacts.lua | 2 ++ game/modules/tome/data/lore/angolwen.lua | 12 ++++++++++++ game/modules/tome/data/lore/misc.lua | 19 +++++++++++++++++++ 4 files changed, 36 insertions(+) diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua index 4ee6aab34a..bab5378348 100644 --- a/game/modules/tome/class/Object.lua +++ b/game/modules/tome/class/Object.lua @@ -614,6 +614,9 @@ end --- On identification, add to lore function _M:on_identify() + if self.on_id_lore then + game.player:learnLore(self.on_id_lore) + end if self.unique and self.desc and not self.no_unique_lore then game.player:additionalLore(self.unique, self:getName(), "artifacts", self.desc) game.player:learnLore(self.unique) diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index 12a85a782b..4a0b337e9a 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -480,6 +480,7 @@ newEntity{ base = "BASE_LONGSWORD", color=colors.AQUAMARINE, rarity = 250, desc = [[Mages sometimes have funny ideas. Archmage Varil once learned how to handle a sword and found he preferred wielding it instead of his staff.]], + on_id_lore = "spellblade", cost = 1000, require = { stat = { mag=28, str=28, dex=28 }, }, @@ -555,6 +556,7 @@ newEntity{ base = "BASE_LEATHER_BOOT", name = "Eden's Guile", unided_name = "pair of yellow boots", desc = [[The boots of a Rogue outcast, who knew that the best way to deal with a problem was to run from it.]], + on_id_lore = "eden-guile", color = colors.YELLOW, level_range = {1, 20}, rarity = 200, diff --git a/game/modules/tome/data/lore/angolwen.lua b/game/modules/tome/data/lore/angolwen.lua index e8b8d5fb3e..b424b899be 100644 --- a/game/modules/tome/data/lore/angolwen.lua +++ b/game/modules/tome/data/lore/angolwen.lua @@ -65,3 +65,15 @@ Magical runes and items are imbued with an attachment to certain elemental threa Some believe that magic is inherently wrong, that the so-called twisting of the elements with one's will can only lead to terrible things. As students of Angolwen I assume you disagree! Magic is simply an extension of the forces of nature, and are we not natural creatures that use it? But remember that magic is still a powerful force that can be used for good or ill. Magic is indeed a tool of immense value - use it wisely. ]], } + +newLore{ + id = "spellblade", + category = "angolwen", + name = "The spellblade", + lore = [[From the desk of Archmage Varil, +Another day dawns on Angolwen. I hesitate to write this, but it almost feels as if peace is once again returning to Eyal. Saying this, I almost expect war and destruction to erupt immediately - fate is anything if not spiteful. Regardless, my sleep grows less disturbed by my memories of the Spellhunt day by day, and I can now devote myself wholly to the betterment of our cloistered community here in the mountains. + +This is not to say that life has been without conflict at all. An agent of the Ziguranth infiltrated Angolwen under the guise of a travelling alchemist a few days ago; an unhappy first, I'm afraid. Having used choking powder to incapacitate the guards and rob the surrounding mages of their voices, things may have turned ugly if Linaniil hadn't been passing by on one of her walks. Little was left of that man... or the tree he hid behind... or many of the surrounding buildings, to be honest. + +In a way, the incident lit a fire under me to pursue my studies and develop my powers, but I must admit that my interest in staff practice has waned as of late. My fencing, on the other hand, improves by the day. Hmm... I wonder if I can get some of the enchanters to help me "augment" my old sword. After all, what is a blade but a sharpened metal staff?]], +} diff --git a/game/modules/tome/data/lore/misc.lua b/game/modules/tome/data/lore/misc.lua index 532dfe3d4d..716f6b414b 100644 --- a/game/modules/tome/data/lore/misc.lua +++ b/game/modules/tome/data/lore/misc.lua @@ -420,3 +420,22 @@ Yet spells of fiery rages born, Our lands of bygone ages torn, Gone is trust, wrath is red. ]] } + +newLore{ + id = "eden-guile", + category = "artifacts", + name = "Running man", + lore = [[Running man, running man +Your time is ending soon +Running man, running man +Will not save sun nor moon + +Running man, running man +Survival growing slim +Running man, running man +You know your fate is grim + +Running man, running man +Now's the time to choose +Running man, running man +Your honour or your shoes!]] } -- GitLab