Work on multiple slot support

This commit is contained in:
2024-04-13 08:31:36 -04:00
parent 832b994757
commit 980dee2e14
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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