mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
[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:
@@ -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