simple rarity colors, probably ready to send to maxie as prototype

This commit is contained in:
Tabby 2026-01-12 01:04:17 +11:00
parent d5fec421a9
commit 573111f67a
6 changed files with 44 additions and 2 deletions

View file

@ -13,8 +13,13 @@ func update_ui():
if not item:
icon.texture = null
label.text = ""
remove_theme_stylebox_override("panel")
return
if item.custom_panel_style:
add_theme_stylebox_override("panel",item.custom_panel_style)
else:
remove_theme_stylebox_override("panel")
icon.texture = item.icon
#tooltip_text = item.item_name
label.text = item.value