Skip to content

Commit

Permalink
works on my machine
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeguyManperson committed May 11, 2024
1 parent 04307df commit eb42295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/food/customizables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
else
if(!user.transferItemToLoc(I, src))
return
ingredients += I
I.reagents.trans_to(src,min(S.reagents.total_volume, 15), transfered_by = user) //limit of 15, we don't want our custom food to be completely filled by just one ingredient with large reagent volume.
if(istype(S))
if(S.trash)
S.generate_trash(get_turf(user))
Expand All @@ -60,8 +62,6 @@
mix_filling_color(E.filling_color)
foodtype |= E.foodtypes
update_customizable_overlays(E.filling_color)
ingredients += I
I.reagents.trans_to(src,min(S.reagents.total_volume, 15), transfered_by = user) //limit of 15, we don't want our custom food to be completely filled by just one ingredient with large reagent volume.
to_chat(user, "<span class='notice'>You add the [I.name] to the [name].</span>")
update_food_name(I)
else
Expand Down

0 comments on commit eb42295

Please sign in to comment.