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

                 Summary: Make it possible to pass an action to the
requirement system
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Fri 27 Mar 2015 05:05:30 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:

This is the requirement evaluation function API change part of adding an
action requirement type (like the existing OutputType requirement type). It is
separate to make it easier to spot bugs in the action requirement type it
self.

Having the action requirement type will allow the Illegal_Action_Move_Cost to
be set pr action.

An alternative to introducing an action requirement type is to make
Illegal_Action_Move_Cost (and future things like it) a property of each action
in stead and ignore it for actions where they don't apply. (Example of where
it would have to be ignored: Illegal_Action_Move_Cost can't apply to an action
done directly by the player and not by an actor unit)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 27 Mar 2015 05:05:30 PM UTC  Name:
0001-Make-it-possible-to-pass-an-action-to-the-requiremen.patch  Size: 38kB  
By: sveinung

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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