Added a knife harness/duelling knives.
@@ -557,6 +557,13 @@
|
|||||||
playsound(loc, 'sound/weapons/bladeslice.ogg', 50, 1, -1)
|
playsound(loc, 'sound/weapons/bladeslice.ogg', 50, 1, -1)
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
/obj/item/weapon/hatchet/unathiknife
|
||||||
|
name = "duelling knife"
|
||||||
|
desc = "A length of leather-bound wood studded with razor-sharp teeth. How crude."
|
||||||
|
icon = 'icons/obj/weapons.dmi'
|
||||||
|
icon_state = "unathiknife"
|
||||||
|
attack_verb = list("ripped", "torn", "cut")
|
||||||
|
|
||||||
/obj/item/weapon/scythe
|
/obj/item/weapon/scythe
|
||||||
icon_state = "scythe0"
|
icon_state = "scythe0"
|
||||||
name = "scythe"
|
name = "scythe"
|
||||||
|
|||||||
@@ -176,7 +176,7 @@
|
|||||||
color = "holster_low"
|
color = "holster_low"
|
||||||
|
|
||||||
/obj/item/clothing/tie/storage
|
/obj/item/clothing/tie/storage
|
||||||
name = "load beearing equipment"
|
name = "load bearing equipment"
|
||||||
desc = "Used to hold things when you don't have enough hands for that."
|
desc = "Used to hold things when you don't have enough hands for that."
|
||||||
icon_state = "webbing"
|
icon_state = "webbing"
|
||||||
color = "webbing"
|
color = "webbing"
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
src.add_fingerprint(user)
|
src.add_fingerprint(user)
|
||||||
|
|
||||||
/obj/item/weapon/storage/pockets
|
/obj/item/weapon/storage/pockets
|
||||||
name = "webbing pockets"
|
name = "storage"
|
||||||
var/master_item //item it belongs to
|
var/master_item //item it belongs to
|
||||||
|
|
||||||
/obj/item/weapon/storage/pockets/close(mob/user as mob)
|
/obj/item/weapon/storage/pockets/close(mob/user as mob)
|
||||||
@@ -303,3 +303,35 @@
|
|||||||
new /obj/item/clothing/tie/holobadge/cord(src)
|
new /obj/item/clothing/tie/holobadge/cord(src)
|
||||||
..()
|
..()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
/obj/item/clothing/tie/storage/knifeharness
|
||||||
|
name = "decorated harness"
|
||||||
|
desc = "A heavily decorated harness of sinew and leather with two knife-loops."
|
||||||
|
icon_state = "unathiharness2"
|
||||||
|
color = "unathiharness2"
|
||||||
|
slots = 2
|
||||||
|
|
||||||
|
/obj/item/clothing/tie/storage/knifeharness/attackby(var/obj/item/O as obj, mob/user as mob)
|
||||||
|
..()
|
||||||
|
update()
|
||||||
|
|
||||||
|
/obj/item/clothing/tie/storage/knifeharness/proc/update()
|
||||||
|
var/count = 0
|
||||||
|
for(var/obj/item/I in hold)
|
||||||
|
if(istype(I,/obj/item/weapon/hatchet/unathiknife))
|
||||||
|
count++
|
||||||
|
if(count>2) count = 2
|
||||||
|
item_state = "unathiharness[count]"
|
||||||
|
icon_state = item_state
|
||||||
|
color = item_state
|
||||||
|
|
||||||
|
if(istype(loc, /obj/item/clothing))
|
||||||
|
var/obj/item/clothing/U = loc
|
||||||
|
if(istype(U.loc, /mob/living/carbon/human))
|
||||||
|
var/mob/living/carbon/human/H = U.loc
|
||||||
|
H.update_inv_w_uniform()
|
||||||
|
|
||||||
|
/obj/item/clothing/tie/storage/knifeharness/New()
|
||||||
|
..()
|
||||||
|
new /obj/item/weapon/hatchet/unathiknife(hold)
|
||||||
|
new /obj/item/weapon/hatchet/unathiknife(hold)
|
||||||
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |