Update of patch #4894 (project freeciv):

                 Summary: UnitState requirement type with the test
TransportDependent => Add the new test TransportDependent to the UnitState
requirement type

    _______________________________________________________

Follow-up Comment #3:

Update to apply on top of current trunk and patch #4983

_To confirm, the intent is to use the same nativity logic as is used for
attacks_
The intent of the patch is to check if the unit can exist on its tile (without
a transport). That is the current restriction on spy actions. This is what you
listed. At the moment (bug #22381) this is different from what is used in
attacks.

_ if there is a UnitState requirement, having an "IsTransported" state may be
potentially useful anyway, even if not required to implement this specific
abstraction._
I agree. See patch #4983

(file #21545)
    _______________________________________________________

Additional Item Attachment:

File name: 0002-Add-the-new-test-TransportDependent-to-the-UnitState.patch
Size:4 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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