mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
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:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user