mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Allows Leather Satchel Strap Switching
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user