Tíquete #47350

Teleport action

: 2023-02-13 23:04 Última Atualização: 2023-03-10 06:02

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
Comentário

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
Comentário

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
Comentário

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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-03-10 06:02 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Login