Skip to content
Snippets Groups Projects
Commit f885823c authored by DarkGod's avatar DarkGod
Browse files

New High Peak lore!

parent ee96e468
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -87,6 +87,7 @@ newEntity{
{type="armor", subtype="head", forbid_power_source={antimagic=true}, force_drop=true, tome_drops="boss", autoreq=true},
{type="armor", subtype="feet", forbid_power_source={antimagic=true}, force_drop=true, tome_drops="boss", autoreq=true},
},
resolvers.drops{chance=100, nb=1, {defined="ELANDAR_JOURNAL2"} },
resolvers.drops{chance=100, nb=5, {tome_drops="boss"} },
resolvers.talents{
......@@ -166,6 +167,7 @@ newEntity{
{type="armor", subtype="head", name="voratun helm", forbid_power_source={antimagic=true}, force_drop=true, tome_drops="boss", autoreq=true},
{type="armor", subtype="hands", name="voratun gauntlets", forbid_power_source={antimagic=true}, force_drop=true, tome_drops="boss", autoreq=true},
},
resolvers.drops{chance=100, nb=1, {defined="ARGONIEL_ATHAME"} },
resolvers.drops{chance=100, nb=1, {defined="PEARL_LIFE_DEATH"} },
resolvers.drops{chance=100, nb=5, {tome_drops="boss"} },
......
......@@ -23,6 +23,38 @@ load("/data/general/objects/lore/sunwall.lua")
local Stats = require "engine.interface.ActorStats"
local Talents = require "engine.interface.ActorTalents"
newEntity{ base = "BASE_LORE",
define_as = "ARGONIEL_DIAMOND", image = "object/artifact/atamathons_lost_ruby_eye.png",
name = "bloodsoaked diamond", lore="argoniel-1",
desc = [[A strangely wet diamond.]],
rarity = false,
encumberance = 0,
}
newEntity{ base = "BASE_LORE",
define_as = "ARGONIEL_ATHAME", image = "object/artifact/blood_runed_athame.png",
name = "bloodsoaked athame", lore="argoniel-2",
desc = [[A strangely wet athame.]],
rarity = false,
encumberance = 0,
}
newEntity{ base = "BASE_LORE",
define_as = "ELANDAR_JOURNAL1",
name = "journal", lore="elandar-1",
desc = [[A magically-preserved journal.]],
rarity = false,
encumberance = 0,
}
newEntity{ base = "BASE_LORE",
define_as = "ELANDAR_JOURNAL2",
name = "journal", lore="elandar-2",
desc = [[A magically-preserved journal.]],
rarity = false,
encumberance = 0,
}
-- The staff of absorption, the reason the game exists!
newEntity{ define_as = "STAFF_ABSORPTION_AWAKENED", base="BASE_STAFF",
power_source = {unknown=true},
......
......@@ -73,6 +73,10 @@ return {
},
},
post_process = function(level)
-- Place a lore notes
if level.level == 5 then game:placeRandomLoreObject("ARGONIEL_DIAMOND") end
if level.level == 8 then game:placeRandomLoreObject("ELANDAR_JOURNAL1") end
game.player:grantQuest("high-peak")
for uid, e in pairs(level.entities) do e.faction = e.hard_faction or "sorcerers" 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