# HG changeset patch # User silverwing # Date 2015-10-03 14:52:53 # Node ID 3570f0fdd82a8cf864f2ddecbca7a1eafb1e5e6e # Parent 6e7519136e479460ad00737cc6c7f858faf46314 fixed to work diff --git a/main.lua b/main.lua --- a/main.lua +++ b/main.lua @@ -204,6 +204,6 @@ function init() --put("char_radcliffe", "leviathan_engines"); --put("char_wright", "leviathan_wardroom"); --pl.where = leviathan_airlock; - pl.where = warehouse_18_entry; + pl.where = warehouse_32_entry; --dock_found = true; end \ No newline at end of file diff --git a/warehouse32.lua b/warehouse32.lua --- a/warehouse32.lua +++ b/warehouse32.lua @@ -5,16 +5,24 @@ ]] warehouse_32_entry = room { - nam = "warehouse_32"; + nam = "warehouse_32_entry"; disp = "Вход на склад 32"; dsc = [[ ]]; - + way = { + kh_vroom("Войти", function(s) + + end;); + }; }; warehouse_32_entry_night = room { - + nam = "warehouse_32_entry_night"; + disp = "Вход на склад 32"; + dsc = [[ + + ]]; }; warehouse_32_definitions = { @@ -135,7 +143,7 @@ warehouse_32 = room { dir_name = "восток"; elseif (s.dir == 3) then dir_name = "юг"; - elseif + elseif (s.dir == 4) then dir_name = "запад"; end; return s.definitions[position].dsc .. "^ Вы смотрите на " .. dir_name;