Skip to content

Commit

Permalink
Updated additional support for SPT-Realism item properties
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TeaCrab committed Feb 13, 2024
1 parent 35e763b commit f2daeb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
4 changes: 4 additions & 0 deletions src/_func/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f2daeb8

Please sign in to comment.