Properly set building owner + apply building pop capacity

This commit is contained in:
2024-01-23 18:39:53 +01:00
parent 547a1ca583
commit 2d11bb4675
14 changed files with 195 additions and 105 deletions

View File

@@ -1625,7 +1625,8 @@
"name":"ownership",
"type":"string",
"value":""
}]
}],
"type":"RED"
},
{
"animation":[
@@ -2212,7 +2213,8 @@
"name":"ownership",
"type":"string",
"value":""
}]
}],
"type":"BLUE"
},
{
"id":1302,
@@ -6562,7 +6564,8 @@
"name":"player",
"type":"int",
"value":0
}]
}],
"type":"barracks"
},
{
"id":5639,
@@ -7493,8 +7496,7 @@
"name":"player",
"type":"int",
"value":0
}],
"type":"barracks"
}]
},
{
"id":6150,
@@ -7531,8 +7533,7 @@
"name":"player",
"type":"int",
"value":0
}],
"type":"barracks"
}]
},
{
"id":6151,
@@ -7926,8 +7927,7 @@
"name":"player",
"type":"int",
"value":0
}],
"type":"house_01"
}]
},
{
"id":6411,
@@ -7941,8 +7941,7 @@
"name":"player",
"type":"int",
"value":0
}],
"type":"house_02"
}]
},
{
"id":6412,
@@ -7956,8 +7955,7 @@
"name":"player",
"type":"int",
"value":0
}],
"type":"house_03"
}]
},
{
"id":6414,
@@ -8311,7 +8309,7 @@
"type":"int",
"value":0
}],
"type":"house_04"
"type":"house_01"
},
{
"id":6667,
@@ -8326,7 +8324,7 @@
"type":"int",
"value":0
}],
"type":"house_05"
"type":"house_02"
},
{
"id":6668,
@@ -8341,7 +8339,7 @@
"type":"int",
"value":0
}],
"type":"house_06"
"type":"house_03"
},
{
"id":6674,
@@ -8428,6 +8426,19 @@
}]
},
{
"animation":[
{
"duration":140,
"tileid":6689
},
{
"duration":140,
"tileid":6690
},
{
"duration":140,
"tileid":6691
}],
"id":6689,
"properties":[
{
@@ -8525,7 +8536,7 @@
"type":"int",
"value":0
}],
"type":"house_07"
"type":"house_04"
},
{
"id":6923,
@@ -8540,7 +8551,7 @@
"type":"int",
"value":0
}],
"type":"house_08"
"type":"house_05"
},
{
"id":6924,
@@ -8555,7 +8566,7 @@
"type":"int",
"value":0
}],
"type":"house_09"
"type":"house_06"
},
{
"id":6926,
@@ -8795,6 +8806,36 @@
"value":""
}]
},
{
"id":7170,
"properties":[
{
"name":"terrain",
"type":"string",
"value":""
}],
"type":"gold_ore"
},
{
"id":7171,
"properties":[
{
"name":"terrain",
"type":"string",
"value":""
}],
"type":"gold_ore"
},
{
"id":7172,
"properties":[
{
"name":"terrain",
"type":"string",
"value":""
}],
"type":"gold_ore"
},
{
"id":7173,
"properties":[
@@ -8835,7 +8876,7 @@
"type":"int",
"value":0
}],
"type":"house_10"
"type":"house_7"
},
{
"id":7179,
@@ -8850,7 +8891,7 @@
"type":"int",
"value":0
}],
"type":"house_11"
"type":"house_8"
},
{
"id":7180,
@@ -8865,7 +8906,7 @@
"type":"int",
"value":0
}],
"type":"house_12"
"type":"house_9"
},
{
"id":7182,