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

mark of the spellblaze

git-svn-id: http://svn.net-core.org/repos/t-engine4@1922 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9358e0d8
No related branches found
No related tags found
No related merge requests found
Showing
with 237 additions and 4 deletions
......@@ -124,7 +124,7 @@ end
function _M:generateList()
local list = {}
if config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
if config.settings.tome and config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
list[#list+1] = {name="Character dump", action="dump"}
list[#list+1] = {name="Exit to main menu", action="exit"}
......
......@@ -124,7 +124,7 @@ end
function _M:generateList()
local list = {}
if config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
if config.settings.tome and config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
list[#list+1] = {name="Character dump", action="dump"}
list[#list+1] = {name="Exit to main menu", action="exit"}
......
......@@ -124,7 +124,7 @@ end
function _M:generateList()
local list = {}
if config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
if config.settings.tome and config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
list[#list+1] = {name="Character dump", action="dump"}
list[#list+1] = {name="Exit to main menu", action="exit"}
......
game/modules/tome/data/gfx/terrain/burnttree_alpha1.png

1.02 KiB

game/modules/tome/data/gfx/terrain/burnttree_alpha2.png

1.16 KiB

game/modules/tome/data/gfx/terrain/burnttree_alpha3.png

723 B

game/modules/tome/data/gfx/terrain/burnttree_alpha4.png

889 B

game/modules/tome/data/gfx/terrain/burnttree_alpha5.png

1.09 KiB

game/modules/tome/data/gfx/terrain/grass_burnt1.png

1.36 KiB

-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 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
load("/data/general/grids/basic.lua")
load("/data/general/grids/forest.lua")
load("/data/general/grids/water.lua")
load("/data/general/grids/lava.lua")
for i = 1, 20 do
newEntity{
define_as = "BURNT_TREE"..i,
name = "burnt tree",
image = "terrain/grass_burnt1.png",
add_displays = class:makeTrees("terrain/burnttree_alpha"),
display = '#', color=colors.LIGHT_GREEN, back_color={r=44,g=95,b=43},
always_remember = true,
can_pass = {pass_tree=1},
does_block_move = true,
block_sight = true,
dig = "GRASS",
}
end
newEntity{ define_as = "BURNT_GROUND",
name='burnt ground',
display='.', color=colors.UMBER, back_color=colors.DARK_GREY, image="terrain/grass_burnt1.png",
}
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 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
load("/data/general/npcs/rodent.lua", rarity(5))
load("/data/general/npcs/vermin.lua", rarity(5))
load("/data/general/npcs/faeros.lua", rarity(2))
load("/data/general/npcs/gwelgoroth.lua", rarity(2))
load("/data/general/npcs/elven-caster.lua", rarity(2))
--load("/data/general/npcs/all.lua", rarity(4, 65))
local Talents = require("engine.interface.ActorTalents")
newEntity{ base = "BASE_NPC_ELVEN_CASTER", define_as = "GRAND_CORRUPTOR",
allow_infinite_dungeon = true,
name = "Grand Corruptor", color=colors.VIOLET, unique = true,
desc = [[An elven corruptor, drawn to these blighted lands.]],
level_range = {30, nil}, exp_worth = 1,
rank = 3.5,
vim_regen = 40,
max_vim = 800,
max_life = resolvers.rngavg(300, 310), life_rating = 18,
resolvers.equip{
{type="weapon", subtype="staff", autoreq=true},
{type="armor", subtype="cloth", autoreq=true},
},
resolvers.drops{chance=100, nb=1, {unique=true} },
resolvers.drops{chance=100, nb=3, {ego_chance=100} },
combat_armor = 0, combat_def = 0,
resolvers.talents{
[Talents.T_BONE_SHIELD]=5,
[Talents.T_BLOOD_SPRAY]=5,
[Talents.T_SOUL_ROT]=5,
[Talents.T_BLOOD_GRASP]=5,
[Talents.T_BLOOD_BOIL]=5,
[Talents.T_BLOOD_FURY]=5,
[Talents.T_BONE_SPEAR]=5,
[Talents.T_VIRULENT_DISEASE]=5,
[Talents.T_DARKFIRE]=5,
[Talents["T_FLAME_OF_URH'ROK"]]=5,
[Talents.T_DEMON_PLANE]=5,
[Talents.T_CYST_BURST]=4,
[Talents.T_BURNING_HEX]=5,
[Talents.T_WRAITHFORM]=5,
},
resolvers.sustains_at_birth(),
}
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 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
load("/data/general/objects/objects.lua")
for i = 1, 5 do
newEntity{ base = "BASE_LORE",
define_as = "NOTE"..i,
name = "tattered paper scrap", lore="trollshaws-note-"..i,
desc = [[A paper scrap, left by an adventurer.]],
rarity = false,
is_magic_device = false,
encumberance = 0,
}
end
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 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
load("/data/general/traps/natural_forest.lua")
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 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
return {
name = "Mark of the Spellblaze",
level_range = {25, 35},
level_scheme = "player",
max_level = 2,
decay = {300, 800},
actor_adjust_level = function(zone, level, e) return zone.base_level + e:getRankLevelAdjust() + level.level-1 + rng.range(-1,2) end,
width = 50, height = 50,
-- all_remembered = true,
all_lited = true,
persistant = "zone",
ambiant_music = "Rainy Day.ogg",
generator = {
map = {
class = "engine.generator.map.Forest",
edge_entrances = {4,6},
zoom = 4,
sqrt_percent = 45,
noise = "fbm_perlin",
floor = "BURNT_GROUND",
wall = {"BURNT_TREE1","BURNT_TREE2","BURNT_TREE3","BURNT_TREE4","BURNT_TREE5","BURNT_TREE6","BURNT_TREE7","BURNT_TREE8","BURNT_TREE9","BURNT_TREE10","BURNT_TREE11","BURNT_TREE12","BURNT_TREE13","BURNT_TREE14","BURNT_TREE15","BURNT_TREE16","BURNT_TREE17","BURNT_TREE18","BURNT_TREE19","BURNT_TREE20",},
up = "UP",
down = "DOWN",
do_ponds = {
nb = {0, 2},
size = {w=25, h=25},
pond = {{0.6, "LAVA"}, {0.8, "LAVA"}},
},
},
actor = {
class = "engine.generator.actor.Random",
nb_npc = {20, 30},
guardian = "GRAND_CORRUPTOR",
},
object = {
class = "engine.generator.object.Random",
nb_object = {0, 0},
},
trap = {
class = "engine.generator.trap.Random",
nb_trap = {0, 0},
},
},
post_process = function(level)
-- Place a lore note on each level
game:placeRandomLoreObject("NOTE"..level.level)
end,
levels =
{
[1] = {
generator = { map = {
up = "UP_WILDERNESS",
}, },
},
},
}
......@@ -163,7 +163,7 @@ end
function _M:generateList()
local list = {}
if config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
if config.settings.tome and config.settings.tome.cheat then list[#list+1] = {name="Resurrect by cheating", action="cheat"} end
if self.actor:attr("easy_mode_lifes") then list[#list+1] = {name=("Resurrect with easy mode (%d left)"):format(self.actor.easy_mode_lifes), action="easy_mode"} end
if self.actor:attr("blood_life") and not self.actor:attr("undead") then list[#list+1] = {name="Resurrect with the Blood of Life", action="blood_life"} end
if self.actor:getTalentLevelRaw(self.actor.T_SKELETON_REASSEMBLE) >= 5 and not self.actor:attr("re-assembled") then list[#list+1] = {name="Re-assemble your bones and resurrect (Skeleton ability)", action="skeleton"} 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