chore: run gdformat

This commit is contained in:
2025-08-20 04:47:49 +02:00
parent 702080af59
commit c7c4eb574e
12 changed files with 47 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ signal lvlup_picked(mod: PlayerStatsModifier)
@onready var upgrade_description: Label = $MarginContainer/VBoxContainer/UpgradeDescription
@onready var upgrade_tex: TextureRect = $MarginContainer/VBoxContainer/CenterContainer/UpgradeTex
func _ready() -> void:
match mod.rarity:
GlobalConst.ModRarity.NORMAL:
@@ -20,7 +21,7 @@ func _ready() -> void:
upgrade_name.add_theme_color_override("font_color", Color.DARK_ORCHID)
GlobalConst.ModRarity.LEGENDARY:
upgrade_name.add_theme_color_override("font_color", Color.DARK_ORANGE)
upgrade_name.text = mod.title
upgrade_description.text = mod.description
upgrade_tex.texture = mod.tex