[MIRROR] Fixed a bug that causes sliced food to have significantly fewer reagents than intended. [MDB IGNORE] (#16130)

* Fixed a bug that causes sliced food to have significantly fewer reagents than intended. (#69733)

* Fixed a bug that causes sliced food to have significantly fewer reagents than intended.

Co-authored-by: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-09-08 18:50:24 +02:00
committed by GitHub
parent 83b1d4a58a
commit 949752a87d

View File

@@ -222,7 +222,7 @@ Behavior that's still missing from this component that original food items had t
volume = max(volume, ROUND_UP(original_atom.reagents.maximum_volume / chosen_processing_option[TOOL_PROCESSING_AMOUNT]))
this_food.create_reagents(volume)
original_atom.reagents.copy_to(this_food, original_atom.reagents.total_volume, 1 / chosen_processing_option[TOOL_PROCESSING_AMOUNT])
original_atom.reagents.copy_to(this_food, original_atom.reagents.total_volume / chosen_processing_option[TOOL_PROCESSING_AMOUNT], 1)
if(original_atom.name != initial(original_atom.name))
this_food.name = "slice of [original_atom.name]"