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)game.info.sciencebox / 100.0;
  tech_bulb_sum /= game.info.tech_upkeep_divider;
  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:

  <http://gna.org/bugs/?19589>

_______________________________________________
  Mensaje enviado vía/por Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to