tile coloration based on type
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
local map = {
|
||||
map_tiles = {
|
||||
{ "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
|
||||
{ "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
|
||||
{ "-", "_", "w", "w", "-", "-", "-", "-", "-", "-" },
|
||||
{ "-", "-", "w", "w", "-", "w", "-", "-", "-", "-" },
|
||||
{ "w", "-", "-", "-", "w", "w", "-", "-", "-", "-" },
|
||||
{ "w", "-", "w", "-", "-", "w", "w", "w", "-", "-" },
|
||||
@ -14,6 +14,8 @@ local map = {
|
||||
mapCrypt = function(self, tile)
|
||||
if tile == "-" then
|
||||
return "floor_stone"
|
||||
elseif tile == "_" then
|
||||
return "floor_wood"
|
||||
elseif tile == "w" then
|
||||
return "wall_stone"
|
||||
end
|
||||
|
Reference in New Issue
Block a user