Skip to content

pies now splash people

Rob Nelson requested to merge pull/11313/piethrowing into Bleeding-Edge

Created by: Intigracy

fixes #10947

also the partial pathing is all removed

ACTUAL CHANGES:

 /obj/item/weapon/reagent_containers/food/snacks/pie/throw_impact(atom/hit_atom)
+   if(ismob(hit_atom))
+       var/mob/Igothit = hit_atom
+       src.reagents.reaction(hit_atom, TOUCH)
+       var/client/assailant = directory[ckey(src.fingerprintslast)]
+       if(assailant && assailant.mob && istype(assailant.mob,/mob))
+           var/mob/M = assailant.mob
+           msg_admin_attack("[M.name] ([M.ckey]) threw [src] at [Igothit.name] ([Igothit.key]). Reagents: [reagents.get_reagent_ids(1)] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[Igothit.x];Y=[Igothit.y];Z=[Igothit.z]'>JMP</a>)")
    ..()
    if(isturf(hit_atom))
        new/obj/effect/decal/cleanable/pie_smudge(src.loc)
-       if(trash) new trash(src.loc)
+       if(trash)
+           new trash(src.loc)
        qdel(src)

Merge request reports