mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 17:11:22 +00:00
All credits to the author for this handy little script. I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work. To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders" If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
251 lines
6.9 KiB
Plaintext
251 lines
6.9 KiB
Plaintext
|
|
/obj/hud/proc/hivebot_hud()
|
|
|
|
src.adding = list( )
|
|
src.other = list( )
|
|
src.intents = list( )
|
|
src.mon_blo = list( )
|
|
src.m_ints = list( )
|
|
src.mov_int = list( )
|
|
src.vimpaired = list( )
|
|
src.darkMask = list( )
|
|
|
|
src.g_dither = new src.h_type( src )
|
|
src.g_dither.screen_loc = "WEST,SOUTH to EAST,NORTH"
|
|
src.g_dither.name = "Mask"
|
|
src.g_dither.icon_state = "dither12g"
|
|
src.g_dither.layer = 18
|
|
src.g_dither.mouse_opacity = 0
|
|
|
|
src.alien_view = new src.h_type(src)
|
|
src.alien_view.screen_loc = "WEST,SOUTH to EAST,NORTH"
|
|
src.alien_view.name = "Alien"
|
|
src.alien_view.icon_state = "alien"
|
|
src.alien_view.layer = 18
|
|
src.alien_view.mouse_opacity = 0
|
|
|
|
src.blurry = new src.h_type( src )
|
|
src.blurry.screen_loc = "WEST,SOUTH to EAST,NORTH"
|
|
src.blurry.name = "Blurry"
|
|
src.blurry.icon_state = "blurry"
|
|
src.blurry.layer = 17
|
|
src.blurry.mouse_opacity = 0
|
|
|
|
src.druggy = new src.h_type( src )
|
|
src.druggy.screen_loc = "WEST,SOUTH to EAST,NORTH"
|
|
src.druggy.name = "Druggy"
|
|
src.druggy.icon_state = "druggy"
|
|
src.druggy.layer = 17
|
|
src.druggy.mouse_opacity = 0
|
|
|
|
// station explosion cinematic
|
|
src.station_explosion = new src.h_type( src )
|
|
src.station_explosion.icon = 'icons/effects/station_explosion.dmi'
|
|
src.station_explosion.icon_state = "start"
|
|
src.station_explosion.layer = 20
|
|
src.station_explosion.mouse_opacity = 0
|
|
src.station_explosion.screen_loc = "1,3"
|
|
|
|
var/obj/screen/using
|
|
|
|
|
|
//Radio
|
|
using = new src.h_type( src )
|
|
using.name = "radio"
|
|
using.dir = SOUTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "radio"
|
|
using.screen_loc = ui_movi
|
|
using.layer = 20
|
|
src.adding += using
|
|
|
|
//Generic overlays
|
|
|
|
using = new src.h_type(src) //Right hud bar
|
|
using.dir = SOUTH
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.screen_loc = "EAST+1,SOUTH to EAST+1,NORTH"
|
|
using.layer = 19
|
|
src.adding += using
|
|
|
|
using = new src.h_type(src) //Lower hud bar
|
|
using.dir = EAST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.screen_loc = "WEST,SOUTH-1 to EAST,SOUTH-1"
|
|
using.layer = 19
|
|
src.adding += using
|
|
|
|
using = new src.h_type(src) //Corner Button
|
|
using.dir = NORTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.screen_loc = "EAST+1,SOUTH-1"
|
|
using.layer = 19
|
|
src.adding += using
|
|
|
|
|
|
//Module select
|
|
|
|
using = new src.h_type( src )
|
|
using.name = "module1"
|
|
using.dir = SOUTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "inv1"
|
|
using.screen_loc = ui_inv1
|
|
using.layer = 20
|
|
src.adding += using
|
|
mymob:inv1 = using
|
|
|
|
using = new src.h_type( src )
|
|
using.name = "module2"
|
|
using.dir = SOUTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "inv2"
|
|
using.screen_loc = ui_inv2
|
|
using.layer = 20
|
|
src.adding += using
|
|
mymob:inv2 = using
|
|
|
|
using = new src.h_type( src )
|
|
using.name = "module3"
|
|
using.dir = SOUTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "inv3"
|
|
using.screen_loc = ui_inv3
|
|
using.layer = 20
|
|
src.adding += using
|
|
mymob:inv3 = using
|
|
|
|
//End of module select
|
|
|
|
//Intent
|
|
using = new src.h_type( src )
|
|
using.name = "act_intent"
|
|
using.dir = SOUTHWEST
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = (mymob.a_intent == "hurt" ? "harm" : mymob.a_intent)
|
|
using.screen_loc = ui_acti
|
|
using.layer = 20
|
|
src.adding += using
|
|
action_intent = using
|
|
|
|
using = new src.h_type( src )
|
|
using.name = "arrowleft"
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "s_arrow"
|
|
using.dir = WEST
|
|
using.screen_loc = ui_iarrowleft
|
|
using.layer = 19
|
|
src.adding += using
|
|
|
|
using = new src.h_type( src )
|
|
using.name = "arrowright"
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "s_arrow"
|
|
using.dir = EAST
|
|
using.screen_loc = ui_iarrowright
|
|
using.layer = 19
|
|
src.adding += using
|
|
//End of Intent
|
|
|
|
//Cell
|
|
mymob:cells = new /obj/screen( null )
|
|
mymob:cells.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob:cells.icon_state = "charge-empty"
|
|
mymob:cells.name = "cell"
|
|
mymob:cells.screen_loc = ui_toxin
|
|
|
|
//Health
|
|
mymob.healths = new /obj/screen( null )
|
|
mymob.healths.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.healths.icon_state = "health0"
|
|
mymob.healths.name = "health"
|
|
mymob.healths.screen_loc = ui_health
|
|
|
|
//Installed Module
|
|
mymob.hands = new /obj/screen( null )
|
|
mymob.hands.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.hands.icon_state = "nomod"
|
|
mymob.hands.name = "module"
|
|
mymob.hands.screen_loc = ui_dropbutton
|
|
|
|
//Module Panel
|
|
using = new src.h_type( src )
|
|
using.name = "panel"
|
|
using.icon = 'icons/mob/screen1_robot.dmi'
|
|
using.icon_state = "panel"
|
|
using.screen_loc = ui_throw
|
|
using.layer = 19
|
|
src.adding += using
|
|
|
|
//Store
|
|
mymob.throw_icon = new /obj/screen(null)
|
|
mymob.throw_icon.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.throw_icon.icon_state = "store"
|
|
mymob.throw_icon.name = "store"
|
|
mymob.throw_icon.screen_loc = ui_hand
|
|
|
|
//Temp
|
|
mymob.bodytemp = new /obj/screen( null )
|
|
mymob.bodytemp.icon_state = "temp0"
|
|
mymob.bodytemp.name = "body temperature"
|
|
mymob.bodytemp.screen_loc = ui_temp
|
|
|
|
//does nothing (fire and oxy)
|
|
mymob.oxygen = new /obj/screen( null )
|
|
mymob.oxygen.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.oxygen.icon_state = "oxy0"
|
|
mymob.oxygen.name = "oxygen"
|
|
mymob.oxygen.screen_loc = ui_oxygen
|
|
|
|
mymob.fire = new /obj/screen( null )
|
|
mymob.fire.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.fire.icon_state = "fire0"
|
|
mymob.fire.name = "fire"
|
|
mymob.fire.screen_loc = ui_fire
|
|
|
|
|
|
|
|
mymob.pullin = new /obj/screen( null )
|
|
mymob.pullin.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.pullin.icon_state = "pull0"
|
|
mymob.pullin.name = "pull"
|
|
mymob.pullin.screen_loc = ui_pull
|
|
|
|
mymob.blind = new /obj/screen( null )
|
|
mymob.blind.icon = 'icons/mob/screen1_full.dmi''
|
|
mymob.blind.icon_state = "blackimageoverlay"
|
|
mymob.blind.name = " "
|
|
mymob.blind.screen_loc = "1,1"
|
|
mymob.blind.layer = 0
|
|
|
|
mymob.flash = new /obj/screen( null )
|
|
mymob.flash.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.flash.icon_state = "blank"
|
|
mymob.flash.name = "flash"
|
|
mymob.flash.screen_loc = "1,1 to 15,15"
|
|
mymob.flash.layer = 17
|
|
|
|
mymob.sleep = new /obj/screen( null )
|
|
mymob.sleep.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.sleep.icon_state = "sleep0"
|
|
mymob.sleep.name = "sleep"
|
|
mymob.sleep.screen_loc = ui_sleep
|
|
|
|
mymob.rest = new /obj/screen( null )
|
|
mymob.rest.icon = 'icons/mob/screen1_robot.dmi'
|
|
mymob.rest.icon_state = "rest0"
|
|
mymob.rest.name = "rest"
|
|
mymob.rest.screen_loc = ui_rest
|
|
|
|
|
|
mymob.zone_sel = new /obj/screen/zone_sel( null )
|
|
mymob.zone_sel.overlays = null
|
|
mymob.zone_sel.overlays += image("icon" = 'icons/mob/zone_sel.dmi', "icon_state" = text("[]", mymob.zone_sel.selecting))
|
|
|
|
mymob.client.screen = null
|
|
|
|
mymob.client.screen += list(mymob.throw_icon, mymob.zone_sel, mymob.oxygen, mymob.fire, mymob.hands, mymob.healths, mymob:cells, mymob.pullin, mymob.blind, mymob.flash, mymob.rest, mymob.sleep) //, mymob.mach )
|
|
mymob.client.screen += src.adding + src.other
|
|
|
|
return
|