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

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@6544 51575b47-30f0-44d4-a5cc-537603b46e54
parent eeb3375a
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,7 @@ newBirthDescriptor{
"#GOLD#Stat modifiers:",
"#LIGHT_BLUE# * +0 Strength, +0 Dexterity, +0 Constitution",
"#LIGHT_BLUE# * +0 Magic, +5 Willpower, +4 Cunning",
"#GOLD#Life per level:#LIGHT_BLUE# -3",
},
power_source = {nature=true},
birth_example_particles = {
......
......@@ -26,7 +26,7 @@ newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/summon-utility", name = "summoning (utility)", description = "The art of calling versatile creatures to your aid." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/summon-augmentation", name = "summoning (augmentation)", description = "The art of manipulating the lifespan and location of your summons." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/summon-advanced", name = "summoning (advanced)", min_lev = 10, description = "The art of improving the quality of your summons." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/slime", name = "slime aspect", description = "Through dedicated consumption of slime mold juice, you have gained an affinity with slime molds." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/slime", name = "slime", description = "Through dedicated consumption of slime mold juice, you have gained an affinity with slime molds." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/fungus", name = "fungus", generic = true, description = "By covering yourself in fungus, you better your healing." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/sand-drake", name = "sand drake aspect", description = "Take on the defining aspects of a Sand Drake." }
newTalentType{ allow_random=true, is_mind=true, is_nature=true, type="wild-gift/fire-drake", name = "fire drake aspect", description = "Take on the defining aspects of a Fire Drake." }
......
......@@ -60,7 +60,7 @@ return {
spawn_chance = 3,
on_turn = function()
if game.turn % 10 ~= 0 then return end
if not rng.percent(game.level.data.spawn_chance) then game.level.data.spawn_chance = game.level.data.spawn_chance + 2 return end
if not rng.percent(game.level.data.spawn_chance) then game.level.data.spawn_chance = game.level.data.spawn_chance + 1 return end
local grids = core.fov.circle_grids(game.player.x, game.player.y, 10, true)
local gs = {}
......@@ -73,13 +73,16 @@ return {
local spot = rng.table(gs)
local g = game.zone:makeEntityByName(game.level, "terrain", "SLIME_FLOOR")
local m = game.zone:makeEntity(game.level, "actor", {}, nil, true)
local filter = {}
if rng.chance(10) then filter = {random_elite = {power_source = {nature=true, psionic=true, technique=true}}} end
local m = game.zone:makeEntity(game.level, "actor", filter, nil, true)
if g and m then
m.exp_worth = 0
game.zone:addEntity(game.level, g, "terrain", spot.x, spot.y)
game.zone:addEntity(game.level, m, "actor", spot.x, spot.y)
game.nicer_tiles:updateAround(game.level, spot.x, spot.y)
m:setTarget(game.player)
game.logSeen(m, "#YELLOW_GREEN#One of the wall shakes for a moment and then turns into %s!", m.name:capitalize())
end
game.level.data.spawn_chance = 3
......
No preview for this file type
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