Energy swords and other transforming energy weapons are now subtypes of transforming weapons (#2049)
This commit is contained in:
committed by
kevinz000
parent
7a173b95ed
commit
bbc28aa856
@@ -20,7 +20,7 @@
|
||||
if(requires_sharpness && !I.sharpness)
|
||||
to_chat(user, "<span class='notice'>You can only sharpen items that are already sharp, such as knives.</span>")
|
||||
return
|
||||
if(istype(I, /obj/item/weapon/melee/energy))
|
||||
if(istype(I, /obj/item/weapon/melee/transforming/energy))
|
||||
to_chat(user, "<span class='notice'>You don't think \the [I] will be the thing getting modified if you use it on \the [src].</span>")
|
||||
return
|
||||
if(istype(I, /obj/item/weapon/twohanded))//some twohanded items should still be sharpenable, but handle force differently. therefore i need this stuff
|
||||
|
||||
Reference in New Issue
Block a user