Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

UM-2020-008 - Soup Pot #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions code/modules/chemistry/tools/food_and_drink.dm
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,29 @@
else
boutput(user, "<span style='color:red'>There's nothing in the bowl to dip!</span>")

else if (istype(W, /obj/item/ladle))
var/obj/item/ladle/L = W
if(!L.my_soup)
boutput(user,"<span style=\"color:red\">There's nothing in the ladle to serve!</span>")
return
if(src.reagents.total_volume)
boutput(user,"<span style=\"color:red\">There's already something in the bowl!</span>")
return

var/obj/item/reagent_containers/food/snacks/soup/custom/S = new(L.my_soup)

S.pixel_x = src.pixel_x
S.pixel_y = src.pixel_y
L.my_soup = null
L.overlays = null

user.visible_message("<b>[user]</b> pours [L] into [src].", "You pour [L] into [src].")

S.loc = get_turf(src)
qdel(src)



else
..()

Expand Down
Loading