Merge branch 'master' into dev
This commit is contained in:
commit
60052af7f5
|
@ -188,19 +188,6 @@ local function add_pits_to_room(map)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
print(#matrix)
|
|
||||||
matrix = matrix[random(#matrix)]
|
|
||||||
for i=0, 11 do
|
|
||||||
for j=0, 15 do
|
|
||||||
if matrix[j][i] then
|
|
||||||
io.write("#")
|
|
||||||
else
|
|
||||||
io.write("-")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
io.write("\n")
|
|
||||||
end
|
|
||||||
|
|
||||||
for i=2,13 do
|
for i=2,13 do
|
||||||
for j=2,10 do
|
for j=2,10 do
|
||||||
if not tile_occupied(map, (i), (j)) and matrix[i][j] then
|
if not tile_occupied(map, (i), (j)) and matrix[i][j] then
|
||||||
|
|
Loading…
Reference in New Issue