-
Notifications
You must be signed in to change notification settings - Fork 446
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
base: master220
Are you sure you want to change the base?
refactor: wheelchair #6818
Conversation
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]!")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
declent_ru для target
|
||
/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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
и вар тут не нужен
There was a problem hiding this 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 = "Каталка люкс-класса, когда-то принадлежащая воксу." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Кресло-каталка тогда уж или же инвалидная коляска всё-таки. Люкс можно заменить на шикарная или роскошная.
var/new_desc = "Каталка люкс-класса, когда-то принадлежащая воксу." | |
var/new_desc = "Роскошное кресло-каталка, когда-то принадлежавшая воксу." |
@@ -197,22 +197,22 @@ | |||
|
|||
/obj/item/fluff/rapid_wheelchair_kit //Rapidvalj: Hakikarahiti |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ру_неймс
INSTRUMENTAL = "инвалидной коляской", | ||
PREPOSITIONAL = "инвалидной коляске" | ||
) | ||
desc = "Коляска для людей с физическими отклонениями. Почему просто не пришить новые ноги?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Физические отклонения как-то некорректно звучит, может он на войне эти ноги потерял.
desc = "Коляска для людей с физическими отклонениями. Почему просто не пришить новые ноги?" | |
desc = "Коляска для людей с ограниченными физическими возможностями. Почему просто не пришить новые ноги?" |
Звучит более правильно?
@@ -0,0 +1,76 @@ | |||
/obj/vehicle/ridden/wheelchair | |||
name = "wheelchair" | |||
ru_names = list( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ру_неймс после описания предмета. Стиль.
Описание
Переписал код коляски на компонент, исправил отображение спрайтов. Всё работает
Причина создания ПР / Почему это хорошо для игры
https://discord.com/channels/617003227182792704/1363950043815612542