Skip to content
Snippets Groups Projects
Commit 39ccc056 authored by dg's avatar dg
Browse files

No need to use the orb of scrying to id artifacts anymore

git-svn-id: http://svn.net-core.org/repos/t-engine4@6350 51575b47-30f0-44d4-a5cc-537603b46e54
parent c128f510
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,6 @@ newBirthDescriptor ...@@ -89,7 +89,6 @@ newBirthDescriptor
starting_quest = "start-allied", starting_quest = "start-allied",
blood_color = colors.GREY, blood_color = colors.GREY,
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} }, resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
mana_regen = 0.5, mana_regen = 0.5,
mana_rating = 7, mana_rating = 7,
......
...@@ -47,7 +47,6 @@ newBirthDescriptor{ ...@@ -47,7 +47,6 @@ newBirthDescriptor{
resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}), resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}),
resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}), resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}),
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} }, resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
}, },
random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, }, random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
......
...@@ -51,7 +51,6 @@ newBirthDescriptor{ ...@@ -51,7 +51,6 @@ newBirthDescriptor{
starting_zone = "trollmire", starting_zone = "trollmire",
starting_quest = "start-allied", starting_quest = "start-allied",
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} }, resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
}, },
cosmetic_unlock = { cosmetic_unlock = {
......
...@@ -52,7 +52,6 @@ newBirthDescriptor{ ...@@ -52,7 +52,6 @@ newBirthDescriptor{
resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}), resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}),
resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}), resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}),
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} }, resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
}, },
random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, }, random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
......
...@@ -53,7 +53,6 @@ newBirthDescriptor{ ...@@ -53,7 +53,6 @@ newBirthDescriptor{
resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}), resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}),
resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}), resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}),
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} }, resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
}, },
random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, }, random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
......
...@@ -284,12 +284,11 @@ newEntity{ define_as = "ORB_SCRYING", ...@@ -284,12 +284,11 @@ newEntity{ define_as = "ORB_SCRYING",
unique = true, quest=true, no_unique_lore=true, unique = true, quest=true, no_unique_lore=true,
type = "orb", subtype="orb", type = "orb", subtype="orb",
unided_name = "orb of scrying", unided_name = "orb of scrying",
name = "Orb of Scrying", name = "Scrying Orb",
display = "*", color=colors.VIOLET, image = "object/artifact/orb_scrying.png", display = "*", color=colors.VIOLET, image = "object/artifact/orb_scrying.png",
encumber = 1, encumber = 1,
plot = true, quest = true, plot = true, quest = true,
save_hotkey = true, desc = [[This orb will automatically items you find.]],
desc = [[This orb was given to you by Elisa the Halfling scryer. It will automatically identify normal and rare items for you and can be activated to contact Elisa for rarer items.]],
on_drop = function(self, who) on_drop = function(self, who)
if who == game.player then if who == game.player then
...@@ -298,18 +297,8 @@ newEntity{ define_as = "ORB_SCRYING", ...@@ -298,18 +297,8 @@ newEntity{ define_as = "ORB_SCRYING",
end end
end, end,
max_power = 1, power_regen = 1,
use_power = { name = "use the orb", power = 1,
use = function(self, who)
local Chat = require("engine.Chat")
local chat = Chat.new("elisa-orb-scrying", {name="Elisa the Scryer"}, who, {version="elisa"})
chat:invoke()
return {id=true, used=true}
end
},
carrier = { carrier = {
auto_id = 2, auto_id = 100,
}, },
} }
......
...@@ -860,13 +860,8 @@ newTalent{ ...@@ -860,13 +860,8 @@ newTalent{
type = {"base/race", 1}, type = {"base/race", 1},
no_npc_use = true, no_npc_use = true,
no_unlearn_last = true, no_unlearn_last = true,
on_learn = function(self, t) self.auto_id = 2 end, mode = "passive",
action = function(self, t) on_learn = function(self, t) self.auto_id = 100 end,
local Chat = require("engine.Chat")
local chat = Chat.new("elisa-orb-scrying", {name="The Way"}, self, {version="yeek"})
chat:invoke()
return true
end,
info = function(self, t) info = function(self, t)
return ([[You merge your mind with the rest of the Way for a brief moment; the sum of all yeek knowledge gathers in your mind, return ([[You merge your mind with the rest of the Way for a brief moment; the sum of all yeek knowledge gathers in your mind,
and allows you to identify any item you could not recognize yourself.]]) and allows you to identify any item you could not recognize yourself.]])
......
...@@ -51,14 +51,9 @@ newTalent{ ...@@ -51,14 +51,9 @@ newTalent{
name = "Knowledge of the Past", name = "Knowledge of the Past",
type = {"undead/base", 1}, type = {"undead/base", 1},
no_npc_use = true, no_npc_use = true,
mode = "passive",
no_unlearn_last = true, no_unlearn_last = true,
on_learn = function(self, t) self.auto_id = 2 end, on_learn = function(self, t) self.auto_id = 100 end,
action = function(self, t)
local Chat = require("engine.Chat")
local chat = Chat.new("elisa-orb-scrying", {name="Past memories"}, self, {version="undead"})
chat:invoke()
return true
end,
info = function(self) info = function(self)
return ([[You concentrate for a moment to recall some of your memories as a living being and look for knowledge to identify rare objects.]]) return ([[You concentrate for a moment to recall some of your memories as a living being and look for knowledge to identify rare objects.]])
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