mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Fixed a bug that causes sliced food to have significantly fewer reagents than intended. (#69733)
This commit is contained in:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user