Project

General

Profile

Bug #271 » 0020-civ2civ3-sandbox-Refactor-disaster-frequencies.patch

S3_2 - Marko Lindqvist, 02/20/2024 09:02 PM

View differences:

data/civ2civ3/game.ruleset
{ "type", "name", "range"
"Terrain", "Hills", "Tile"
}
frequency = 100
frequency = 10
effects = "EmptyProdStock"
[disaster_flood]
......
{ "type", "name", "range"
"Extra", "River", "Adjacent"
}
frequency = 100
frequency = 10
effects = "EmptyFoodStock"
[disaster_fire]
......
{ "type", "name", "range"
"MinSize", "9", "City"
}
frequency = 100
frequency = 10
effects = "DestroyBuilding"
[disaster_industrial_accident]
......
{ "type", "name", "range"
"Building", "Mfg. Plant", "City"
}
frequency = 100
frequency = 10
effects = "ReducePopulation", "Pollution"
[disaster_nuclear_accident]
......
{ "type", "name", "range"
"Building", "Nuclear Plant", "City"
}
frequency = 100
frequency = 10
effects = "ReducePopulation", "Fallout"
; /* <-- avoid gettext warnings
......
"techlossrestore", 50
"revolentype", "RANDQUICK"
"tradeworldrelpct", 100
"disasters", 100
}
data/sandbox/game.ruleset
{ "type", "name", "range"
"Terrain", "Hills", "Tile"
}
frequency = 100
frequency = 10
effects = "EmptyProdStock"
[disaster_flood]
......
{ "type", "name", "range"
"Extra", "River", "Adjacent"
}
frequency = 100
frequency = 10
effects = "EmptyFoodStock"
[disaster_fire]
......
{ "type", "name", "range"
"MinSize", "9", "City"
}
frequency = 100
frequency = 10
effects = "DestroyBuilding"
[disaster_industrial_accident]
......
{ "type", "name", "range"
"Building", "Mfg. Plant", "City"
}
frequency = 100
frequency = 10
effects = "ReducePopulation", "Pollution"
[disaster_nuclear_accident]
......
{ "type", "name", "range"
"Building", "Nuclear Plant", "City"
}
frequency = 100
frequency = 10
effects = "ReducePopulation", "Fallout"
; /* <-- avoid gettext warnings
......
"tradeworldrelpct", 100, FALSE
"northlatitude", 1000, TRUE
"southlatitude", -1000, TRUE
"disasters", 100, FALSE
}
(2-2/2)