Skip to content

Commit

Permalink
Волшебный перевод Спейс Визарда (#229)
Browse files Browse the repository at this point in the history
## About The Pull Request
Перевод чаклуна
## Why It's Good For The Game
Потому что, потому
## Changelog
:cl:
Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод
Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод
Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод
Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод Перевод
Перевод Перевод Перевод
/:cl:
  • Loading branch information
Ingakem authored May 2, 2024
1 parent afd8f3c commit 2dbf910
Show file tree
Hide file tree
Showing 16 changed files with 433 additions and 426 deletions.
2 changes: 1 addition & 1 deletion code/datums/status_effects/buffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@

/atom/movable/screen/alert/status_effect/blessing_of_insanity
name = "Blessing of Insanity"
desc = "Your devotion to madness has improved your resilience to all damage and you gain the power to levitate!"
desc = "Преданность безумию повысила вашу устойчивость к любым повреждениям, и вы обрели способность левитировать!"
//no screen alert - the gravity already throws one

/datum/status_effect/blessing_of_insanity/on_apply()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/antagonists/_common/antag_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ GLOBAL_LIST_EMPTY(antagonists)
* Appears at start of roundend_catagory section.
*/
/datum/antagonist/proc/roundend_report_header()
return "<span class='header'>The [roundend_category] were:</span><br>"
return "<span class='header'>[roundend_category] были:</span><br>"

/**
* Proc that sends string data for the round-end report.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/// Is this refundable?
var/refundable = TRUE
/// Flavor. Verb used in saying how the spell is aquired. Ex "[Learn] Fireball" or "[Summon] Ghosts"
var/buy_word = "Learn"
var/buy_word = "Выучить"
/// The cooldown of the spell
var/cooldown
/// Whether the spell requires wizard garb or not
Expand Down Expand Up @@ -86,10 +86,10 @@
if(existing)
var/before_name = existing.name
if(!existing.level_spell())
to_chat(user, span_warning("This spell cannot be improved further!"))
to_chat(user, span_warning("Это заклинание не может быть болeе улучшено!"))
return FALSE

to_chat(user, span_notice("You have improved [before_name] into [existing.name]."))
to_chat(user, span_notice("Вы улучшили [before_name] в [existing.name]."))
name = existing.name

//we'll need to update the cooldowns for the spellbook
Expand All @@ -104,7 +104,7 @@
//No same spell found - just learn it
var/datum/action/cooldown/spell/new_spell = new spell_type(user.mind || user)
new_spell.Grant(user)
to_chat(user, span_notice("You have learned [new_spell.name]."))
to_chat(user, span_notice("Вы выучили - [new_spell.name]."))

if(log_buy)
log_spellbook("[key_name(user)] learned [new_spell] for [cost] points")
Expand Down Expand Up @@ -160,7 +160,7 @@
/datum/spellbook_entry/proc/refund_spell(mob/living/carbon/human/user, obj/item/spellbook/book)
var/area/centcom/wizard_station/wizard_home = GLOB.areas_by_type[/area/centcom/wizard_station]
if(get_area(user) != wizard_home)
to_chat(user, span_warning("You can only refund spells at the wizard lair!"))
to_chat(user, span_warning("Вы можете вернуть очки за заклинания только в логове волшебника!"))
return -1

for(var/datum/action/cooldown/spell/to_refund in user.actions)
Expand Down Expand Up @@ -193,7 +193,7 @@
/// Item summons, they give you an item.
/datum/spellbook_entry/item
refundable = FALSE
buy_word = "Summon"
buy_word = "Призвать"
/// Typepath of what item we create when purchased
var/obj/item/item_path

Expand All @@ -209,14 +209,14 @@
/// Attempts to give the item to the buyer on purchase.
/datum/spellbook_entry/item/proc/try_equip_item(mob/living/carbon/human/user, obj/item/to_equip)
var/was_put_in_hands = user.put_in_hands(to_equip)
to_chat(user, span_notice("\A [to_equip.name] has been summoned [was_put_in_hands ? "in your hands" : "at your feet"]."))
to_chat(user, span_notice("Приобретенный [to_equip.name] был призван [was_put_in_hands ? "в ваши руки" : "у ваших ног"]."))

/// Ritual, these cause station wide effects and are (pretty much) a blank slate to implement stuff in
/datum/spellbook_entry/summon
category = "Rituals"
category = "Ритуалы"
limit = 1
refundable = FALSE
buy_word = "Cast"
buy_word = "Провести"

/datum/spellbook_entry/summon/buy_spell(mob/living/carbon/human/user, obj/item/spellbook/book, log_buy = TRUE)
if(log_buy)
Expand All @@ -229,9 +229,9 @@
/// Non-purchasable flavor spells to populate the spell book with, for style.
/datum/spellbook_entry/challenge
name = "Take the Challenge"
category = "Challenges"
category = "Испытания"
refundable = FALSE
buy_word = "Accept"
buy_word = "Принять"

// See, non-purchasable.
/datum/spellbook_entry/challenge/can_buy(mob/living/carbon/human/user, obj/item/spellbook/book)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
#define SPELLBOOK_CATEGORY_ASSISTANCE "Assistance"
#define SPELLBOOK_CATEGORY_ASSISTANCE "Поддержка"
// Wizard spells that assist the caster in some way
/datum/spellbook_entry/summonitem
name = "Summon Item"
desc = "Recalls a previously marked item to your hand from anywhere in the universe."
desc = "Возвращает в вашу руку ранее отмеченный предмет из любой точки вселенной."
spell_type = /datum/action/cooldown/spell/summonitem
category = SPELLBOOK_CATEGORY_ASSISTANCE
cost = 1

/datum/spellbook_entry/charge
name = "Charge"
desc = "This spell can be used to recharge a variety of things in your hands, from magical artifacts to electrical components. A creative wizard can even use it to grant magical power to a fellow magic user."
desc = "Это заклинание можно использовать для подзарядки самых разных предметов в ваших руках, от магических артефактов до электрических компонентов. Креативный волшебник может даже использовать его, чтобы наделить магической силой своего товарища."
spell_type = /datum/action/cooldown/spell/charge
category = SPELLBOOK_CATEGORY_ASSISTANCE
cost = 1

/datum/spellbook_entry/shapeshift
name = "Wild Shapeshift"
desc = "Take on the shape of another for a time to use their natural abilities. Once you've made your choice it cannot be changed."
desc = "Примите на время облик другого существа, чтобы использовать его способности. После того как вы сделали свой выбор, его нельзя изменить."
spell_type = /datum/action/cooldown/spell/shapeshift/wizard
category = SPELLBOOK_CATEGORY_ASSISTANCE
cost = 1

/datum/spellbook_entry/tap
name = "Soul Tap"
desc = "Fuel your spells using your own soul!"
desc = "Заряжайте свои заклинания, используя собственную душу!"
spell_type = /datum/action/cooldown/spell/tap
category = SPELLBOOK_CATEGORY_ASSISTANCE
cost = 1

/datum/spellbook_entry/item/staffanimation
name = "Staff of Animation"
desc = "An arcane staff capable of shooting bolts of eldritch energy which cause inanimate objects to come to life. This magic doesn't affect machines."
desc = "Арканный посох, способный стрелять зарядами эльдрической энергии, которые заставляют оживать неодушевленные предметы. Эта магия не действует на машины."
item_path = /obj/item/gun/magic/staff/animate
category = SPELLBOOK_CATEGORY_ASSISTANCE

/datum/spellbook_entry/item/soulstones
name = "Soulstone Shard Kit"
desc = "Soul Stone Shards are ancient tools capable of capturing and harnessing the spirits of the dead and dying. \
The spell Artificer allows you to create arcane machines for the captured souls to pilot."
desc = "Осколки камней душ - древние инструменты, способные захватить и использовать души мертвых и умирающих. \
Заклинание Artificer позволяет создавать магические машины для пойманных душ, которыми они могут управлять."
item_path = /obj/item/storage/belt/soulstone/full
category = SPELLBOOK_CATEGORY_ASSISTANCE

/datum/spellbook_entry/item/soulstones/try_equip_item(mob/living/carbon/human/user, obj/item/to_equip)
var/was_equipped = user.equip_to_slot_if_possible(to_equip, ITEM_SLOT_BELT, disable_warning = TRUE)
to_chat(user, span_notice("\A [to_equip.name] has been summoned [was_equipped ? "on your waist" : "at your feet"]."))
to_chat(user, span_notice("[to_equip.name] был призван [was_equipped ? "на вашем поясе" : "у ваших ног"]."))

/datum/spellbook_entry/item/soulstones/buy_spell(mob/living/carbon/human/user, obj/item/spellbook/book, log_buy = TRUE)
. =..()
Expand All @@ -55,44 +55,44 @@

/datum/spellbook_entry/item/necrostone
name = "A Necromantic Stone"
desc = "A Necromantic stone is able to resurrect three dead individuals as skeletal thralls for you to command."
desc = "Камень некроманта способен воскресить трех мертвецов в виде скелетов-рабов, подчиненных вам."
item_path = /obj/item/necromantic_stone
category = SPELLBOOK_CATEGORY_ASSISTANCE

/datum/spellbook_entry/item/contract
name = "Contract of Apprenticeship"
desc = "A magical contract binding an apprentice wizard to your service, using it will summon them to your side."
desc = "Магический контракт, привязывающий ученика волшебника к вашей службе, при использовании вызовет его на вашу сторону."
item_path = /obj/item/antag_spawner/contract
category = SPELLBOOK_CATEGORY_ASSISTANCE
refundable = TRUE

/datum/spellbook_entry/item/guardian
name = "Guardian Deck"
desc = "A deck of guardian tarot cards, capable of binding a personal guardian to your body. There are multiple types of guardian available, but all of them will transfer some amount of damage to you. \
It would be wise to avoid buying these with anything capable of causing you to swap bodies with others."
desc = "Колода карт хранителей Таро, способная привязать к вашему телу личного хранителя. Существует несколько типов хранителей, но они все будут переносить на вас определенный урон. \
Разумно будет избегать покупки их с чем-то, что может заставить вас поменяться телами с другими."
item_path = /obj/item/guardian_creator/wizard
category = SPELLBOOK_CATEGORY_ASSISTANCE

/datum/spellbook_entry/item/bloodbottle
name = "Bottle of Blood"
desc = "A bottle of magically infused blood, the smell of which will \
attract extradimensional beings when broken. Be careful though, \
the kinds of creatures summoned by blood magic are indiscriminate \
in their killing, and you yourself may become a victim."
desc = "Бутылка с магической кровью, запах которой привлекает \
внепространственных существ, если ее разбить. Но будьте осторожны, \
существа, вызываемые магией крови, неизбирательны \
в своих убийствах, и вы сами можете стать жертвой."
item_path = /obj/item/antag_spawner/slaughter_demon
limit = 3
category = SPELLBOOK_CATEGORY_ASSISTANCE
refundable = TRUE

/datum/spellbook_entry/item/hugbottle
name = "Bottle of Tickles"
desc = "A bottle of magically infused fun, the smell of which will \
attract adorable extradimensional beings when broken. These beings \
are similar to slaughter demons, but they do not permanently kill \
their victims, instead putting them in an extradimensional hugspace, \
to be released on the demon's death. Chaotic, but not ultimately \
damaging. The crew's reaction to the other hand could be very \
destructive."
desc = "Бутылка с волшебным напитком, запах которого притягивает \
очаровательных внепространственных существ, если его разбить. Эти существа \
похожи на демонов резни, но они не убивают своих жертв навсегда, \
вместо этого помещая их во внепространственный мир обьятий, \
из которого они освобождаются после смерти демона. Хаотично, но не окончательно \
деструктивно. С другой стороны, реакция экипажа может быть очень \
разрушительной."
item_path = /obj/item/antag_spawner/slaughter_demon/laughter
cost = 1 //non-destructive; it's just a jape, sibling!
limit = 3
Expand All @@ -101,10 +101,10 @@

/datum/spellbook_entry/item/vendormancer
name = "Scepter of Vendormancy"
desc = "A scepter containing the power of Runic Vendormancy.\
It can summon up to 3 Runic Vendors that decay over time, but can be \
throw around to squash oponents or be directly detonated. When out of \
charges a long channel will restore the charges."
desc = "Скипетр, содержащий силу Рунической Вендормантии. \
Он может вызвать до 3 рунических вендоров, которые со временем разлагаются, но могут быть \
брошены в противников или непосредственно взорваны. Если заряды \
кончатся, после длительного периода времени они восстановятся."
item_path = /obj/item/runic_vendor_scepter
category = SPELLBOOK_CATEGORY_ASSISTANCE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// shit that sounds stupid but fun so we can painfully lock behind a dimmer
/datum/spellbook_entry/challenge/multiverse
name = "Multiverse Sword"
desc = "The Station gets a multiverse sword to stop you. Can you withstand the hordes of multiverse realities?"
desc = "Чтобы остановить вас, станция получает меч мультивселенной. Сможете ли вы противостоять полчищам мультивселенных реальностей?"

/datum/spellbook_entry/challenge/antiwizard
name = "Friendly Wizard Scum"
desc = "A \"Friendly\" Wizard will protect the station, and try to kill you. They get a spellbook much like you, but will use it for \"GOOD\"."
desc = "«Дружелюбный» волшебник будет защищать станцию и пытаться убить вас. Он получит книгу заклинаний, как и вы, но будет использовать ее «во благо»."
Loading

0 comments on commit 2dbf910

Please sign in to comment.