Incidencia #47350

Teleport action

Abrir Fecha: 2023-02-13 23:04 Última actualización: 2023-03-10 06:02

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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
Comentario

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
Comentario

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
Comentario

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
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2023-03-10 06:02 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Entrar