mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 11:43:32 +00:00

Add search_recall_list=only to search the recall list, but not the map This is intended as a more clear way of doing 'x,y=recall,recall' and omitting search_recall_list. Note that search_recall_list=no with x,y=recall,recall produces a useless [role] which only runs the [else] block(s). Add reassign attribute Optional attribute, default 'yes'. If 'no' then do not re-assign the role if a unit already has the role. If 'no' and no unit has the role, the role is still assigned. Refactor auto_recall as a sub-tag Instead of a yes|no attribute, if there is an [auto_recall] sub-tag then recall the unit from the recall list. This acts as a [recall] tag without any StandardUnitFilterto which we add id=$unit.id and issue the recall.