mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user