Skip to content

Commit

Permalink
Доработа
Browse files Browse the repository at this point in the history
  • Loading branch information
msw7007 committed Oct 11, 2024
1 parent 9be072c commit 225bca1
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 24 deletions.
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/gibber.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
return
var/mob/living/carbon/C = L
if(C.buckled || C.has_buckled_mobs())
to_chat(user, span_warning("[capitalize(C.declent_ru(NOMINATIVE))] уже к чему-то прикреплен!"))
to_chat(user, span_warning("Тело [C.declent_ru(GENITIVE)] к чему-то пристегнуто!"))
return

if(!ignore_clothing)
Expand All @@ -107,7 +107,7 @@
to_chat(user, span_warning("На объекте не должно быть абиотических предметов!"))
return

user.visible_message(span_danger("[capitalize(user.declent_ru(NOMINATIVE))] начинает запихивать [C.declent_ru(ACCUSATIVE)] в мясорубку!"))
user.visible_message(span_danger("[capitalize(user.declent_ru(NOMINATIVE))] начинает запихивать [C.declent_ru(ACCUSATIVE)] в [declent_ru(ACCUSATIVE)]!"))

add_fingerprint(user)

Expand Down
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/grill.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
if(!anchored)
. += span_notice("Машина может быть [EXAMINE_HINT("разобрана")] ломом.")
if(anchored)
. += span_notice("Машина [EXAMINE_HINT("прикручена к полу")] на месте.")
. += span_notice("Машина [EXAMINE_HINT("прикручена")] к полу.")
else
. += span_warning("Машина должна быть [EXAMINE_HINT("прикручена к полу")] для работы.")
. += span_warning("Машина должна быть [EXAMINE_HINT("прикручена")] к полу для работы.")

/obj/machinery/grill/update_icon_state()
if(!QDELETED(grilled_item))
Expand Down
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/icecream_vat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

/obj/machinery/icecream_vat/examine(mob/user)
. = ..()
. += "Вы модете использовать [EXAMINE_HINT("ложку")] или [EXAMINE_HINT("половник")] для разлива содержимого."
. += "Вы можете использовать [EXAMINE_HINT("ложку")] или [EXAMINE_HINT("половник")] для разлива содержимого."

/obj/machinery/icecream_vat/attackby(obj/item/weapon, mob/user, params)
. = ..()
Expand Down Expand Up @@ -224,7 +224,7 @@
var/datum/reagent/reagent_to_remove = tgui_input_list(user, "Select a reagent to purge from the vat.", "Remove reagent", reagents.reagent_list, ui_state = GLOB.conscious_state)
if(isnull(reagent_to_remove) || !user.can_perform_action(src, action_bitflags = ALLOW_RESTING))
return
balloon_alert(user, "выплескивается [reagent_to_remove.declent_ru(NOMINATIVE)]")
balloon_alert(user, "[reagent_to_remove.declent_ru(NOMINATIVE)] разливается")
reagents.remove_reagent(reagent_to_remove.type, reagent_to_remove.volume)

/obj/machinery/icecream_vat/proc/make_ice_cream_color(datum/ice_cream_flavour/flavor)
Expand Down
21 changes: 10 additions & 11 deletions code/modules/food_and_drinks/machinery/microwave.dm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@
. = ..()
if(vampire_charging_capable)
. += span_info("Эта модель оснащена функцией Wave™: эксклюзив от Нанотрейзен. Наша новейшая разработка Wave™ позволяет заряжать КПК без проводов с помощью микроволновых частот! Вы можете зарядить свое устройство, поместив его внутрь и выбрав режим зарядки.")

. += span_info("Ведь ничто так не говорит 'будущее', как зарядка КПК во время переваривания остатков пищи. Нанотрейзен Wave™ - многозадачность в новом понимании.")

if(cell_powered)
Expand Down Expand Up @@ -332,16 +331,16 @@
return NONE

user.visible_message(
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает ремонт [declent_ru(GENITIVE)]."),
span_notice("Вы начинаете ремонт [declent_ru(GENITIVE)]."),
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает ремонтировать [declent_ru(GENITIVE)]."),
span_notice("Вы начинаете ремонтировать [declent_ru(ACCUSATIVE)]."),
)

if(!tool.use_tool(src, user, 2 SECONDS, volume = 50))
return ITEM_INTERACT_BLOCKING

user.visible_message(
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает ремонт, [declent_ru(NOMINATIVE)] снова работает."),
span_notice("Вы заканчиваете ремонт, [declent_ru(NOMINATIVE)] снова работает."),
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает ремонтировать [declent_ru(ACCUSATIVE)]."),
span_notice("Вы заканчиваете ремонтировать [declent_ru(ACCUSATIVE)]."),
)
broken = KINDA_BROKEN // Fix it a bit
update_appearance()
Expand All @@ -352,16 +351,16 @@
return NONE

user.visible_message(
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает ремонт, [declent_ru(NOMINATIVE)] скоро снова заработает!"),
span_notice("ВВы начинаете ремона, [declent_ru(NOMINATIVE)] скоро снова заработает!"),
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает ремонтировать [declent_ru(ACCUSATIVE)]."),
span_notice("ВВы начинаете ремонтировать [declent_ru(ACCUSATIVE)]."),
)

if(!tool.use_tool(src, user, 2 SECONDS, amount = 1, volume = 50))
return ITEM_INTERACT_BLOCKING

user.visible_message(
span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает ремонт, [declent_ru(NOMINATIVE)] снова работает."),
span_notice("Вы заканчиваете ремонтировать [declent_ru(DATIVE)]."),
span_notice("Вы заканчиваете ремонтировать [declent_ru(ACCUSATIVE)]."),
)
broken = NOT_BROKEN
update_appearance()
Expand Down Expand Up @@ -429,12 +428,12 @@
balloon_alert(user, "заполнено!")
return ITEM_INTERACT_BLOCKING
if(!user.transferItemToLoc(item, src))

Check failure on line 430 in code/modules/food_and_drinks/machinery/microwave.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '{', expected one of: '}', ';', 'if', 'while', 'do', 'for', 'spawn', 'switch', 'try', 'set', 'break', 'continue', 'del', 'var', 'return', 'CRASH', 'throw', 'goto', operator, literal, variable, proc call
balloon_alert(user, "застряло на руке!!")
balloon_alert(user, "застряло на руке!")

Check failure on line 431 in code/modules/food_and_drinks/machinery/microwave.dm

View workflow job for this annotation

GitHub Actions / Run Linters

inconsistent multiple indentation: 2 > 1
return ITEM_INTERACT_BLOCKING

ingredients += item
open(autoclose = 0.6 SECONDS)
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] добавляет [item.declent_ru(ACCUSATIVE)] в [declent_ru(DATIVE)]."), span_notice("Вы добавляете прямо [item.declent_ru(ACCUSATIVE)] в [declent_ru(DATIVE)]..."))
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] добавляет [item.declent_ru(ACCUSATIVE)] в [declent_ru(DATIVE)]."), span_notice("Вы добавляете [item.declent_ru(ACCUSATIVE)] в [declent_ru(DATIVE)]..."))
update_appearance()
return ITEM_INTERACT_SUCCESS

Expand Down Expand Up @@ -493,7 +492,7 @@
balloon_alert(user, "режим изменен на [vampire_charging_enabled ? "зарядку" : "готовку"]")
playsound(src, 'sound/machines/beep/twobeep_high.ogg', 50, FALSE)
if(HAS_SILICON_ACCESS(user))
visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] поставил [declent_ru(ACCUSATIVE)] на режим [vampire_charging_enabled ? "зарядки" : "готовки"]."), blind_message = span_notice("[capitalize(declent_ru(NOMINATIVE))] издает звук уведомления!"))
visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ставит [declent_ru(ACCUSATIVE)] на режим [vampire_charging_enabled ? "зарядки" : "готовки"]."), blind_message = span_notice("[capitalize(declent_ru(NOMINATIVE))] издает звук уведомления!"))
return CLICK_ACTION_SUCCESS

/obj/machinery/microwave/click_ctrl(mob/user)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/monkeyrecycler.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ GLOBAL_LIST_EMPTY(monkey_recyclers)
to_chat(user, span_warning("Обезьяна слишком сильно сопротивляется, чтобы поместить её в утилизатор."))
return
if(target.buckled || target.has_buckled_mobs())
to_chat(user, span_warning("Обезьяна пристегнута к чему-то."))
to_chat(user, span_warning("Тело обезьяны к чему-то пристегнуто."))
return
qdel(target)
to_chat(user, span_notice("Вы засовываете обезьяну в машину."))
Expand All @@ -85,7 +85,7 @@ GLOBAL_LIST_EMPTY(monkey_recyclers)
use_energy(active_power_usage)
stored_matter += cube_production
addtimer(VARSET_CALLBACK(src, pixel_x, base_pixel_x))
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), user, span_notice("Теперь машина имеет [stored_matter] хранящихся материалов стоимостью с обезьяну.")))
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), user, span_notice("Теперь машина имеет материалов для обезьян: [stored_matter].")))

/obj/machinery/monkey_recycler/interact(mob/user)
if(stored_matter >= 1)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/oven.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@
if(open)
playsound(src, 'sound/machines/oven/oven_open.ogg', 75, TRUE)
set_smoke_state(OVEN_SMOKE_STATE_NONE)
to_chat(user, span_notice("Вы открыли [declent_ru(ACCUSATIVE)]."))
to_chat(user, span_notice("Вы открываете [declent_ru(ACCUSATIVE)]."))
end_processing()
if(used_tray)
used_tray.vis_flags &= ~VIS_HIDE
else
playsound(src, 'sound/machines/oven/oven_close.ogg', 75, TRUE)
to_chat(user, span_notice("Вы закрыли [declent_ru(ACCUSATIVE)]."))
to_chat(user, span_notice("Вы открываете [declent_ru(ACCUSATIVE)]."))
if(used_tray)
begin_processing()
used_tray.vis_flags |= VIS_HIDE
Expand Down
6 changes: 3 additions & 3 deletions code/modules/food_and_drinks/machinery/processor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@
to_chat(user, span_warning("Внутри [capitalize(declent_ru(NOMINATIVE))] пусто!"))
return TRUE
processing = TRUE
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] включил [declent_ru(ACCUSATIVE)]."), \
span_notice("Вы включили [declent_ru(NOMINATIVE)]."), \
span_hear("Вы услышали кухонный комбайн."))
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] включает [declent_ru(ACCUSATIVE)]."), \
span_notice("Вы включаете [declent_ru(NOMINATIVE)]."), \
span_hear("Вы слышите кухонный комбайн."))
playsound(src.loc, 'sound/machines/blender.ogg', 50, TRUE)
use_energy(active_power_usage)
var/total_time = 0
Expand Down

0 comments on commit 225bca1

Please sign in to comment.