URL:
  <http://gna.org/patch/?6926>

                 Summary: Long range actions don't work in orders
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Sun 07 Feb 2016 09:13:32 PM UTC
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 3.0.0

    _______________________________________________________

Details:

A unit order stores an action's target as the tile it is located on. The tile
is stored as a direction when the target is at a tile adjacent to the actor
unit tile and as no direction when the target is at the same tile as the actor
unit. The order system will pick a suitable target at the specified tile
during order execution. This makes it impossible to target something that
isn't at or next to the actors tile.

No currently existing action can target anything outside the range allowed by
a unit order. Future actions will. Sending one of those in a unit in an order
packet will severely handicap it. A client should therefore send them in the
unit_do_action packet. Forbid actions with a max distance above 1 in order
packets.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 07 Feb 2016 09:13:32 PM UTC  Name:
Long-range-actions-don-t-work-in-orders.patch  Size: 3kB   By: sveinung

<http://gna.org/patch/download.php?file_id=26632>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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