simple rarity colors, probably ready to send to maxie as prototype
This commit is contained in:
parent
d5fec421a9
commit
573111f67a
6 changed files with 44 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue