mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fixed monk staffs not displaying a wielded sprite (#85767)
## About The Pull Request Closes #85764 ## Changelog 🆑 fix: Fixed monk staffs not displaying a wielded sprite /🆑
This commit is contained in:
@@ -263,11 +263,10 @@
|
||||
AddComponent(/datum/component/two_handed, \
|
||||
force_unwielded = 10, \
|
||||
force_wielded = 24, \
|
||||
icon_wielded = "[base_icon_state]1", \
|
||||
)
|
||||
|
||||
/obj/item/staff/bostaff/update_icon_state()
|
||||
icon_state = "[base_icon_state]0"
|
||||
icon_state = inhand_icon_state = "[base_icon_state][HAS_TRAIT(src, TRAIT_WIELDED)]"
|
||||
return ..()
|
||||
|
||||
/obj/item/staff/bostaff/attack(mob/target, mob/living/user, params)
|
||||
|
||||
@@ -529,11 +529,10 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
AddComponent(/datum/component/two_handed, \
|
||||
force_unwielded = 10, \
|
||||
force_wielded = 14, \
|
||||
icon_wielded = "[base_icon_state]1", \
|
||||
)
|
||||
|
||||
/obj/item/bambostaff/update_icon_state()
|
||||
icon_state = "[base_icon_state]0"
|
||||
icon_state = inhand_icon_state = "[base_icon_state][HAS_TRAIT(src, TRAIT_WIELDED)]"
|
||||
return ..()
|
||||
|
||||
/obj/item/cane
|
||||
|
||||
@@ -586,11 +586,10 @@
|
||||
AddComponent(/datum/component/two_handed, \
|
||||
force_unwielded = 14, \
|
||||
force_wielded = 18, \
|
||||
icon_wielded = "[base_icon_state]1", \
|
||||
)
|
||||
|
||||
/obj/item/nullrod/bostaff/update_icon_state()
|
||||
icon_state = "[base_icon_state]0"
|
||||
icon_state = inhand_icon_state = "[base_icon_state][HAS_TRAIT(src, TRAIT_WIELDED)]"
|
||||
return ..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user