From 80fe2494f31c4c67722df3203843b6f1bcde4abf Mon Sep 17 00:00:00 2001 From: SuhEugene <32931701+SuhEugene@users.noreply.github.com> Date: Thu, 2 May 2024 20:51:32 +0300 Subject: [PATCH] Add ability to honk with robotic tongue --- mod_celadon/mod_celadon.dme | 1 + mod_celadon/robotic_honk/README.md | 78 +++++++++++++++++++ mod_celadon/robotic_honk/_robotic_honk.dm | 4 + mod_celadon/robotic_honk/_robotic_honk.dme | 8 ++ mod_celadon/robotic_honk/code/robotic_honk.dm | 11 +++ 5 files changed, 102 insertions(+) create mode 100644 mod_celadon/robotic_honk/README.md create mode 100644 mod_celadon/robotic_honk/_robotic_honk.dm create mode 100644 mod_celadon/robotic_honk/_robotic_honk.dme create mode 100644 mod_celadon/robotic_honk/code/robotic_honk.dm diff --git a/mod_celadon/mod_celadon.dme b/mod_celadon/mod_celadon.dme index 5f5f74e6bbde..134523081977 100644 --- a/mod_celadon/mod_celadon.dme +++ b/mod_celadon/mod_celadon.dme @@ -34,6 +34,7 @@ #include "balance/_balance.dme" #include "fixes/_fixes.dme" #include "ipc_surgery/_ipc_surgery.dme" +#include "robotic_honk/_robotic_honk.dme" // --- DONATORS --- // diff --git a/mod_celadon/robotic_honk/README.md b/mod_celadon/robotic_honk/README.md new file mode 100644 index 000000000000..59813eb2c7d4 --- /dev/null +++ b/mod_celadon/robotic_honk/README.md @@ -0,0 +1,78 @@ + + +#### Список PRов: + +- https://github.com/MysticalFaceLesS/Shiptest/pulls/476 + + + +## Роботический Хонк + +ID мода: ROBOTIC_HONK + + +### Описание мода + +Добавляет ИПС возможность хонкать с помощью *honk + + +### Изменения *кор кода* + +- Отсутствуют + + +### Оверрайды + +- Отсутствуют + + +### Дефайны + +- Отсутствуют + + +### Используемые файлы, не содержащиеся в модпаке + +- `sound/items/bikehorn.ogg` + + +### Авторы: + +SuhEugene + diff --git a/mod_celadon/robotic_honk/_robotic_honk.dm b/mod_celadon/robotic_honk/_robotic_honk.dm new file mode 100644 index 000000000000..1f155c4d919f --- /dev/null +++ b/mod_celadon/robotic_honk/_robotic_honk.dm @@ -0,0 +1,4 @@ +/datum/modpack/robotic_honk + name = "Роботический Хонк" + desc = "Добавляет ИПС возможность хонкать с помощью *honk" + author = "SuhEugene" diff --git a/mod_celadon/robotic_honk/_robotic_honk.dme b/mod_celadon/robotic_honk/_robotic_honk.dme new file mode 100644 index 000000000000..ae5b1aebc331 --- /dev/null +++ b/mod_celadon/robotic_honk/_robotic_honk.dme @@ -0,0 +1,8 @@ +#ifndef MODPACK_CELADON_ROBOTIC_HONK +#define MODPACK_CELADON_ROBOTIC_HONK + +#include "_robotic_honk.dm" + +#include "code/robotic_honk.dm" + +#endif diff --git a/mod_celadon/robotic_honk/code/robotic_honk.dm b/mod_celadon/robotic_honk/code/robotic_honk.dm new file mode 100644 index 000000000000..7cd4f234994d --- /dev/null +++ b/mod_celadon/robotic_honk/code/robotic_honk.dm @@ -0,0 +1,11 @@ +// Префикс mod_celadon_ чтобы внезапно не конфликтовать с оффами, +// на случай если они какой honk добавят в будущем + +/datum/emote/living/carbon/human/robot_tongue/mod_celadon_honk + key = "honk" + key_third_person = "honks" + message = "lets out a honk!" + +/datum/emote/living/carbon/human/robot_tongue/mod_celadon_honk/run_emote(mob/user, params) + if(..()) + playsound(user.loc, 'sound/items/bikehorn.ogg', 50, TRUE)