Skip to content
Snippets Groups Projects
Commit 71981dc7 authored by dg's avatar dg
Browse files

The (many) lore of Reknor now correctly generates, go read it!

git-svn-id: http://svn.net-core.org/repos/t-engine4@2673 51575b47-30f0-44d4-a5cc-537603b46e54
parent e5af1ac5
No related branches found
No related tags found
No related merge requests found
......@@ -61,29 +61,29 @@ newEntity{ define_as = "ATHAME_WEST",
for i = 1, 4 do
newEntity{ base = "BASE_LORE",
define_as = "IRON_THRONE_PROFIT"..i, unique=true,
define_as = "IRON_THRONE_PROFIT"..i,
name = "Iron Throne Profits History", lore="iron-throne-profits-"..i,
desc = [[A journal of the profits history of the Iron Throne dwarves.]],
rarity = 20,
rarity = false,
is_magic_device = false,
encumberance = 0,
}
end
newEntity{ base = "BASE_LORE",
define_as = "IRON_THRONE_LEDGER", unique=true,
define_as = "IRON_THRONE_LEDGER",
name = "Iron Throne trade ledger", lore="iron-throne-trade-ledger",
desc = [[A trade ledger of the Iron Throne dwarves.]],
rarity = 40,
rarity = false,
is_magic_device = false,
encumberance = 0,
}
newEntity{ base = "BASE_LORE",
define_as = "IRON_THRONE_LAST_WORDS", unique=true,
define_as = "IRON_THRONE_LAST_WORDS",
name = "Iron Throne Reknor expedition, last words", lore="iron-throne-last-words",
desc = [[Last words of a dwarven expedition to secure Reknor.]],
rarity = 40,
rarity = false,
is_magic_device = false,
encumberance = 0,
}
......@@ -74,6 +74,11 @@ return {
},
},
post_process = function(level)
-- Place a lore note on each level
game:placeRandomLoreObject("IRON_THRONE_PROFIT"..level.level)
if level.level == 2 then game:placeRandomLoreObject("IRON_THRONE_LEDGER") end
if level.level == 3 then game:placeRandomLoreObject("IRON_THRONE_LAST_WORDS") end
if level.level == 1 then
local l = game.zone:makeEntityByName(level, "terrain", "IRON_THRONE_EDICT")
if not l then return 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