From 3812c45637468cb1bf09b9c4b3ffd6f76883eeb4 Mon Sep 17 00:00:00 2001 From: Aylong Date: Tue, 11 Jun 2024 17:46:22 +0300 Subject: [PATCH] Translate RPS --- code/__DEFINES/emotes_defines.dm | 12 ++++++------ code/datums/status_effects/neutral.dm | 28 +++++++++++++-------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/code/__DEFINES/emotes_defines.dm b/code/__DEFINES/emotes_defines.dm index f654bb678bbe..c3daccdc3332 100644 --- a/code/__DEFINES/emotes_defines.dm +++ b/code/__DEFINES/emotes_defines.dm @@ -79,10 +79,10 @@ #define USABLE_DEAD_EMOTES list("*flip", "*spin") // Strings used for the rock paper scissors emote and status effect -#define RPS_EMOTE_ROCK "rock" -#define RPS_EMOTE_PAPER "paper" -#define RPS_EMOTE_SCISSORS "scissors" +#define RPS_EMOTE_ROCK "камень" +#define RPS_EMOTE_PAPER "бумага" +#define RPS_EMOTE_SCISSORS "ножницы" -#define RPS_EMOTE_THEY_WIN "aww" -#define RPS_EMOTE_WE_WIN "yay" -#define RPS_EMOTE_TIE "tie" +#define RPS_EMOTE_THEY_WIN "блин..." +#define RPS_EMOTE_WE_WIN "ура!" +#define RPS_EMOTE_TIE "ничья" diff --git a/code/datums/status_effects/neutral.dm b/code/datums/status_effects/neutral.dm index 477f59995a66..0cc3c029a178 100644 --- a/code/datums/status_effects/neutral.dm +++ b/code/datums/status_effects/neutral.dm @@ -158,18 +158,18 @@ /datum/status_effect/high_five/rps id = "rps" - critical_success = "both play rock -- THEY'RE GOING IN FOR THE FISTBUMP!" - success = "play rock-paper-scissors!" + critical_success = "оба разыгрывают камень, ОНИ ДЕЛАЮТ ДРУЖЕСКИЙ УДАР КУЛАКАМИ!" + success = "камень, ножницы, бумага!" sound_effect = 'sound/effects/glassknock.ogg' - request = "wants to play rock-paper-scissors!" + request = "хочет сыграть в «камень-ножницы-бумага»!" item_path = /obj/item/claymore // it's time to d-d-d-d-d-d-d-duel! /// The move that you'll be making. var/move /datum/status_effect/high_five/rps/get_missed_message() var/list/missed_messages = list( - "just seems to be practicing against [owner.p_themselves()]. [owner.p_are(TRUE)] [owner.p_they()] losing?", - "seems more interested in a thumb war." + "перестаёт стучать по ладони и опускает свою руку, кажется он огорчён.", + "играет в «камень-ножницы-бумага» сам с собой. Он проиграл..." ) return pick(missed_messages) @@ -199,21 +199,21 @@ var/outcome_msg switch(outcome) if(RPS_EMOTE_TIE) - outcome_msg = "It's a tie!" + outcome_msg = "Это ничья!" if(RPS_EMOTE_WE_WIN) - outcome_msg = "[user] wins!" + outcome_msg = "[user] побеждает!" if(RPS_EMOTE_THEY_WIN) - outcome_msg = "[highfived] wins!" + outcome_msg = "[highfived] побеждает!" user.visible_message( - "[user] plays [move], and [highfived] plays [their_status_effect.move].", - "[highfived] plays [their_status_effect.move].", - "It sounds like rock-paper-scissors." + "[user] разыгрывает [move], [highfived] в свою очередь разыгрывает [their_status_effect.move].", + "[highfived] разыгрывает [their_status_effect.move].", + "Похоже на «камень-ножницы-бумага»." ) user.visible_message( "[outcome_msg]", - blind_message = "It sounds like [pick(user, highfived)] won!" // you're blind how are you supposed to know + blind_message = "Похоже что [pick(user, highfived)] победил!" // you're blind how are you supposed to know ) /datum/status_effect/high_five/rps/on_creation(mob/living/new_owner, made_move) @@ -227,14 +227,14 @@ /datum/status_effect/high_five/rps/on_apply() if(!isnull(move)) - to_chat(owner, "You prepare to play [move].") + to_chat(owner, "Вы готовитесь разыграть [move].") return ..() // we already have the move, probably from the emote passing it in move = get_rock_paper_scissors_move(owner) if(move == null) return FALSE // make it auto-remove itself - to_chat(owner, "You prepare to play [move].") + to_chat(owner, "Вы готовитесь разыграть [move].") return ..()