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

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2226 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1c335812
No related branches found
No related tags found
No related merge requests found
......@@ -58,3 +58,82 @@ newEntity{
block_esp = true,
air_level = -20,
}
-----------------------------------------
-- Rocky exits
-----------------------------------------
newEntity{
define_as = "ROCKY_UP_WILDERNESS",
name = "exit to the worldmap", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/worldmap.png"}},
display = '<', color_r=255, color_g=0, color_b=255,
always_remember = true,
notice = true,
change_level = 1,
change_zone = "wilderness",
}
newEntity{
define_as = "ROCKY_UP8",
name = "way to the previous level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_8.png"}},
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = -1,
}
newEntity{
define_as = "ROCKY_UP2",
name = "way to the previous level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_2.png"}},
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = -1,
}
newEntity{
define_as = "ROCKY_UP4",
name = "way to the previous level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_4.png"}},
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = -1,
}
newEntity{
define_as = "ROCKY_UP6",
name = "way to the previous level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_6.png"}},
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = -1,
}
newEntity{
define_as = "ROCKY_DOWN8",
name = "way to the next level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_8.png"}},
display = '>', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 1,
}
newEntity{
define_as = "ROCKY_DOWN2",
name = "way to the next level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_2.png"}},
display = '>', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 1,
}
newEntity{
define_as = "ROCKY_DOWN4",
name = "way to the next level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_4.png"}},
display = '>', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 1,
}
newEntity{
define_as = "ROCKY_DOWN6",
name = "way to the next level", image = "terrain/rocky_ground.png", add_displays = {class.new{image="terrain/way_next_6.png"}},
display = '>', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 1,
}
......@@ -27,8 +27,8 @@ subGenerator{
noise = "fbm_perlin",
floor = {"BURNT_GROUND1","BURNT_GROUND2","BURNT_GROUND3","BURNT_GROUND4",},
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",
up = "BURNT_UP",
down = "BURNT_DOWN",
},
define_up = true,
}
......
......@@ -39,8 +39,8 @@ return {
['.'] = "ROCKY_GROUND",
['T'] = "ROCKY_SNOWY_TREE",
['#'] = "MOUNTAIN_WALL",
up = "UP",
down = "DOWN",
up = "ROCKY_UP2",
down = "ROCKY_DOWN8",
door = "ROCKY_GROUND",
},
actor = {
......@@ -66,7 +66,7 @@ return {
{
[1] = {
generator = { map = {
up = "UP_WILDERNESS",
up = "ROCKY_UP_WILDERNESS",
}, },
},
},
......
......@@ -51,3 +51,29 @@ newEntity{
notice = true,
always_remember = true,
}
newEntity{
define_as = "BURNT_UP_WILDERNESS",
name = "exit to the worldmap", image = "terrain/grass_burnt1.png", add_displays = {class.new{image="terrain/worldmap.png"}},
display = '<', color_r=255, color_g=0, color_b=255,
always_remember = true,
notice = true,
change_level = 1,
change_zone = "wilderness",
}
newEntity{
define_as = "BURNT_UP4",
name = "way to the previous level", image = "terrain/grass_burnt1.png", add_displays = {class.new{image="terrain/way_next_4.png"}},
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = -1,
}
newEntity{
define_as = "BURNT_DOWN6",
name = "way to the next level", image = "terrain/grass_burnt1.png", add_displays = {class.new{image="terrain/way_next_6.png"}},
display = '>', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 1,
}
......@@ -38,8 +38,8 @@ return {
noise = "fbm_perlin",
floor = {"BURNT_GROUND1","BURNT_GROUND2","BURNT_GROUND3","BURNT_GROUND4",},
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",
up = "BURNT_UP4",
down = "BURNT_DOWN6",
do_ponds = {
nb = {0, 2},
size = {w=25, h=25},
......@@ -63,7 +63,7 @@ return {
{
[1] = {
generator = { map = {
up = "UP_WILDERNESS",
up = "BURNT_UP_WILDERNESS",
}, },
},
[2] = {
......
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