mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
@@ -38,13 +38,15 @@
|
||||
|
||||
/obj/item/spear/CheckParts(list/parts_list)
|
||||
var/obj/item/shard/tip = locate() in parts_list
|
||||
if (istype(tip, /obj/item/shard/plasma))
|
||||
throwforce = 21
|
||||
icon_prefix = "spearplasma"
|
||||
AddComponent(/datum/component/two_handed, force_unwielded=11, force_wielded=19, icon_wielded="[icon_prefix]1")
|
||||
update_icon()
|
||||
qdel(tip)
|
||||
..()
|
||||
if(tip)
|
||||
if (istype(tip, /obj/item/shard/plasma))
|
||||
throwforce = 21
|
||||
icon_prefix = "spearplasma"
|
||||
AddComponent(/datum/component/two_handed, force_unwielded=11, force_wielded=19, icon_wielded="[icon_prefix]1")
|
||||
update_icon()
|
||||
parts_list -= tip
|
||||
qdel(tip)
|
||||
return ..()
|
||||
|
||||
/obj/item/spear/explosive
|
||||
name = "explosive lance"
|
||||
|
||||
Reference in New Issue
Block a user