Resource icon

Sewer and Neighborhood Amenities 2017-11-20

Code:
INSERT INTO DistrictModifiers (DistrictType, ModifierId) VALUES ('DISTRICT_NEIGHBORHOOD', 'NEIGHBORHOOD_AMENITIES_FROM_SEWER');
INSERT INTO DistrictModifiers (DistrictType, ModifierId) VALUES ('DISTRICT_MBANZA', 'NEIGHBORHOOD_AMENITIES_FROM_SEWER');
INSERT INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, SubjectRequirementSetId) VALUES ('NEIGHBORHOOD_AMENITIES_FROM_SEWER', 'MODIFIER_SINGLE_CITY_ADJUST_CITY_AMENITIES_FROM_GREAT_PEOPLE', '0', '0', 'CITY_HAS_SEWER_REQUIREMENTS');
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('NEIGHBORHOOD_AMENITIES_FROM_SEWER', 'Amount', '1');

INSERT INTO RequirementSets (RequirementSetId, RequirementSetType) VALUES ('CITY_HAS_SEWER_REQUIREMENTS', 'REQUIREMENTSET_TEST_ALL');
INSERT INTO RequirementSetRequirements (RequirementSetId, RequirementId) VALUES ('CITY_HAS_SEWER_REQUIREMENTS', 'REQUIRES_CITY_HAS_SEWER');
INSERT INTO Requirements (RequirementId, RequirementType) VALUES ('REQUIRES_CITY_HAS_SEWER', 'REQUIREMENT_CITY_HAS_BUILDING');
INSERT INTO RequirementArguments (RequirementId, Name, Value) VALUES ('REQUIRES_CITY_HAS_SEWER', 'BuildingType', 'BUILDING_SEWER');

Workshop Link: http://steamcommunity.com/sharedfiles/filedetails/?id=1206497733
 
Top Bottom