mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Merge pull request #3055 from VOREStation/missinghud
Add TOTAL_HUDS define
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
#define SPECIALROLE_HUD 8 // AntagHUD image.
|
#define SPECIALROLE_HUD 8 // AntagHUD image.
|
||||||
#define STATUS_HUD_OOC 9 // STATUS_HUD without virus DB check for someone being ill.
|
#define STATUS_HUD_OOC 9 // STATUS_HUD without virus DB check for someone being ill.
|
||||||
#define LIFE_HUD 10 // STATUS_HUD that only reports dead or alive
|
#define LIFE_HUD 10 // STATUS_HUD that only reports dead or alive
|
||||||
|
#define TOTAL_HUDS 10 // Total number of HUDs. Like body layers, and other things, it comes up sometimes.
|
||||||
|
|
||||||
//some colors
|
//some colors
|
||||||
#define COLOR_WHITE "#FFFFFF"
|
#define COLOR_WHITE "#FFFFFF"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
icon = 'icons/mob/human.dmi'
|
icon = 'icons/mob/human.dmi'
|
||||||
icon_state = "body_m_s"
|
icon_state = "body_m_s"
|
||||||
|
|
||||||
var/list/hud_list[10]
|
var/list/hud_list[TOTAL_HUDS]
|
||||||
var/embedded_flag //To check if we've need to roll for damage on movement while an item is imbedded in us.
|
var/embedded_flag //To check if we've need to roll for damage on movement while an item is imbedded in us.
|
||||||
var/obj/item/weapon/rig/wearing_rig // This is very not good, but it's much much better than calling get_rig() every update_canmove() call.
|
var/obj/item/weapon/rig/wearing_rig // This is very not good, but it's much much better than calling get_rig() every update_canmove() call.
|
||||||
var/last_push_time //For human_attackhand.dm, keeps track of the last use of disarm
|
var/last_push_time //For human_attackhand.dm, keeps track of the last use of disarm
|
||||||
|
|||||||
Reference in New Issue
Block a user