mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
refactor: rename action button appearance related variables and procs to be clearer (#25658)
* refactor: make action appearance creation more straightforward * some adjustments * fix: adjust action icons to refactor
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
// Datum actions
|
||||
/datum/action/item_action/draw_card
|
||||
name = "Draw - Draw one card"
|
||||
button_icon_state = "draw"
|
||||
button_overlay_icon_state = "draw"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/draw_card/Trigger(left_click)
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
/datum/action/item_action/deal_card
|
||||
name = "Deal - deal one card to a person next to you"
|
||||
button_icon_state = "deal_card"
|
||||
button_overlay_icon_state = "deal_card"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/deal_card/Trigger(left_click)
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
/datum/action/item_action/deal_card_multi
|
||||
name = "Deal multiple card - Deal multiple card to a person next to you"
|
||||
button_icon_state = "deal_card_multi"
|
||||
button_overlay_icon_state = "deal_card_multi"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/deal_card_multi/Trigger(left_click)
|
||||
@@ -126,7 +126,7 @@
|
||||
|
||||
/datum/action/item_action/shuffle
|
||||
name = "Shuffle - shuffle the deck"
|
||||
button_icon_state = "shuffle"
|
||||
button_overlay_icon_state = "shuffle"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/shuffle/Trigger(left_click)
|
||||
@@ -390,7 +390,7 @@
|
||||
|
||||
/datum/action/item_action/remove_card
|
||||
name = "Remove a card - Remove a single card from the hand."
|
||||
button_icon_state = "remove_card"
|
||||
button_overlay_icon_state = "remove_card"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/remove_card/IsAvailable()
|
||||
@@ -409,7 +409,7 @@
|
||||
|
||||
/datum/action/item_action/discard
|
||||
name = "Discard - Place (a) card(s) from your hand in front of you."
|
||||
button_icon_state = "discard"
|
||||
button_overlay_icon_state = "discard"
|
||||
use_itemicon = FALSE
|
||||
|
||||
/datum/action/item_action/discard/Trigger(left_click)
|
||||
|
||||
Reference in New Issue
Block a user