Howdy.
Trying to see if it can be done. My thoughts are to have a Tech or Civic or 2 that decreases CO2 emission from coal and oil.
So far I have been trying to use the effect of the carbon sequestration project's modifier, but seems maybe that can't be used in a way that is tied to units of resource coal and oil consumed, as "ResourceType" is not recognised as an argument by that particular modifier.
Or is it possible I'm doing something else wrong, with attaching it to the Civic Conservation or something.
Any ideas?
Thanks
Trying to see if it can be done. My thoughts are to have a Tech or Civic or 2 that decreases CO2 emission from coal and oil.
So far I have been trying to use the effect of the carbon sequestration project's modifier, but seems maybe that can't be used in a way that is tied to units of resource coal and oil consumed, as "ResourceType" is not recognised as an argument by that particular modifier.
Or is it possible I'm doing something else wrong, with attaching it to the Civic Conservation or something.
Code:
INSERT INTO Modifiers(ModifierId, ModifierType, RunOnce, NewOnly, Permanent, OwnerRequirementSetId, SubjectRequirementSetId, OwnerStackLimit, SubjectStackLimit)
VALUES
('COMBUSTION_EFFICIENCY_COAL', 'MODIFIER_PLAYER_ADD_SEQUESTERED_CARBON', '0', '0', '0', NULL, NULL, NULL, NULL),
('COMBUSTION_EFFICIENCY_OIL', 'MODIFIER_PLAYER_ADD_SEQUESTERED_CARBON', '0', '0', '0', NULL, NULL, NULL, NULL);
INSERT INTO ModifierArguments(ModifierId, Name, Type, Value, Extra, SecondExtra)
VALUES
('COMBUSTION_EFFICIENCY_COAL', 'ResourceType', 'ARGTYPE_IDENTITY', 'RESOURCE_COAL', NULL, NULL),
('COMBUSTION_EFFICIENCY_COAL', 'PerXItems', 'ARGTYPE_IDENTITY', '1', NULL, NULL),
('COMBUSTION_EFFICIENCY_COAL', 'Amount', 'ARGTYPE_IDENTITY', '410', NULL, NULL),
('COMBUSTION_EFFICIENCY_OIL', 'ResourceType', 'ARGTYPE_IDENTITY', 'RESOURCE_OIL', NULL, NULL),
('COMBUSTION_EFFICIENCY_OIL', 'PerXItems', 'ARGTYPE_IDENTITY', '1', NULL, NULL),
('COMBUSTION_EFFICIENCY_OIL', 'Amount', 'ARGTYPE_IDENTITY', '245', NULL, NULL);
INSERT INTO CivicModifiers (CivicType, ModifierId)
VALUES
('CIVIC_CONSERVATION' , 'COMBUSTION_EFFICIENCY_COAL'),
('CIVIC_CONSERVATION' , 'COMBUSTION_EFFICIENCY_OIL');
Any ideas?
Thanks