Permalink
Browse files

Finished the cave map skeleton. Scripting will come in another commit.

  • Loading branch information...
1 parent 49ef8b5 commit 880508116514ef9699e33f09ffb8308326bbc0ed Yohann Ferreira committed Nov 1, 2012
Showing with 212 additions and 210 deletions.
  1. +190 −190 dat/maps/layna_forest/layna_forest_cave1_1.lua
  2. +22 −20 dat/tilesets/desert_cave_ground.lua
Oops, something went wrong.
@@ -9,12 +9,12 @@ num_tile_cols = 16
num_tile_rows = 16
autotiling = {}
-autotiling[0] = "CaveDirt"
-autotiling[1] = "CaveDirt"
-autotiling[2] = "CaveDirt"
-autotiling[4] = "CaveFloor_CaveDirt_South"
-autotiling[7] = "CaveFloor_CaveDirt_North"
-autotiling[9] = "CaveFloor"
+autotiling[0] = "CaveDirt"
+autotiling[1] = "CaveDirt"
+autotiling[2] = "CaveDirt"
+autotiling[4] = "CaveFloor_CaveDirt_South"
+autotiling[7] = "CaveFloor_CaveDirt_North"
+autotiling[9] = "CaveFloor"
autotiling[10] = "CaveFloor"
autotiling[11] = "CaveFloor"
autotiling[12] = "CaveFloor"
@@ -33,6 +33,7 @@ autotiling[42] = "CaveFloor"
autotiling[43] = "CaveFloor"
autotiling[44] = "CaveFloor"
+-- The general walkability of the tiles in the tileset. Zero indicates walkable. One tile has four walkable quadrants listed as: NW corner, NE corner, SW corner, SE corner.
walkability = {}
walkability[0] = {}
walkability[0][0] = { 0, 0, 0, 0 }
@@ -48,9 +49,9 @@ walkability[0][9] = { 0, 0, 0, 0 }
walkability[0][10] = { 0, 0, 0, 0 }
walkability[0][11] = { 0, 0, 0, 0 }
walkability[0][12] = { 0, 0, 0, 0 }
-walkability[0][13] = { 0, 0, 0, 0 }
-walkability[0][14] = { 0, 0, 0, 0 }
-walkability[0][15] = { 0, 0, 0, 0 }
+walkability[0][13] = { 1, 1, 1, 1 }
+walkability[0][14] = { 1, 1, 1, 1 }
+walkability[0][15] = { 1, 1, 1, 1 }
walkability[1] = {}
walkability[1][0] = { 0, 0, 0, 0 }
walkability[1][1] = { 0, 0, 0, 0 }
@@ -95,10 +96,10 @@ walkability[3][5] = { 0, 0, 0, 0 }
walkability[3][6] = { 0, 0, 0, 0 }
walkability[3][7] = { 0, 0, 0, 0 }
walkability[3][8] = { 0, 0, 0, 0 }
-walkability[3][9] = { 0, 0, 0, 0 }
-walkability[3][10] = { 0, 0, 0, 0 }
-walkability[3][11] = { 0, 0, 0, 0 }
-walkability[3][12] = { 0, 0, 0, 0 }
+walkability[3][9] = { 1, 1, 1, 1 }
+walkability[3][10] = { 1, 1, 1, 1 }
+walkability[3][11] = { 1, 1, 1, 1 }
+walkability[3][12] = { 1, 1, 1, 1 }
walkability[3][13] = { 0, 0, 0, 0 }
walkability[3][14] = { 0, 0, 0, 0 }
walkability[3][15] = { 0, 0, 0, 0 }
@@ -109,7 +110,7 @@ walkability[4][2] = { 0, 0, 0, 0 }
walkability[4][3] = { 0, 0, 0, 0 }
walkability[4][4] = { 0, 0, 0, 0 }
walkability[4][5] = { 0, 0, 0, 0 }
-walkability[4][6] = { 0, 0, 0, 0 }
+walkability[4][6] = { 1, 1, 1, 1 }
walkability[4][7] = { 0, 0, 0, 0 }
walkability[4][8] = { 0, 0, 0, 0 }
walkability[4][9] = { 1, 1, 1, 1 }
@@ -230,8 +231,8 @@ walkability[11][4] = { 0, 0, 0, 0 }
walkability[11][5] = { 0, 0, 0, 0 }
walkability[11][6] = { 0, 0, 0, 0 }
walkability[11][7] = { 0, 0, 0, 0 }
-walkability[11][8] = { 0, 0, 0, 0 }
-walkability[11][9] = { 0, 0, 0, 0 }
+walkability[11][8] = { 1, 1, 1, 1 }
+walkability[11][9] = { 1, 1, 1, 1 }
walkability[11][10] = { 1, 1, 1, 1 }
walkability[11][11] = { 0, 0, 0, 0 }
walkability[11][12] = { 0, 0, 0, 0 }
@@ -247,8 +248,8 @@ walkability[12][4] = { 0, 0, 0, 0 }
walkability[12][5] = { 0, 0, 0, 0 }
walkability[12][6] = { 0, 0, 0, 0 }
walkability[12][7] = { 0, 0, 0, 0 }
-walkability[12][8] = { 0, 0, 0, 0 }
-walkability[12][9] = { 0, 0, 0, 0 }
+walkability[12][8] = { 1, 1, 1, 1 }
+walkability[12][9] = { 1, 1, 1, 1 }
walkability[12][10] = { 0, 0, 0, 0 }
walkability[12][11] = { 0, 0, 0, 0 }
walkability[12][12] = { 0, 0, 0, 0 }
@@ -281,8 +282,8 @@ walkability[14][4] = { 0, 0, 0, 0 }
walkability[14][5] = { 0, 0, 0, 0 }
walkability[14][6] = { 0, 0, 0, 0 }
walkability[14][7] = { 0, 0, 0, 0 }
-walkability[14][8] = { 0, 0, 0, 0 }
-walkability[14][9] = { 0, 0, 0, 0 }
+walkability[14][8] = { 1, 1, 1, 1 }
+walkability[14][9] = { 1, 1, 1, 1 }
walkability[14][10] = { 1, 1, 1, 1 }
walkability[14][11] = { 1, 1, 1, 1 }
walkability[14][12] = { 1, 1, 1, 1 }
@@ -306,3 +307,4 @@ walkability[15][12] = { 1, 1, 1, 1 }
walkability[15][13] = { 1, 1, 1, 1 }
walkability[15][14] = { 1, 1, 1, 1 }
walkability[15][15] = { 1, 1, 1, 1 }
+

0 comments on commit 8805081

Please sign in to comment.