DB's UI images should be served-up from UI's textures dir

so that if someone wants to use UI separate from DB,
its theme will still be complete.
master
Vanessa Dannenberg 2021-02-25 14:42:42 -05:00
parent bbb7a2d8cd
commit bf3c4c868d
19 changed files with 15 additions and 4 deletions

View File

@ -260,10 +260,6 @@ sed -i 's/"style_type\[.*\]"/"style_type[label,textarea;font=mono]" \
\t\t.."bgcolor['"$form_bgcolor"';false]"/' \
$workdir"/mods/mesecons_luacontroller/init.lua"
sed -i 's/local n = 4/formspec[4]="style_type[image_button;bgcolor='"$btn_color"']" \
\tlocal n = 5/' \
$workdir"/mods/unified_inventory/internal.lua"
sed -i 's/"size\[8,9\]" \.\./"size[8,9]" .. \
\t\t"image[-0.39,-0.4;10.7,11.4;default_chest_inv_bg.png]" .. \
\t\t'"$inv_slot_colors"'/' \
@ -280,6 +276,21 @@ sed -i 's/"size\[8,7;\]" ../"size[8,7]" .. \
\t'"$inv_slot_colors"'/' \
$workdir"/mods/vessels/init.lua"
rm $workdir"/mods/unified_inventory/textures/ui_bags_header.png" \
$workdir"/mods/unified_inventory/textures/ui_bags_inv"* \
$workdir"/mods/unified_inventory/textures/ui_bags_trash.png" \
$workdir"/mods/unified_inventory/textures/ui_crafting_form.png" \
$workdir"/mods/unified_inventory/textures/ui_form_bg.png" \
$workdir"/mods/unified_inventory/textures/ui_main_inventory.png" \
$workdir"/mods/unified_inventory/textures/ui_single_slot.png"
mv $workdir"/mods/dreambuilder_extras/ui_"*".png" $workdir"/mods/unified_inventory/textures/"
sed -i 's/local n = 4/formspec[4]="style_type[image_button;bgcolor='"$btn_color"']" \
\tlocal n = 5/' \
$workdir"/mods/unified_inventory/internal.lua"
# Add in all of the regular player skins for the player_textures mod
rm -f $workdir/mods/player_textures/textures/*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1003 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 642 B