mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Personal crafting & Dependencies
This commit is contained in:
committed by
Darlantan
parent
04a8c35801
commit
d7f20396de
@@ -18,6 +18,7 @@
|
||||
|
||||
/atom/Click(var/location, var/control, var/params) // This is their reaction to being clicked on (standard proc)
|
||||
if(src)
|
||||
SEND_SIGNAL(src, COMSIG_CLICK, location, control, params, usr)
|
||||
usr.ClickOn(src, params)
|
||||
|
||||
/atom/DblClick(var/location, var/control, var/params)
|
||||
|
||||
@@ -187,3 +187,5 @@
|
||||
#define ui_mech_airtoggle "WEST+1:-7, SOUTH+8"
|
||||
#define ui_mech_deco1_f "WEST+2:-7, SOUTH+8"
|
||||
#define ui_mech_deco2_f "WEST+2:-7, SOUTH+9"
|
||||
|
||||
#define ui_crafting "EAST-4:22,SOUTH:5"
|
||||
@@ -246,6 +246,7 @@
|
||||
add_overlay(selecting_appearance)
|
||||
|
||||
/obj/screen/Click(location, control, params)
|
||||
..() // why the FUCK was this not called before
|
||||
if(!usr) return 1
|
||||
switch(name)
|
||||
if("toggle")
|
||||
|
||||
Reference in New Issue
Block a user