mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 14:12:20 +00:00
Moved the spacecraft folder into the unused section, moved syndiebeacon into machinery. Research moved into Modules. Virus2 moved into WIP - is anyone even working on this, it looks almost done? Computer2,optics,pda2,experimental moved unto unused. WIP Chemistry things moved into Chemical Module Cameras.dm moved into weapons GameKit.dm moved into unused BrokenInHands.dm moved into unused Removed Grillify.dm Moved all of the files listed as unused in the mining module to unused Removed several empty folders in modules Moved cloning.dm into machinery Moved NewBan.dm into admin Changed humanoid aliens new_life.dm into life.dm Moved beast mob into unused Moved hivebot into unused Moved carpedexplosion.dm into unused Moved ai_lockdown.dm verb into unused and removed it from the AIs verb list as it didn't actually do anything. Removed mastercontroler2.dm Moved savefile.dm from human to new_player Bugfix People spawning on the starting screen on rev/cult should be fixed. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1964 316c924e-a436-60f5-8080-3fe189b3f50e
113 lines
2.7 KiB
Plaintext
113 lines
2.7 KiB
Plaintext
#define ui_dropbutton "SOUTH-1,7"
|
|
#define ui_swapbutton "SOUTH-1,7"
|
|
#define ui_iclothing "SOUTH-1,2"
|
|
#define ui_oclothing "SOUTH,2"
|
|
//#define ui_headset "SOUTH,8"
|
|
#define ui_rhand "SOUTH,1"
|
|
#define ui_lhand "SOUTH,3"
|
|
#define ui_id "SOUTH-1,1"
|
|
#define ui_mask "SOUTH+1,1"
|
|
#define ui_back "SOUTH+1,3"
|
|
#define ui_storage1 "SOUTH-1,4"
|
|
#define ui_storage2 "SOUTH-1,5"
|
|
#define ui_sstore1 "SOUTH+1,4"
|
|
#define ui_hstore1 "SOUTH+1,5"
|
|
#define ui_resist "EAST+1,SOUTH-1"
|
|
#define ui_gloves "SOUTH,5"
|
|
#define ui_glasses "SOUTH,7"
|
|
#define ui_ears "SOUTH,6"
|
|
#define ui_head "SOUTH+1,2"
|
|
#define ui_shoes "SOUTH,4"
|
|
#define ui_belt "SOUTH-1,3"
|
|
#define ui_throw "SOUTH-1,8"
|
|
#define ui_oxygen "EAST+1, NORTH-4"
|
|
#define ui_toxin "EAST+1, NORTH-6"
|
|
#define ui_internal "EAST+1, NORTH-2"
|
|
#define ui_fire "EAST+1, NORTH-8"
|
|
#define ui_temp "EAST+1, NORTH-10"
|
|
#define ui_health "EAST+1, NORTH-11"
|
|
#define ui_nutrition "EAST+1, NORTH-12"
|
|
#define ui_pull "SOUTH-1,10"
|
|
#define ui_hand "SOUTH-1,6"
|
|
#define ui_sleep "EAST+1, NORTH-13"
|
|
#define ui_rest "EAST+1, NORTH-14"
|
|
|
|
#define ui_acti "SOUTH-1,12"
|
|
#define ui_movi "SOUTH-1,14"
|
|
|
|
#define ui_iarrowleft "SOUTH-1,11"
|
|
#define ui_iarrowright "SOUTH-1,13"
|
|
|
|
#define ui_inv1 "SOUTH-1,1"
|
|
#define ui_inv2 "SOUTH-1,2"
|
|
#define ui_inv3 "SOUTH-1,3"
|
|
|
|
|
|
|
|
obj/hud/New(var/type = 0)
|
|
instantiate(type)
|
|
..()
|
|
return
|
|
|
|
|
|
/obj/hud/proc/other_update()
|
|
|
|
if(!mymob) return
|
|
if(show_otherinventory)
|
|
if(mymob:shoes) mymob:shoes:screen_loc = ui_shoes
|
|
if(mymob:gloves) mymob:gloves:screen_loc = ui_gloves
|
|
if(mymob:ears) mymob:ears:screen_loc = ui_ears
|
|
if(mymob:s_store) mymob:s_store:screen_loc = ui_sstore1
|
|
if(mymob:glasses) mymob:glasses:screen_loc = ui_glasses
|
|
if(mymob:h_store) mymob:h_store:screen_loc = ui_hstore1
|
|
else
|
|
if(istype(mymob, /mob/living/carbon/human))
|
|
if(mymob:shoes) mymob:shoes:screen_loc = null
|
|
if(mymob:gloves) mymob:gloves:screen_loc = null
|
|
if(mymob:ears) mymob:ears:screen_loc = null
|
|
if(mymob:s_store) mymob:s_store:screen_loc = null
|
|
if(mymob:glasses) mymob:glasses:screen_loc = null
|
|
if(mymob:h_store) mymob:h_store:screen_loc = null
|
|
|
|
|
|
/obj/hud/var/show_otherinventory = 1
|
|
/obj/hud/var/obj/screen/action_intent
|
|
/obj/hud/var/obj/screen/move_intent
|
|
|
|
/obj/hud/proc/instantiate(var/type = 0)
|
|
|
|
mymob = loc
|
|
ASSERT(istype(mymob, /mob))
|
|
|
|
if(ishuman(mymob))
|
|
human_hud(mymob.UI) // Pass the player the UI style chosen in preferences
|
|
|
|
else if(ismonkey(mymob))
|
|
monkey_hud(mymob.UI)
|
|
|
|
else if(isbrain(mymob))
|
|
brain_hud(mymob.UI)
|
|
|
|
else if(islarva(mymob))
|
|
larva_hud()
|
|
|
|
else if(isalien(mymob))
|
|
alien_hud()
|
|
|
|
else if(isAI(mymob))
|
|
ai_hud()
|
|
|
|
else if(isrobot(mymob))
|
|
robot_hud()
|
|
|
|
// else if(ishivebot(mymob))
|
|
// hivebot_hud()
|
|
|
|
// else if(ishivemainframe(mymob))
|
|
// hive_mainframe_hud()
|
|
|
|
else if(isobserver(mymob))
|
|
ghost_hud()
|
|
|
|
return
|