Skip to content

Commit

Permalink
Bald Bug fix
Browse files Browse the repository at this point in the history
finds out mask.png can be selected in parameters. Changed the way mask.png is looked for in armor adapt to counter that.
  • Loading branch information
Zancuno committed Sep 29, 2021
1 parent 1c5be5f commit 73819c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _metadata
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"requires" : [],
"steamContentId" : "1356955138",
"tags" : "Crafting and Building|NPCs and Creatures|Weapons|Ships|Species|Furniture and Objects|Character Improvements|Food and Farming|Armor and Clothes",
"version" : "1.4.4.3.4"
"version" : "1.4.4.3.5"
}
2 changes: 1 addition & 1 deletion armorAdapt/armorAdaptBuilder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function build(directory, config, parameters, level, seed)

if parameters.itemTags ~= nil and parameters.itemTags[4] == "head" then
config = util.mergeTable({ }, config)
local mask = parameters.mask
local mask = string.format("/items/armors/armorAdapt/%s/%s/%s/mask.png", parameters.itemTags[2], parameters.itemTags[5], parameters.itemTags[3])
local maleFrames = parameters.maleFrames
local femaleFrames = parameters.femaleFrames
if root.imageSize(mask)[1] <= 43 then
Expand Down

0 comments on commit 73819c1

Please sign in to comment.