From 0645b4d63c01c37b4f161d21b64be9a6c91336f1 Mon Sep 17 00:00:00 2001 From: 778b Date: Sat, 2 Mar 2024 15:14:17 +0400 Subject: [PATCH] Added xeno radio --- Resources/Locale/ru-RU/TS/radio.ftl | 3 ++- Resources/Prototypes/TS/Entities/Mobs/NPCs/xeno.yml | 7 +++++++ Resources/Prototypes/TS/radio_channels.yml | 9 ++++++++- Resources/Prototypes/radio_channels.yml | 3 ++- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Resources/Locale/ru-RU/TS/radio.ftl b/Resources/Locale/ru-RU/TS/radio.ftl index cd63af3768..b95166a571 100644 --- a/Resources/Locale/ru-RU/TS/radio.ftl +++ b/Resources/Locale/ru-RU/TS/radio.ftl @@ -1 +1,2 @@ -chat-radio-local-marine = Десант \ No newline at end of file +chat-radio-local-marine = Десант +chat-radio-antag = Антагонист diff --git a/Resources/Prototypes/TS/Entities/Mobs/NPCs/xeno.yml b/Resources/Prototypes/TS/Entities/Mobs/NPCs/xeno.yml index 1d2b5e6ae5..bcffc09a11 100644 --- a/Resources/Prototypes/TS/Entities/Mobs/NPCs/xeno.yml +++ b/Resources/Prototypes/TS/Entities/Mobs/NPCs/xeno.yml @@ -5,6 +5,13 @@ suffix: Combat description: They mostly come at night. Mostly. components: + - type: IntrinsicRadioReceiver + - type: IntrinsicRadioTransmitter + channels: + - Antag + - type: ActiveRadio + channels: + - Antag - type: FlashImmunity - type: MovementIgnoreGravity - type: MovedByPressure diff --git a/Resources/Prototypes/TS/radio_channels.yml b/Resources/Prototypes/TS/radio_channels.yml index 30818fc040..f71ebcf5d4 100644 --- a/Resources/Prototypes/TS/radio_channels.yml +++ b/Resources/Prototypes/TS/radio_channels.yml @@ -1,10 +1,17 @@ - type: radioChannel id: LocalMarine name: chat-radio-local-marine - keycode: 't' + keycode: 'д' frequency: 322 color: "#799c2a" +- type: radioChannel + id: Antag + name: chat-radio-antag + keycode: 'л' + frequency: 2142 + color: "#8f4a4b" + longRange: true - type: entity parent: EncryptionKey diff --git a/Resources/Prototypes/radio_channels.yml b/Resources/Prototypes/radio_channels.yml index 212fa5b21a..fd45fcaecd 100644 --- a/Resources/Prototypes/radio_channels.yml +++ b/Resources/Prototypes/radio_channels.yml @@ -81,7 +81,7 @@ - type: radioChannel id: Binary name: chat-radio-binary - keycode: 'д' # Corvax-Localization + keycode: 'б' # Corvax-Localization frequency: 1001 color: "#2ed2fd" # long range since otherwise it'd defeat the point of a handheld radio independent of telecomms @@ -95,3 +95,4 @@ color: "#f6ce64" # long range since otherwise it'd defeat the point of a handheld radio independent of telecomms longRange: true +