Skip to content

Commit

Permalink
Sawdust Soup (#1562)
Browse files Browse the repository at this point in the history
## Что этот PR делает
Суп из опилок, коротко и ясно
Восстанавливает очень мало, но гарантированно, в отличии от супа из воды

## Почему это хорошо для игры
Ну вкусно

## Изображения изменений

![image](https://github.com/user-attachments/assets/4f3355d2-6f15-4b6f-a600-973e2f87f215)

## Changelog

:cl:
add: Добавлен суп из опилок. Восстанавливает мало, но гарантированно.
Делается из доски и 20 юнитов воды в микроволновке. Но есть ньюанс...
/:cl:
  • Loading branch information
AyIong authored Sep 29, 2024
1 parent 09d06ce commit 2a682eb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions modular_ss220/food_and_drinks/code/food/food.dm
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,30 @@
icon = 'modular_ss220/food_and_drinks/icons/trash.dmi'
icon_state = "pan"

/obj/item/food/soup/sawdust_soup
name = "суп из опилок"
desc = "Отчаянные времена требуют отчаянных мер..."
icon = 'modular_ss220/food_and_drinks/icons/food.dmi'
icon_state = "sawdustsoup"
lefthand_file = 'modular_ss220/food_and_drinks/icons/food_lefthand.dmi'
righthand_file = 'modular_ss220/food_and_drinks/icons/food_righthand.dmi'
filling_color = "#fae4b5"
trash = /obj/item/trash/snack_bowl
list_reagents = list("water" = 10, "nutriment" = 2, "vitamin" = 1)
tastes = list("опилки" = 1)
goal_difficulty = FOOD_GOAL_SKIP

/datum/recipe/microwave/sawdust_soup
reagents = list("water" = 20)
items = list(/obj/item/stack/sheet/wood = 1)
result = /obj/item/food/soup/sawdust_soup

/obj/item/food/soup/sawdust_soup/On_Consume(mob/M, mob/user)
. = ..()
var/mob/living/carbon/consumer = user
if(prob(5))
consumer.vomit(nutritional_value * 2.5)

// Infinite Pizza Box
/obj/item/pizzabox/infinite
resistance_flags = FIRE_PROOF | LAVA_PROOF | ACID_PROOF
Expand Down
Binary file modified modular_ss220/food_and_drinks/icons/food.dmi
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 2a682eb

Please sign in to comment.