Adds pantheons from temmings' pull request Adds partial Impale support from baranio's pull request Adds updated uniques from PJacek's pull request and my own Adds more tree highlighting options for node power from coldino's pull request Adds support for fossil mods in the crafting window. Including correct parsing for some mods that previously didn't work
19 lines
431 B
Lua
19 lines
431 B
Lua
-- Various functions for Pantheon
|
|
--
|
|
|
|
pantheon = { }
|
|
|
|
function pantheon.applySoulMod(db, modParser, god)
|
|
for _, soul in pairs(god.souls) do
|
|
for _, soulMod in pairs(soul.mods) do
|
|
local modList, extra = modParser(soulMod.line)
|
|
if modList and not extra then
|
|
for _, mod in pairs(modList) do
|
|
local godName = god.souls[1].name
|
|
mod.source = "Pantheon:"..godName
|
|
end
|
|
db:AddList(modList)
|
|
end
|
|
end
|
|
end
|
|
end |