File diff 6a8a5d28230f → e8d1e9d9d258
warehouse32.lua
Show inline comments
 
@@ -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