Ticket #41642

Introduce action_enabler_utype_possible_actor().

Open Date: 2021-02-23 21:20 Last Update: 2021-02-26 00:16

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Accepted
File:
1

Details

Add the new function action_enabler_utype_possible_actor() to the actions module. It checks that an action enabler - at least in theory - may be performed by a unit of a given type.

This covers two use cases for me: The first is auto help for actions that lists all the requirements of an action like extra requirements has. (I'm not yet sure where to put this generated text.) The second is to purge more action enablers generated by rscompat.

Ticket History (3/4 Histories)

2021-02-23 21:20 Updated by: kvilhaugsvik
  • New Ticket "Introduce action_enabler_utype_possible_actor()." created
2021-02-23 21:31 Updated by: kvilhaugsvik
  • Resolution Update from None to Accepted
2021-02-26 00:16 Updated by: kvilhaugsvik
  • Status Update from Open to Closed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login