Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #919110

Allow an action to block a regular move

Added by Sveinung Kvilhaugsvik over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

An enabler controlled action is able to block another enabler controlled action. That means that the blocked action becomes illegal if the blocking action is legal.

Regular unit moves aren't enabler controlled actions yet. But certain enabler controlled actions needs to be able to block regular moves for compatibility reasons. They were handled along with regular moves in a way that made regular moves impossible if they were legal.

Introduce actions.move_is_blocked_by as list of actions that block regular moves and put it in the ruleset.

move_is_blocked_by-v1.patch (14.8 KB) move_is_blocked_by-v1.patch Sveinung Kvilhaugsvik, 2021-02-03 11:32 PM
move_is_blocked_by-v2.patch (15.4 KB) move_is_blocked_by-v2.patch Sveinung Kvilhaugsvik, 2021-02-04 12:18 AM

Related issues

Blocked by Freeciv - Feature #919106: action_is_blocked_by(): from id to actionClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Sveinung Kvilhaugsvik over 1 year ago

#2 Updated by Sveinung Kvilhaugsvik over 1 year ago

  • Blocked by Feature #919106: action_is_blocked_by(): from id to action added

#3 Updated by Sveinung Kvilhaugsvik over 1 year ago

v2: fix tiles without city bug

#4 Updated by Marko Lindqvist over 1 year ago

How is this targeted to 3.0 if it changes ruleset format?

#5 Updated by Sveinung Kvilhaugsvik over 1 year ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0

Marko Lindqvist wrote:

How is this targeted to 3.0 if it changes ruleset format?

Because I missed 3.1 in the drop down menu. Thank you for noticing.

#6 Updated by Sveinung Kvilhaugsvik over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF