Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation of anomaly events #93

Merged
merged 6 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions code/__DEFINES/anomaly.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
///Time in seconds before anomaly is announced
#define ANOMALY_ANNOUNCE_MEDIUM_TIME (2 EVENT_SECONDS)
///Let them know how far away the anomaly is
#define ANOMALY_ANNOUNCE_MEDIUM_TEXT "long range scanners. Expected location:"
#define ANOMALY_ANNOUNCE_MEDIUM_TEXT "сканерах дальнего действия. Предполагаемая локация:"

/**
* Chaotic but not harmful anomalies. Give the station a chance to find it on their own.
Expand All @@ -26,7 +26,7 @@
///Time in seconds before anomaly is announced
#define ANOMALY_ANNOUNCE_HARMFUL_TIME (30 EVENT_SECONDS)
///Let them know how far away the anomaly is
#define ANOMALY_ANNOUNCE_HARMFUL_TEXT "localized scanners. Detected location:"
#define ANOMALY_ANNOUNCE_HARMFUL_TEXT "локальных сканерах. Зафиксированая локация:"
HardexZ marked this conversation as resolved.
Show resolved Hide resolved

/**
* Anomalies that can fuck you up. Give them a bit of warning.
Expand All @@ -37,4 +37,4 @@
///Time in seconds before anomaly is announced
#define ANOMALY_ANNOUNCE_DANGEROUS_TIME (30 EVENT_SECONDS)
///Let them know how far away the anomaly is
#define ANOMALY_ANNOUNCE_DANGEROUS_TEXT "localized scanners. Detected location:"
#define ANOMALY_ANNOUNCE_DANGEROUS_TEXT "локальных сканерах. Зафиксированая локация:"
HardexZ marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion code/game/objects/effects/anomalies/anomalies_bluespace.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
var/turf/TO = get_turf(chosen) // the turf of origin we're travelling TO

playsound(TO, 'sound/effects/phasein.ogg', 100, TRUE)
priority_announce("Massive bluespace translocation detected.", "Anomaly Alert")
priority_announce("Зафиксирован массивный выброс блюспейс энергии.", "Оповещение об аномалии")

var/list/flashers = list()
for(var/mob/living/carbon/C in viewers(TO, null))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
var/area/new_area = placer.findValidArea()
var/turf/new_turf = placer.findValidTurf(new_area)

priority_announce("Dimensional instability relocated. Expected location: [new_area.name].", "Anomaly Alert")
priority_announce("Пространственная аномалия переместилась. Предполагаемая локация: [new_area.name].", "Оповещение об аномалии")
src.forceMove(new_turf)
prepare_area()

Expand Down
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_bioscrambler.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
min_players = 10
max_occurrences = 5
weight = 20
description = "This anomaly replaces the limbs of nearby people."
description = "Эта аномалия заменяет конечности находящихся рядом людей."
min_wizard_trigger_potency = 0
max_wizard_trigger_potency = 2

Expand All @@ -17,4 +17,4 @@
/datum/round_event/anomaly/anomaly_bioscrambler/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Biologic limb swapping agent detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name]. Wear biosuits or other protective gear to counter the effects. Calculated half-life of %9£$T$%F3 years.", "Anomaly Alert")
priority_announce("Биологический агент замены конечностей обнаружен на [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name]. Используте биокостюмы или другое защитное снаряжение, чтобы противостоять последствиям. Расчетный период полураспада %9£$T$%F3 года.", "Оповещение об аномалии")
HardexZ marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_bluespace.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

max_occurrences = 1
weight = 15
description = "This anomaly randomly teleports all items and mobs in a large area."
description = "Эта аномалия случайным образом телепортирует все предметы и существ на большую территорию."
HardexZ marked this conversation as resolved.
Show resolved Hide resolved
min_wizard_trigger_potency = 0
max_wizard_trigger_potency = 2

Expand All @@ -16,4 +16,4 @@
/datum/round_event/anomaly/anomaly_bluespace/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Bluespace instability detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Нестабильная блюспейс-аномалия обнаружена на [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Оповещение об аномалии")
8 changes: 4 additions & 4 deletions code/modules/events/anomaly/anomaly_dimensional.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
min_players = 10
max_occurrences = 5
weight = 20
description = "This anomaly replaces the materials of the surrounding area."
description = "Эта аномалия заменяет материалы окружающей местности."
min_wizard_trigger_potency = 0
max_wizard_trigger_potency = 2
admin_setup = list(/datum/event_admin_setup/set_location/anomaly, /datum/event_admin_setup/listed_options/anomaly_dimensional)
Expand All @@ -25,11 +25,11 @@
/datum/round_event/anomaly/anomaly_dimensional/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Dimensional instability detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Пространственная аномалия обнаружена на [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Оповещение об аномалии")

/datum/event_admin_setup/listed_options/anomaly_dimensional
input_text = "Select a dimensional anomaly theme?"
normal_run_option = "Random Theme"
input_text = "Выбрать тему пространственной аномалии?"
normal_run_option = "Случайная тема"

/datum/event_admin_setup/listed_options/anomaly_dimensional/get_list()
return subtypesof(/datum/dimension_theme)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_ectoplasm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/datum/round_event_control/anomaly/anomaly_ectoplasm
name = "Anomaly: Ectoplasmic Outburst"
description = "Anomaly that produces an effect of varying intensity based on how many ghosts are orbiting it."
description = "Аномалия, вызывающая эффект различной интенсивности в зависимости от количества призраков, находящихся вокруг нее."
typepath = /datum/round_event/anomaly/anomaly_ectoplasm
min_players = 30
max_occurrences = 2
Expand Down Expand Up @@ -41,7 +41,7 @@
/datum/round_event/anomaly/anomaly_ectoplasm/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Paranormal ectoplasmic outburst detected on [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Паранормальный выброс эктоплазмы обнаружен на [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Оповещение об аномалии")

/datum/event_admin_setup/anomaly_ectoplasm
///The admin-selected intensity
Expand Down
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_flux.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
min_players = 10
max_occurrences = 5
weight = 20
description = "This anomaly shocks and explodes."
description = "Эта аномалия бъет током и взрывается"
larentoun marked this conversation as resolved.
Show resolved Hide resolved
min_wizard_trigger_potency = 1
max_wizard_trigger_potency = 4

Expand All @@ -17,4 +17,4 @@
/datum/round_event/anomaly/anomaly_flux/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Hyper-energetic flux wave detected on [ANOMALY_ANNOUNCE_DANGEROUS_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Поточная гиперэнергетическая аномалия обнаружена на [ANOMALY_ANNOUNCE_DANGEROUS_TEXT] [impact_area.name].", "Оповещение об аномалии")
6 changes: 3 additions & 3 deletions code/modules/events/anomaly/anomaly_grav.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

max_occurrences = 5
weight = 25
description = "This anomaly throws things around."
description = "Эта аномалия разбрасывает вещи вокруг."
min_wizard_trigger_potency = 1
max_wizard_trigger_potency = 3

Expand All @@ -19,7 +19,7 @@
weight = 15
max_occurrences = 1
earliest_start = 20 MINUTES
description = "This anomaly has an intense gravitational field, and can disable the gravity generator."
description = "Эта аномалия имеет интенсивное гравитационное поле и может отключить гравитационный генератор."

/datum/round_event/anomaly/anomaly_grav/high
start_when = ANOMALY_START_HARMFUL_TIME
Expand All @@ -29,4 +29,4 @@
/datum/round_event/anomaly/anomaly_grav/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Gravitational anomaly detected on [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Anomaly Alert" , ANNOUNCER_GRANOMALIES)
priority_announce("Гравитационная аномалия обнаружена на [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Оповещение об аномалии" , ANNOUNCER_GRANOMALIES)
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_hallucination.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
min_players = 10
max_occurrences = 5
weight = 20
description = "This anomaly causes you to hallucinate."
description = "Эта аномалия вызывает галлюцинации."
min_wizard_trigger_potency = 0
max_wizard_trigger_potency = 2

Expand All @@ -17,4 +17,4 @@
/datum/round_event/anomaly/anomaly_hallucination/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Hallucinatory event detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Галлюцинаторное событие обнаружено на [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Оповещение об аномалии")
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_pyro.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

max_occurrences = 5
weight = 20
description = "This anomaly sets things on fire, and creates a pyroclastic slime."
description = "Эта аномалия поджигает вещи и создает пирокластического слайма."
min_wizard_trigger_potency = 1
max_wizard_trigger_potency = 4

Expand All @@ -16,4 +16,4 @@
/datum/round_event/anomaly/anomaly_pyro/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Pyroclastic anomaly detected on [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Anomaly Alert")
priority_announce("Пирокластическая аномалия обнаружена на [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Оповещение об аномалии")
4 changes: 2 additions & 2 deletions code/modules/events/anomaly/anomaly_vortex.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
min_players = 20
max_occurrences = 2
weight = 10
description = "This anomaly sucks in and detonates items."
description = "Эта аномалия всасывает и взрывает предметы."
min_wizard_trigger_potency = 3
max_wizard_trigger_potency = 7

Expand All @@ -17,4 +17,4 @@
/datum/round_event/anomaly/anomaly_vortex/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Localized high-intensity vortex anomaly detected on [ANOMALY_ANNOUNCE_DANGEROUS_TEXT] [impact_area.name]", "Anomaly Alert")
priority_announce("Вихревая аномалия высокой интенсивности обнаружена на [ANOMALY_ANNOUNCE_DANGEROUS_TEXT] [impact_area.name]", "Оповещение об аномалии")
Loading