Merge pull request #11182 from Hubblenaut/dev

Lowers the belt layer to below suit
This commit is contained in:
Chinsky
2015-09-25 11:45:57 +03:00
2 changed files with 46 additions and 24 deletions
@@ -8,6 +8,18 @@
attack_verb = list("whipped", "lashed", "disciplined")
sprite_sheets = list("Resomi" = 'icons/mob/species/resomi/belt.dmi')
var/show_above_suit = 0
/obj/item/weapon/storage/belt/verb/toggle_layer()
set name = "Switch Belt Layer"
set category = "Object"
if(show_above_suit == -1)
usr << "<span class='notice'>\The [src] cannot be worn above your suit!</span>"
return
show_above_suit = !show_above_suit
update_icon()
/obj/item/weapon/storage/update_icon()
if (ismob(src.loc))
var/mob/M = src.loc