[MIRROR] Add Somatoray Mode to Remove Reagents (#10210)

Co-authored-by: NickBelmont <89628295+NickBelmont@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-22 12:36:07 +04:00
committed by GitHub
co-authored by NickBelmont
parent 8848b31f37
commit 704dab9d46
3 changed files with 41 additions and 0 deletions
+11
View File
@@ -245,6 +245,17 @@
if(prob(mutchance))
yield_mod = min(10,yield_mod+rand(1,2))
return
else if(istype(Proj, /obj/item/projectile/energy/floraprune))
var/obj/item/projectile/energy/floraprune/GP = Proj
mutchance *= GP.lasermod
if(prob(mutchance) && seed)
var/c = safepick(seed.chems)
if(length(seed.chems) > 1 && c)
var/turf/T = get_turf(loc)
seed = seed.diverge()
T.visible_message(span_infoplain(span_bold("\The [seed.display_name]") + " quivers!"))
seed.chems -= c
return
..()