2021-06-24 21:21:23 -05:00
|
|
|
local PNG = {
|
2021-12-06 18:27:43 -06:00
|
|
|
blank = "i3_blank.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
bg = "i3_bg.png",
|
|
|
|
bg_full = "i3_bg_full.png",
|
2021-11-14 14:39:48 -06:00
|
|
|
bg_content = "i3_bg_content.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
bar = "i3_bar.png",
|
|
|
|
hotbar = "i3_hotbar.png",
|
|
|
|
search = "i3_search.png",
|
|
|
|
heart = "i3_heart.png",
|
|
|
|
heart_half = "i3_heart_half.png",
|
|
|
|
heart_grey = "i3_heart_grey.png",
|
|
|
|
prev = "i3_next.png^\\[transformFX",
|
|
|
|
next = "i3_next.png",
|
|
|
|
arrow = "i3_arrow.png",
|
2021-11-14 14:39:48 -06:00
|
|
|
arrow_content = "i3_arrow_content.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
trash = "i3_trash.png",
|
2021-10-31 16:11:41 -05:00
|
|
|
sort = "i3_sort.png",
|
|
|
|
settings = "i3_settings.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
compress = "i3_compress.png",
|
|
|
|
fire = "i3_fire.png",
|
|
|
|
fire_anim = "i3_fire_anim.png",
|
|
|
|
book = "i3_book.png",
|
|
|
|
sign = "i3_sign.png",
|
|
|
|
cancel = "i3_cancel.png",
|
|
|
|
export = "i3_export.png",
|
|
|
|
slot = "i3_slot.png",
|
|
|
|
tab = "i3_tab.png",
|
2021-06-25 21:40:57 -05:00
|
|
|
tab_small = "i3_tab_small.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
tab_top = "i3_tab.png^\\[transformFY",
|
|
|
|
furnace_anim = "i3_furnace_anim.png",
|
2021-12-06 18:27:43 -06:00
|
|
|
shapeless = "i3_shapeless.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
bag = "i3_bag.png",
|
|
|
|
armor = "i3_armor.png",
|
|
|
|
awards = "i3_award.png",
|
|
|
|
skins = "i3_skin.png",
|
|
|
|
waypoints = "i3_waypoint.png",
|
|
|
|
add = "i3_add.png",
|
|
|
|
refresh = "i3_refresh.png",
|
|
|
|
visible = "i3_visible.png^\\[brighten",
|
|
|
|
nonvisible = "i3_non_visible.png",
|
|
|
|
exit = "i3_exit.png",
|
2021-10-31 16:11:41 -05:00
|
|
|
home = "i3_home.png",
|
2021-11-24 21:22:46 -06:00
|
|
|
flag = "i3_flag.png",
|
2021-11-29 19:28:11 -06:00
|
|
|
edit = "i3_edit.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
|
|
|
|
cancel_hover = "i3_cancel.png^\\[brighten",
|
|
|
|
search_hover = "i3_search.png^\\[brighten",
|
|
|
|
export_hover = "i3_export.png^\\[brighten",
|
|
|
|
trash_hover = "i3_trash.png^\\[brighten^\\[colorize:#f00:100",
|
|
|
|
compress_hover = "i3_compress.png^\\[brighten",
|
2021-10-31 16:11:41 -05:00
|
|
|
sort_hover = "i3_sort.png^\\[brighten",
|
|
|
|
settings_hover = "i3_settings.png^\\[brighten",
|
2021-06-24 21:21:23 -05:00
|
|
|
prev_hover = "i3_next_hover.png^\\[transformFX",
|
|
|
|
next_hover = "i3_next_hover.png",
|
|
|
|
tab_hover = "i3_tab_hover.png",
|
2021-06-25 21:40:57 -05:00
|
|
|
tab_small_hover = "i3_tab_small_hover.png",
|
2021-06-24 21:21:23 -05:00
|
|
|
tab_hover_top = "i3_tab_hover.png^\\[transformFY",
|
|
|
|
bag_hover = "i3_bag_hover.png",
|
|
|
|
armor_hover = "i3_armor_hover.png",
|
|
|
|
awards_hover = "i3_award_hover.png",
|
|
|
|
skins_hover = "i3_skin_hover.png",
|
|
|
|
waypoints_hover = "i3_waypoint_hover.png",
|
|
|
|
add_hover = "i3_add.png^\\[brighten",
|
|
|
|
refresh_hover = "i3_refresh.png^\\[brighten",
|
|
|
|
exit_hover = "i3_exit.png^\\[brighten",
|
2021-10-31 16:11:41 -05:00
|
|
|
home_hover = "i3_home.png^\\[brighten",
|
2021-11-29 19:28:11 -06:00
|
|
|
edit_hover = "i3_edit.png^\\[brighten",
|
2021-06-24 21:21:23 -05:00
|
|
|
}
|
|
|
|
|
2021-10-24 16:31:01 -05:00
|
|
|
local styles = string.format([[
|
2021-06-24 21:21:23 -05:00
|
|
|
style_type[field;border=false;bgcolor=transparent]
|
|
|
|
style_type[label,field;font_size=16]
|
|
|
|
style_type[button;border=false;content_offset=0]
|
2021-11-14 14:39:48 -06:00
|
|
|
style_type[image_button,item_image_button,checkbox,dropdown;border=false;sound=i3_click]
|
2021-06-24 21:21:23 -05:00
|
|
|
style_type[item_image_button;bgimg_hovered=%s]
|
|
|
|
|
2021-11-14 14:39:48 -06:00
|
|
|
style[nofav;sound=i3_cannot]
|
2021-06-24 21:21:23 -05:00
|
|
|
style[pagenum,no_item,no_rcp;font=bold;font_size=18]
|
|
|
|
style[exit;fgimg=%s;fgimg_hovered=%s;content_offset=0]
|
|
|
|
style[cancel;fgimg=%s;fgimg_hovered=%s;content_offset=0]
|
|
|
|
style[search;fgimg=%s;fgimg_hovered=%s;content_offset=0]
|
2022-02-25 19:09:53 -06:00
|
|
|
style[prev_page,prev_recipe,prev_usage,prev_sort,prev_skin;fgimg=%s;fgimg_hovered=%s]
|
|
|
|
style[next_page,next_recipe,next_usage,next_sort,next_skin;fgimg=%s;fgimg_hovered=%s]
|
2021-06-24 21:21:23 -05:00
|
|
|
style[waypoint_add;fgimg=%s;fgimg_hovered=%s;content_offset=0]
|
2021-11-29 19:28:11 -06:00
|
|
|
style[bag_rename;fgimg=%s;fgimg_hovered=%s;content_offset=0]
|
2021-06-24 21:21:23 -05:00
|
|
|
style[btn_bag,btn_armor,btn_skins;font=bold;font_size=18;content_offset=0;sound=i3_click]
|
|
|
|
style[craft_rcp,craft_usg;noclip=true;font_size=16;sound=i3_craft;
|
|
|
|
bgimg=i3_btn9.png;bgimg_hovered=i3_btn9_hovered.png;
|
2021-07-05 16:38:43 -05:00
|
|
|
bgimg_pressed=i3_btn9_pressed.png;bgimg_middle=4,6]
|
2021-10-31 16:11:41 -05:00
|
|
|
style[confirm_trash_yes,confirm_trash_no,set_home;noclip=true;font_size=16;
|
2021-07-05 16:38:43 -05:00
|
|
|
bgimg=i3_btn9.png;bgimg_hovered=i3_btn9_hovered.png;
|
2021-06-24 21:21:23 -05:00
|
|
|
bgimg_pressed=i3_btn9_pressed.png;bgimg_middle=4,6]
|
2021-11-08 11:46:45 -06:00
|
|
|
style[confirm_trash_yes;sound=i3_trash]
|
2021-06-24 21:21:23 -05:00
|
|
|
]],
|
|
|
|
PNG.slot,
|
|
|
|
PNG.exit, PNG.exit_hover,
|
|
|
|
PNG.cancel, PNG.cancel_hover,
|
|
|
|
PNG.search, PNG.search_hover,
|
|
|
|
PNG.prev, PNG.prev_hover,
|
|
|
|
PNG.next, PNG.next_hover,
|
2021-11-29 19:28:11 -06:00
|
|
|
PNG.add, PNG.add_hover,
|
|
|
|
PNG.edit, PNG.edit_hover)
|
2021-06-24 21:21:23 -05:00
|
|
|
|
|
|
|
local fs_elements = {
|
|
|
|
label = "label[%f,%f;%s]",
|
|
|
|
box = "box[%f,%f;%f,%f;%s]",
|
|
|
|
image = "image[%f,%f;%f,%f;%s]",
|
|
|
|
tooltip = "tooltip[%f,%f;%f,%f;%s]",
|
|
|
|
button = "button[%f,%f;%f,%f;%s;%s]",
|
2021-10-31 16:11:41 -05:00
|
|
|
checkbox = "checkbox[%f,%f;%s;%s;%s]",
|
2021-06-24 21:21:23 -05:00
|
|
|
item_image = "item_image[%f,%f;%f,%f;%s]",
|
|
|
|
hypertext = "hypertext[%f,%f;%f,%f;%s;%s]",
|
|
|
|
bg9 = "background9[%f,%f;%f,%f;%s;false;%u]",
|
|
|
|
scrollbar = "scrollbar[%f,%f;%f,%f;%s;%s;%u]",
|
|
|
|
model = "model[%f,%f;%f,%f;%s;%s;%s;%s;%s;%s;%s]",
|
|
|
|
image_button = "image_button[%f,%f;%f,%f;%s;%s;%s]",
|
|
|
|
animated_image = "animated_image[%f,%f;%f,%f;;%s;%u;%u]",
|
|
|
|
item_image_button = "item_image_button[%f,%f;%f,%f;%s;%s;%s]",
|
|
|
|
}
|
|
|
|
|
2021-11-14 17:46:02 -06:00
|
|
|
local colors = {
|
|
|
|
yellow = "#ffd866",
|
|
|
|
black = "#2d2a2e",
|
|
|
|
blue = "#7bf",
|
|
|
|
}
|
|
|
|
|
|
|
|
return PNG, styles, fs_elements, colors
|