|
|
@ -138,10 +138,9 @@ public enum ForgeManager implements Runnable { |
|
|
|
if (!workOrder.vendor.charItemManager.hasRoomInventory(template.item_wt)) |
|
|
|
if (!workOrder.vendor.charItemManager.hasRoomInventory(template.item_wt)) |
|
|
|
return 30; //30: That person cannot carry that item
|
|
|
|
return 30; //30: That person cannot carry that item
|
|
|
|
|
|
|
|
|
|
|
|
if (!workOrder.vendor.getItemModTable().contains(((byte) template.modTable))) |
|
|
|
if (!workOrder.vendor.getItemModTable().contains((template.modTable))) |
|
|
|
return 59; //59: This hireling does not have this formula
|
|
|
|
return 59; //59: This hireling does not have this formula
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!calcCostOverrun(workOrder).isEmpty()) |
|
|
|
if (!calcCostOverrun(workOrder).isEmpty()) |
|
|
|
return 10; //18: You can't really afford that
|
|
|
|
return 10; //18: You can't really afford that
|
|
|
|
|
|
|
|
|
|
|
|