Поиск по STEAMB

Игры и программы по онлайну, скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

Графика

Tooltip Icon

Положительные голоса98%488 голосов игроков
Подписчики45,3 тыс.45 316 в Steam Workshop
Размер файла142,38 КБЗагрузка через Steam
Обновление автора20 апр. 2026 г.Дата обновления материала

Изображение 1 из 8. Материалы автора из Steam Workshop.

Изображение 1 из 8
Установить через Steam

О материале

«Tooltip Icon» — материал мастерской tModLoader. Моды Terraria для tModLoader: новый контент, удобство игры и библиотеки. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.

Описание автора

Tooltip Icon

by Nil256


This mod adds small icon on the left to each tooltip of items


< Mod Call > You can add your custom tooltip icon. The icon size is recommended 22px x 22px.

= Adding icon to mod tooltip lines = void tooltipIcon.Call("AddNormalIcon", string modName, string tooltipLineName, Asset texture) Add icon to tooltip line which tooltipLine.Mod is "modName" and tooltipLine.Name is "tooltipLineName". void tooltipIcon.Call("AddPrefixIcon", string modName, string tooltipLineName, Asset texture, bool doesSmallerValueBenefitPositiveEffect = false) Add prefix icon to tooltip line which tooltipLine.Mod is "modName" and tooltipLine.Name is "tooltipLineName". "+" or "-" will be shown with your icon. If smaller value is positive effect (like mana use), assign true to "doesSmallerValueBenefitPositiveEffect". void tooltipIcon.Call("AddFramedIcon", string modName, string tooltipLineName, Asset texture, Rectangle? frame, Vector2 offset) Add framed icon to tooltip line which tooltipLine.Mod is "modName" and tooltipLine.Name is "tooltipLineName". void tooltipIcon.Call("AddCustomIcon", string modName, string tooltipLineName, Action<Item, DrawableTooltipLine, SpriteBatch, Vector2, Color> draw) Run custom drawing method to tooltip line which tooltipLine.Mod is "modName" and tooltipLine.Name is "tooltipLineName". Useful for adding icon which is changing depending on conditions.

= Adding icon to vanilla tooltip lines = void tooltipIcon.Call("AddDamageClassIcon", DamageClass damageClass, Asset? damageTexture, Asset? speedTexture, Asset? knockbackTexture = null, Asset? critChanceTexture = null) Add icons for mod damage class to vanilla tooltip lines "Damage", "CritChance", "Speed", "Knockback", "PrefixDamage", "PrefixSpeed", "PrefixCritChance" and "PrefixKnockback". Default icon will be shown if textures are assigned null. void tooltipIcon.Call("AddConsumableIcon", Func<Item, DrawableTooltipLine, bool> condition, Asset texture) Add icon with condition to vanilla tooltip line "Consumable". void tooltipIcon.Call("AddEquipableIcon", Func<Item, DrawableTooltipLine, bool> condition, Asset texture) Add icon with condition to vanilla tooltip line "Equipable". void tooltipIcon.Call("AddBuffTimeIcon", Func<Item, DrawableTooltipLine, bool> condition, Asset texture) Add icon with condition to vanilla tooltip line "BuffTime".


< Release Notes >

  • v0.7.2 Added size prefix icon.

  • v0.7.1 Fixed the icon of consumable tooltip in teleportation potion. Adjusted magic speed icon a little. Added movement speed icon. Added expert & master icon. Added journey research icon. Added a Mod.Call "AddFramedIcon".

  • v0.7 Released.

Developed By Nil256

Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения