|
|
@ -464,9 +464,9 @@ function AssignJobItems(args)
|
|
|
|
if not used_item_id[cur_item.id] then
|
|
|
|
if not used_item_id[cur_item.id] then
|
|
|
|
|
|
|
|
|
|
|
|
local item_suitable,msg=isSuitableItem(trg_job_item,cur_item)
|
|
|
|
local item_suitable,msg=isSuitableItem(trg_job_item,cur_item)
|
|
|
|
if msg then
|
|
|
|
--if msg then
|
|
|
|
print(cur_item,msg)
|
|
|
|
-- print(cur_item,msg)
|
|
|
|
end
|
|
|
|
--end
|
|
|
|
|
|
|
|
|
|
|
|
if (item_counts[job_id]>0 and item_suitable) or settings.build_by_items then
|
|
|
|
if (item_counts[job_id]>0 and item_suitable) or settings.build_by_items then
|
|
|
|
cur_item.flags.in_job=true
|
|
|
|
cur_item.flags.in_job=true
|
|
|
|