-
Notifications
You must be signed in to change notification settings - Fork 49
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
Перевод кухонной машинерии #292
Changes from 26 commits
0ee3f41
1c19997
d5dcb30
d7c3b22
ad41cb6
a15a958
f806095
b9de23f
81e663d
af67a38
7baa54a
0193f18
270c094
ac68ea7
e7feb12
8fbb99f
5d96859
175bd31
027470d
3ce8d9c
f6e6ec1
37d8cf3
4a73c1e
3fd0a99
da0793a
783c058
5f247cf
18f72a4
ee79a1b
058b984
2e0d16a
442259a
176aa42
04f3681
79cc275
d63a1d4
ffc14a3
49e1413
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,8 +16,8 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
))) | ||||||
|
||||||
/obj/machinery/deepfryer | ||||||
name = "deep fryer" | ||||||
desc = "Deep fried <i>everything</i>." | ||||||
name = "фритюрница" | ||||||
desc = "Жарит <i>всё</i>." | ||||||
icon = 'icons/obj/machines/kitchen.dmi' | ||||||
icon_state = "fryer_off" | ||||||
density = TRUE | ||||||
|
@@ -78,9 +78,9 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
/obj/machinery/deepfryer/examine(mob/user) | ||||||
. = ..() | ||||||
if(frying) | ||||||
. += "You can make out \a [frying] in the oil." | ||||||
. += "Вы сможете разглядеть [frying] в масле." | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
if(in_range(user, src) || isobserver(user)) | ||||||
. += span_notice("The status display reads: Frying at <b>[fry_speed*100]%</b> speed.<br>Using <b>[oil_use]</b> units of oil per second.") | ||||||
. += span_notice("На дисплее состояния отображается: Жарка на <b>[fry_speed*100]%</b> скорости.<br>Используется <b>[oil_use]</b> юнитов масла в секунду.") | ||||||
|
||||||
/obj/machinery/deepfryer/wrench_act(mob/living/user, obj/item/tool) | ||||||
. = ..() | ||||||
|
@@ -91,23 +91,23 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
// Dissolving pills into the frier | ||||||
if(istype(weapon, /obj/item/reagent_containers/pill)) | ||||||
if(!reagents.total_volume) | ||||||
to_chat(user, span_warning("There's nothing to dissolve [weapon] in!")) | ||||||
to_chat(user, span_warning("Не в чем растворять [weapon]!")) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
return | ||||||
user.visible_message(span_notice("[user] drops [weapon] into [src]."), span_notice("You dissolve [weapon] in [src].")) | ||||||
user.visible_message(span_notice("[user] бросает [weapon] в [src]."), span_notice("Ты растворяешь [weapon] в [src].")) | ||||||
weapon.reagents.trans_to(src, weapon.reagents.total_volume, transferred_by = user) | ||||||
qdel(weapon) | ||||||
return | ||||||
// Make sure we have cooking oil | ||||||
if(!reagents.has_reagent(/datum/reagent/consumable/nutriment/fat, check_subtypes = TRUE)) | ||||||
to_chat(user, span_warning("[src] has no fat or oil to fry with!")) | ||||||
to_chat(user, span_warning("В [src] нет жира или масла для жарки!")) | ||||||
return | ||||||
// Don't deep fry indestructible things, for sanity reasons | ||||||
if(weapon.resistance_flags & INDESTRUCTIBLE) | ||||||
to_chat(user, span_warning("You don't feel it would be wise to fry [weapon]...")) | ||||||
to_chat(user, span_warning("Вы думаете, что не стоит жарить [weapon]...")) | ||||||
return | ||||||
// No fractal frying | ||||||
if(HAS_TRAIT(weapon, TRAIT_FOOD_FRIED)) | ||||||
to_chat(user, span_userdanger("Your cooking skills are not up to the legendary Doublefry technique.")) | ||||||
to_chat(user, span_userdanger("Ваши кулинарные способности не дотягивают до легендарной техники Doublefry.")) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
return | ||||||
// Handle opening up the fryer with tools | ||||||
if(default_deconstruction_screwdriver(user, "fryer_off", "fryer_off", weapon)) //where's the open maint panel icon?! | ||||||
|
@@ -144,14 +144,14 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
if(cook_time >= DEEPFRYER_COOKTIME && !frying_fried) | ||||||
frying_fried = TRUE //frying... frying... fried | ||||||
playsound(src.loc, 'sound/machines/ding.ogg', 50, TRUE) | ||||||
audible_message(span_notice("[src] dings!")) | ||||||
audible_message(span_notice("[src] звенит!")) | ||||||
else if (cook_time >= DEEPFRYER_BURNTIME && !frying_burnt) | ||||||
frying_burnt = TRUE | ||||||
var/list/asomnia_hadders = list() | ||||||
for(var/mob/smeller in get_hearers_in_view(DEFAULT_MESSAGE_RANGE, src)) | ||||||
if(HAS_TRAIT(smeller, TRAIT_ANOSMIA)) | ||||||
asomnia_hadders += smeller | ||||||
visible_message(span_warning("[src] emits an acrid smell!"), ignored_mobs = asomnia_hadders) | ||||||
visible_message(span_warning("[src] источает едкий запах!"), ignored_mobs = asomnia_hadders) | ||||||
|
||||||
use_energy(active_power_usage) | ||||||
|
||||||
|
@@ -172,10 +172,10 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
icon_state = "fryer_off" | ||||||
|
||||||
/obj/machinery/deepfryer/proc/start_fry(obj/item/frying_item, mob/user) | ||||||
to_chat(user, span_notice("You put [frying_item] into [src].")) | ||||||
to_chat(user, span_notice("Вы кладете [frying_item] в [src].")) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
if(istype(frying_item, /obj/item/freeze_cube)) | ||||||
log_bomber(user, "put a freeze cube in a", src) | ||||||
visible_message(span_userdanger("[src] starts glowing... Oh no...")) | ||||||
visible_message(span_userdanger("[src] начинает пылать... О нет...")) | ||||||
playsound(src, 'sound/effects/pray_chaplain.ogg', 100) | ||||||
add_filter("entropic_ray", 10, list("type" = "rays", "size" = 35, "color" = COLOR_VIVID_YELLOW)) | ||||||
addtimer(CALLBACK(src, PROC_REF(blow_up)), 5 SECONDS) | ||||||
|
@@ -192,7 +192,7 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
fry_loop.start() | ||||||
|
||||||
/obj/machinery/deepfryer/proc/blow_up() | ||||||
visible_message(span_userdanger("[src] blows up from the entropic reaction!")) | ||||||
visible_message(span_userdanger("[src] взрывается в результате энтропийной реакции!")) | ||||||
explosion(src, devastation_range = 1, heavy_impact_range = 3, light_impact_range = 5, flame_range = 7) | ||||||
deconstruct(FALSE) | ||||||
|
||||||
|
@@ -201,25 +201,25 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( | |||||
|
||||||
/obj/machinery/deepfryer/attack_hand(mob/living/user, list/modifiers) | ||||||
if(frying) | ||||||
to_chat(user, span_notice("You eject [frying] from [src].")) | ||||||
to_chat(user, span_notice("Вы вытаскиваете [frying] из [src].")) | ||||||
frying.forceMove(drop_location()) | ||||||
if(Adjacent(user) && !issilicon(user)) | ||||||
user.put_in_hands(frying) | ||||||
return | ||||||
|
||||||
else if(user.pulling && iscarbon(user.pulling) && reagents.total_volume) | ||||||
if(user.grab_state < GRAB_AGGRESSIVE) | ||||||
to_chat(user, span_warning("You need a better grip to do that!")) | ||||||
to_chat(user, span_warning("Тебе нужно получше схватить для этого!")) | ||||||
return | ||||||
var/mob/living/carbon/dunking_target = user.pulling | ||||||
log_combat(user, dunking_target, "dunked", null, "into [src]") | ||||||
user.visible_message(span_danger("[user] dunks [dunking_target]'s face in [src]!")) | ||||||
user.visible_message(span_danger("[user] макает лицо [dunking_target] в [src]!")) | ||||||
reagents.expose(dunking_target, TOUCH) | ||||||
var/bio_multiplier = dunking_target.getarmor(BODY_ZONE_HEAD, BIO) * 0.01 | ||||||
var/target_temp = dunking_target.bodytemperature | ||||||
var/cold_multiplier = 1 | ||||||
if(target_temp < TCMB + 10) // a tiny bit of leeway | ||||||
dunking_target.visible_message(span_userdanger("[dunking_target] explodes from the entropic difference! Holy fuck!")) | ||||||
dunking_target.visible_message(span_userdanger("[dunking_target] взрывается от энтропийной разницы! Блять!")) | ||||||
dunking_target.investigate_log("has been gibbed by entropic difference (being dunked into [src]).", INVESTIGATE_DEATHS) | ||||||
dunking_target.gib(DROP_ALL_REMAINS) | ||||||
log_combat(user, dunking_target, "blew up", null, "by dunking them into [src]") | ||||||
|
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.