Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Toxic Reagents That are Supposed to be Removed When Cooking are not Removed From Food When Cooking

Open Fordoxia opened this issue 1 month ago • 0 comments

Exploit Reports

  • [X] I confirm this issue is not an exploit. (Required)

BYOND Version

515.1633

Issue Description

Some recipes use toxic raw ingredients (e.g. fish and chips, containing carpotoxin-filled carp meat). The toxins are not purged despite there being code to do so.

What did you expect to happen?

For the food to be safe.

What happened instead?

The food was toxic.

Why is this bad/What are the consequences?

I am making dishes that hurt people when I don't want to hurt them.

Steps to reproduce the issue.

Cook any food that uses a toxic base ingredient.

When did the problem start happening?

Since the beginning of time.

Extra information

There ARE provisions in the code to get rid of the toxins, but they do not function. Example:

/datum/recipe/microwave/fishandchips/make_food(obj/container)
	var/obj/item/food/snacks/fishandchips/being_cooked = ..()
	being_cooked.reagents.del_reagent("carpotoxin")
	return being_cooked

I have confirmed this occurs with fillet o' carp, green eggs and ham, boiled spider legs, and fish and chips. All recipes that are supposed to cleanse toxins probably do not.

Relevant log output/runtime error

No response

Fordoxia avatar Jul 03 '24 03:07 Fordoxia