mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Adds the 'mob_possessor' argument to all the instances of special() (#93410)
## About The Pull Request a spooky special possession pr for october appears~~ (This is just some code cleanup) Before, some procs had the `mob_possessor` arg, and some didn't. Which made it a nightmare to add more positional args to it down the line. This PR just ensures that all positional args are present in all the instances of the proc. ## Why It's Good For The Game Makes this proc chain slightly less of a mess to deal with. ## Changelog N/A
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
icon_state = "corpseminer"
|
||||
|
||||
// Gives the minesite corpses the gutted effect so that the boss ignores them
|
||||
/obj/effect/mob_spawn/corpse/human/minesite/special(mob/living/spawned_mob)
|
||||
/obj/effect/mob_spawn/corpse/human/minesite/special(mob/living/spawned_mob, mob/mob_possessor)
|
||||
. = ..()
|
||||
spawned_mob.apply_status_effect(/datum/status_effect/gutted)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/// Tiger cultist corpse but with an exit wound
|
||||
/obj/effect/mob_spawn/corpse/human/tigercultist/perforated
|
||||
|
||||
/obj/effect/mob_spawn/corpse/human/tigercultist/perforated/special(mob/living/carbon/human/spawned_human)
|
||||
/obj/effect/mob_spawn/corpse/human/tigercultist/perforated/special(mob/living/carbon/human/spawned_human, mob/mob_possessor)
|
||||
. = ..()
|
||||
|
||||
var/obj/item/bodypart/chest/their_chest = spawned_human.get_bodypart(BODY_ZONE_CHEST)
|
||||
|
||||
Reference in New Issue
Block a user