[Freeciv-tickets] [freeciv] #48261: Requirement to check ZOC

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Jun 20 20:51:23 JST 2023


#48261: Requirement to check ZOC

  Open Date: 2023-06-20 20:51
Last Update: 2023-06-20 20:51

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48261
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48261

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-20 20:51 Updated by: bard
 * New Ticket "Requirement to check ZOC" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: bard
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I wish that the presence of a ZOC can be used as a requirement condition for effects or action enablers. Something like:
"UnitState", "InEnemyZOC" (adjacent enemy unit)
"UnitState", "InFriendlyZOC" (adjacent friendly unit)
My other related wish is an option to get that any unit that moves to an enemy zone of control is forced to end the movement (it loses all remaining mp, even units with Ignore ZOC, and even when moving to a tile with friendly units).
I think my 2nd wish could be implemented with the 1st:
action="Unit Move"
actor_reqs={"type","name","range","present"
"MinMoveFrags","1","Local",TRUE
"UnitState","Transported","Local",FALSE
"UnitState","InEnemyZOC","Local",FALSE
}

action="Unit Move"
actor_reqs={"type","name","range","present"
"MinMoveFrags","1","Local",TRUE
"UnitState","InEnemyZOC","Local",TRUE
"UnitState","MovedThisTurn","Local",FALSE
}
My 3th related wish is that units can get a defensive bonus when they are in a friendly ZOC (adjacent to friendly military units), or a penalty when attacking such units. I think it would be possible together with #47862
Btw, thank you for the modding capabilities of 3.1, specially the new action enablers.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48261
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48261



More information about the Freeciv-tickets mailing list
Back to archive index