Skip to content

Commit

Permalink
Lua code format - (Stylua)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 8, 2024
1 parent c322d7a commit 2b89e4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion data/scripts/lib/register_monster_type.lua
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ function SortLootByChance(loot)
end)
end


local function configureLootAttributes(lootObject, lootProperties)
if lootProperties.subType or lootProperties.charges then
lootObject:setSubType(lootProperties.subType or lootProperties.charges)
Expand Down
4 changes: 2 additions & 2 deletions data/scripts/systems/custom_monster_loot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ local allLootConfig = {
-- Custom loot for specific monsters (this has the same usage options as normal monster loot)
local customLootConfig = {
["Dragon"] = { items = {
{ name = "platinum coin", chance = 1000, maxCount = 1},
}},
{ name = "platinum coin", chance = 1000, maxCount = 1 },
} },
}

-- Global loot addition for all monsters
Expand Down

0 comments on commit 2b89e4b

Please sign in to comment.