Module util

Source

Functions§

ability_description
ability_image
armor_kind πŸ”’
buff_key πŸ”’
Returns i18n key for a buff with title, .desc and optionally .stat
comparison
Compare two type, output a colored character to show comparison
consumable_desc
Takes N effects and returns N effect descriptions If effect isn’t intended to have description, returns empty string
describe
get_buff_desc
Returns localized buff description
get_buff_title
Returns localized buff title
item_durability
Gets the durability of an item in a format more intuitive for UI
item_text
kind_text
line_count
material_kind_text
option_comparison
Compare two Option type, output a colored character to show comparison
price_desc
protec2string
Output protection as a string
stats_count
tool_hands
Output the number of hands needed to hold a tool
tool_kind πŸ”’