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

Each level of the Infinite Dungeon now has a random boss guard

git-svn-id: http://svn.net-core.org/repos/t-engine4@3915 51575b47-30f0-44d4-a5cc-537603b46e54
parent d8bd86d4
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ newEntity{
newEntity{
define_as = "MOUNTAIN_WALL",
type = "rockwall", subtype = "rock",
name = "rocky mountain", image = "terrain/rocky_mountain.png", z=3,
name = "rocky mountain", image = "terrain/rocky_mountain.png",
display = '#', color=colors.UMBER, back_color=colors.LIGHT_UMBER,
always_remember = true,
can_pass = {pass_wall=1},
......
......@@ -211,4 +211,3 @@ newEntity{
always_remember = true,
change_level = 1,
}
......@@ -43,7 +43,10 @@ return {
door = "DOOR",
},
actor = {
class = "engine.generator.actor.Random",
class = "mod.class.generator.actor.RandomStairGuard",
guard = {
{random_boss={rank = 3.5, loot_quantity = 3,}},
},
nb_npc = {29, 39},
filters = { {max_ood=6}, },
},
......
......@@ -40,7 +40,7 @@ end
newEntity{
define_as = "INFINITE",
name = "way into the infinite dungeon", image = "terrain/wall_hole.png",
name = "way into the infinite dungeon", image = "terrain/maze_floor.png", add_mos={{image = "terrain/stair_down.png"}},
display = '>', color=colors.VIOLET, back_color=colors.DARK_GREY,
always_remember = true,
on_move = function(self, x, y, who)
......@@ -70,7 +70,7 @@ newEntity{
newEntity{
define_as = "PORTAL",
name = "orb", image = "terrain/maze_teleport.png",
name = "orb", image = "terrain/maze_floor.png", add_mos={{image = "object/egg_dragons_egg_03_64.png"}},
display = '*', color=colors.VIOLET, back_color=colors.DARK_GREY,
force_clone=true,
always_remember = true,
......
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