Added New Mods and Profiles Folders

This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
This commit is contained in:
2025-01-14 05:07:53 -05:00
parent 85c665b107
commit 376b4b9689
21217 changed files with 546254 additions and 0 deletions
@@ -0,0 +1,24 @@
function on_xml_read()
RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj)
if xml_file_name == [[ui\ui_condition_bars.xml]]
or xml_file_name == [[ui\ui_condition_bars_16.xml]]
or xml_file_name == [[ui\ui_condition_bars_21.xml]]
then
local opt_bars = ui_mcm and ui_mcm.get("efp_ui/main_settings/use_alt_inv_bars") or ui_inventory.color_settings.use_alt_inv_bars
local str_bars = ui_inventory.ui_rework_support.str_bars_lst[ opt_bars ]
local tex_bar = string.format( "ui_svui_cond_bar%s" , str_bars )
local res = xml_obj:query("bar_cond > background > texture")
if res[1] then
local el = res[1]
xml_obj:setText(el, tex_bar)
end
local res = xml_obj:query("bar_cond > progress > texture")
if res[1] then
local el = res[1]
xml_obj:setText(el, tex_bar)
end
end
end)
end