Comment cleanup
This commit is contained in:
@@ -31,6 +31,15 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
public class WorkOrder implements Delayed {
|
||||
|
||||
// MB Dev notes:
|
||||
// Class defines a Forge rolling request made through a
|
||||
// vendor and then passed to the ForgeManager singleton
|
||||
// for completion.
|
||||
//
|
||||
// A workOrder once created will last until all items are
|
||||
// either completed or junked. They are persisted in the
|
||||
// table dyn_workorders.
|
||||
|
||||
public int workOrderID;
|
||||
public NPC vendor;
|
||||
public int slots_used;
|
||||
@@ -133,6 +142,9 @@ public class WorkOrder implements Delayed {
|
||||
|
||||
public static int validate(WorkOrder workOrder) {
|
||||
|
||||
// Validate that a workOrder can be completed by both
|
||||
// the vendor and the forge.
|
||||
|
||||
int validation_result = 0;
|
||||
|
||||
ItemTemplate template = ItemTemplate.templates.get(workOrder.templateID);
|
||||
@@ -158,7 +170,7 @@ public class WorkOrder implements Delayed {
|
||||
return validation_result;
|
||||
}
|
||||
|
||||
public static boolean debitWorkOrderCost(WorkOrder workOrder) {
|
||||
public static boolean withdrawWorkOrderCost(WorkOrder workOrder) {
|
||||
|
||||
if (workOrder.vendor.building.getCity() == null)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user