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

trollshaws as starting zone

flyers are not seen unless seen


git-svn-id: http://svn.net-core.org/repos/t-engine4@760 51575b47-30f0-44d4-a5cc-537603b46e54
parent f712c910
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ function _M:setEffect(eff_id, dur, p, silent)
if ret then
game.logSeen(self, ret:gsub("#Target#", self.name:capitalize()):gsub("#target#", self.name))
end
if fly and game.flyers then
if fly and game.flyers and game.level.map.seens(self.x, self.y) then
local sx, sy = game.level.map:getTileToScreen(self.x, self.y)
game.flyers:add(sx, sy, 20, (rng.range(0,2)-1) * 0.5, -3, fly, {255,100,80})
end
......
......@@ -48,8 +48,8 @@ newBirthDescriptor{
copy = {
faction = "lonely-mountain",
type = "humanoid", subtype="dwarf",
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "dwarf",
life_rating=12,
......
......@@ -47,8 +47,8 @@ newBirthDescriptor{
copy = {
faction = "eryn-lasgalen",
type = "humanoid", subtype="elf",
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "elf",
},
......
......@@ -45,8 +45,8 @@ newBirthDescriptor{
faction = "shire",
type = "humanoid", subtype="hobbit",
life_rating = 12,
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "hobbit",
},
......
......@@ -60,8 +60,8 @@ newBirthDescriptor
"Humans hailing from the northen town of Bree. A common kind of man, unremarkable in all respects.",
},
copy = {
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "bree-man",
},
......@@ -82,8 +82,8 @@ newBirthDescriptor
[ActorTalents.T_DUNADAN_HEAL]=1,
},
copy = {
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "dunadan",
},
......
......@@ -46,8 +46,8 @@ newBirthDescriptor{
copy = {
faction = "orc-pride",
type = "humanoid", subtype="troll",
default_wilderness = {39, 17, "wilderness-arda-fareast"},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18, "wilderness-arda-fareast"},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "dwarf",
life_rating=10,
......
......@@ -79,8 +79,8 @@ newBirthDescriptor
},
copy = {
type = "undead", subtype="ghoul",
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "ghoul",
life_rating=14,
......@@ -124,8 +124,8 @@ newBirthDescriptor
},
copy = {
type = "undead", subtype="skeleton",
default_wilderness = {39, 17},
starting_zone = "tower-amon-sul",
default_wilderness = {43, 18},
starting_zone = "trollshaws",
starting_quest = "start-dunadan",
starting_intro = "skeleton",
life_rating=12,
......
......@@ -33,7 +33,8 @@ return {
map = {
class = "engine.generator.map.Forest",
edge_entrances = {4,6},
zoom = 5,
zoom = 4,
sqrt_percent = 30,
noise = "fbm_perlin",
floor = function() if rng.chance(20) then return "FLOWER" else return "GRASS" end end,
wall = "TREE",
......
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