forked from MagicBane/Server
Work on multiple slot support
This commit is contained in:
@@ -28,6 +28,7 @@ public class WorkOrder implements Delayed {
|
||||
public int slots_used;
|
||||
public int total_to_produce;
|
||||
public int total_produced;
|
||||
public int msg_size;
|
||||
public HashMap<mbEnums.ResourceType, Integer> production_cost = new HashMap<>();
|
||||
public HashMap<mbEnums.ResourceType, Integer> production_cost_total = new HashMap<>();
|
||||
public int templateID;
|
||||
|
||||
@@ -87,6 +87,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
|
||||
workOrder.suffixToken = msg.sToken;
|
||||
workOrder.item_name_override = msg.name;
|
||||
workOrder.slots_used = 0;
|
||||
workOrder.msg_size = msg.size;
|
||||
|
||||
// Validate vendor can roll this item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user