mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
MODsuit action button resprite (#70988)
## About The Pull Request resprites the modsuit action buttons, turning it from these reused icons  into these unique icons by imaginos  ## Why It's Good For The Game reduces the vagueness of the icons, tells the players about the lmb/rmb functions of them from the get go. the old ones being the engineering suit twice and a swarmer deconstruction sprite really were not great ## Changelog 🆑 Imaginos imageadd: new icons for modsuit actions /🆑
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/datum/action/item_action/mod
|
||||
background_icon_state = "bg_tech_blue"
|
||||
background_icon_state = "bg_mod"
|
||||
icon_icon = 'icons/mob/actions/actions_mod.dmi'
|
||||
check_flags = AB_CHECK_CONSCIOUS
|
||||
/// Whether this action is intended for the AI. Stuff breaks a lot if this is done differently.
|
||||
@@ -70,8 +70,6 @@
|
||||
if(!(trigger_flags & TRIGGER_SECONDARY_ACTION) && !ready)
|
||||
ready = TRUE
|
||||
button_icon_state = "activate-ready"
|
||||
if(!ai_action)
|
||||
background_icon_state = "bg_tech"
|
||||
UpdateButtons()
|
||||
addtimer(CALLBACK(src, .proc/reset_ready), 3 SECONDS)
|
||||
return
|
||||
@@ -83,8 +81,6 @@
|
||||
/datum/action/item_action/mod/activate/proc/reset_ready()
|
||||
ready = FALSE
|
||||
button_icon_state = initial(button_icon_state)
|
||||
if(!ai_action)
|
||||
background_icon_state = initial(background_icon_state)
|
||||
UpdateButtons()
|
||||
|
||||
/datum/action/item_action/mod/activate/ai
|
||||
@@ -176,7 +172,6 @@
|
||||
current_button.add_overlay(cooldown_image)
|
||||
addtimer(CALLBACK(current_button, /image.proc/cut_overlay, cooldown_image), COOLDOWN_TIMELEFT(module, cooldown_timer))
|
||||
|
||||
|
||||
/datum/action/item_action/mod/pinned_module/proc/on_module_activate(datum/source)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
name = "Recall MOD"
|
||||
desc = "Recall a MODsuit anyplace, anytime."
|
||||
check_flags = AB_CHECK_CONSCIOUS
|
||||
background_icon_state = "bg_tech_blue"
|
||||
background_icon_state = "bg_mod"
|
||||
icon_icon = 'icons/mob/actions/actions_mod.dmi'
|
||||
button_icon_state = "recall"
|
||||
/// The cooldown for the recall.
|
||||
|
||||
Reference in New Issue
Block a user