Refactored directionals (#20082)

Refactored directionals, ported lists of directions from TG, got rid of
useless proc to get the reverse direction.
This commit is contained in:
Fluffy
2024-10-25 17:56:02 +00:00
committed by GitHub
parent e8107c3170
commit d9c44532fc
146 changed files with 377 additions and 281 deletions
@@ -341,7 +341,7 @@ ABSTRACT_TYPE(/singleton/reagent/alcohol)
/singleton/reagent/lithium/affect_blood(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
if(M.canmove && !M.restrained() && !(istype(M.loc, /turf/space)))
step(M, pick(GLOB.cardinal))
step(M, pick(GLOB.cardinals))
if(prob(5) && ishuman(M))
M.emote(pick("twitch", "drool", "moan"))
@@ -65,7 +65,7 @@
if(power > 20)
var/probmod = 5 + (power-20)
if(prob(probmod) && isturf(M.loc) && !istype(M.loc, /turf/space) && M.canmove && !M.restrained())
step(M, pick(GLOB.cardinal))
step(M, pick(GLOB.cardinals))
if(prob(7))
M.emote(pick("smile","giggle","moan","yawn","laugh","drool","twitch"))