Increase Tree of Life rank 8 hireling slots and improve slot debugging

This commit is contained in:
Rob
2026-07-20 23:15:21 +01:00
parent edd2441cda
commit dc083c1fa6
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -39,6 +39,13 @@ public class SlotTestCmd extends AbstractDevCmd {
Building building = (Building) target;
outString += "Rank: " + building.getRank() + "\r\n";
outString += "MaxSlots: " + building.getBlueprint().getMaxSlots() + "\r\n";
outString += "SlotsForRank: "
+ building.getBlueprint().getSlotsForRank(building.getRank())
+ "\r\n";
outString += "Hireling Count: " + building.getHirelings().size() + "\r\n\r\n";
buildingLocations = BuildingManager._slotLocations.get(building.meshUUID);
if (buildingLocations == null) {
+1 -1
View File
@@ -335,7 +335,7 @@ public class Blueprint {
availableSlots = 3;
break;
case 8:
availableSlots = 1;
availableSlots = Math.min(3, this.maxSlots);
break;
default:
availableSlots = 0;