2024-10-01 14:13:54 -06:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
|
|
|
func format_label_difficulty(label: Node, difficulty: NPC.npcDifficulties) -> void:
|
|
|
|
label.label_settings.outline_size = 4
|
|
|
|
match difficulty:
|
|
|
|
NPC.npcDifficulties.MINION:
|
|
|
|
label.label_settings.outline_color = Color.BLACK
|
|
|
|
label.label_settings.font_color = Color.LIGHT_GRAY
|
|
|
|
NPC.npcDifficulties.NORMAL:
|
|
|
|
label.label_settings.outline_color = Color.DARK_GREEN
|
|
|
|
label.label_settings.font_color = Color.LIME_GREEN
|
2024-10-09 20:55:46 -06:00
|
|
|
NPC.npcDifficulties.ELITE:
|
2024-10-01 14:13:54 -06:00
|
|
|
label.label_settings.outline_color = Color.DARK_BLUE
|
|
|
|
label.label_settings.font_color = Color.DARK_CYAN
|
|
|
|
NPC.npcDifficulties.BOSS:
|
|
|
|
label.label_settings.outline_color = Color.PURPLE
|
|
|
|
label.label_settings.font_color = Color.MAGENTA
|
|
|
|
NPC.npcDifficulties.ELITEBOSS:
|
|
|
|
label.label_settings.outline_color = Color.ORANGE_RED
|
|
|
|
label.label_settings.font_color = Color.ORANGE
|
|
|
|
NPC.npcDifficulties.BBEG:
|
|
|
|
label.label_settings.font_color = Color.GOLD
|
|
|
|
label.label_settings.outline_size = 8
|
|
|
|
label.label_settings.outline_color = Color.DARK_RED
|