Bug #271 » 0031-civ2civ3-sandbox-Refactor-disaster-frequencies.patch
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"
|
||
[disaster_robbery]
|
||
name = _("Robbery")
|
||
frequency = 100
|
||
frequency = 10
|
||
effects = "Robbery"
|
||
; /* <-- 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"
|
||
[disaster_robbery]
|
||
name = _("Robbery")
|
||
frequency = 100
|
||
frequency = 10
|
||
effects = "Robbery"
|
||
; /* <-- avoid gettext warnings
|
||
... | ... | |
"tradeworldrelpct", 100, FALSE
|
||
"northlatitude", 1000, TRUE
|
||
"southlatitude", -1000, TRUE
|
||
"disasters", 100, FALSE
|
||
}
|