From a3be213089dbba66c18bf3167df787aaea391106 Mon Sep 17 00:00:00 2001 From: SteelSlayer Date: Tue, 9 Jun 2020 21:13:12 -0500 Subject: [PATCH] after_slip /atom level --- code/game/atoms.dm | 11 +++++++++++ code/game/atoms_movable.dm | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 365e06aca4b..abd224e409b 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -395,6 +395,17 @@ /atom/proc/get_spooked() return +/** + Base proc, intended to be overriden. + + This should only be called from one place: inside the slippery component. + Called after a human mob slips on this atom. + + If you want the person who slipped to have something special done to them, put it here. +*/ +/atom/proc/after_slip(mob/living/carbon/human/H) + return + /atom/proc/add_hiddenprint(mob/living/M as mob) if(isnull(M)) return if(isnull(M.key)) return diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index dff58d485f5..70926d7ba2b 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -330,17 +330,6 @@ SSspacedrift.processing[src] = src return 1 -/** - Base proc, intended to be overriden. - - This should only be called from one place: inside the slippery component. - Called after a human mob slips on this atom. - - If you want the person who slipped to have something special done to them, put it here. -*/ -/atom/movable/proc/after_slip(mob/living/carbon/human/H) - return - //called when src is thrown into hit_atom /atom/movable/proc/throw_impact(atom/hit_atom, throwingdatum) set waitfor = 0