From b85b672b9df3e566c12b19f1ec96791e0d1765af Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Fri, 2 Jul 2021 13:51:18 +0100 Subject: [PATCH] Nerfs sorium and LDM --- code/modules/reagents/chemistry/recipes.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/reagents/chemistry/recipes.dm b/code/modules/reagents/chemistry/recipes.dm index b743da3cecf..f2e7f4f104e 100644 --- a/code/modules/reagents/chemistry/recipes.dm +++ b/code/modules/reagents/chemistry/recipes.dm @@ -60,6 +60,10 @@ else new /obj/effect/temp_visual/shockwave(T) playsound(T, 'sound/effects/bang.ogg', 25, 1) + // PARADISE EDIT: Allow only a certain amount of atoms to be pulled per unit + var/units_per_atom = 5 + var/atoms_to_move = round(volume / units_per_atom) + var/moved_count = 0 for(var/atom/movable/X in view(2 + setting_type + (volume > 30 ? 1 : 0), T)) if(istype(X, /obj/effect)) continue //stop pulling smoke and hotspots please @@ -68,3 +72,6 @@ X.throw_at(T, 20 + round(volume * 2), 1 + round(volume / 10)) else X.throw_at(get_edge_target_turf(T, get_dir(T, X)), 20 + round(volume * 2), 1 + round(volume / 10)) + moved_count++ + if(moved_count >= atoms_to_move) + break