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

Big new lore, detailing the various races. Look for the first pages in Last Hope and find the rest

git-svn-id: http://svn.net-core.org/repos/t-engine4@3297 51575b47-30f0-44d4-a5cc-537603b46e54
parent 33544afd
No related branches found
No related tags found
No related merge requests found
Showing
with 243 additions and 17 deletions
......@@ -77,7 +77,7 @@ newEntity{
},
npc_list = mod.class.NPC:loadList("/data/general/npcs/thieve.lua"),
grid_list = mod.class.Grid:loadList("/data/general/grids/basic.lua"),
object_list = mod.class.Object:loadList("/data/general/objects/objects.lua"),
object_list = mod.class.Object:loadList("/data/general/objects/objects-maj-eyal.lua"),
trap_list = mod.class.Trap:loadList("/data/general/traps/alarm.lua"),
levels = { [2] = {
all_lited=true, all_remembered=true,
......
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
for i = 3, 10 do
local l = mod.class.interface.PlayerLore.lore_defs["races-"..i]
newEntity{ base = "BASE_LORE",
define_as = "RACES_NOTE"..i,
subtype = "analysis", unique=true,
name = l.name, lore="races-"..i,
level_range = {20, 50},
rarity = 40,
encumberance = 0,
cost = 2,
}
end
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local loadIfNot = function(f)
if loaded[f] then return end
load(f, entity_mod)
end
loadIfNot("/data/general/objects/objects.lua")
-- Special lore
loadIfNot("/data/general/objects/lore/maj-eyal.lua")
......@@ -280,12 +280,15 @@ newEntity{
{id=true, defined="FOUNDATION_NOTE4"},
{id=true, defined="FOUNDATION_NOTE5"},
{id=true, defined="FOUNDATION_NOTE6"},
{id=true, defined="RACES_NOTE0"},
{id=true, defined="RACES_NOTE1"},
{id=true, defined="RACES_NOTE2"},
},
},
}
-------------------------------------------------------------
-- Last Hope
-- Zigu
-------------------------------------------------------------
newEntity{
define_as = "ZIGUR_LIBRARY",
......
This diff is collapsed.
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
load("/data/general/objects/mummy-wrappings.lua")
for i = 1, 3 do
......
......@@ -17,4 +17,4 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
-- Allows undeads to pass as normal humans
newEntity{ define_as = "CLOAK_DECEPTION",
......
......@@ -17,4 +17,4 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
......@@ -17,5 +17,4 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-far-east.lua")
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
for i = 1, 5 do
newEntity{ base = "BASE_LORE",
......
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
for i = 1, 5 do
newEntity{ base = "BASE_LORE",
......
......@@ -17,4 +17,4 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
newEntity{ base = "BASE_LORE",
define_as = "UNDEAD_POEM_LEVEL_2",
......
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
newEntity{ base = "BASE_GEM",
define_as = "ATAMATHON_RUBY_EYE",
......
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
for i = 1, 4 do
newEntity{ base = "BASE_LORE",
......
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
for i = 1, 5 do
newEntity{ base = "BASE_LORE",
......
......@@ -21,4 +21,4 @@ local Talents = require "engine.interface.ActorTalents"
local Stats = require "engine.interface.ActorStats"
local DamageType = require "engine.DamageType"
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
newEntity{ base = "BASE_LORE",
define_as = "DRAFT_LETTER",
......
......@@ -17,7 +17,7 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
load("/data/general/objects/objects.lua")
load("/data/general/objects/objects-maj-eyal.lua")
for i = 1, 7 do
newEntity{ base = "BASE_LORE",
......
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