mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Cult Construct Non-Balance Update (#26598)
* Adds Construct HUD * Update _defines.dm * Construct health icons * Update tgstation.dme * Update constructs.dm * construct glow * Nightvision * Add files via upload * Update constructs.dm * HUD fix * updated icon names * Update screen_objects.dm * here goes nothing * Throwing code at the wall and seeing what sticks * Update constructs.dm * Update constructs.dm * Update constructs.dm * wew * empty space memes * Update constructs.dm * Update and rename constructs.dm to construct.dm * Update construct.dm * Filename memes * Update constructs.dm * update * Finished and tested
This commit is contained in:
@@ -111,6 +111,10 @@
|
||||
#define ui_alienplasmadisplay "EAST-1:28,CENTER-2:15"
|
||||
#define ui_alien_queen_finder "EAST-1:28,CENTER-3:15"
|
||||
|
||||
//constructs
|
||||
#define ui_construct_pull "EAST,CENTER-2:15"
|
||||
#define ui_construct_health "EAST,CENTER:15" //same as borgs and humans
|
||||
|
||||
// AI
|
||||
|
||||
#define ui_ai_core "SOUTH:6,WEST"
|
||||
|
||||
18
code/_onclick/hud/constructs.dm
Normal file
18
code/_onclick/hud/constructs.dm
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
/datum/hud/constructs
|
||||
ui_style_icon = 'icons/mob/screen_construct.dmi'
|
||||
|
||||
/datum/hud/constructs/New(mob/owner)
|
||||
..()
|
||||
pull_icon = new /obj/screen/pull()
|
||||
pull_icon.icon = 'icons/mob/screen_construct.dmi'
|
||||
pull_icon.update_icon(mymob)
|
||||
pull_icon.screen_loc = ui_construct_pull
|
||||
static_inventory += pull_icon
|
||||
|
||||
healths = new /obj/screen/healths/construct()
|
||||
infodisplay += healths
|
||||
|
||||
/mob/living/simple_animal/hostile/construct/create_mob_hud()
|
||||
if(client && !hud_used)
|
||||
hud_used = new /datum/hud/constructs(src)
|
||||
@@ -532,6 +532,12 @@
|
||||
screen_loc = ui_health
|
||||
mouse_opacity = 0
|
||||
|
||||
/obj/screen/healths/construct
|
||||
icon = 'icons/mob/screen_construct.dmi'
|
||||
icon_state = "artificer_health0"
|
||||
screen_loc = ui_construct_health
|
||||
mouse_opacity = 0
|
||||
|
||||
/obj/screen/healthdoll
|
||||
name = "health doll"
|
||||
screen_loc = ui_healthdoll
|
||||
|
||||
Reference in New Issue
Block a user