This commit is contained in:
kevinz000
2020-06-12 16:33:36 -07:00
parent 00666422af
commit 146542b077
2 changed files with 64 additions and 47 deletions
+3
View File
@@ -1,3 +1,6 @@
/// Checks if something is a BYOND object datatype rather than a primitive, or whatever's closest to one.
#define is_object_datatype(object) (!istext(object) && !isnum(object))
// simple is_type and similar inline helpers
#define in_range(source, user) (get_dist(source, user) <= 1 && (get_step(source, 0)?:z) == (get_step(user, 0)?:z))