From 8c33211cfc43a2aa67b1b626f23d7d32ed7ec1e4 Mon Sep 17 00:00:00 2001 From: WKFO Date: Tue, 29 Dec 2020 20:57:36 +0300 Subject: [PATCH] Use custom ship label for Rondel guards --- data/lang/module-rondel/en.json | 4 ++++ data/modules/PolicePatrol/Rondel.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/lang/module-rondel/en.json b/data/lang/module-rondel/en.json index 0a8e93ced..73a369dff 100644 --- a/data/lang/module-rondel/en.json +++ b/data/lang/module-rondel/en.json @@ -22,5 +22,9 @@ "HOSTILE_ACTION_REPORTED": { "description": "", "message": "Hostile action reported. Intercept and destroy!" + }, + "HABER_DEFENSE_CRAFT": { + "description": "", + "message": "Haber Defense Craft" } } diff --git a/data/modules/PolicePatrol/Rondel.lua b/data/modules/PolicePatrol/Rondel.lua index 0fe1f3cc3..c0e70e82d 100644 --- a/data/modules/PolicePatrol/Rondel.lua +++ b/data/modules/PolicePatrol/Rondel.lua @@ -85,7 +85,7 @@ local onEnterSystem = function (player) local shipdef = ShipDef[system.faction.policeShip] for i = 1, 7 do ship = Space.SpawnShipNear(shipdef.id, player, 50, 100) - ship:SetLabel(l_ui_core.POLICE) + ship:SetLabel(l_rondel.HABER_DEFENSE_CRAFT) ship:AddEquip(Equipment.laser.pulsecannon_2mw) table.insert(patrol, ship) end