rename all skin/clothes textures to follow usual naming convention

This commit is contained in:
Vanessa Ezekowitz 2015-05-07 14:28:12 -04:00
parent e115b34873
commit 5b3e87031e
21 changed files with 5 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 740 B

After

Width:  |  Height:  |  Size: 740 B

View File

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 369 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

View File

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 935 B

View File

Before

Width:  |  Height:  |  Size: 447 B

After

Width:  |  Height:  |  Size: 447 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 469 B

After

Width:  |  Height:  |  Size: 469 B

View File

Before

Width:  |  Height:  |  Size: 822 B

After

Width:  |  Height:  |  Size: 822 B

View File

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 364 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 489 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 523 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 701 B

After

Width:  |  Height:  |  Size: 701 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 623 B

After

Width:  |  Height:  |  Size: 623 B

View File

Before

Width:  |  Height:  |  Size: 916 B

After

Width:  |  Height:  |  Size: 916 B

View File

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 409 B

View File

@ -26,8 +26,8 @@ homedecor.register("wardrobe", {
local clothes_strings = "" local clothes_strings = ""
for i = 1,5 do for i = 1,5 do
clothes_strings = clothes_strings.. clothes_strings = clothes_strings..
"image_button_exit["..(i-1)..".5,0;1.1,2;"..skins[i].."_preview.png;"..skins[i]..";]".. "image_button_exit["..(i-1)..".5,0;1.1,2;homedecor_clothes_"..skins[i].."_preview.png;"..skins[i]..";]"..
"image_button_exit["..(i-1)..".5,2;1.1,2;fe"..skins[i].."_preview.png;fe"..skins[i]..";]" "image_button_exit["..(i-1)..".5,2;1.1,2;homedecor_clothes_fe"..skins[i].."_preview.png;fe"..skins[i]..";]"
end end
meta:set_string("formspec", "size[5.5,8.5]"..default.gui_bg..default.gui_bg_img..default.gui_slots.. meta:set_string("formspec", "size[5.5,8.5]"..default.gui_bg..default.gui_bg_img..default.gui_slots..
@ -66,11 +66,11 @@ homedecor.register("wardrobe", {
for i = 1,5 do for i = 1,5 do
if fields[skins[i]] then if fields[skins[i]] then
if armor_mod then -- if 3D_armor's installed, let it set the skin if armor_mod then -- if 3D_armor's installed, let it set the skin
armor.textures[playerName].skin = skins[i]..".png" armor.textures[playerName].skin = "homedecor_clothes_"..skins[i]..".png"
armor:update_player_visuals(sender) armor:update_player_visuals(sender)
break break
end end
default.player_set_textures(sender, { skins[i]..".png" }) default.player_set_textures(sender, { "homedecor_clothes_"..skins[i]..".png" })
break break
elseif fields["fe"..skins[i]] then elseif fields["fe"..skins[i]] then
if armor_mod then if armor_mod then
@ -78,7 +78,7 @@ homedecor.register("wardrobe", {
armor:update_player_visuals(sender) armor:update_player_visuals(sender)
break break
end end
default.player_set_textures(sender, { skin = "fe"..skins[i]..".png" }) default.player_set_textures(sender, { skin = "homedecor_clothes_fe"..skins[i]..".png" })
break break
end end
end end