Closed Daniel-Engelmann closed 2 months ago
Is the total system capacity ~15 and do you have some buildings? All buildings and districts count towards the capacity.
I didn't know there is a total system capacity but i just printed it out and its 22. And i only have 15 Buildings build so there should be more than enough room for one more.
Here is the part of the Code:
Then I need the system ID to have a look.
Then I need the system ID to have a look.
6686585eba4143631bfb97c6
Das sind alle Daten die mir swagger ausgibt:
{ "_id": "6686585eba4143631bfb97c6", "game": "66865850ba4143631bfb96c9", "type": "regular", "districtSlots": { "city": 14.625, "industry": 14.625, "agriculture": 4, "energy": 3, "mining": 8 }, "districts": { "city": 3, "industry": 3, "mining": 3, "energy": 3, "agriculture": 3 }, "capacity": 22, "buildings": [ "power_plant", "mine", "farm", "research_lab", "foundry", "factory", "refinery" ], "upgrade": "upgraded", "population": 25, "links": { "6686585eba4143631bfb97c7": 19.43922087814581, "6686585eba4143631bfb97c5": 24.27469028158775, "6686585eba4143631bfb97c3": 16.16724790217069 }, "x": 65.13300939327803, "y": -131.06803825718822, "effects": [], "createdAt": "2024-07-04T08:07:58.358Z", "updatedAt": "2024-07-04T08:36:15.973Z", "owner": "6686585eba4143631bfb970d" }
"districts": {
"city": 3,
"industry": 3,
"mining": 3,
"energy": 3,
"agriculture": 3
},
"capacity": 22,
"buildings": [
"power_plant",
"mine",
"farm",
"research_lab",
"foundry",
"factory",
"refinery"
],
7 buildings + 15 districts = 22 (capacity). Everything adds up.
Ah the building count towards it too okay thanks than we need to change that in our game.
Describe the bug A clear and concise description of what the problem is. Currently I have 3 Cities and I am trying to add another City. The Max Cities is 14 but when trying to add the fourth City after the Job is completed the result says System is at Capacity.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. The Job completes succesfully
Additional context Add any other context about the problem here.