Updated to OTCv8 3.1 rev 195

This commit is contained in:
OTCv8 2022-04-30 22:10:09 +00:00
parent 387d4d39a5
commit 35e54aaca3
9 changed files with 12 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 742 B

View File

@ -258,7 +258,7 @@ OutfitWindow < MainWindow
size: 128 128
margin-right: 32
margin-bottom: 32
outfit-shader: default
outfit-shader: outfit_default
Panel
id: bars

View File

@ -258,7 +258,7 @@ OutfitWindow < MainWindow
size: 128 128
margin-right: 32
margin-bottom: 32
outfit-shader: default
outfit-shader: outfit_default
Panel
id: bars

View File

@ -218,7 +218,7 @@ function create(currentOutfit, outfitList, mountList, wingList, auraList, shader
end
if currentOutfit.shader == "" then
currentOutfit.shader = "default"
currentOutfit.shader = "outfit_default"
end
loadSettings()
@ -618,7 +618,7 @@ function showOutfits()
outfit.mount = 0
outfit.aura = 0
outfit.wings = 0
outfit.shader = "default"
outfit.shader = "outfit_default"
outfit.healthBar = 0
outfit.manaBar = 0
button.outfit:setOutfit(outfit)
@ -777,12 +777,12 @@ function showShaders()
local focused = nil
do
local button = g_ui.createWidget("SelectionButton", window.selectionList)
button:setId("default")
button:setId("outfit_default")
button.outfit:setOutfit({type = tempOutfit.type, addons = tempOutfit.addons, shader = "default"})
button.outfit:setOutfit({type = tempOutfit.type, addons = tempOutfit.addons, shader = "outfit_default"})
button.name:setText("None")
if tempOutfit.shader == "default" then
focused = "default"
if tempOutfit.shader == "outfit_default" then
focused = "outfit_default"
end
end
@ -1118,7 +1118,9 @@ function updatePreview()
local previewOutfit = table.copy(tempOutfit)
if not settings.showOutfit then
previewOutfit.type = 0
previewCreature:hide()
else
previewCreature:show()
end
if not settings.showMount then
@ -1134,7 +1136,7 @@ function updatePreview()
end
if not settings.showShader then
previewOutfit.shader = "default"
previewOutfit.shader = "outfit_default"
end
if not settings.showBars then

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.