Follow-up Comment #1, patch #5006 (project freeciv):

For trunk, using requirement_fulfilled_by_unit() and extension of the relevant
requirements vectors can address irrigation, mining, farmland, and road/rail
(can this unit mine?  If so, can it produce any of the EC_MINE extras?, etc.).
 Removing fallout/pollution probably needs more effort (this doesn't have a
requirements_vector).

I have some ideas of the shape of a solution for S2_5, but nothing firm yet
(I'm not yet convinced we want to backport universal_fulfills_requirement(),
although that's an easy way to solve the problem).

I'd really rather do this without introducing nreqs anywhere (more nreqs in
2.5 means more unlearning ruleset authors need for 2.6, and introducing new
nreqs in 2.6 when we still haven't finished cleaning up from having removed
the effects nreqs seems like asking for trouble).

I'm busy for the next few days, but would be happy to take this ticket
afterwards, if nobody else has already, since I've recently been working on
both helpdata and requirements parsing.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?5006>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to