Search
REQUIREMENT_CITY_HAS_BUILDING
Last updated
Aug 13, 2022
Edit Source
This is a
Requirement Type. Please refer to that page for more information on Requirement Types
# Info
REQUIREMENT_CITY_HAS_BUILDING
- Class:
CITIES
- Arguments:
- MustBeFunctioning
Boolean
- Require the building to be functioning (not pillaged).
- [Buildings.BuildingType]
- BuildingType
String
- The type of the building to check for.
- [Buildings.BuildingType]
# Samples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| INSERT INTO Requirements
(
RequirementId,
RequirementType,
Inverse
)
VALUES
(
"REQUIRES_NO_MARKET",
"REQUIREMENT_CITY_HAS_BUILDING",
1
);
INSERT INTO RequirementArguments
(
RequirementId,
Name,
Value
)
VALUES
(
"REQUIRES_NO_MARKET",
"BuildingType",
"BUILDING_MARKET"
),
(
"REQUIRES_NO_MARKET",
"MustBeFunctioning",
0
);
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| INSERT INTO Requirements
(
RequirementId,
RequirementType
)
VALUES
(
"REQUIRES_CITY_HAS_AMPHITHEATER",
"REQUIREMENT_CITY_HAS_BUILDING"
);
INSERT INTO RequirementArguments
(
RequirementId,
Name,
Value
)
VALUES
(
"REQUIRES_CITY_HAS_AMPHITHEATER",
"BuildingType",
"BUILDING_AMPHITHEATER"
);
|