Merge pull request #430 from viv-eret/master

adds horsehalf saddlebag
This commit is contained in:
Spades
2016-07-31 15:56:08 -04:00
committed by GitHub
5 changed files with 20 additions and 1 deletions
@@ -0,0 +1,13 @@
/obj/item/weapon/storage/backpack/saddlebag
name = "Saddlebag"
desc = "A saddle that holds items."
icon = 'icons/obj/storage_vr.dmi'
icon_override = 'icons/mob/back_vr.dmi'
item_state = "saddlebag"
icon_state = "saddlebag"
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
return 1
else
H << "<span class='warning'>You need to have a horse half to wear this.</span>"
return 0
@@ -30,4 +30,9 @@
allowed_roles = list("Paramedic","Chief Medical Officer","Medical Doctor","Chemist")
/datum/gear/accessory/white_vest
allowed_roles = list("Paramedic","Chief Medical Officer","Medical Doctor","Chemist")
allowed_roles = list("Paramedic","Chief Medical Officer","Medical Doctor","Chemist")
/datum/gear/accessory/saddlebag
display_name = "Saddle Bag"
path = /obj/item/weapon/storage/backpack/saddlebag
slot = slot_back