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 #761781

Add a "how long will this action take" finder

Added by Sveinung Kvilhaugsvik about 4 years ago. Updated about 4 years ago.

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

100%

Estimated time:

Description

Some actions are activities. Those aren't done until enough work (stored in a unit's activity_count) has been performed. The work is done at turn change. Other actions are instantaneous. They are performed (or fails) at once the unit is ordered to perform them.

Introduce the constant ACT_TIME_INSTANTANEOUS and the function action_get_act_time(). The constant ACT_TIME_INSTANTANEOUS symbolizes that an action is instantaneous. The function action_get_act_time() returns ACT_TIME_INSTANTANEOUS for instantaneous actions and the amount of work (done at turn change) required to complete it for activities.


Related issues

Related to Freeciv - Feature #761724: Support actions with extra sub targets in unit order executionClosed

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

History

#2 Updated by Sveinung Kvilhaugsvik about 4 years ago

  • Related to Feature #761724: Support actions with extra sub targets in unit order execution added

#3 Updated by Sveinung Kvilhaugsvik about 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF