Brotato

Brotato

39 ratings
[UI] Show Tags
   
Award
Favorite
Favorited
Unfavorite
GUI
File Size
Posted
Updated
438.337 KB
20 Nov, 2023 @ 11:05am
5 Feb @ 8:48am
3 Change Notes ( view )

Subscribe to download
[UI] Show Tags

Description
Hello! :)

This mod shows tags for items and wanted tags for characters.
All vanilla tags have their own icon, along with tags used in Mashtato and Witchery. This will also work with custom tags from other mods, but they'll be shown as a text, rather than their own icon. The respective mod makers should be able to add their own icons if they so wish.

Massive thanks to Darkly77 for his help on this!

Feel free to leave any comments.

Cheers,
Lex
16 Comments
boardingboy4 11 hours ago 
I really REALLY want this one updated since it is sooo helpful and it gives me knowledge about the new characters tags
eltoro0815 8 Feb @ 8:17am 
WORKING SOLUTION

extends "res://ui/menus/shop/item_description.gd"

var self_custom_icon_tags = null

func _ready():

if ("_custom_icon_tags" in self): # check if ShowTags from LexLooter is loaded
self_custom_icon_tags = self._custom_icon_tags
merge_ghost_king_tags()

func merge_ghost_king_tags()->void:
var tmp_tags = self_custom_icon_tags
var new_tags = {
"tag_ghostking": "res://mods-unpacked/Eltoro0815-KingOfGhosts/extensions/ui/icons/" + "eltoro0815_ghost_icon.png"
}
tmp_tags.merge(new_tags)
self._custom_icon_tags = tmp_tags
Lex Looter  [author] 6 Feb @ 11:43am 
Hey eltoro0815,

It's awesome you're extending your mod to work with this one!
I've accepted your friend invite, we can discuss this over chat. :)
eltoro0815 6 Feb @ 7:47am 
My plan was not to force the subscriber to install the showTags mod. And only add the icon if the subscriber has already installed it independently of my mod. This is probably not intended?
eltoro0815 6 Feb @ 7:31am 
Hi,

I struggle with adding a custom tag and icon to get displayed.

I tried to extend your Extension of the class "ItemDescription".

I loaded my Extension if I can find your Mod in the "mods-unpacked" folder.

The problem seems to be that my mod is loaded before yours.

Can you give me a hint how this is supposed to be done?
Lex Looter  [author] 5 Feb @ 8:53am 
Hello everyone,

The mod has just been updated to include the remaining tags I forgot, so it should be complete now. :)
Lex Looter  [author] 2 Feb @ 8:21am 
Hello eltoro0815,
Happy to hear it <3
eltoro0815 2 Feb @ 7:33am 
One of my favorite mods <3
Lex Looter  [author] 17 Jan @ 2:53pm 
Hello dandap2009,
Good to hear it's working now!
About your suggestion, not sure if that's possible, but I'm not planning to make any big changes regarding this mod.

Hello test,
Please check out information regarding tags here: brotato wiki link [brotato.wiki.spellsandguns.com]
test 13 Jan @ 11:15am 
what are tags