From f2daeb81fd68d3f920981ef6737ceb89c89c2708 Mon Sep 17 00:00:00 2001 From: TeaCrab Date: Mon, 12 Feb 2024 19:07:15 -0500 Subject: [PATCH] Updated additional support for SPT-Realism item properties Added PostDB json export handle for Armor, container grids. Included helper JSON that will not be generated by this mod to AKI folder. PostDB json export are all inside this AKI folder. --- .gitignore | 4 ++++ src/_func/db.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index f03dd91..2381bda 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,10 @@ # DB Dump aki/* aki/*.* +!aki/bookmarks_extra.json +!aki/nicknames_extra.json +!aki/sptrm_stats.json +!aki/sptrm_index.json .vscode/* .vscode/*.* .fail/* diff --git a/src/_func/db.ts b/src/_func/db.ts index 03d336c..e015f85 100644 --- a/src/_func/db.ts +++ b/src/_func/db.ts @@ -108,6 +108,10 @@ function checkProp(prop, subject):boolean { switch (prop) { case "MagSize": if (subject.Cartridges !== undefined ?? false) return true + break; + case "Armor": + console.log(`[${modName}.debug] returnProp() of ${prop} - to do.`); + break; default: return false }