aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/world/Waypoints.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-03-22 18:10:06 +0100
committerLinnea Gräf <nea@nea.moe>2025-03-22 18:10:06 +0100
commit40ac97026918f89a6bef77ce660efe0df6e4e6ef (patch)
treeabc407541f90825a33e925ddcb5e0480a4abe51f /src/main/kotlin/features/world/Waypoints.kt
parent487a900f15d5e2f9af2a947521e73aa6d3ece6ee (diff)
downloadFirmament-40ac97026918f89a6bef77ce660efe0df6e4e6ef.tar.gz
Firmament-40ac97026918f89a6bef77ce660efe0df6e4e6ef.tar.bz2
Firmament-40ac97026918f89a6bef77ce660efe0df6e4e6ef.zip
feat: Add firmament waypoint import / export that remembers relative waypoints
Diffstat (limited to 'src/main/kotlin/features/world/Waypoints.kt')
-rw-r--r--src/main/kotlin/features/world/Waypoints.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/features/world/Waypoints.kt b/src/main/kotlin/features/world/Waypoints.kt
index 3e9a41a..342f355 100644
--- a/src/main/kotlin/features/world/Waypoints.kt
+++ b/src/main/kotlin/features/world/Waypoints.kt
@@ -169,6 +169,10 @@ object Waypoints : FirmamentFeature {
}
}
}
+
+ fun textNothingToExport(): Text =
+ tr("firmament.command.waypoint.export.nowaypoints",
+ "No waypoints to export found. Add some with /firm waypoint ~ ~ ~.")
}
fun <E> List<E>.wrappingWindow(startIndex: Int, windowSize: Int): List<E> {