mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Upstream merge of material scanner overlay
This commit is contained in:
@@ -12,7 +12,8 @@ var/list/global_huds = list(
|
||||
global_hud.nvg,
|
||||
global_hud.thermal,
|
||||
global_hud.meson,
|
||||
global_hud.science
|
||||
global_hud.science,
|
||||
global_hud.material
|
||||
)
|
||||
|
||||
/datum/hud/var/obj/screen/grab_intent
|
||||
@@ -30,6 +31,7 @@ var/list/global_huds = list(
|
||||
var/obj/screen/thermal
|
||||
var/obj/screen/meson
|
||||
var/obj/screen/science
|
||||
var/obj/screen/material
|
||||
|
||||
/datum/global_hud/proc/setup_overlay(var/icon_state)
|
||||
var/obj/screen/screen = new /obj/screen()
|
||||
@@ -66,6 +68,7 @@ var/list/global_huds = list(
|
||||
thermal = setup_overlay("thermal_hud")
|
||||
meson = setup_overlay("meson_hud")
|
||||
science = setup_overlay("science_hud")
|
||||
material = setup_overlay("material_hud")
|
||||
|
||||
var/obj/screen/O
|
||||
var/i
|
||||
|
||||
Reference in New Issue
Block a user