Makes a ton of dirs into defines (#31244)

* Makes a ton of dirs into defines

* lol oops

* "fix"

* ignore everything
This commit is contained in:
Contrabang
2025-12-12 15:32:33 -05:00
committed by GitHub
parent 2a842644d5
commit ef7e48db9c
23 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -2850,7 +2850,7 @@
var/tmp_dir = href_list["object_dir"]
var/obj_dir = tmp_dir ? text2num(tmp_dir) : 2
if(!obj_dir || !(obj_dir in list(1,2,4,8,5,6,9,10)))
obj_dir = 2
obj_dir = SOUTH
var/obj_name = sanitize(href_list["object_name"])
+1 -1
View File
@@ -1,7 +1,7 @@
// Examples
/*
-- Will call the proc for all computers in the world, thats dir is 2.
CALL ex_act(1) ON /obj/machinery/computer IN world WHERE dir == 2
CALL ex_act(1) ON /obj/machinery/computer IN world WHERE dir == SOUTH
-- Will open a window with a list of all the closets in the world, with a link to VV them.
SELECT /obj/structure/closet/secure_closet/security/cargo IN world WHERE icon_off == "secoff"
-- Will change all the tube lights to green