mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
Powered Crossbow Fixes (#8573)
This commit is contained in:
@@ -44,9 +44,7 @@
|
||||
|
||||
/obj/item/arrow/rod/removed(mob/user)
|
||||
if(throwforce == 15) // The rod has been superheated - we don't want it to be useable when removed from the bow.
|
||||
to_chat(user, "[src] shatters into a scattering of overstressed metal shards as it leaves the crossbow.")
|
||||
var/obj/item/material/shard/shrapnel/S = new()
|
||||
S.forceMove(get_turf(src))
|
||||
to_chat(user, "[src] shatters into a scattering of unusable overstressed metal shards as it leaves the crossbow.")
|
||||
qdel(src)
|
||||
|
||||
/obj/item/gun/launcher/crossbow
|
||||
@@ -196,12 +194,11 @@
|
||||
|
||||
/obj/item/gun/launcher/crossbow/update_icon()
|
||||
if(tension > 1)
|
||||
icon_state = "crossbow-drawn"
|
||||
icon_state = "[initial(icon_state)]-drawn"
|
||||
else if(bolt)
|
||||
icon_state = "crossbow-nocked"
|
||||
icon_state = "[initial(icon_state)]-nocked"
|
||||
else
|
||||
icon_state = "crossbow"
|
||||
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
// Crossbow construction.
|
||||
/obj/item/crossbowframe
|
||||
|
||||
Reference in New Issue
Block a user