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

Добавление ru_name для инструментов #527

Merged
merged 4 commits into from
Oct 7, 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
10 changes: 10 additions & 0 deletions code/game/objects/items/tools/crowbar.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/crowbar
name = "pocket crowbar"
ru_names = RU_NAMES_LIST_INIT("pocket crowbar", "карманный лом", "карманного лома", "карманному лому", "карманный лом", "карманным ломом", "карманном ломе")

Check failure on line 3 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 3 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
larentoun marked this conversation as resolved.
Show resolved Hide resolved
desc = "A small crowbar. This handy tool is useful for lots of things, such as prying floor tiles or opening unpowered doors."
icon = 'icons/obj/tools.dmi'
icon_state = "crowbar"
Expand Down Expand Up @@ -45,6 +46,7 @@

/obj/item/crowbar/abductor
name = "alien crowbar"
ru_names = RU_NAMES_LIST_INIT("alien crowbar", "инопланетный лом", "инопланетного лома", "инопланетному лому", "инопланетный лом", "инопланетным ломом", "инопланетном ломе")

Check failure on line 49 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 49 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "A hard-light crowbar. It appears to pry by itself, without any effort required."
icon = 'icons/obj/antags/abductor.dmi'
usesound = 'sound/items/weapons/sonic_jackhammer.ogg'
Expand All @@ -55,6 +57,7 @@

/obj/item/crowbar/large
name = "large crowbar"
ru_names = RU_NAMES_LIST_INIT("large crowbar", "большой лом", "большого лома", "большому лому", "большой лом", "большим ломом", "большом ломе")

Check failure on line 60 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 60 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "It's a big crowbar. It doesn't fit in your pockets, because it's big."
force = 12
w_class = WEIGHT_CLASS_NORMAL
Expand All @@ -67,11 +70,13 @@

/obj/item/crowbar/large/emergency
name = "emergency crowbar"
ru_names = RU_NAMES_LIST_INIT("emergency crowbar", "аварийный лом", "аварийного лома", "аварийному лому", "аварийный лом", "аварийным ломом", "аварийном ломе")

Check failure on line 73 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 73 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "It's a bulky crowbar. It almost seems deliberately designed to not be able to fit inside of a backpack."
w_class = WEIGHT_CLASS_BULKY

/obj/item/crowbar/hammer
name = "claw hammer"
ru_names = RU_NAMES_LIST_INIT("claw hammer", "молоток-гвоздодер", "молотка-гвоздодера", "молотку-гвоздодеру", "молоток-гвоздодер", "молотком-гвоздодером", "молотке-гвоздодере")

Check failure on line 79 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 79 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "It's a heavy hammer with a pry bar on the back of its head. Nails aren't common in space, but this tool can still be used as a weapon or a crowbar."
force = 11
w_class = WEIGHT_CLASS_NORMAL
Expand All @@ -90,13 +95,15 @@

/obj/item/crowbar/large/heavy //from space ruin
name = "heavy crowbar"
ru_names = RU_NAMES_LIST_INIT("heavy crowbar", "тяжелый лом", "тяжелого лома", "тяжелому лому", "тяжелый лом", "тяжелым ломом", "тяжелом ломе")

Check failure on line 98 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 98 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "It's a big crowbar. It doesn't fit in your pockets, because it's big. It feels oddly heavy.."
force = 20
icon_state = "crowbar_powergame"
inhand_icon_state = "crowbar_red"

/obj/item/crowbar/large/old
name = "old crowbar"
ru_names = RU_NAMES_LIST_INIT("old crowbar", "старый лом", "старого лома", "старому лому", "старый лом", "старым ломом", "старом ломе")

Check failure on line 106 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 106 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "It's an old crowbar. Much larger than the pocket sized ones, carrying a lot more heft. They don't make 'em like they used to."
throwforce = 10
throw_speed = 2
Expand Down Expand Up @@ -162,6 +169,7 @@

/obj/item/crowbar/power/syndicate
name = "jaws of death"
ru_names = RU_NAMES_LIST_INIT("jaws of death", "челюсти смерти", "челюстей смерти", "челюстям смерти", "челюсти смерти", "челюстями смерти", "челюстях смерти")

Check failure on line 172 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 172 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "An improved, faster, and smaller copy of Nanotrasen's standard jaws of life. Can be used to force open airlocks in its crowbar configuration."
icon_state = "jaws_syndie"
w_class = WEIGHT_CLASS_SMALL
Expand Down Expand Up @@ -189,6 +197,7 @@

/obj/item/crowbar/cyborg
name = "hydraulic crowbar"
ru_names = RU_NAMES_LIST_INIT("hydraulic crowbar", "гидравлический лом", "гидравлического лома", "гидравлическому лому", "гидравлический лом", "гидравлическим ломом", "гидравлическом ломе")

Check failure on line 200 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "A hydraulic prying tool, simple but powerful."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "toolkit_engiborg_crowbar"
Expand All @@ -199,6 +208,7 @@

/obj/item/crowbar/mechremoval
name = "mech removal tool"
ru_names = RU_NAMES_LIST_INIT("mech removal tool", "огромный лом", "огромного лома", "огромному лому", "огромный лом", "огромным ломом", "огромном ломе")

Check failure on line 211 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment

Check failure on line 211 in code/game/objects/items/tools/crowbar.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0011: Invalid initial value for "ru_names"
desc = "A... really big crowbar. You're pretty sure it could pry open a mech, but it seems unwieldy otherwise."
icon_state = "mechremoval0"
base_icon_state = "mechremoval"
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/tools/screwdriver.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/screwdriver
name = "screwdriver"
ru_names = RU_NAMES_LIST_INIT("screwdriver", "отвёртка", "отвёртки", "отвёртке", "отвёртку", "отвёрткой", "отвёртке")

Check failure on line 3 in code/game/objects/items/tools/screwdriver.dm

View workflow job for this annotation

GitHub Actions / Run Linters

non-constant assignment
desc = "You can be totally screwy with this."
icon = 'icons/obj/tools.dmi'
icon_state = "screwdriver_map"
Expand Down Expand Up @@ -63,6 +64,7 @@

/obj/item/screwdriver/abductor
name = "alien screwdriver"
ru_names = RU_NAMES_LIST_INIT("alien screwdriver", "инопланетная отвёртка", "инопланетной отвёртки", "инопланетной отвёртке", "инопланетную отвёртку", "инопланетной отвёрткой", "инопланетной отвёртке")
desc = "An ultrasonic screwdriver."
icon = 'icons/obj/antags/abductor.dmi'
icon_state = "screwdriver_a"
Expand All @@ -79,6 +81,7 @@

/obj/item/screwdriver/power
name = "hand drill"
ru_names = RU_NAMES_LIST_INIT("hand drill", "Дрель-шуруповерт", "Дрели-шуруповерта", "Дрели-шуруповерту", "Дрель-шуруповерт", "Дрелью-шуруповертом", "Дрели-шуруповерте")
desc = "A simple powered hand drill."
icon_state = "drill"
belt_icon_state = null
Expand Down Expand Up @@ -147,6 +150,7 @@

/obj/item/screwdriver/cyborg
name = "automated screwdriver"
ru_names = RU_NAMES_LIST_INIT("automated screwdriver", "автоматическая отвёртка", "автоматической отвёртки", "автоматической отвёртке", "автоматическую отвёртку", "автоматической отвёрткой", "автоматической отвёртке")
desc = "A powerful automated screwdriver, designed to be both precise and quick."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "toolkit_engiborg_screwdriver"
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/tools/spess_knife.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/obj/item/spess_knife
name = "spess knife"
ru_names = RU_NAMES_LIST_INIT("spess knife", "швейцарский нож", "швейцарского ножа", "швейцарскому ножу", "швейцарский нож", "швейцарским ножом", "швейцарском ноже")
desc = "Unleash the cosmic ingenuity at your fingertips. It seamlessly shifts forms, revealing hidden talents that might just save the day. Who knows what secrets lie within this celestial tool?"
icon = 'icons/obj/tools.dmi'
icon_state = "spess_knife"
Expand Down
7 changes: 7 additions & 0 deletions code/game/objects/items/tools/weldingtool.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/weldingtool
name = "welding tool"
ru_names = RU_NAMES_LIST_INIT("welding tool", "сварочный инструмент", "сварочного инструмента", "сварочному инструменту", "сварочный инструмент", "сварочным инструментом", "сварочном инструменте")
desc = "A standard edition welder provided by Nanotrasen."
icon = 'icons/obj/tools.dmi'
icon_state = "welder"
Expand Down Expand Up @@ -326,6 +327,7 @@

/obj/item/weldingtool/largetank
name = "industrial welding tool"
ru_names = RU_NAMES_LIST_INIT("industrial welding tool", "промышленный сварочный инструмент", "промышленного сварочного инструмента", "промышленному сварочному инструменту", "промышленный сварочный инструмент", "промышленным сварочным инструментом", "промышленном сварочном инструменте")
desc = "A slightly larger welder with a larger tank."
icon_state = "indwelder"
max_fuel = 40
Expand All @@ -339,6 +341,7 @@

/obj/item/weldingtool/largetank/cyborg
name = "integrated welding tool"
ru_names = RU_NAMES_LIST_INIT("integrated welding tool", "интегрированный сварочный инструмент", "интегрированного сварочного инструмента", "интегрированному сварочному инструменту", "интегрированный сварочный инструмент", "интегрированным сварочным инструментом", "интегрированном сварочном инструменте")
desc = "An advanced welder designed to be used in robotic systems. Custom framework doubles the speed of welding."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "indwelder_cyborg"
Expand All @@ -352,6 +355,7 @@

/obj/item/weldingtool/mini
name = "emergency welding tool"
ru_names = RU_NAMES_LIST_INIT("emergency welding tool", "аварийный сварочный инструмент", "аварийного сварочного инструмента", "аварийному сварочному инструменту", "аварийный сварочный инструмент", "аварийным сварочным инструментом", "аварийном сварочном инструменте")
desc = "A miniature welder used during emergencies."
icon_state = "miniwelder"
max_fuel = 10
Expand All @@ -367,6 +371,7 @@

/obj/item/weldingtool/abductor
name = "alien welding tool"
ru_names = RU_NAMES_LIST_INIT("alien welding tool", "инопланетный сварочный инструмент", "инопланетного сварочного инструмента", "инопланетному сварочному инструменту", "инопланетный сварочный инструмент", "инопланетным сварочным инструментом", "инопланетном сварочном инструменте")
desc = "An alien welding tool. Whatever fuel it uses, it never runs out."
icon = 'icons/obj/antags/abductor.dmi'
icon_state = "welder"
Expand All @@ -383,6 +388,7 @@

/obj/item/weldingtool/hugetank
name = "upgraded industrial welding tool"
ru_names = RU_NAMES_LIST_INIT("upgraded industrial welding tool", "улучшенный сварочный инструмент", "улучшенного сварочного инструмента", "улучшенному сварочному инструменту", "улучшенный сварочный инструмент", "улучшенным сварочным инструментом", "улучшенном сварочном инструменте")
desc = "An upgraded welder based of the industrial welder."
icon_state = "upindwelder"
inhand_icon_state = "upindwelder"
Expand All @@ -391,6 +397,7 @@

/obj/item/weldingtool/experimental
name = "experimental welding tool"
ru_names = RU_NAMES_LIST_INIT("experimental welding tool", "экспериментальный сварочный инструмент", "экспериментального сварочного инструмента", "экспериментальному сварочному инструменту", "экспериментальный сварочный инструмент", "экспериментальным сварочным инструментом", "экспериментальном сварочном инструменте")
desc = "An experimental welder capable of self-fuel generation and less harmful to the eyes."
icon_state = "exwelder"
inhand_icon_state = "exwelder"
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/tools/wirebrush.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
/obj/item/wirebrush
name = "wirebrush"
ru_names = RU_NAMES_LIST_INIT("wirebrush", "проволочная щётка", "проволочной щётки", "проволочной щётке", "проволочную щётку", "проволочной щёткой", "проволочной щётке")
desc = "A tool that is used to scrub the rust thoroughly off walls. Not for hair!"
icon = 'icons/obj/tools.dmi'
icon_state = "wirebrush"
Expand Down
3 changes: 3 additions & 0 deletions code/game/objects/items/tools/wirecutters.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/wirecutters
name = "wirecutters"
ru_names = RU_NAMES_LIST_INIT("wirecutters", "кусачки", "кусачек", "кусачкам", "кусачек", "кусачками", "кусачках")
desc = "This cuts wires."
icon = 'icons/obj/tools.dmi'
icon_state = "cutters_map"
Expand Down Expand Up @@ -66,6 +67,7 @@

/obj/item/wirecutters/abductor
name = "alien wirecutters"
ru_names = RU_NAMES_LIST_INIT("alien wirecutters", "инопланетные кусачки", "инопланетных кусачек", "инопланетным кусачкам", "инопланетных кусачек", "инопланетными кусачками", "инопланетных кусачках")
desc = "Extremely sharp wirecutters, made out of a silvery-green metal."
icon = 'icons/obj/antags/abductor.dmi'
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
Expand All @@ -76,6 +78,7 @@

/obj/item/wirecutters/cyborg
name = "powered wirecutters"
ru_names = RU_NAMES_LIST_INIT("powered wirecutters", "электрические кусачки", "электрических кусачек", "электрическим кусачкам", "электрических кусачек", "электрическими кусачками", "электрических кусачках")
desc = "Cuts wires with the power of ELECTRICITY. Faster than normal wirecutters."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "toolkit_engiborg_cutters"
Expand Down
6 changes: 6 additions & 0 deletions code/game/objects/items/tools/wrench.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/item/wrench
name = "wrench"
ru_names = RU_NAMES_LIST_INIT("wrench", "гаечный ключ", "гаечного ключа", "гаечному ключу", "гаечный ключ", "гаечным ключом", "гаечном ключе")
desc = "A wrench with common uses. Can be found in your hand."
icon = 'icons/obj/tools.dmi'
icon_state = "wrench"
Expand Down Expand Up @@ -40,6 +41,7 @@

/obj/item/wrench/abductor
name = "alien wrench"
ru_names = RU_NAMES_LIST_INIT("alien wrench", "инопланетный гаечный ключ", "инопланетного гаечного ключа", "инопланетному гаечному ключу", "инопланетный гаечный ключ", "инопланетным гаечным ключом", "инопланетном гаечном ключе")
desc = "A polarized wrench. It causes anything placed between the jaws to turn."
icon = 'icons/obj/antags/abductor.dmi'
belt_icon_state = "wrench_alien"
Expand All @@ -50,6 +52,7 @@

/obj/item/wrench/medical
name = "medical wrench"
ru_names = RU_NAMES_LIST_INIT("medical wrench", "медицинский гаечный ключ", "медицинского гаечного ключа", "медицинскому гаечному ключу", "медицинский гаечный ключ", "медицинским гаечным ключом", "медицинском гаечном ключе")
desc = "A medical wrench with common(medical?) uses. Can be found in your hand."
icon_state = "wrench_medical"
inhand_icon_state = "wrench_medical"
Expand Down Expand Up @@ -86,13 +89,15 @@

/obj/item/wrench/cyborg
name = "hydraulic wrench"
ru_names = RU_NAMES_LIST_INIT("hydraulic wrench", "гидравлический гаечный ключ", "гидравлического гаечного ключа", "гидравлическому гаечному ключу", "гидравлический гаечный ключ", "гидравлическим гаечным ключом", "гидравлическом гаечном ключе")
desc = "An advanced robotic wrench, powered by internal hydraulics. Twice as fast as the handheld version."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "toolkit_engiborg_wrench"
toolspeed = 0.5

/obj/item/wrench/combat
name = "combat wrench"
ru_names = RU_NAMES_LIST_INIT("combat wrench", "боевой гаечный ключ", "боевого гаечного ключа", "боевому гаечному ключу", "боевой гаечный ключ", "боевым гаечным ключом", "боевом гаечном ключе")
desc = "It's like a normal wrench but edgier. Can be found on the battlefield."
icon_state = "wrench_combat"
inhand_icon_state = "wrench_combat"
Expand Down Expand Up @@ -129,6 +134,7 @@

/obj/item/wrench/bolter
name = "bolter wrench"
ru_names = RU_NAMES_LIST_INIT("bolter wrench", "затворный гаечный ключ", "затворного гаечного ключа", "затворному гаечному ключу", "затворный гаечный ключ", "затворным гаечным ключом", "затворном гаечном ключе")
desc = "A wrench designed to grab into airlock's bolting system and raise it regardless of the airlock's power status."
icon_state = "bolter_wrench"
inhand_icon_state = "bolter_wrench"
Expand Down
Loading