Merge pull request #10849 from Fox-McCloud/switch-straps

Allows Leather Satchel Strap Switching
This commit is contained in:
variableundefined
2019-02-10 15:46:51 +08:00
committed by GitHub
3 changed files with 16 additions and 0 deletions
@@ -197,6 +197,22 @@
desc = "It's a very fancy satchel made with fine leather."
icon_state = "satchel"
burn_state = FIRE_PROOF
var/strap_side_straight = FALSE
/obj/item/storage/backpack/satchel/verb/switch_strap()
set name = "Switch Strap Side"
set category = "Object"
set src in usr
if(usr.incapacitated())
return
strap_side_straight = !strap_side_straight
icon_state = strap_side_straight ? "satchel-flipped" : "satchel"
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
H.update_inv_back()
/obj/item/storage/backpack/satcheldeluxe
name = "leather satchel"