Merge pull request #11226 from VOREStation/Arokha/between

Remove the between() proc
This commit is contained in:
Aronai Sieyes
2021-07-24 13:04:12 -04:00
committed by Chompstation Bot
parent 21534eef24
commit fb491666a0
6 changed files with 13 additions and 51 deletions

View File

@@ -553,10 +553,6 @@ Turf and target are seperate in case you want to teleport some distance from a t
var/y = min(world.maxy, max(1, A.y + dy))
return locate(x,y,A.z)
//Makes sure MIDDLE is between LOW and HIGH. If not, it adjusts it. Returns the adjusted value.
/proc/between(var/low, var/middle, var/high)
return max(min(middle, high), low)
//returns random gauss number
/proc/GaussRand(var/sigma)
var/x,y,rsq