Changed the suit storage HUD icon to match the belt's icon

Items that would be visible on your belt are visible on your suit storage

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@558 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-12-07 02:59:19 +00:00
parent c4c2215906
commit d67a84e595
4 changed files with 8 additions and 3 deletions

View File

@@ -209,7 +209,7 @@
using = new src.h_type( src )
using.name = "suit storage"
using.icon = ui_style
using.icon_state = "pocket"
using.icon_state = "belt"
using.screen_loc = ui_sstore1
using.layer = 19
src.other += using

View File

@@ -1161,6 +1161,13 @@
src.overlays += image("icon" = 'belt.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = MOB_LAYER)
src.belt.screen_loc = ui_belt
if (src.s_store)
var/t1 = src.s_store.item_state
if (!t1)
t1 = src.s_store.icon_state
src.overlays += image("icon" = 'belt_mirror.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = MOB_LAYER)
src.s_store.screen_loc = ui_sstore1
if ((src.wear_mask && !(src.wear_mask.see_face)) || (src.head && !(src.head.see_face))) // can't see the face
if (src.wear_id && src.wear_id.registered)
src.name = src.wear_id.registered
@@ -1181,8 +1188,6 @@
if (src.r_store)
src.r_store.screen_loc = ui_storage2
if (src.s_store)
src.s_store.screen_loc = ui_sstore1
if (src.back)
var/t1 = src.back.icon_state

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icons/mob/belt_mirror.dmi Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB