From 89a8eb11acfc912da2dced25527da937732bbb4c Mon Sep 17 00:00:00 2001 From: Cliencer <79413453+Cliencer@users.noreply.github.com> Date: Sat, 28 Feb 2026 20:06:24 +0800 Subject: [PATCH] 1 --- dbOverwrite.lua | 20 ++++++++++++++++++++ pfExtend.toc | 1 + 2 files changed, 21 insertions(+) create mode 100644 dbOverwrite.lua 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