Belt layer below suit layer, belts toggleable

This commit is contained in:
Hubblenaut
2015-09-24 17:48:14 +02:00
parent d5906bd18f
commit 8d3519e24b
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