Ticket #47350

Teleport action

오픈 날짜: 2023-02-13 23:04 마지막 업데이트: 2023-03-10 06:02

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Add Teleport action type, that differs from Unit Move in that the tiles do not need to be adjacent.

Assuming this is not very hard, as e.g. lua scripting API already supports teleporting (I actually assumed that we have that action already)

Likely would also be usable as "Rebase Aircraft" (action ui_name) from https://osdn.net/projects/freeciv/ticket/47307#comment:12505:47307:1676142259 but if that require any "weird" semantics, would rather leave it to a separate action than forcing those semantics to "Teleport"

Ticket History (3/7 Histories)

2023-02-13 23:04 Updated by: cazfi
  • New Ticket "Teleport action" created
2023-02-13 23:56 Updated by: cazfi
댓글 올리기

Reply To cazfi

Assuming this is not very hard

One complication is handling of huts and conquerable bases on target tile, but that too has already been resolved for "Unit Move" kind of actions.

2023-02-21 07:45 Updated by: cazfi
댓글 올리기

I'm not sure if existing Paradrop actions have anything differently from this in their hardcoded parts. Nevertheless we want the new action slot - usually that's been achieved by "fake generalizing" actions, and effectively that's what happens with this. Twist is just that (an intermediate version) will have actions named as "Teleport" and "Paradrop", not "Teleport" and "Teleport 2"

We should unify these later (but maybe only in 3.3?)

2023-03-04 18:34 Updated by: cazfi
댓글 올리기

New hover type for this -> #47522

Not a blocking issue for this - this should go in using existing hover cursor.

2023-03-04 18:55 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-03-10 06:02 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

Please login to add comment to this ticket » Login