@@ -691,6 +691,9 @@ warehouse_32_shelves = obj {
w32_shelf_input = input_number {
nam = "w32_shelf_input";
disp = function(s)
return "Стеллаж с отметкой " .. s.sector;
end;
check = function(s, input)
for i = 1, #s.items do
if (s.items[i].shelf == s.sector and w32_shelf_input.items[i].position == input and not w32_shelf_input.items[i].taken) then
@@ -709,6 +712,7 @@ w32_shelf_input = input_number {
};
function warehouse32_init()
print("init w32");
for i = 1, #w32_shelf_input.items do
local ok = false;
while not ok do