pebrazerzkidai.blogg.se

Freeciv new citizen
Freeciv new citizen






*/įactors considered in the Pollution Calculation * Then there is base pollution (usually a negative number). * num_known_tech_with_flag(pplayer, TF_POPULATION_POLLUTION_INC)

freeciv new citizen

Pop = 100 + get_city_bonus(pcity, EFT_POLLU_POP_PCT) * Add one 1/4 pollution per citizen per tech, multiplied by the bonus. Prod = shield_total * MAX(prod, 0) / 100 Prod = 100 + get_city_bonus(pcity, EFT_POLLU_PROD_PCT) * Add one one pollution per shield, multipled by the bonus. Struct player *pplayer = city_owner(pcity) Int *pollu_prod, int *pollu_pop, int *pollu_mod)

freeciv new citizen

Int city_pollution_types(const struct city *pcity, int shield_total, I've developed these formulae experimentally rather than by examining the code. The intention is that on the Freeciv Wiki I will provide only summary information but on the WikiLearn Wiki I will provide much more detail, including the data I collected and at least some examples of tests I have run for the more complicated formulae.

freeciv new citizen

I am putting some of this information on both the Freeciv Wiki and on WikiLearn. I don't intend to address those subjects on these pages. You might also be interested in the probability of pollution on a square within a city or the probability of a global warming event. I've chosen to use the term Pollution Production to mean the amount of pollution produced in a city.

#Freeciv new citizen free#

If you don't know that Freeciv is a free and open almost clone of the Civ games by Sid Meiers you should go to the Freeciv website for more information. These are the results of my incomplete efforts to develop formulae for the Pollution Production ("tons" of pollution) in a Freeciv city.






Freeciv new citizen