Requested Fixes

This commit is contained in:
Unknown
2018-05-22 12:49:41 -04:00
parent ca131caa10
commit 2c1ad0076f
5 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -632,8 +632,8 @@
//convenience var for defining the icon state for the overlay used when the clothing is worn.
//Also used by rolling/unrolling.
var/worn_state = null
valid_accessory_slots = list("utility","armband","machete","decor","over") //VOREStation Edit - Adds Machete Sheath
restricted_accessory_slots = list("utility", "armband", "machete") //VOREStation Edit - Adds Machete Sheath
valid_accessory_slots = list("utility","armband","sheath","decor","over") //VOREStation Edit - Adds Machete Sheath
restricted_accessory_slots = list("utility", "armband", "sheath") //VOREStation Edit - Adds Machete Sheath
var/icon/rolled_down_icon = 'icons/mob/uniform_rolled_down.dmi'
var/icon/rolled_down_sleeves_icon = 'icons/mob/uniform_sleeves_rolled.dmi'
@@ -185,7 +185,7 @@
icon = 'icons/obj/clothing/ties_vr.dmi'
icon_override = 'icons/mob/ties_vr.dmi'
icon_state = "holster_machete"
slot = "machete"
slot = "sheath"
concealed_holster = 0
can_hold = list(/obj/item/weapon/material/knife/machete)
//sound_in = 'sound/effects/holster/sheathin.ogg'
@@ -2,7 +2,7 @@
name = "shoulder holster"
desc = "A handgun holster."
icon_state = "holster"
slot = "utility"
slot = list("utility", "sheath") //VOREStation Edit
var/list/can_hold //VOREStation Edit
concealed_holster = 1
var/obj/item/holstered = null
@@ -18,6 +18,7 @@
return
else if (!(I.slot_flags & SLOT_HOLSTER))
//VOREStation Edit End
user << "<span class='warning'>[I] won't fit in [src]!</span>"
return
@@ -520,11 +520,11 @@
/obj/item/weapon/gun/energy/gun/martin/proc/update_mode()
var/datum/firemode/current_mode = firemodes[sel_mode]
switch(current_mode.name)
if("stun") overlays += "taser_pdw"
if("lethal") overlays += "lazer_pdw"
if("stun") add_overlay("taser_pdw")
if("lethal") add_overlay("lazer_pdw")
/obj/item/weapon/gun/energy/gun/martin/update_icon()
overlays.Cut()
cut_overlays()
update_mode()
/////////////////////////////////////////////////////
@@ -821,9 +821,9 @@
/obj/item/weapon/gun/energy/frontier/locked/holdout/proc/update_mode()
var/datum/firemode/current_mode = firemodes[sel_mode]
switch(current_mode.name)
if("low-power") overlays += "taser_pdw"
if("normal") overlays += "lazer_pdw"
if("low-power") add_overlay("taser_pdw")
if("normal") add_overlay("lazer_pdw")
/obj/item/weapon/gun/energy/frontier/locked/holdout/update_icon()
overlays.Cut()
cut_overlays()
update_mode()