mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] The final action buttons PR (#9324)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
196770e16f
commit
09f82b6fff
@@ -78,7 +78,7 @@
|
||||
to_chat(user, span_notice("You [active ? "" : "de"]activate \the [src]."))
|
||||
update_icon()
|
||||
user.update_inv_wear_suit()
|
||||
user.update_action_buttons_icon()
|
||||
user.update_mob_action_buttons()
|
||||
|
||||
/obj/item/clothing/suit/armor/shield/update_icon()
|
||||
icon_state = "shield_armor_[active]"
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
to_chat(user, span_notice("You [active ? "" : "de"]activate \the [src]."))
|
||||
update_icon()
|
||||
user.update_inv_wear_suit()
|
||||
user.update_action_buttons_icon()
|
||||
user.update_mob_action_buttons()
|
||||
|
||||
/obj/item/clothing/suit/armor/tesla/update_icon()
|
||||
if(active && ready)
|
||||
@@ -72,7 +72,7 @@
|
||||
if(ishuman(loc))
|
||||
var/mob/living/carbon/human/H = loc
|
||||
H.update_inv_wear_suit(0)
|
||||
H.update_action_buttons_icon()
|
||||
H.update_mob_action_buttons()
|
||||
..()
|
||||
|
||||
/obj/item/clothing/suit/armor/tesla/proc/shoot_lightning(mob/target, power)
|
||||
|
||||
Reference in New Issue
Block a user