Civ Modding Wiki

Search

Search IconIcon to open search

REQUIREMENT_PLOT_ADJACENT_TO_OWNER

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_PLOT_ADJACENT_TO_OWNER

  • Class: PLOTS
  • Arguments:
    • MinDistance Integer
    • MaxDistance Integer

# 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
INSERT INTO Requirements
	(
		RequirementId,
		RequirementType
	)
VALUES
	(
		"10_PLOTS_AWAY_MAX_UNIT_REQUIREMENT",
		"REQUIREMENT_PLOT_ADJACENT_TO_OWNER"
	);

INSERT INTO RequirementArguments

	(
		RequirementId,
		Name,
		Value
	)
VALUES
	(
		"10_PLOTS_AWAY_MAX_UNIT_REQUIREMENT",
		"MaxDistance",
		10
	),
	(
		"10_PLOTS_AWAY_MAX_UNIT_REQUIREMENT",
		"MinDistance",
		0
	);
	
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
INSERT INTO Requirements
	(
		RequirementId,
		RequirementType
	)
VALUES
	(
		"ADJACENT_TO_OWNER",
		"REQUIREMENT_PLOT_ADJACENT_TO_OWNER"
	);

Interactive Graph