diff --git a/modular_ss220/food/_food.dme b/modular_ss220/food/_food.dme index b30fcd0619d8..f374364f21da 100644 --- a/modular_ss220/food/_food.dme +++ b/modular_ss220/food/_food.dme @@ -1,5 +1,9 @@ #include "_food.dm" +// Drinks #include "code/drinks.dm" -#include "code/food.dm" -#include "code/ingredients.dm" + +// Food +#include "code/food/food.dm" +#include "code/food/nails.dm" +#include "code/food/ingredients.dm" diff --git a/modular_ss220/food/code/food.dm b/modular_ss220/food/code/food/food.dm similarity index 100% rename from modular_ss220/food/code/food.dm rename to modular_ss220/food/code/food/food.dm diff --git a/modular_ss220/food/code/ingredients.dm b/modular_ss220/food/code/food/ingredients.dm similarity index 100% rename from modular_ss220/food/code/ingredients.dm rename to modular_ss220/food/code/food/ingredients.dm diff --git a/modular_ss220/food/code/food/nails.dm b/modular_ss220/food/code/food/nails.dm new file mode 100644 index 000000000000..0a06d2b56410 --- /dev/null +++ b/modular_ss220/food/code/food/nails.dm @@ -0,0 +1,38 @@ +/obj/item/nails + name = "гвозди" + desc = "Хорошие гвозди, жаль бесполезные." + icon = 'modular_ss220/food/icons/food.dmi' + icon_state = "nails" + +/obj/item/reagent_containers/food/snacks/nails + name = "жаренные гвозди" + desc = "Жаренных гвоздей не хочешь, не?" + icon = 'modular_ss220/food/icons/food.dmi' + icon_state = "nails_fried" + trash = /obj/item/trash/plate + bitesize = 6 + antable = FALSE + list_reagents = list("iron" = 5, "nutriment" = 1) + tastes = list("гвозди" = 1) + +/obj/item/reagent_containers/food/snacks/nails/On_Consume(mob/living/carbon/human/user) + . = ..() + to_chat(user, "Ты чувствуешь адскую боль во рту!") + playsound(user, "bonebreak", 50, TRUE) + user.apply_damage(5, BRUTE, "head") + user.Confused(12 SECONDS) + user.EyeBlurry(6 SECONDS) + user.emote("scream") + user.bleed(5) + + if(do_after(user, 5 SECONDS, needhand = FALSE, target = user, progress = FALSE, allow_moving = TRUE) && prob(50)) + user.vomit(lost_nutrition = 0, blood = 10) + return ..() + +/datum/food_processor_process/nails + input = /obj/item/stack/rods + output = /obj/item/nails + +/datum/deepfryer_special/nails + input = /obj/item/nails + output = /obj/item/reagent_containers/food/snacks/nails diff --git a/modular_ss220/food/icons/food.dmi b/modular_ss220/food/icons/food.dmi index 6ca84088fc17..8217de7ad74d 100644 Binary files a/modular_ss220/food/icons/food.dmi and b/modular_ss220/food/icons/food.dmi differ