[3d_armor] Unify the preview textures (with shields' ones)
@ -193,8 +193,10 @@ armor.set_player_armor = function(self, player)
|
||||
if level then
|
||||
local texture = item:gsub("%:", "_")
|
||||
table.insert(textures, texture..".png")
|
||||
if stack:get_name():find("shield") then -- //MFF(Mg|09/05/15)
|
||||
preview = preview.."^"..texture.."_preview.png"
|
||||
if preview == "" then
|
||||
preview = texture .. "_preview.png"
|
||||
elseif stack:get_name():find("shield") then -- //MFF(Mg|09/05/15)
|
||||
preview = preview.. "^" .. texture.."_preview.png"
|
||||
else
|
||||
preview = texture .. "_preview.png^" .. preview
|
||||
end
|
||||
|
Before ![]() (image error) Size: 568 B After ![]() (image error) Size: 975 B ![]() ![]() |
Before ![]() (image error) Size: 629 B After ![]() (image error) Size: 1.0 KiB ![]() ![]() |
Before ![]() (image error) Size: 748 B After ![]() (image error) Size: 1.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 897 B After ![]() (image error) Size: 1.4 KiB ![]() ![]() |
Before ![]() (image error) Size: 779 B After ![]() (image error) Size: 1.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 408 B After ![]() (image error) Size: 617 B ![]() ![]() |
Before ![]() (image error) Size: 896 B After ![]() (image error) Size: 1.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 417 B After ![]() (image error) Size: 750 B ![]() ![]() |
Before ![]() (image error) Size: 2.3 KiB After ![]() (image error) Size: 3.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.2 KiB After ![]() (image error) Size: 3.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.1 KiB After ![]() (image error) Size: 3.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.4 KiB After ![]() (image error) Size: 3.6 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.4 KiB After ![]() (image error) Size: 3.5 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.1 KiB After ![]() (image error) Size: 1.5 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.3 KiB After ![]() (image error) Size: 3.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.4 KiB After ![]() (image error) Size: 2.1 KiB ![]() ![]() |
Before ![]() (image error) Size: 848 B After ![]() (image error) Size: 1.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 782 B After ![]() (image error) Size: 1.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 865 B After ![]() (image error) Size: 1.4 KiB ![]() ![]() |
Before ![]() (image error) Size: 889 B After ![]() (image error) Size: 1.4 KiB ![]() ![]() |
Before ![]() (image error) Size: 465 B After ![]() (image error) Size: 849 B ![]() ![]() |
Before ![]() (image error) Size: 636 B After ![]() (image error) Size: 857 B ![]() ![]() |
Before ![]() (image error) Size: 810 B After ![]() (image error) Size: 1.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 351 B After ![]() (image error) Size: 646 B ![]() ![]() |
Before ![]() (image error) Size: 1.2 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.2 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.2 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.3 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 1.6 KiB After ![]() (image error) Size: 2.4 KiB ![]() ![]() |
Before ![]() (image error) Size: 717 B After ![]() (image error) Size: 1014 B ![]() ![]() |
Before ![]() (image error) Size: 1.3 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 525 B After ![]() (image error) Size: 961 B ![]() ![]() |
Before ![]() (image error) Size: 241 B After ![]() (image error) Size: 360 B ![]() ![]() |