--============================================================
-- YU - LEADER ABILITY - YU'S GATEWAY ========================
--============================================================
-- Author: Lime
-- DateCreated: 1/10/2018 11:33:29
--------------------------------------------------------------
--	LUA: Yu's Gateway
--		Gain a builder when founding a city adjacent to a 
--		river. Consuming the final builder charge provides 
--		production, culture, and science.
--
--------------------------------------------------------------
--	notes:
--		I really cba to format this
--
--------------------------------------------------------------

INSERT INTO LeaderTraits	
		(LeaderType,				TraitType)
VALUES	('LEADER_LIME_CHINA_YU',	'TRAIT_LEADER_LIME_CHINA_YU_GATEWAY');

INSERT INTO Traits				
		(TraitType,											
		Name,														
		Description)
VALUES	('TRAIT_LEADER_LIME_CHINA_YU_GATEWAY',
		'LOC_TRAIT_LEADER_LIME_CHINA_YU_GATEWAY_NAME',
		'LOC_TRAIT_LEADER_LIME_CHINA_YU_GATEWAY_DESCRIPTION');

INSERT INTO TraitModifiers
		(TraitType,									ModifierId)
VALUES	('TRAIT_LEADER_LIME_CHINA_YU_GATEWAY',		'MODIFIER_LIME_CHINA_YU_GATEWAY_GRANT_BUILDER_ON_SETTLE');

INSERT INTO Modifiers
		(ModifierId,												ModifierType,									SubjectRequirementSetId)
VALUES	('MODIFIER_LIME_CHINA_YU_GATEWAY_GRANT_BUILDER_ON_SETTLE',	'MODIFIER_PLAYER_BUILT_CITIES_GRANT_FREE_UNIT',	'REQSET_LIME_YU_CITY_ON_RIVER');

INSERT INTO ModifierArguments
		(ModifierId,												Name,			Value)
VALUES	('MODIFIER_LIME_CHINA_YU_GATEWAY_GRANT_BUILDER_ON_SETTLE',	'Amount',		1),
		('MODIFIER_LIME_CHINA_YU_GATEWAY_GRANT_BUILDER_ON_SETTLE',	'UnitType',		'UNIT_BUILDER');

INSERT INTO RequirementSets
		(RequirementSetId,					RequirementSetType)
VALUES	('REQSET_LIME_YU_CITY_ON_RIVER',	'REQUIREMENTSET_TEST_ALL');

INSERT INTO RequirementSetRequirements
		(RequirementSetId,					RequirementId)
VALUES	('REQSET_LIME_YU_CITY_ON_RIVER',	'REQ_LIME_YU_CITY_ON_FUCKING_RIVER_SERIOUSLY_WHAT_DID_YOU_EXPECT_GODDAMNIT');

INSERT INTO Requirements
		(RequirementId,																	RequirementType)
VALUES	('REQ_LIME_YU_CITY_ON_FUCKING_RIVER_SERIOUSLY_WHAT_DID_YOU_EXPECT_GODDAMNIT',	'REQUIREMENT_PLOT_ADJACENT_TO_RIVER');

INSERT INTO RequirementArguments
		(RequirementId,																	Name,		Value)
VALUES	('REQ_LIME_YU_CITY_ON_FUCKING_RIVER_SERIOUSLY_WHAT_DID_YOU_EXPECT_GODDAMNIT',	'MinRange',	1),
		('REQ_LIME_YU_CITY_ON_FUCKING_RIVER_SERIOUSLY_WHAT_DID_YOU_EXPECT_GODDAMNIT',	'MaxRange',	1);
		
