Seperated ID and PDA slots

This commit is contained in:
ZomgPonies
2013-11-01 13:28:58 -04:00
parent 4630518535
commit 00b101d7f2
29 changed files with 123 additions and 45 deletions
+4 -1
View File
@@ -39,6 +39,8 @@
#define ui_storage1 "9:18,1:5"
#define ui_storage2 "10:20,1:5"
#define ui_pda "11:22,1:5"
#define ui_alien_head "4:12,1:5" //aliens
#define ui_alien_oclothing "5:14,1:5" //aliens
@@ -51,7 +53,7 @@
#define ui_monkey_back "6:14,1:5" //monkey
//Lower right, persistant menu
#define ui_dropbutton "11:22,1:5"
//#define ui_dropbutton "11:22,1:5"
#define ui_drop_throw "14:28,2:7"
#define ui_pull_resist "13:26,2:7"
#define ui_acti "13:26,1:5"
@@ -95,6 +97,7 @@
#define ui_oclothing "2:8,2:7"
#define ui_gloves "3:10,2:7"
#define ui_glasses "1:6,3:9"
#define ui_mask "2:8,3:9"
#define ui_l_ear "3:10,3:9"
+2
View File
@@ -150,6 +150,7 @@ datum/hud/New(mob/owner)
if(hud_shown)
if(H.s_store) H.s_store.screen_loc = ui_sstore1
if(H.wear_id) H.wear_id.screen_loc = ui_id
if(H.wear_pda) H.wear_pda.screen_loc = ui_pda
if(H.belt) H.belt.screen_loc = ui_belt
if(H.back) H.back.screen_loc = ui_back
if(H.l_store) H.l_store.screen_loc = ui_storage1
@@ -157,6 +158,7 @@ datum/hud/New(mob/owner)
else
if(H.s_store) H.s_store.screen_loc = null
if(H.wear_id) H.wear_id.screen_loc = null
if(H.wear_pda) H.wear_pda.screen_loc = null
if(H.belt) H.belt.screen_loc = null
if(H.back) H.back.screen_loc = null
if(H.l_store) H.l_store.screen_loc = null
+10
View File
@@ -158,6 +158,16 @@
inv_box.layer = 19
src.adding += inv_box
inv_box = new /obj/screen/inventory()
inv_box.name = "pda"
inv_box.dir = NORTH
inv_box.icon = ui_style
inv_box.icon_state = "pda"
inv_box.screen_loc = ui_pda
inv_box.slot_id = slot_wear_pda
inv_box.layer = 19
src.adding += inv_box
inv_box = new /obj/screen/inventory()
inv_box.name = "mask"
inv_box.dir = NORTH