Skip to content

Commit

Permalink
Правки
Browse files Browse the repository at this point in the history
  • Loading branch information
don-pardon42 committed Nov 3, 2024
1 parent 33ccfcb commit b70e30c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/game/mecha/equipment/mecha_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
chassis.selected = null
update_chassis_page()
remove_targeted_action()
chassis.log_message("[src] initialized.")
chassis.log_message("[capitalize(declent_ru(NOMINATIVE))] removed from equipment.")
chassis = null
set_ready_state(1)

Expand Down
4 changes: 2 additions & 2 deletions code/game/mecha/equipment/tools/janitor_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
var/turf/target_turf = get_turf(target)
if(!istype(target_turf) || iswallturf(target_turf))
return
chassis.occupant.visible_message("<span class='warning'>[capitalize(chassis.declent_ru(NOMINATIVE))] начинает мыть [target_turf.declent_ru(GENITIVE)] с помощью [declent_ru(GENITIVE)].</span>", "<span class='warning'>Вы начинаете мыть [target_turf.declent_ru(GENITIVE)] с помощью [declent_ru(GENITIVE)].</span>")
chassis.occupant.visible_message("<span class='warning'>[capitalize(chassis.declent_ru(NOMINATIVE))] начинает мыть [target_turf.declent_ru(ACCUSATIVE)] с помощью [declent_ru(GENITIVE)].</span>", "<span class='warning'>Вы начинаете мыть [target_turf.declent_ru(ACCUSATIVE)] с помощью [declent_ru(GENITIVE)].</span>")
if(do_after(chassis.occupant, mop_speed, target = target, allow_moving = 0))
for(var/turf/current_target_turf in view(1, target))
current_target_turf.cleaning_act(chassis.occupant, src, mop_speed, "mop", ".", skip_do_after = TRUE)
Expand Down Expand Up @@ -269,7 +269,7 @@

if(istype(target, /obj/machinery/disposal)) // Emptying stuff into disposals
chassis.occupant.visible_message(
"<span class='notice'>[chassis.occupant] опустошает [declent_ru(ACCUSATIVE)] в мусорку.</span>",
"<span class='notice'>[capitalize(chassis.occupant.declent_ru(NOMINATIVE))] опустошает [declent_ru(ACCUSATIVE)] в мусорку.</span>",
"<span class='notice'>Вы опустошаете [declent_ru(ACCUSATIVE)] в мусорку.</span>",
"<span class='notice'>Вы слышите, как кто-то выбрасывает что-то в мусорку.</span>"
)
Expand Down
4 changes: 2 additions & 2 deletions code/game/mecha/equipment/tools/medical_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
if(!patient_insertion_check(target))
return
occupant_message("<span class='notice'>Вы начинаете помещать [target.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)]...</span>")
chassis.visible_message("<span class='warning'>[chassis.declent_ru(NOMINATIVE)] начинает помещать [target.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)].</span>")
chassis.visible_message("<span class='warning'>[capitalize(chassis.declent_ru(NOMINATIVE))] начинает помещать [target.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)].</span>")
if(do_after_cooldown(target))
if(!patient_insertion_check(target))
return
Expand All @@ -68,7 +68,7 @@
START_PROCESSING(SSobj, src)
update_equip_info()
occupant_message("<span class='notice'>Пациент [target.declent_ru(NOMINATIVE)] успешно помещён в [declent_ru(ACCUSATIVE)]. Функции жизнеобеспечения включены.</span>")
chassis.visible_message("<span class='warning'>[chassis.declent_ru(NOMINATIVE)] помещает [target.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)].</span>")
chassis.visible_message("<span class='warning'>[capitalize(chassis.declent_ru(NOMINATIVE))] помещает [target.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)].</span>")
log_message("[target] loaded. Life support functions engaged.")

/obj/item/mecha_parts/mecha_equipment/medical/sleeper/proc/patient_insertion_check(mob/living/carbon/target)
Expand Down

0 comments on commit b70e30c

Please sign in to comment.