mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Improved Ashwalker Armory: Bone Equipment (#30600)
* Adds Bone Sword, Bone Shield, Bone Sword Sheath. Todo: Light Bone Armor, Sword Inhand fix * sword inhands * Adds Light Bone Armor * Linters * Species sprites * Fixes my crap grammar * Updates belt icon sprite
This commit is contained in:
@@ -785,12 +785,14 @@
|
||||
if(!..())
|
||||
return
|
||||
playsound(src, 'sound/weapons/blade_sheath.ogg', 20)
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
|
||||
/obj/item/storage/belt/sheath/remove_from_storage(obj/item/W, atom/new_location)
|
||||
if(!..())
|
||||
return
|
||||
if(!length(contents)) // telekinesis grab spawns inside of the sheath and leaves it immediately...
|
||||
playsound(src, 'sound/weapons/blade_unsheath.ogg', 20)
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
|
||||
/obj/item/storage/belt/sheath/update_icon_state()
|
||||
if(length(contents))
|
||||
@@ -808,6 +810,19 @@
|
||||
new /obj/item/melee/saber(src)
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
|
||||
/obj/item/storage/belt/sheath/bone_sword
|
||||
name = "bone sword sheath"
|
||||
desc = "Can hold bone swords."
|
||||
base_icon_state = "bonesword_sheath"
|
||||
can_hold = list(/obj/item/melee/bone_sword)
|
||||
|
||||
/obj/item/storage/belt/sheath/bone_sword/Initialize(mapload)
|
||||
. = ..()
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
|
||||
/obj/item/storage/belt/sheath/bone_sword/prefilled/populate_contents()
|
||||
new /obj/item/melee/bone_sword(src)
|
||||
|
||||
/obj/item/storage/belt/sheath/secsword
|
||||
name = "securiblade scabbard"
|
||||
desc = "Can hold securiblades."
|
||||
|
||||
Reference in New Issue
Block a user