.Lockheart
03-08-2011, 10:01 AM
Hi all, well, playing with the policies.lua file i found how to change some effects like how many CO2 Biochar and Artificial Trees do absorb.
For examble, with Biochar, you have to do this:
1.Find this part of text:
card{
id=12116,
oldid=None,
title="Subsidise Biochar",
description="Incentivise people to turn biomass into charcoal and blend the product into soils.\010\010{good}Absorbs CO2 and improves food supply.{}",
role="env",
cancel_on_fail=false,
card_image="yellow_fossil_fuel_carbon_capture",
economic_cost=-1000,
type="policy",
requirements={
{type="g_attr",attr="year",pred=">=",value=2020},
{type="r_tag",tag="game_env_deck",pred=">",value=0,report=false}
},
default_effects={
{type="r_attr",attr="agriculture_gdppw_base",op="prod",value=1.03},
{type="emissions_dump", amount=-425}
Note: I changed the economic_cost line so it gives me money.
2. Change the number after amount=-425 in
{type="emissions_dump", amount=-425}
For any number you desire.
(I guess you can even do it emmit Co2 instead of absorb it if you change the variable to a possitive number)
Now here is my problem, I want to do the same with Sulphate Aerosols, to make their effect more contundent (So I can get degrees going down even faster)
Which line do i have to modify to accomplish my goal?
For examble, with Biochar, you have to do this:
1.Find this part of text:
card{
id=12116,
oldid=None,
title="Subsidise Biochar",
description="Incentivise people to turn biomass into charcoal and blend the product into soils.\010\010{good}Absorbs CO2 and improves food supply.{}",
role="env",
cancel_on_fail=false,
card_image="yellow_fossil_fuel_carbon_capture",
economic_cost=-1000,
type="policy",
requirements={
{type="g_attr",attr="year",pred=">=",value=2020},
{type="r_tag",tag="game_env_deck",pred=">",value=0,report=false}
},
default_effects={
{type="r_attr",attr="agriculture_gdppw_base",op="prod",value=1.03},
{type="emissions_dump", amount=-425}
Note: I changed the economic_cost line so it gives me money.
2. Change the number after amount=-425 in
{type="emissions_dump", amount=-425}
For any number you desire.
(I guess you can even do it emmit Co2 instead of absorb it if you change the variable to a possitive number)
Now here is my problem, I want to do the same with Sulphate Aerosols, to make their effect more contundent (So I can get degrees going down even faster)
Which line do i have to modify to accomplish my goal?