more sdql2 wrapper procs (#73336)

## About The Pull Request
adds findtext (+ex), view, viewers, rectangle turfs and flick as sdql2
wrappers

## Why It's Good For The Game
more fun admin stuff

## Changelog
🆑
admin: adds findtext (+ex), view, viewers, rect_turfs and flick as sdql2
wrappers
/🆑
This commit is contained in:
Fikou
2023-02-10 12:41:46 -07:00
committed by GitHub
parent 118a68c08f
commit c3f504bc1e
@@ -33,6 +33,15 @@
/proc/_cos(X)
return cos(X)
/proc/_findtext(Haystack, Needle, Start = 1, End = 0)
return findtext(Haystack, Needle, Start, End)
/proc/_findtextEx(Haystack, Needle, Start = 1, End = 0)
return findtextEx(Haystack, Needle, Start, End)
/proc/_flick(Icon, Object)
flick(Icon, Object)
/proc/_get_dir(Loc1, Loc2)
return get_dir(Loc1, Loc2)
@@ -145,6 +154,9 @@
/proc/_range(Dist, Center = usr)
return range(Dist, Center)
/proc/_rect_turfs(H_Radius = 0, V_Radius = 0, atom/Center)
return RECT_TURFS(H_Radius, V_Radius, Center)
/proc/_regex(pattern, flags)
return regex(pattern, flags)
@@ -263,6 +275,12 @@
/proc/_turn(dir, angle)
return turn(dir, angle)
/proc/_view(Dist, Center = usr)
return view(Dist, Center)
/proc/_viewers(Dist, Center = usr)
return viewers(Dist, Center)
/// Auxtools REALLY doesn't know how to handle filters as values;
/// when passed as arguments to auxtools-called procs, they aren't simply treated as nulls -
/// they don't even count towards the length of args.