Follow-up Comment #1, bug #19589 (project freeciv):

I'm trying to implement this idea, it simply needs one extra line at the end
of tech_upkeep_calc() to multiply by number of cities owned by the player.
Could some coder please tell where can I get this value?

  tech_bulb_sum *= get_player_bonus(pplayer, EFT_TECH_COST_FACTOR);
  tech_bulb_sum *= (double) / 100.0;
  tech_bulb_sum /=;
  tech_bulb_sum -= get_player_bonus(pplayer, EFT_TECH_UPKEEP_FREE);

  /*tech_bulb_sum *= ¿¿number of cities owned by player??*/

Syntron, if you are around, please tell what do you think?


Reply to this item at:


  Mensaje enviado vía/por Gna!

Freeciv-dev mailing list

Reply via email to