Skip to content

refactor: wheelchair #6818

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

Open
wants to merge 3 commits into
base: master220
Choose a base branch
from

Conversation

NuSanya
Copy link
Contributor

@NuSanya NuSanya commented Apr 29, 2025

Описание

Переписал код коляски на компонент, исправил отображение спрайтов. Всё работает

Причина создания ПР / Почему это хорошо для игры

https://discord.com/channels/617003227182792704/1363950043815612542

@NuSanya NuSanya requested a review from a team as a code owner April 29, 2025 03:56
@github-actions github-actions bot added MAP Affects map DMI Affects DMI files labels Apr 29, 2025
@github-actions github-actions bot added the Merge Conflict This doesn't seem right label May 13, 2025
@github-actions github-actions bot removed the Merge Conflict This doesn't seem right label May 14, 2025
if(!proximity || !ishuman(user) || user.incapacitated())
return

if(istype(target))
target.on_skin_apply(src, user)
return

to_chat(user, span_warning("You cannot modify [target]!"))
to_chat(user, span_warning("Вы не можете модифицировать [target]!"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

declent_ru для target

@dageavtobusnick dageavtobusnick added the Локализация Съешь же ещё этих мягких французских булок, да выпей чаю label May 15, 2025

/obj/item/fluff/rapid_wheelchair_kit/afterattack(obj/structure/chair/wheelchair/target, mob/user, proximity, params)
/obj/item/fluff/rapid_wheelchair_kit/afterattack(var/obj/vehicle/ridden/wheelchair/target, mob/user, proximity, params)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и вар тут не нужен

Copy link
Contributor

@littleboobs littleboobs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Круто! Посмотрел, оставил свои комментарии.

icon_state = "modkit"
var/new_icon_state = "vox_wheelchair"
var/new_overlay = "vox_wheelchair_overlay"
var/new_name = "vox wheelchair"
var/new_desc = "A luxurious Vox Wheelchair, weathered from use."
var/new_desc = "Каталка люкс-класса, когда-то принадлежащая воксу."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кресло-каталка тогда уж или же инвалидная коляска всё-таки. Люкс можно заменить на шикарная или роскошная.

Suggested change
var/new_desc = "Каталка люкс-класса, когда-то принадлежащая воксу."
var/new_desc = "Роскошное кресло-каталка, когда-то принадлежавшая воксу."

@@ -197,22 +197,22 @@

/obj/item/fluff/rapid_wheelchair_kit //Rapidvalj: Hakikarahiti
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ру_неймс

INSTRUMENTAL = "инвалидной коляской",
PREPOSITIONAL = "инвалидной коляске"
)
desc = "Коляска для людей с физическими отклонениями. Почему просто не пришить новые ноги?"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Физические отклонения как-то некорректно звучит, может он на войне эти ноги потерял.

Suggested change
desc = "Коляска для людей с физическими отклонениями. Почему просто не пришить новые ноги?"
desc = "Коляска для людей с ограниченными физическими возможностями. Почему просто не пришить новые ноги?"

Звучит более правильно?

@@ -0,0 +1,76 @@
/obj/vehicle/ridden/wheelchair
name = "wheelchair"
ru_names = list(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ру_неймс после описания предмета. Стиль.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DMI Affects DMI files MAP Affects map Локализация Съешь же ещё этих мягких французских булок, да выпей чаю
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants