Sid Meier's Civilization VI

Sid Meier's Civilization VI

HF District
Flactine 15 Feb, 2020 @ 2:31am
工业区或许有一种同时兼容RAF和GS的写法
以下代码在RAF和GS均能使用,且对GS的三种发电厂均有效 (理论上,因为我还没试)
注:在Reference中加入GS,可以在有GS的情况下对GS进行修改,同时没有GS的时候mod也能运行

1.加强GS新增的两个发电厂的基本生产力产出:
UPDATE Building_YieldChanges
SET YieldChange = 12
WHERE BuildingType="BUILDING_COAL_POWER_PLANT" AND YieldType="YIELD_PRODUCTION";

UPDATE Building_YieldChanges
SET YieldChange = 12
WHERE BuildingType="BUILDING_FOSSIL_FUEL_POWER_PLANT" AND YieldType="YIELD_PRODUCTION";

2.三种发电厂均能为城市建造(包括区域/奇观)提供5%产能
INSERT INTO BuildingModifiers(BuildingType,ModifierId)
SELECT
Building,'BUILDING_POWER_PLANT_FASTER_BUILDTIME_DISTRICT'
FROM BuildingPrereqs WHERE PrereqBuilding= 'BUILDING_FACTORY';

INSERT INTO BuildingModifiers(BuildingType,ModifierId)
SELECT
Building,'BUILDING_POWER_PLANT_FASTER_BUILDTIME_WONDER'
FROM BuildingPrereqs WHERE PrereqBuilding= 'BUILDING_FACTORY';