Civ Modding Wiki

Search

Search IconIcon to open search

REQUIREMENT_PLAYER_DISTRICT_THRESHOLD

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_PLAYER_DISTRICT_THRESHOLD

  • Class: PLAYERS
  • Arguments:
    • MinDistrictsNeeded Integer
    • DistrictPercentThreshold Integer
    • AboveThreshold Boolean

# 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
33
34
35
INSERT INTO Requirements
	(
		RequirementId,
		RequirementType
	)
VALUES
	(
		"REQUIRES_LAGS_DISTRICTS",
		"REQUIREMENT_PLAYER_DISTRICT_THRESHOLD"
	);

INSERT INTO RequirementArguments

	(
		RequirementId,
		Name,
		Value
	)
VALUES
	(
		"REQUIRES_LAGS_DISTRICTS",
		"AboveThreshold",
		0
	),
	(
		"REQUIRES_LAGS_DISTRICTS",
		"DistrictPercentThreshold",
		60
	),
	(
		"REQUIRES_LAGS_DISTRICTS",
		"MinDistrictsNeeded",
		3
	);
	

Interactive Graph