Follow-up Comment #4, patch #6341 (project freeciv):

The thing being built is the local building/unit type at the target city side.
The local building type is NULL if the production is a unit.

I'm not sure if this should be true in general (for all actions with a unit
actor and a city target) or only true when the action is help wonder.

The advantage of making it true in general is that the requirement vector
semantics remains consistent. The consistency of what requirement vectors are
evaluated against is a useful property.

The advantage of limiting it is that targeted sabotage city could make use of
the local building to forbid sabotaging certain buildings.

A compromise semantic could be that "target building is the building being
built unless the action has a target building parameter".

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to