bunch of global vars (#19091)

* bunch of global vars

* .
This commit is contained in:
Kashargul
2026-01-25 13:18:03 -08:00
committed by GitHub
parent 2f810d0f3e
commit de17517e42
92 changed files with 328 additions and 438 deletions
+7 -5
View File
@@ -359,12 +359,14 @@
C.swap_hand()
else
var/list/P = params2list(params)
var/turf/T = screen_loc2turf(P["screen-loc"], get_turf(usr))
var/turf/T = get_turf(usr)
if(T)
if(LAZYACCESS(modifiers, SHIFT_CLICK))
usr.face_atom(T)
return 1
T.Click(location, control, params)
T = screen_loc2turf(P["screen-loc"], T)
if(T)
if(LAZYACCESS(modifiers, SHIFT_CLICK))
usr.face_atom(T)
return 1
T.Click(location, control, params)
return 1
/// MouseWheelOn
+2 -2
View File
@@ -392,9 +392,9 @@ GLOBAL_LIST_INIT(global_huds, list(
if(UI_style_new)
if(isrobot(src))
ic = all_ui_styles_robot[UI_style_new]
ic = GLOB.all_ui_styles_robot[UI_style_new]
else
ic = all_ui_styles[UI_style_new]
ic = GLOB.all_ui_styles[UI_style_new]
hud_used.ui_style = ic
else
ic = hud_used.ui_style
+1 -2
View File
@@ -1,5 +1,3 @@
var/atom/movable/screen/robot_inventory
/mob/living/silicon/robot/create_mob_hud(datum/hud/HUD, apply_to_client = TRUE)
..()
@@ -16,6 +14,7 @@ var/atom/movable/screen/robot_inventory
HUD.other = other
var/atom/movable/screen/using
var/atom/movable/screen/robot_inventory
//Radio
using = new /atom/movable/screen()