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

This commit is contained in:
lizardqueenlexi
2022-09-08 08:22:04 -04:00
committed by GitHub
parent c825c10174
commit be635bd6c0
+1 -1
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]"