diff --git a/code/_onclick/hud/constructs.dm b/code/_onclick/hud/constructs.dm deleted file mode 100644 index bee898ea489..00000000000 --- a/code/_onclick/hud/constructs.dm +++ /dev/null @@ -1,15 +0,0 @@ -/datum/hud/constructs - ui_style = 'icons/hud/screen_construct.dmi' - -/datum/hud/constructs/New(mob/owner) - ..() - pull_icon = new /atom/movable/screen/pull() - pull_icon.icon = ui_style - pull_icon.update_icon() - pull_icon.screen_loc = ui_construct_pull - pull_icon.hud = src - static_inventory += pull_icon - - healths = new /atom/movable/screen/healths/construct() - healths.hud = src - infodisplay += healths diff --git a/code/_onclick/hud/screen_objects.dm b/code/_onclick/hud/screen_objects.dm index 8a5fd73b13c..f1e06534e36 100644 --- a/code/_onclick/hud/screen_objects.dm +++ b/code/_onclick/hud/screen_objects.dm @@ -656,12 +656,6 @@ icon_state = "bg_revenant" mouse_opacity = MOUSE_OPACITY_TRANSPARENT -/atom/movable/screen/healths/construct - icon = 'icons/hud/screen_construct.dmi' - icon_state = "artificer_health0" - screen_loc = ui_construct_health - mouse_opacity = MOUSE_OPACITY_TRANSPARENT - /atom/movable/screen/healthdoll name = "health doll" screen_loc = ui_healthdoll diff --git a/code/modules/mob/living/simple_animal/constructs.dm b/code/modules/mob/living/simple_animal/constructs.dm index a1ddc7722d0..d5380e17754 100644 --- a/code/modules/mob/living/simple_animal/constructs.dm +++ b/code/modules/mob/living/simple_animal/constructs.dm @@ -35,7 +35,6 @@ del_on_death = TRUE initial_language_holder = /datum/language_holder/construct deathmessage = "collapses in a shattered heap." - hud_type = /datum/hud/constructs var/list/construct_spells = list() var/playstyle_string = "You are a generic construct! Your job is to not exist, and you should probably adminhelp this." var/master = null @@ -49,7 +48,6 @@ /mob/living/simple_animal/hostile/construct/Initialize() . = ..() ADD_TRAIT(src, TRAIT_SPACEWALK, INNATE_TRAIT) - update_health_hud() var/spellnum = 1 for(var/spell in construct_spells) var/the_spell = new spell(null) @@ -116,11 +114,6 @@ /mob/living/simple_animal/hostile/construct/electrocute_act(shock_damage, source, siemens_coeff = 1, flags = NONE) return 0 -/mob/living/simple_animal/hostile/construct/adjustHealth(amount, updating_health = TRUE, forced = FALSE) - . = ..() - if(updating_health) - update_health_hud() - /////////////////Juggernaut/////////////// /mob/living/simple_animal/hostile/construct/juggernaut name = "Juggernaut" @@ -493,21 +486,3 @@ desc = "Activate to track Nar'Sie!" button_icon_state = "sintouch" the_construct.seeking = TRUE - - -/////////////////////////////ui stuff///////////////////////////// - -/mob/living/simple_animal/hostile/construct/update_health_hud() - if(hud_used) - if(health >= maxHealth) - hud_used.healths.icon_state = "[icon_state]_health0" - else if(health > maxHealth*0.8) - hud_used.healths.icon_state = "[icon_state]_health2" - else if(health > maxHealth*0.6) - hud_used.healths.icon_state = "[icon_state]_health3" - else if(health > maxHealth*0.4) - hud_used.healths.icon_state = "[icon_state]_health4" - else if(health > maxHealth*0.2) - hud_used.healths.icon_state = "[icon_state]_health5" - else - hud_used.healths.icon_state = "[icon_state]_health6" diff --git a/icons/hud/screen_construct.dmi b/icons/hud/screen_construct.dmi deleted file mode 100644 index 55f4f097702..00000000000 Binary files a/icons/hud/screen_construct.dmi and /dev/null differ diff --git a/tgstation.dme b/tgstation.dme index 981f05c4720..d841c881f53 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -262,7 +262,6 @@ #include "code\_onclick\hud\alien_larva.dm" #include "code\_onclick\hud\blob_overmind.dm" #include "code\_onclick\hud\blobbernauthud.dm" -#include "code\_onclick\hud\constructs.dm" #include "code\_onclick\hud\credits.dm" #include "code\_onclick\hud\drones.dm" #include "code\_onclick\hud\families.dm"