diff --git a/database.sqlite3 b/database.sqlite3 index 9b1bdcc..625e132 100644 Binary files a/database.sqlite3 and b/database.sqlite3 differ diff --git a/lua_scripts/map.lua b/lua_scripts/map.lua index 68bb064..5d5298d 100644 --- a/lua_scripts/map.lua +++ b/lua_scripts/map.lua @@ -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 diff --git a/static/incertitude.css b/static/incertitude.css new file mode 100644 index 0000000..65c7ed1 --- /dev/null +++ b/static/incertitude.css @@ -0,0 +1,7 @@ +.wood { + color: brown; +} + +.stone { + color: gray; +} diff --git a/views/layout.etlua b/views/layout.etlua index 22935f9..98883e8 100644 --- a/views/layout.etlua +++ b/views/layout.etlua @@ -4,6 +4,7 @@ <%= page_title or "My Page" %> + diff --git a/views/map.etlua b/views/map.etlua index c85495c..59858dc 100644 --- a/views/map.etlua +++ b/views/map.etlua @@ -2,7 +2,7 @@ <% for h=1,10 do %>
<% for i=1,10 do %> -
<%= tiles[h][i].char %>
+
<%= tiles[h][i].char %>
<% end %>