[MIRROR] more sdql2 wrapper procs [MDB IGNORE] (#19269)

* 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
/🆑

* more sdql2 wrapper procs

---------

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-02-11 04:15:38 +01:00
committed by GitHub
parent e0d1956aae
commit 907335838a
@@ -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.