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

Can not teleport outside the arena in the arena unlock

git-svn-id: http://svn.net-core.org/repos/t-engine4@3520 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0280da51
No related branches found
No related tags found
No related merge requests found
......@@ -19,29 +19,29 @@
defineTile("#", "WALL")
defineTile("+", "LOCK")
quickEntity(':', {name='grass', display='.', color=colors.LIGHT_GREEN, image="terrain/grass.png"})
defineTile(":", "GRASS", nil, nil, nil, {no_teleport=true})
defineTile(".", "SAND")
defineTile("-", "FLOOR")
quickEntity('T', {name='tree', display='#', color=colors.LIGHT_GREEN, block_move=true, block_sight=true, image="terrain/grass.png", add_displays = {mod.class.Grid.new{image="terrain/tree_alpha1.png"}}})
defineTile("T", {"TREE","TREE2","TREE3","TREE4","TREE5","TREE6","TREE7","TREE8","TREE9","TREE10","TREE11","TREE12","TREE13","TREE14","TREE15","TREE16","TREE17","TREE18","TREE19","TREE20"}, nil, nil, nil, {no_teleport=true})
startx = 8
starty = 12
-- ASCII map section
return [[
:.:::T:::.::::T:T
:::::T::::::::T:T
:#######+#######:
:#...#.....#...#:
:#.............#.
:#.............#:
:#....#...#....#:
.##...........##T
:##...........##T
:#.............#:
T#...#.....#...#:
.#.............#:
:#.............#:
:##...........##:
:#....#...#....#:
:#.............#.
:#.............#:
:#...#..:..#...#:
:#######+#######:
:::TT:T:::T:.::.:
:::TT:T:::T::::::
]]
......@@ -19,6 +19,7 @@
load("/data/general/grids/basic.lua")
load("/data/general/grids/sand.lua")
load("/data/general/grids/forest.lua")
newEntity{
define_as = "WALL_SEE",
......
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