Feature #1349 ยป 0051-Make-Shield2Gold_Pct-to-consider-individual-unit-s-p.patch
common/unittype.c | ||
---|---|---|
gold_upkeep_factor = get_target_bonus_effects(NULL,
|
||
&(const struct req_context) {
|
||
.player = pplayer,
|
||
.unittype = ut
|
||
.unittype = ut,
|
||
.unit = punit,
|
||
.tile = ptile,
|
||
.city = pcity
|
||
},
|
||
NULL, EFT_SHIELD2GOLD_PCT);
|
||
doc/README.effects | ||
---|---|---|
Shield2Gold_Pct
|
||
Factor in percent for the conversion of unit shield upkeep to gold upkeep.
|
||
A value of 200 would transfer 1 shield upkeep to 2 gold upkeep.
|
||
This works on unit type granularity, properties of individual units
|
||
do not count.
|
||
Shrink_Food
|
||
Food left after cities shrink is amount percent of the capacity of
|