mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
[MIRROR] Fixes wrong inhand icon state for jaws of life [MDB IGNORE] (#19650)
* Fixes wrong inhand icon state for jaws of life (#73716) ## About The Pull Request Fixes #73711 ## Why It's Good For The Game ## Changelog 🆑 fix: fixed missing inhand icon state for jaws of life /🆑 * Fixes wrong inhand icon state for jaws of life --------- Co-authored-by: FinancialGoose <92416224+TheBoondock@users.noreply.github.com>
This commit is contained in:
co-authored by
FinancialGoose
parent
6ce6fc3f0c
commit
ece5f9c320
@@ -36,6 +36,8 @@
|
||||
var/clumsy_check
|
||||
/// If we get sharpened with a whetstone, save the bonus here for later use if we un/redeploy
|
||||
var/sharpened_bonus = 0
|
||||
/// Dictate whether we change inhands or not
|
||||
var/inhand_icon_change
|
||||
/// Cooldown in between transforms
|
||||
COOLDOWN_DECLARE(transform_cooldown)
|
||||
|
||||
@@ -51,6 +53,7 @@
|
||||
clumsy_check = TRUE,
|
||||
list/attack_verb_continuous_on,
|
||||
list/attack_verb_simple_on,
|
||||
inhand_icon_change = TRUE,
|
||||
)
|
||||
|
||||
if(!isitem(parent))
|
||||
@@ -188,7 +191,8 @@
|
||||
source.hitsound = hitsound_on
|
||||
source.w_class = w_class_on
|
||||
source.icon_state = "[source.icon_state]_on"
|
||||
source.inhand_icon_state = "[source.inhand_icon_state]_on"
|
||||
if(inhand_icon_change)
|
||||
source.inhand_icon_state = "[source.inhand_icon_state]_on"
|
||||
if(ismob(source.loc))
|
||||
var/mob/loc_mob = source.loc
|
||||
loc_mob.update_held_items()
|
||||
|
||||
Reference in New Issue
Block a user