From 1cb94e47e8b21fb1c43715e14897915cdd024b86 Mon Sep 17 00:00:00 2001 From: Rafnik02 Date: Sun, 17 Nov 2024 21:28:39 +0800 Subject: [PATCH] =?UTF-8?q?1=20=D0=B8=D0=BB=D0=B8=200.=20TRUE=20=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=20FALSE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/surgery/tools.dm | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/code/modules/surgery/tools.dm b/code/modules/surgery/tools.dm index 83b5c23b8f7..4f91e9d2149 100644 --- a/code/modules/surgery/tools.dm +++ b/code/modules/surgery/tools.dm @@ -79,6 +79,14 @@ name = "surgical drill" desc = "You can drill using this item. You dig?" icon = 'icons/obj/surgery.dmi' + ru_names = list( + NOMINATIVE = "хирургическая дрель", + GENITIVE = "хирургической дрели", + DATIVE = "хирургической дрели", + ACCUSATIVE = "хирургическую дрель", + INSTRUMENTAL = "хирургической дрелью", + PREPOSITIONAL = "хирургической дрели", + ) icon_state = "drill" item_state = "drills" hitsound = 'sound/weapons/drill.ogg' @@ -95,9 +103,22 @@ . = ..() ADD_TRAIT(src, TRAIT_SURGICAL, ROUNDSTART_TRAIT) -/obj/item/surgicaldrill/suicide_act(mob/user) - to_chat(viewers(user), pick(span_suicide("[user] is pressing [src] to [user.p_their()] temple and activating it! It looks like [user.p_theyre()] trying to commit suicide."), - span_suicide("[user] is pressing [src] to [user.p_their()] chest and activating it! It looks like [user.p_theyre()] trying to commit suicide."))) +/obj/item/surgicaldrill/suicide_act(mob/living/user) + user.visible_message(span_suicide("[user] наматыва[pluralize_ru(user.gender,"ет","ют")] себя на [declent_ru(ACCUSATIVE)]! Похоже [genderize_ru(user.gender,"он","она","оно","они")] соверша[pluralize_ru(user.gender,"ет","ют")] суицид!")) + user.SpinAnimation(3, 10) + user.Immobilize(5 SECONDS) + playsound(user, 'sound/machines/juicer.ogg', 20, TRUE) + + sleep(25) + + if(!user) + return + + for(var/obj/item/W in user) + user.drop_item_ground(W) + + user.gib() + return BRUTELOSS /obj/item/surgicaldrill/laser