diff --git a/dbOverwrite.lua b/dbOverwrite.lua new file mode 100644 index 0000000..bda5ea0 --- /dev/null +++ b/dbOverwrite.lua @@ -0,0 +1,20 @@ + +local function overwrite(type, id, data) + if pfDB[type]["data"][id] then + pfDB[type]["data"][id] = data + end +end +do -- area trigger +end + +do -- items + overwrite("items", 30017, { ["U"] = { [10184] = 2.5 } }) + overwrite("items", 30018, { ["U"] = { [60748] = 2.5 } }) +end + +do -- units/npcs +end + +do -- quests + +end diff --git a/pfExtend.toc b/pfExtend.toc index e015729..283766d 100644 --- a/pfExtend.toc +++ b/pfExtend.toc @@ -8,6 +8,7 @@ ## Dependencies: pfQuest ## OptionalDeps: pfUI ## SavedVariables: PfExtend_Database, PfExtend_Config +dbOverwrite.lua init\compat.xml init\locales.xml init\modules.xml