Update of patch #6610 (project freeciv):
Status: In Progress => Ready For Test
Summary: Introduce the action forcer consept => Introduce the
Action Auto Performer concept
_______________________________________________________
Follow-up Comment #1:
An Action Auto Performer (AAP) rule makes an actor (try to) perform an Action
without being ordered to do so by the player. The only way the player can
prevent the actor from executing the order is to avoid its cause or to make
sure that the action is against the rules.
Network protocol support not included. Ruleset support not included.
Make the rules about what actions a unit will be forced to perform if his
upkeep in food, gold or shields can't be payed hard coded AAP data.
---
My short term plan is to use this in the ruleset format in a way that hides
that it is there. Just like actions are used to set action UI names.
My reason for hiding it is that:
1) I suspect that it should become possible to perform more than one action in
response to an event. That requires the AAP semantics to change. Not directly
exposing Action Auto Performers to the ruleset makes it impossible to create
AAPs that will be broken by the semantics change.
2) Other forms of missing upkeep aren't handled. If they later becomes handled
it could create backwards compatibility issues.
(file #25835)
_______________________________________________________
Additional Item Attachment:
File name: 0002-Introduce-Action-Auto-Performer-data-structures.patch Size:23
KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6610>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev