|
@@ -16,9 +16,10 @@ dofile "items.lua"
|
|
|
dofile "party.lua"
|
|
|
dofile "game_over.lua";
|
|
|
-- Часть 1
|
|
|
dofile "michael.lua"
|
|
|
dofile "london.lua"
|
|
|
dofile "jack.lua"
|
|
|
dofile "coachman.lua"
|
|
|
dofile "shipyard2.lua"
|
|
|
dofile "dock2.lua"
|
|
|
dofile "warehouse18.lua"
|
|
|
dofile "warehouse32.lua"
|
|
|
-- Часть 2
|
|
@@ -33,46 +34,6 @@ dofile "first_city_inner_rim.lua"
|
|
|
dofile "first_city_middle_rim.lua"
|
|
|
dofile "first_city_outer_rim.lua"
|
|
|
|
|
|
item_note_1 = obj {
|
|
|
nam = "note1";
|
|
|
disp = "Записка";
|
|
|
inv = [[Клочок бумаги с адресом: [Адрес Майкла Райта], Майкл Райт]];
|
|
|
};
|
|
|
|
|
|
item_documents = obj {
|
|
|
nam = "documents";
|
|
|
disp = "Документы отца";
|
|
|
dsc = [[
|
|
|
На столе лежат {схемы складов и верфей} Вест-Хэйвен Транс-Оушен
|
|
|
]];
|
|
|
inv = [[
|
|
|
Схемы нескольких строений, принадлежавших компании отца. На некоторых схемах есть места отмечены жирными крестиками.
|
|
|
Схемы с крестиками обозначены как склад 18, верфь 2, склад 32
|
|
|
]];
|
|
|
use = function(s, o)
|
|
|
if (o == char_michael) then
|
|
|
remove(s, pl);
|
|
|
put(s, item_michael_table);
|
|
|
char_michael.documents = true;
|
|
|
return [[
|
|
|
Вы отдаете бумаги Майклу. Он кладет их на стол и принимается изучать.
|
|
|
]];
|
|
|
end;
|
|
|
end;
|
|
|
tak = function()
|
|
|
char_michael.documents = false;
|
|
|
return "Вы забираете бумаги";
|
|
|
end;
|
|
|
};
|
|
|
|
|
|
item_toolbox = obj {
|
|
|
nam = "toolbox";
|
|
|
disp = "Ящик с инструментами";
|
|
|
dsc = [[
|
|
|
Вы видите {ящик} со всевозможными полезными и не очень инструментами - отвертками, ключами, молотками и т.д.^
|
|
|
]];
|
|
|
};
|
|
|
|
|
|
pl = player {
|
|
|
nam = "player";
|
|
|
disp = "Дэвид Дрейк";
|
|
@@ -80,7 +41,7 @@ pl = player {
|
|
|
hitpoints = 10;
|
|
|
obj = {'item_umbrella', "item_documents", "item_note_1", "item_first_city_key", "item_colt"};
|
|
|
-- party array. Should be empty on start
|
|
|
party = {"learr", "radcliffe", --[["phaetlarr", ]]"wright"};
|
|
|
party = {--[["learr", "radcliffe", "phaetlarr", "wright"]]};
|
|
|
companion = nil;
|
|
|
};
|
|
|
|