Compare commits

..

No commits in common. "main" and "1.35.0" have entirely different histories.
main ... 1.35.0

11239 changed files with 2580788 additions and 69265 deletions

3
.gitattributes vendored
View File

@ -1,5 +1,2 @@
*.bundle filter=lfs diff=lfs merge=lfs -text
*.servph filter=lfs diff=lfs merge=lfs -text
hfx[[:space:]]impacts filter=lfs diff=lfs merge=lfs -text
hideoutcat filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs diff=lfs merge=lfs -text

View File

@ -4,12 +4,6 @@
set "mo2_install=%cd%"
set "repository=%mo2_install%\Fika-Tarkov"
:: Specifying links to download for files
set "git_repository=https://files.moddinglounge.com/Rage/Fika-Tarkov.git"
set "git_file=https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/PortableGit-2.47.1-64-bit.7z.exe"
set "SevenZ_file=https://www.7-zip.org/a/7zr.exe"
set "mo2_file=https://github.com/ModOrganizer2/modorganizer/releases/download/v2.5.2/Mod.Organizer-2.5.2.7z"
:: Set path to the portable Git executable
set "portable_git=%mo2_install%\PortableGit\bin\git.exe"
set "portable_7z=%mo2_install%\7zr.exe"
@ -28,7 +22,7 @@ if not exist "%mo2_install%\PortableGit\bin\git.exe" (
echo ----
echo Installing Portable Git...
:: Download Git Portable
curl -L -o PortableGit-2.47.1-64-bit.7z.exe %git_file%
curl -L -o PortableGit-2.47.1-64-bit.7z.exe https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/PortableGit-2.47.1-64-bit.7z.exe
if %errorlevel% neq 0 (
echo ERROR: Failed to download Git Portable. Check your internet connection and try again.
@ -47,7 +41,7 @@ if not exist "%mo2_install%\7zr.exe" (
echo ----
echo Installing 7zip Portable...
:: Download 7zip Portable
curl -L -o 7zr.exe %SevenZ_file%
curl -L -o 7zr.exe https://www.7-zip.org/a/7zr.exe
)
:: Determining if an installation exists already
@ -70,10 +64,10 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
timeout 10
:: Clone or update the Git repository
if not exist "%repository%\.git" (
if not exist "Fika-Tarkov\.git" (
echo ----
echo Cloning repository...
"%portable_git%" clone %git_repository%
"%portable_git%" clone https://files.moddinglounge.com/Rage/Fika-Tarkov.git
) else (
echo ----
echo Repository already exists. Pulling latest changes...
@ -90,11 +84,18 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
echo Synchronizing profiles folder...
robocopy "%repository%/profiles" "%mo2_install%/profiles" /MIR
echo ----
echo Synchronizing stylesheets folder...
robocopy "%repository%/stylesheets" "%mo2_install%/stylesheets" /E
echo ----
echo Synchronizing plugins folder...
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
pause
exit /B 0
:InstallModpack
echo.
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo WARNING! The script will install the modpack in the folder this script is ran from!
echo Be sure that your folder is empty before continuing with the installation!
@ -107,19 +108,9 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
timeout 30
:: Requiring user input for game path
echo ----
set /p "game_path=Please enter the path to your game installation: "
if "%game_path%"=="" (
echo.
echo No path entered. Exiting.
echo.
pause
exit /b 1
)
:: Download MO2
curl -L -o MO2.7z %mo2_file%
curl -L -o MO2.7z https://github.com/ModOrganizer2/modorganizer/releases/download/v2.5.2/Mod.Organizer-2.5.2.7z
if %errorlevel% neq 0 (
echo ERROR: Failed to download the archive. Check your internet connection and try again.
pause
@ -145,10 +136,9 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
:: Deleting the archive
del MO2.7z
:: Syncing all of the necessary folders and files
echo ----
echo Cloning repository...
"%portable_git%" clone %git_repository%
"%portable_git%" clone https://files.moddinglounge.com/Rage/Fika-Tarkov.git
echo ----
echo Synchronizing mods folder...
@ -158,59 +148,13 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
echo Synchronizing profiles folder...
robocopy "%repository%/profiles" "%mo2_install%/profiles" /MIR
echo ----
echo Synchronizing plugins folder...
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
echo ----
echo Synchronizing stylesheets folder...
robocopy "%repository%/stylesheets" "%mo2_install%/stylesheets" /E
echo ----
echo Synchronizing USVFS files...
robocopy "usvfs_proxy_x64.exe" "%mo2_install%" /E
robocopy "usvfs_proxy_x86.exe" "%mo2_install%" /E
robocopy "usvfs_x64.dll" "%mo2_install%" /E
robocopy "usvfs_x86.dll" "%mo2_install%" /E
:: Escape backslashes in the game path
setlocal enabledelayedexpansion
set "game_path=!game_path:\=/!"
set "escaped_path="
for /l %%i in (0,1,255) do (
for /f "tokens=1,* delims=" %%a in ("!game_path:~%%i,1!") do (
if "%%a"=="" goto path_done
if %%a==/ (
set "escaped_path=!escaped_path!//" :: Double the backslash
) else (
set "escaped_path=!escaped_path!%%a"
)
)
)
:path_done
echo Original Path: %game_path%
echo Escaped Path: %escaped_path%
:: Replace placeholders in ModOrganizer.ini
echo ----
echo Updating ModOrganizer.ini...
set "ini_file=%repository%\ModOrganizer.ini"
set "temp_ini=%ini_file%.tmp"
(for /f "usebackq delims=" %%A in ("%ini_file%") do (
set "line=%%A"
set "line=!line:game_path=%escaped_path%!"
set "line=!line:replace_me=%game_path%!"
echo(!line!
)) > "%temp_ini%"
move /y "%temp_ini%" "%mo2_install%\ModOrganizer.ini"
echo ----
echo ModOrganizer.ini updated successfully!
echo Synchronizing plugins folder...
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
echo ----
echo Installation complete. Launch ModOrganizer.exe and follow the remaining instructions.

View File

@ -1,136 +1,22 @@
[General]
gameName=SPT
gamePath=@ByteArray(game_path)
gamePath=@ByteArray(replace_me)
selected_profile=@ByteArray(Multiplayer)
version=2.5.2
first_start=false
previousSeparatorColor=@Variant(\0\0\0\x43\x1\xff\xff\x44\x44\x36\x36))\0\0)
backup_install=true
[PluginPersistance]
Python%20Proxy\tryInit=false
[Settings]
profile_local_inis=false
profile_local_saves=false
profile_archive_invalidation=true
log_level=1
language=en
compact_downloads=true
meta_downloads=false
autohide_downloads=false
check_for_updates=true
use_prereleases=false
center_dialogs=false
show_change_game_confirmation=true
show_menubar_on_alt=true
double_click_previews=true
style=Dark Bronze.qss
overwrittenLooseFilesColor=@Variant(\0\0\0\x43\x1@@\0\0\xff\xff\0\0\0\0)
overwritingLooseFilesColor=@Variant(\0\0\0\x43\x1@@\xff\xff\0\0\0\0\0\0)
overwrittenArchiveFilesColor=@Variant(\0\0\0\x43\x1@@\0\0\xff\xff\xff\xff\0\0)
overwritingArchiveFilesColor=@Variant(\0\0\0\x43\x1@@\xff\xff\0\0\xff\xff\0\0)
containsPluginColor=@Variant(\0\0\0\x43\x1@@\0\0\0\0\xff\xff\0\0)
containedColor=@Variant(\0\0\0\x43\x1@@\0\0\0\0\xff\xff\0\0)
colorSeparatorScrollbars=true
display_foreign=true
collapsible_separators_asc=true
collapsible_separators_dsc=true
collapsible_separators_conflicts_from=true
collapsible_separators_conflicts_to=true
collapsible_separators_per_profile=false
save_filters=false
auto_collapse_on_hover=false
autocheck_update_install=true
collapsible_separators_icons_1=true
collapsible_separators_icons_2=true
collapsible_separators_icons_3=true
collapsible_separators_icons_7=true
crash_dumps_type=1
crash_dumps_max=5
loot_log_level=2
endorsement_integration=true
tracked_integration=true
category_mappings=true
hide_api_counter=false
force_enable_core_files=true
lock_gui=true
archive_parsing_experimental=false
offline_mode=false
use_proxy=false
use_custom_browser=false
custom_browser=
executable_blacklist="Chrome.exe;Firefox.exe;TSVNCache.exe;TGitCache.exe;Steam.exe;GameOverlayUI.exe;Discord.exe;GalaxyClient.exe;Spotify.exe;Brave.exe"
skip_file_suffixes=.mohidden
skip_directories=.git
filter_regex=false
regex_case_sensitive=false
regex_extended=false
filter_scroll_to_selection=false
[Widgets]
SettingsDialog_tabWidget_index=0
MainWindow_executablesListBox_index=1
MainWindow_tabWidget_index=2
MainWindow_dataTabShowOnlyConflicts_checked=false
MainWindow_dataTabShowFromArchives_checked=false
MainWindow_groupCombo_index=0
MainWindow_modList_index=SWAG + DONUTS_backup, Fika, Essentials, Bug Fixes & Optimizations, Interface & HUD, SFX & Music, New Items & Keys, Gameplay Tweaks, New Traders & Tweaks, New Weapons & Gear, AI & Combat Tweaks, VFX & Atmosphere, Modlist Addons, Backburner, Version 1.32.0, Unsorted, Overwrite
MainWindow_filters_index=0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
MainWindow_filtersAnd_checked=true
MainWindow_filtersOr_checked=false
MainWindow_filtersSeparators_index=0
ModInfoTabOrder=tabFiles tabText tabIni tabImages tabESPs tabConflicts tabCategories tabNexus tabNotes
ModInfoDialog_tabWidget_index=0
ModInfoDialog_imagesShowDDS_checked=false
ModInfoDialog_tabConflictsTabs_index=0
ModInfoDialog_conflictsAdvancedShowNoConflict_checked=true
ModInfoDialog_conflictsAdvancedShowAll_checked=true
ModInfoDialog_conflictsAdvancedShowNearest_checked=false
[Geometry]
SettingsDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xe3\0\0\x1\x30\0\0\x6\x16\0\0\x3\x9d\0\0\x2\xe3\0\0\x1N\0\0\x6\x16\0\0\x3\x9d\0\0\0\0\0\0\0\0\t\xe\0\0\x2\xe3\0\0\x1N\0\0\x6\x16\0\0\x3\x9d)
MainWindow_state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\t\xe\0\0\0\xd7\xfc\x1\0\0\0\x1\xfb\0\0\0\xe\0l\0o\0g\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\t\xe\0\0\0R\0\xff\xff\xff\0\0\t\xe\0\0\x4T\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
MainWindow_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\xff\xff\xff\xf9\0\0\t\r\0\0\x4\xe8\0\0\0\v\0\0\0\x1f\0\0\az\0\0\x4w\0\0\0\0\x2\0\0\0\t\xe\0\0\0\0\0\0\0\x17\0\0\t\r\0\0\x4\xe8)
MainWindow_docks_logDock_size=215
MainWindow_menuBar_visibility=true
MainWindow_statusBar_visibility=true
MainWindow_toolBar_visibility=true
toolbar_size=@Size(42 36)
toolbar_button_style=0
MainWindow_splitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x3\xf9\0\0\x2\xb0\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
MainWindow_categoriesSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\b\0\0\x3\x16\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
MainWindow_monitor=0
MainWindow_categoriesGroup_visibility=false
MainWindow_espList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x2\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2n\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xce\0\0\0\x1\0\0\0\0\0\0\0%\0\0\0\x1\0\0\0\0\0\0\0\x33\0\0\0\x1\0\0\0\0\0\0\0H\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x46\0\0\0\0)
MainWindow_downloadView_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\b\xf0\0\0\0\x4\0\0\0\x4\0\0\0\x64\0\0\0\a\0\0\0\x64\0\0\0\x6\0\0\0\x64\0\0\0\x5\0\0\0\x64\0\0\x3\x80\0\0\0\b\x1\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\b\0\0\x2\x62\0\0\0\x1\0\0\0\0\0\0\0V\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0\0\0\0\0\0)
MainWindow_savegameList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2n\0\0\0\x2\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x1\xa1\0\0\0\x1\0\0\0\0\0\0\0\xcd\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
MainWindow_dataTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x3\x80\0\0\0\x5\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x5\0\0\x1s\0\0\0\x1\0\0\0\0\0\0\0\x81\0\0\0\x1\0\0\0\0\0\0\0\xb2\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0v\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
MainWindow_modList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\t\x1\0\0\0\v\0\0\0\0\0\0\0\x2\0\0\0\x3\0\0\0\x6\0\0\0\x5\0\0\0\a\0\0\0\b\0\0\0\t\0\0\0\x4\0\0\0\n\0\0\0\x1\0\0\0\v\0\0\0\0\0\0\0\n\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\x4\0\0\0\x3\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\t\0\0\0\v\xc2\x3\0\0\0\x5\0\0\0\a\0\0\0Y\0\0\0\x3\0\0\0 \0\0\0\x6\0\0\0 \0\0\0\n\0\0\x1\xb3\0\0\0\x5\0\0\0 \0\0\x5\x42\0\0\0\v\x1\x1\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0'\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\v\0\0\x3\n\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0H\0\0\0\x1\0\0\0\0\0\0\0\xac\0\0\0\x1\0\0\0\0\0\0\0|\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0U\0\0\0\0)
EditExecutablesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xa7\0\0\x1\x8d\0\0\a2\0\0\x3\xbb\0\0\x2\xa7\0\0\x1\xab\0\0\a2\0\0\x3\xbb\0\0\0\0\0\0\0\0\t\xe\0\0\x2\xa7\0\0\x1\xab\0\0\a2\0\0\x3\xbb)
ModInfoDialog_tabTextSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\xc8\0\0\x3\x62\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
ModInfoDialog_tabIniSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc8\0\0\0\xed\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
ModInfoDialog_tabImagesSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\x80\0\0\0\x83\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
ModInfoDialog_ESPsSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0|\0\0\0\xab\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
ModInfoDialog_overwriteExpander_state=@ByteArray(\x1)
ModInfoDialog_overwrittenExpander_state=@ByteArray(\x1)
ModInfoDialog_noConflictExpander_state=@ByteArray(\0)
ModInfoDialog_overwriteTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5(\0\0\0\x2\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x2\x88\0\0\0\x1\0\0\0\0\0\0\x2\xa0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
ModInfoDialog_noConflictTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\0\0\0\x1\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x1\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
ModInfoDialog_overwrittenTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2\xdd\0\0\0\x2\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x2y\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
ModInfoDialog_conflictsAdvancedList_state="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1,\0\0\0\x3\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x3\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)"
ModInfoDialog_filetree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5\x30\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xbf\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x2\xa9\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
ModInfoDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xca\0\0\x1\x1b\0\0\a\x17\0\0\x4\x1e\0\0\x1\xca\0\0\x1\x39\0\0\a\x17\0\0\x4\x1e\0\0\0\0\0\0\0\0\t\xe\0\0\x1\xca\0\0\x1\x39\0\0\a\x17\0\0\x4\x1e)
PreviewDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\r\0\0\x1\x35\0\0\x5\xec\0\0\x3\x99\0\0\x3\r\0\0\x1S\0\0\x5\xec\0\0\x3\x99\0\0\0\0\0\0\0\0\t\xe\0\0\x3\r\0\0\x1S\0\0\x5\xec\0\0\x3\x99)
ProfilesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\x8c\0\0\x1\xb2\0\0\x5m\0\0\x3\x1b\0\0\x3\x8c\0\0\x1\xd0\0\0\x5m\0\0\x3\x1b\0\0\0\0\0\0\0\0\t\xe\0\0\x3\x8c\0\0\x1\xd0\0\0\x5m\0\0\x3\x1b)
__overwriteDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x82\0\0\x1\x8c\0\0\a\xa9\0\0\x4\xa8\0\0\x2\x82\0\0\x1\xaa\0\0\a\xa9\0\0\x4\xa8\0\0\0\0\0\0\0\0\t\xe\0\0\x2\x82\0\0\x1\xaa\0\0\a\xa9\0\0\x4\xa8)
__overwriteDialog_filesView_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x4\xfe\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xd7\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x2_\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
ProblemsDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3^\0\0\x1\x9c\0\0\x5\x9b\0\0\x3\x31\0\0\x3^\0\0\x1\xba\0\0\x5\x9b\0\0\x3\x31\0\0\0\0\0\0\0\0\t\xe\0\0\x3^\0\0\x1\xba\0\0\x5\x9b\0\0\x3\x31)
CategoriesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xd3\0\0\x1T\0\0\x4\x99\0\0\x3#\0\0\x1\xd3\0\0\x1r\0\0\x4\x99\0\0\x3#\0\0\0\0\0\0\0\0\t\xe\0\0\x1\xd3\0\0\x1r\0\0\x4\x99\0\0\x3#)
ListDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xfa\0\0\0\xfe\0\0\x4\xff\0\0\x3^\0\0\x3\xfa\0\0\x1\x1c\0\0\x4\xff\0\0\x3^\0\0\0\0\0\0\0\0\t\xe\0\0\x3\xfa\0\0\x1\x1c\0\0\x4\xff\0\0\x3^)
[Servers]
size=0
[pluginBlacklist]
size=0
[customExecutables]
size=1
1\arguments=
1\binary=replace_me/SPT.Launcher.exe
1\hide=false
1\ownicon=false
1\steamAppID=
1\title=Multiplayer
1\toolbar=false
1\workingDirectory=replace_me

View File

@ -19,7 +19,7 @@ nexusLastModified=2024-09-09T09:16:47Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\x1\xff\xff\xc4\xc4\x9b\x9btt\0\0)
color=@Variant(\0\0\0\x43\x1\xff\xff\x44\x44\x36\x36))\0\0)
tracked=0
[installedFiles]

28
mods/AK-5C/meta.ini Normal file
View File

@ -0,0 +1,28 @@
[General]
gameName=spt
modid=0
version=d2024.12.21.0
newestVersion=
category="1,2"
nexusFileStatus=1
installationFile=WTT-Armory-Ak5C-1.0.3.zip
repository=Nexus
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2024-12-22T04:12:41Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
tracked=0
[installedFiles]
1\modid=0
1\fileid=0
size=1

View File

@ -0,0 +1,95 @@
{
"manifest": [
{
"key": "WeaponAK5C/ak5c.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/audio/blendoptions/assets.bundle",
"assets/content/weapons/additional_hands/client_assets.bundle",
"assets/content/weapons/weapon_root_anim_fix.bundle"
]
},
{
"key": "WeaponAK5C/ak5cbarrel.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5ccover.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cfs.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cgrip.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5chandguard.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cmag.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cmuzzle.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5crail.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cstock.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "WeaponAK5C/ak5cstock_1.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,128 @@
{
"PEACEKEEPER": {
"items": [
{
"_id": "6671efb6acbb23fc7b97d066",
"_tpl": "6671ec0028088d829af1a668",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"StackObjectsCount": 1000
}
},
{
"_id": "6671efbac1e4261ab018d515",
"_tpl": "6671ecd0c978c594704b61f4",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"StackObjectsCount": 1000
}
},
{
"_id": "6671f0d35157784af2055255",
"_tpl": "6671ebcdd32bd95eb398e920",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"StackObjectsCount": 99805,
"Repairable": {
"Durability": 100,
"MaxDurability": 100
}
}
},
{
"_id": "6671f11665b0f49c45f19bf3",
"_tpl": "6671ee9490d3a9978a371da7",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_mount"
},
{
"_id": "6671f11420335e0bdd93c863",
"_tpl": "6671eca71020d64fb2240530",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_sight_front"
},
{
"_id": "6671f1115ea70dbd607d2aa7",
"_tpl": "6671ecb42225b07c8afc4ce3",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_stock"
},
{
"_id": "6671f10e062ffaf93fb65338",
"_tpl": "6671ec6e0bebf6ee2d5abf61",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_pistol_grip"
},
{
"_id": "6671f10a2e68b8c0ad1ff43d",
"_tpl": "6671ec0028088d829af1a668",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_magazine"
},
{
"_id": "6671f1307017899a8c8d4320",
"_tpl": "6671ece3365d10b3362eb40f",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_handguard"
},
{
"_id": "6671f0ffd993ff5c5c65dc59",
"_tpl": "6671ed4b45dbd54033e7bbb0",
"parentId": "6671f0d35157784af2055255",
"slotId": "mod_barrel"
},
{
"_id": "6671f192da41c7ae8fd07708",
"_tpl": "6671ed384a25cc51b3e8d8a7",
"parentId": "6671f1307017899a8c8d4320",
"slotId": "mod_tactical"
},
{
"_id": "6671f18f92e55b4c2e842ac3",
"_tpl": "6671ed384a25cc51b3e8d8a7",
"parentId": "6671f1307017899a8c8d4320",
"slotId": "mod_tactical_2"
},
{
"_id": "6671f106d133165140d4e524",
"_tpl": "6671ed5805ef46250c47e46a",
"parentId": "6671f0ffd993ff5c5c65dc59",
"slotId": "mod_muzzle"
}
],
"barter_scheme": {
"6671efb6acbb23fc7b97d066": [
[
{
"count": 25,
"_tpl": "5696686a4bdc2da3298b456a"
}
]
],
"6671efbac1e4261ab018d515": [
[
{
"count": 58,
"_tpl": "5696686a4bdc2da3298b456a"
}
]
],
"6671f0d35157784af2055255": [
[
{
"count": 785,
"_tpl": "5696686a4bdc2da3298b456a"
}
]
]
},
"loyal_level_items": {
"6671efb6acbb23fc7b97d066": 2,
"6671efbac1e4261ab018d515": 2,
"6671f0d35157784af2055255": 2
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
{
"name": "WTTArmoryAk5C",
"author": "Tron and MoxoPixel",
"version": "1.0.3",
"license": "NCSA",
"main": "src/mod.js",
"sptVersion": "~3.10",
"loadBefore": [],
"loadAfter": [],
"isBundleMod": true,
"incompatibilities": [],
"contributors": [],
"scripts": {
"setup": "npm i",
"build": "node ./build.mjs",
"buildinfo": "node ./build.mjs --verbose"
},
"devDependencies": {
"@types/node": "20.11",
"@typescript-eslint/eslint-plugin": "7.2",
"@typescript-eslint/parser": "7.2",
"archiver": "^6.0",
"eslint": "8.57",
"fs-extra": "11.2",
"ignore": "^5.2",
"os": "^0.1",
"tsyringe": "4.8.0",
"typescript": "5.4",
"winston": "3.12"
},
"dependencies": {
"jsonc": "^2.0.0"
}
}

View File

@ -0,0 +1,49 @@
/* eslint-disable @typescript-eslint/naming-convention */
import type { WTTInstanceManager } from "./WTTInstanceManager";
import customAssortSchemes from "../db/CustomAssortSchemes/CustomAssortSchemes.json";
import { traderIDs } from "./references/configConsts";
import type { ITraderAssort } from "@spt/models/eft/common/tables/ITrader";
export class CustomAssortSchemeService
{
private instanceManager: WTTInstanceManager;
public preSptLoad(instanceManager: WTTInstanceManager): void
{
this.instanceManager = instanceManager;
}
public postDBLoad(): void
{
const tables = this.instanceManager.database;
for (const traderId in customAssortSchemes)
{
const traderIdFromMap = traderIDs[traderId];
const finalTraderId = traderIdFromMap || traderId;
const trader = tables.traders[finalTraderId];
if (!trader)
{
return;
}
const newAssort : ITraderAssort = customAssortSchemes[traderId];
for (const item of newAssort.items)
{
trader.assort.items.push(item);
}
for (const [itemName, scheme] of Object.entries(newAssort.barter_scheme))
{
trader.assort.barter_scheme[itemName] = scheme;
}
for (const [itemName, count] of Object.entries(newAssort.loyal_level_items))
{
trader.assort.loyal_level_items[itemName] = count;
}
}
}
}

View File

@ -0,0 +1,856 @@
/* eslint-disable @typescript-eslint/naming-convention */
import type { NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails";
import type { ConfigItem } from "./references/configConsts";
import { traderIDs } from "./references/configConsts";
import { currencyIDs } from "./references/configConsts";
import { inventorySlots } from "./references/configConsts";
import { ItemMap } from "./references/items";
import { ItemBaseClassMap } from "./references/itemBaseClasses";
import { ItemHandbookCategoryMap } from "./references/itemHandbookCategories";
import { LogTextColor } from "@spt/models/spt/logging/LogTextColor";
import fs from "node:fs";
import path from "node:path";
import type { WTTInstanceManager } from "./WTTInstanceManager";
import type { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables";
import type { ILocation } from "@spt/models/eft/common/ILocation";
import type { IPreset } from "@spt/models/eft/common/IGlobals";
import type { IItem } from "@spt/models/eft/common/tables/IItem";
import type { IInventory } from "@spt/models/eft/common/tables/IBotType";
import type { IProps } from "@spt/models/eft/common/tables/ITemplateItem";
export class CustomItemService {
private instanceManager: WTTInstanceManager;
public preSptLoad(instanceManager: WTTInstanceManager): void {
this.instanceManager = instanceManager;
}
public postDBLoad(): void {
const configPath = path.join(__dirname, "../db/Items");
const configFiles = fs
.readdirSync(configPath)
.filter((file) => !file.includes("BaseItemReplacement"));
let numItemsAdded = 0;
for (const file of configFiles) {
const filePath = path.join(configPath, file);
try {
const fileContents = fs.readFileSync(filePath, "utf-8");
const config = JSON.parse(fileContents) as ConfigItem;
for (const itemId in config) {
const itemConfig = config[itemId];
try {
const { exampleCloneItem, finalItemTplToClone } =
this.createExampleCloneItem(itemConfig, itemId);
if (this.instanceManager.debug) {
console.log(`Processing file: ${file}, Item ID: ${itemId}`);
console.log(
`Prefab Path: ${exampleCloneItem.overrideProperties?.Prefab.path}`
);
}
this.instanceManager.customItem.createItemFromClone(exampleCloneItem);
this.processStaticLootContainers(itemConfig, itemId);
this.processModSlots(itemConfig, [finalItemTplToClone], itemId);
this.processInventorySlots(itemConfig, itemId);
this.processMasterySections(itemConfig, itemId);
this.processWeaponPresets(itemConfig, itemId);
this.processTraders(itemConfig, itemId);
this.addtoHallofFame(itemConfig, itemId);
this.addtoSpecialSlots(itemConfig, itemId);
numItemsAdded++;
} catch (itemError) {
console.error(`Error processing item ID: ${itemId} in file: ${file}`);
console.error(itemError);
}
}
} catch (fileError) {
console.error(`Error processing config file: ${file}`);
console.error(fileError);
}
}
if (numItemsAdded > 0) {
this.instanceManager.logger.log(
`[${this.instanceManager.modName}] Database: Loaded ${numItemsAdded} custom items.`,
LogTextColor.GREEN
);
} else {
this.instanceManager.logger.log(
`[${this.instanceManager.modName}] Database: No custom items loaded.`,
LogTextColor.GREEN
);
}
// Post-item processing (e.g., bot inventories, quest modifications)
for (const file of configFiles) {
const filePath = path.join(configPath, file);
try {
const fileContents = fs.readFileSync(filePath, "utf-8");
const config = JSON.parse(fileContents) as ConfigItem;
for (const itemId in config) {
const itemConfig = config[itemId];
this.processBotInventories(itemConfig, itemConfig.itemTplToClone, itemId);
}
} catch (fileError) {
console.error(`Error processing bot inventories for file: ${file}`);
console.error(fileError);
}
}
}
/**
* Creates an example clone item with the provided item configuration and item ID.
*
* @param {any} itemConfig - The configuration of the item to clone.
* @param {string} itemId - The ID of the item.
* @return {{ exampleCloneItem: NewItemFromCloneDetails, finalItemTplToClone: string }} The created example clone item and the final item template to clone.
*/
private createExampleCloneItem(
itemConfig: ConfigItem[string],
itemId: string
): {
exampleCloneItem: NewItemFromCloneDetails;
finalItemTplToClone: string;
} {
const itemTplToCloneFromMap =
ItemMap[itemConfig.itemTplToClone] || itemConfig.itemTplToClone;
const finalItemTplToClone = itemTplToCloneFromMap;
const parentIdFromMap =
ItemBaseClassMap[itemConfig.parentId] || itemConfig.parentId;
const finalParentId = parentIdFromMap;
const handbookParentIdFromMap =
ItemHandbookCategoryMap[itemConfig.handbookParentId] ||
itemConfig.handbookParentId;
const finalHandbookParentId = handbookParentIdFromMap;
const itemPrefabPath = `customItems/${itemId}.bundle`;
const exampleCloneItem: NewItemFromCloneDetails = {
itemTplToClone: finalItemTplToClone,
overrideProperties: itemConfig.overrideProperties
? {
...itemConfig.overrideProperties,
Prefab: {
path:
itemConfig.overrideProperties.Prefab?.path || itemPrefabPath,
rcid: ""
}
}
: undefined,
parentId: finalParentId,
newId: itemId,
fleaPriceRoubles: itemConfig.fleaPriceRoubles,
handbookPriceRoubles: itemConfig.handbookPriceRoubles,
handbookParentId: finalHandbookParentId,
locales: itemConfig.locales
};
if (this.instanceManager.debug) {
console.log(`Cloning item ${finalItemTplToClone} for itemID: ${itemId}`);
}
return { exampleCloneItem, finalItemTplToClone };
}
/**
* Adds an item to a static loot container with a given probability.
*
* @param {string} containerID - The ID of the loot container.
* @param {string} itemToAdd - The item to add to the loot container.
* @param {number} probability - The probability of the item being added.
* @return {void} This function does not return anything.
*/
private addToStaticLoot(
containerID: string,
itemToAdd: string,
probability: number
): void {
const locations = this.instanceManager.database.locations;
for (const locationID in locations) {
if (!Object.prototype.hasOwnProperty.call(locations, locationID)) {
continue; // Skip invalid locations
}
const location: ILocation = locations[locationID];
if (!location.staticLoot) {
if (this.instanceManager.debug) {
console.warn(`Warning: No static loot found in location: ${locationID}`);
}
continue;
}
const staticLoot = location.staticLoot;
if (!Object.prototype.hasOwnProperty.call(staticLoot, containerID)) {
if (this.instanceManager.debug) {
console.log(`Error: Loot container ID ${containerID} not found in location: ${locationID}`);
}
continue;
}
const lootContainer = staticLoot[containerID];
if (!lootContainer) {
if (this.instanceManager.debug) {
console.log(`Error: Loot container ID ${containerID} is null in location: ${locationID}`);
}
continue;
}
const templateFromMap = ItemMap[itemToAdd];
const finalTemplate = templateFromMap || itemToAdd;
const newLoot = [
{
tpl: finalTemplate,
relativeProbability: probability,
},
];
lootContainer.itemDistribution.push(...newLoot);
if (this.instanceManager.debug) {
console.log(`Added ${itemToAdd} to loot container: ${containerID} in location: ${locationID}`);
}
}
}
/**
* Processes the static loot containers for a given item.
*
* @param {any} itemConfig - The configuration object for the item.
* @param {string} itemId - The ID of the item.
* @return {void} This function does not return a value.
*/
private processStaticLootContainers(itemConfig: ConfigItem[string], itemId: string): void {
if (itemConfig.addtoStaticLootContainers) {
if (this.instanceManager.debug) {
console.log("Processing static loot containers for item:", itemId);
}
if (Array.isArray(itemConfig.StaticLootContainers)) {
if (this.instanceManager.debug) {
console.log("Adding item to multiple static loot containers:");
}
for (const container of itemConfig.StaticLootContainers) {
const staticLootContainer =
ItemMap[container.ContainerName] || container.ContainerName;
this.addToStaticLoot(
staticLootContainer,
itemId,
container.Probability
);
if (this.instanceManager.debug) {
console.log(
` - Added to container '${staticLootContainer}' with probability ${container.Probability}`
);
}
}
}
else {
const staticLootContainer =
ItemMap[itemConfig.StaticLootContainers] ||
itemConfig.StaticLootContainers;
this.addToStaticLoot(
staticLootContainer,
itemId,
itemConfig.Probability
);
if (this.instanceManager.debug) {
console.log(`Added to container '${staticLootContainer}' with probability ${itemConfig.Probability}`);
}
}
}
}
/**
* Processes the mod slots of an item.
*
* @param {any} itemConfig - The configuration of the item.
* @param {string[]} finalItemTplToClone - The final item template to clone.
* @param {string} itemId - The ID of the item.
* @returns {void}
*/
private processModSlots(
itemConfig: ConfigItem[string],
finalItemTplToClone: string[],
itemId: string
): void {
const tables = this.instanceManager.database;
const moddableItemWhitelistIds = Array.isArray(
itemConfig.ModdableItemWhitelist
)
? itemConfig.ModdableItemWhitelist.map((shortname) => ItemMap[shortname])
: itemConfig.ModdableItemWhitelist
? [ItemMap[itemConfig.ModdableItemWhitelist]]
: [];
const moddableItemBlacklistIds = Array.isArray(
itemConfig.ModdableItemBlacklist
)
? itemConfig.ModdableItemBlacklist.map((shortname) => ItemMap[shortname])
: itemConfig.ModdableItemBlacklist
? [ItemMap[itemConfig.ModdableItemBlacklist]]
: [];
const modSlots = Array.isArray(itemConfig.modSlot)
? itemConfig.modSlot
: itemConfig.modSlot
? [itemConfig.modSlot]
: [];
const lowercaseModSlots = modSlots.map((modSlotName) =>
modSlotName.toLowerCase()
);
if (itemConfig.addtoModSlots) {
if (this.instanceManager.debug) {
console.log("Processing mod slots for item:", itemId);
}
for (const parentItemId in tables.templates.items) {
const parentItem = tables.templates.items[parentItemId];
if (!parentItem._props.Slots) {
continue;
}
const isBlacklisted = moddableItemBlacklistIds.includes(parentItemId);
const isWhitelisted = moddableItemWhitelistIds.includes(parentItemId);
if (isBlacklisted) {
continue;
}
let addToModSlots = false;
if (isWhitelisted && itemConfig.modSlot) {
addToModSlots = true;
}
else if (!isBlacklisted && itemConfig.modSlot) {
for (const modSlot of parentItem._props.Slots) {
if (
modSlot._props.filters?.[0].Filter.some((filterItem) =>
finalItemTplToClone.includes(filterItem)
)
) {
if (lowercaseModSlots.includes(modSlot._name.toLowerCase())) {
addToModSlots = true;
break;
}
}
}
}
if (addToModSlots) {
for (const modSlot of parentItem._props.Slots) {
if (lowercaseModSlots.includes(modSlot._name.toLowerCase())) {
if (!modSlot._props.filters) {
modSlot._props.filters = [
{
AnimationIndex: 0,
Filter: []
}
];
}
if (!modSlot._props.filters[0].Filter.includes(itemId)) {
modSlot._props.filters[0].Filter.push(itemId);
if (this.instanceManager.debug) {
console.log(`Successfully added item ${itemId} to the filter of mod slot ${modSlot._name} for parent item ${parentItemId}`);
}
}
}
}
}
}
}
}
/**
* Processes the inventory slots for a given item.
*
* @param {any} itemConfig - The configuration object for the item.
* @param {string} itemId - The ID of the item.
* @param {any} defaultInventorySlots - The default inventory slots.
* @return {void} This function does not return a value.
*/
private processInventorySlots(
itemConfig: ConfigItem[string],
itemId: string
): void {
const tables = this.instanceManager.database;
if (itemConfig.addtoInventorySlots) {
if (this.instanceManager.debug) {
console.log("Processing inventory slots for item:", itemId);
}
const defaultInventorySlots =
tables.templates.items["55d7217a4bdc2d86028b456d"]._props.Slots;
const allowedSlots = Array.isArray(itemConfig.addtoInventorySlots)
? itemConfig.addtoInventorySlots
: [itemConfig.addtoInventorySlots];
// Iterate over the slots and push the item into the filters per the config
for (const slot of defaultInventorySlots) {
const slotName = inventorySlots[slot._name];
const slotId = Object.keys(inventorySlots).find(
(key) => inventorySlots[key] === slot._name
);
if (
allowedSlots.includes(slot._name) ||
allowedSlots.includes(slotName) ||
allowedSlots.includes(slotId)
) {
if (!slot._props.filters[0].Filter.includes(itemId)) {
slot._props.filters[0].Filter.push(itemId);
if (this.instanceManager.debug) {
console.log(`Successfully added item ${itemId} to the filter of slot ${slot._name}`);
}
}
}
}
}
}
/**
* Processes the mastery sections for an item.
*
* @param {any} itemConfig - The configuration object for the item.
* @param {string} itemId - The ID of the item.
* @param {any} tables - The tables object containing global configuration.
* @return {void} This function does not return a value.
*/
private processMasterySections(
itemConfig: ConfigItem[string],
itemId: string
): void {
const tables = this.instanceManager.database;
if (itemConfig.masteries) {
if (this.instanceManager.debug) {
console.log("Processing mastery sections for item:", itemId);
}
const masterySections = Array.isArray(itemConfig.masterySections)
? itemConfig.masterySections
: [itemConfig.masterySections];
for (const mastery of masterySections) {
const existingMastery = tables.globals.config.Mastering.find(
(existing) => existing.Name === mastery.Name
);
if (existingMastery) {
existingMastery.Templates.push(...mastery.Templates);
if (this.instanceManager.debug) {
console.log(` - Adding to existing mastery section for item: ${itemId}`);
}
}
else {
tables.globals.config.Mastering.push(mastery);
if (this.instanceManager.debug) {
console.log(` - Adding new mastery section for item: ${itemId}`);
}
}
}
}
}
/**
* Processes weapon presets based on the provided item configuration and tables.
*
* @param {any} itemConfig - The item configuration.
* @return {void} This function does not return anything.
*/
private processWeaponPresets(
itemConfig: ConfigItem[string],
itemId: string
): void {
const tables = this.instanceManager.database;
const { addweaponpreset, weaponpresets } = itemConfig;
const itemPresets = tables.globals.ItemPresets;
if (addweaponpreset) {
if (this.instanceManager.debug) {
console.log("Processing weapon presets for item:", itemId);
}
for (const presetData of weaponpresets) {
const preset: IPreset = {
_changeWeaponName: presetData._changeWeaponName,
_encyclopedia: presetData._encyclopedia || undefined,
_id: presetData._id,
_items: presetData._items.map((itemData: IItem) => {
const item: IItem = {
_id: itemData._id,
_tpl: itemData._tpl
};
// Add parentId and slotId only if they are present in itemData
if (itemData.parentId) {
item.parentId = itemData.parentId;
}
if (itemData.slotId) {
item.slotId = itemData.slotId;
}
return item;
}),
_name: presetData._name,
_parent: presetData._parent,
_type: "Preset"
};
itemPresets[preset._id] = preset;
if (this.instanceManager.debug) {
console.log(` - Added weapon preset: ${preset._name}`);
console.log(` - Preset: ${JSON.stringify(preset)}`);
}
}
}
}
/**
* Processes traders based on the item configuration.
*
* @param {any} itemConfig - The configuration of the item.
* @param {string} itemId - The ID of the item.
* @return {void} This function does not return a value.
*/
private processTraders(
itemConfig: ConfigItem[string],
itemId: string
): void {
const tables = this.instanceManager.database;
if (!itemConfig.addtoTraders) {
return;
}
const { traderId, traderItems, barterScheme } = itemConfig;
const traderIdFromMap = traderIDs[traderId];
const finalTraderId = traderIdFromMap || traderId;
const trader = tables.traders[finalTraderId];
if (!trader) {
return;
}
for (const item of traderItems) {
if (this.instanceManager.debug) {
console.log("Processing traders for item:", itemId);
}
const newItem = {
_id: itemId,
_tpl: itemId,
parentId: "hideout",
slotId: "hideout",
upd: {
UnlimitedCount: item.unlimitedCount,
StackObjectsCount: item.stackObjectsCount
}
};
trader.assort.items.push(newItem);
if (this.instanceManager.debug) {
console.log(`Successfully added item ${itemId} to the trader ${traderId}`);
}
}
trader.assort.barter_scheme[itemId] = [];
for (const scheme of barterScheme) {
if (this.instanceManager.debug) {
console.log("Processing trader barter scheme for item:", itemId);
}
const count = scheme.count;
const tpl = currencyIDs[scheme._tpl] || ItemMap[scheme._tpl];
if (!tpl) {
throw new Error(
`Invalid _tpl value in barterScheme for item: ${itemId}`
);
}
trader.assort.barter_scheme[itemId].push([
{
count: count,
_tpl: tpl
}
]);
if (this.instanceManager.debug) {
console.log(`Successfully added item ${itemId} to the barter scheme of trader ${traderId}`);
}
}
trader.assort.loyal_level_items[itemId] = itemConfig.loyallevelitems;
}
private addtoHallofFame(itemConfig: ConfigItem[string], itemId: string) {
const hallofFame1 = this.instanceManager.database.templates.items["63dbd45917fff4dee40fe16e"];
const hallofFame2 = this.instanceManager.database.templates.items["65424185a57eea37ed6562e9"];
const hallofFame3 = this.instanceManager.database.templates.items["6542435ea57eea37ed6562f0"];
// Add to Hall of Fame filters
if (itemConfig.addtoHallOfFame) {
const hallOfFames = [hallofFame1, hallofFame2, hallofFame3];
for (const hall of hallOfFames) {
for (const slot of hall._props.Slots) {
for (const filter of slot._props.filters) {
if (!filter.Filter.includes(itemId)) {
filter.Filter.push(itemId);
if (this.instanceManager.debug) {
console.log(`Added item ${itemId} to filter Hall of Fame ${hall._name}`);
}
}
}
}
}
}
}
private addtoSpecialSlots(itemConfig: ConfigItem[string], itemId: string) {
const tables = this.instanceManager.database;
if (itemConfig.addtoSpecialSlots) {
const pockets = tables.templates.items["627a4e6b255f7527fb05a0f6"];
for (const slot of pockets._props.Slots) {
if (!slot._props.filters[0].Filter.includes(itemId)) {
slot._props.filters[0].Filter.push(itemId);
}
}
}
}
/**
* Processes the bot inventories based on the given item configuration.
*
* @param {ConfigItem[string]} itemConfig - The item configuration.
* @param {string} finalItemTplToClone - The final item template to clone.
* @param {string} itemId - The item ID.
* @return {void} This function does not return anything.
*/
private processBotInventories(
itemConfig: ConfigItem[string],
finalItemTplToClone: string,
itemId: string
): void {
const tables = this.instanceManager.database;
if (!itemConfig.addtoBots) return;
if (this.instanceManager.debug) {
console.log("Processing bot inventories for item:", itemId);
}
// Iterate through bot types
for (const botId in tables.bots.types) {
const botType = botId;
const botInventory = tables.bots.types[botId].inventory;
botInventory.Ammo = botInventory.Ammo || {};
// Process items and equipment
this.processInventoryType(botInventory.items, finalItemTplToClone, itemId, botType, "items");
this.processInventoryType(botInventory.equipment, finalItemTplToClone, itemId, botType, "equipment");
// Process mods if applicable
if (itemConfig.addtoModSlots && itemConfig.modSlot) {
this.processBotModSlots(finalItemTplToClone, itemId, botType, itemConfig.modSlot);
}
}
}
/**
* Processes inventory type (items or equipment) and gathers mods based on Slots.
*
* @param {any} inventoryType - The inventory type to process.
* @param {string} finalTplToClone - The final item template to clone.
* @param {string} itemId - The item ID.
* @param {string} botType - The bot type identifier.
* @param {string} typeLabel - Label indicating items or equipment.
* @return {void} This function does not return anything.
*/
private processInventoryType(
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
inventoryType: any,
finalTplToClone: string,
itemId: string,
botType: string,
typeLabel: string
): void {
const tables = this.instanceManager.database;
if (typeLabel === "equipment" && (
(inventoryType.FirstPrimaryWeapon?.[finalTplToClone]) ||
(inventoryType.SecondPrimaryWeapon?.[finalTplToClone]) ||
(inventoryType.Holster?.[finalTplToClone])
)) {
if (!this.ensureValidWeaponPreset(itemId)) {
return;
}
this.processAmmoAndChambers(tables.bots.types[botType].inventory, tables.templates.items[itemId]._props, itemId, botType);
}
for (const lootSlot in inventoryType) {
const items = inventoryType[lootSlot];
if (items && items[finalTplToClone] !== undefined) {
const weight = items[finalTplToClone];
if (this.instanceManager.debug) {
console.log(` - Adding item to bot ${typeLabel} for bot type: ${botType} in loot slot: ${lootSlot} with weight: ${weight}`);
}
items[itemId] = weight;
this.addModsToItem(tables, itemId, botType);
}
}
}
/**
* Adds mods to an item based on its Slots configuration.
*
* @param {any} tables - The database tables.
* @param {string} itemId - The item ID.
* @param {string} botType - The bot type identifier.
* @return {void} This function does not return anything.
*/
private addModsToItem(tables: IDatabaseTables, itemId: string, botType: string): void {
const itemProps = tables.templates.items[itemId]._props;
if (itemProps?.Slots) {
for (const slot of itemProps.Slots) {
const slotName = slot._name;
const filters = slot._props.filters;
if (filters && filters.length > 0) {
for (const filter of filters) {
for (const modId of filter.Filter) {
if (modId && tables.templates.items[modId]) {
tables.bots.types[botType].inventory.mods[itemId] = tables.bots.types[botType].inventory.mods[itemId] || {};
tables.bots.types[botType].inventory.mods[itemId][slotName] = tables.bots.types[botType].inventory.mods[itemId][slotName] || [];
if (!tables.bots.types[botType].inventory.mods[itemId][slotName].includes(modId)) {
tables.bots.types[botType].inventory.mods[itemId][slotName].push(modId);
if (tables.templates.items[modId]._props) {
if (tables.templates.items[modId]._props.Slots.length > 0) {
this.addModsToItem(tables, modId, botType);
}
}
}
if (this.instanceManager.debug) {
console.log(` - Added mod ${modId} to ${itemId}'s ${slotName} of bot type ${botType}`);
}
}
}
}
}
}
}
}
/**
* Processes mod slots and adds itemId to specified slots if finalItemTplToClone is present.
*
* @param {any} mods - The mods inventory.
* @param {string} finalItemTplToClone - The final item template to clone.
* @param {string} itemId - The item ID.
* @param {string} botType - The bot type identifier.
* @param {string[]} modSlots - The list of mod slots to process.
* @return {void} This function does not return anything.
*/
private processBotModSlots(
finalItemTplToClone: string,
itemId: string,
botType: string,
modSlots: string[]
): void {
const mods = this.instanceManager.database.bots.types[botType].inventory.mods;
for (const item in mods) {
const itemMods = mods[item];
for (const modSlot of modSlots) {
if (itemMods[modSlot]?.includes(finalItemTplToClone)) {
itemMods[modSlot].push(itemId);
if (this.instanceManager.debug) {
console.log(` - Added item ${itemId} to mod slot ${modSlot} for bot type ${botType} in item ${item}`);
}
// Adding nested mods for the new item
this.addModsToItem(this.instanceManager.database, itemId, botType);
}
}
}
}
/**
* Processes ammo and chambers, adding calibers and chamber filters if needed.
*
* @param {any} botInventory - The bot's inventory.
* @param {any} itemProps - The properties of the item.
* @param {string} itemId - The item ID.
* @param {string} botType - The bot type identifier.
* @return {void} This function does not return anything.
*/
private processAmmoAndChambers(
botInventory: IInventory,
itemProps: IProps,
itemId: string,
botType: string
): void {
const ammoCaliber = itemProps.ammoCaliber;
if (!ammoCaliber) return;
botInventory.Ammo[ammoCaliber] = botInventory.Ammo[ammoCaliber] || {};
if (this.instanceManager.debug) {
console.log(` - Added new caliber ${ammoCaliber} to bot inventory for bot type ${botType}`);
}
if (itemProps.Chambers) {
for (const chamber of itemProps.Chambers) {
const filters = chamber._props.filters;
if (filters && filters.length > 0) {
for (const filter of filters) {
for (const filterItem of filter.Filter) {
botInventory.Ammo[ammoCaliber][filterItem] = botInventory.Ammo[ammoCaliber][filterItem] || 0;
if (this.instanceManager.debug) {
console.log(` - Added filter item ${filterItem} to caliber ${ammoCaliber} in bot inventory for bot type ${botType}`);
}
}
}
}
}
}
}
/**
* Ensures the weapon has a valid preset in the global ItemPresets.
*
* @param {string} itemId - The item ID.
* @return {boolean} True if the weapon has a valid preset, false otherwise.
*/
private ensureValidWeaponPreset(itemId: string): boolean {
const db = this.instanceManager.database;
const presets: Record<string, IPreset> = db.globals.ItemPresets;
for (const presetObj of Object.values(presets)) {
if (presetObj._items[0]._tpl === itemId) {
if (this.instanceManager.debug) {
console.log(` - Valid preset found for item ${itemId}`);
}
return true;
}
}
if (this.instanceManager.debug) {
console.warn(`No valid preset found for item ${itemId} in globals.ItemPresets`);
}
return false;
}
}

View File

@ -0,0 +1,119 @@
import path from "node:path";
import type { ILogger } from "@spt/models/spt/utils/ILogger";
import type { ProfileController } from "@spt/controllers/ProfileController";
import type { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks";
import type { EventOutputHolder } from "@spt/routers/EventOutputHolder";
import type { DatabaseServer } from "@spt/servers/DatabaseServer";
import type { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables";
import type { StaticRouterModService } from "@spt/services/mod/staticRouter/StaticRouterModService";
import type { DynamicRouterModService } from "@spt/services/mod/dynamicRouter/DynamicRouterModService";
import type { TraderAssortService } from "@spt/services/TraderAssortService";
import type { DependencyContainer } from "tsyringe";
import type { CustomItemService } from "@spt/services/mod/CustomItemService";
import type { ImageRouter } from "@spt/routers/ImageRouter";
import type { PreSptModLoader } from "@spt/loaders/PreSptModLoader";
import type { ConfigServer } from "@spt/servers/ConfigServer";
import type { JsonUtil } from "@spt/utils/JsonUtil";
import type { ProfileHelper } from "@spt/helpers/ProfileHelper";
import type { RagfairPriceService } from "@spt/services/RagfairPriceService";
import type { ImporterUtil } from "@spt/utils/ImporterUtil";
import type { SaveServer } from "@spt/servers/SaveServer";
import type { ItemHelper } from "@spt/helpers/ItemHelper";
import type { ApplicationContext } from "@spt/context/ApplicationContext";
import type { VFS } from "@spt/utils/VFS";
export class WTTInstanceManager
{
//#region Accessible in or after preSptLoad
public modName: string;
public debug: boolean;
// Useful Paths
public profilePath: string = path.join(process.cwd(), "\\user\\profiles");
// Instances
public container: DependencyContainer;
public PreSptModLoader: PreSptModLoader;
public configServer: ConfigServer;
public saveServer: SaveServer;
public itemHelper: ItemHelper;
public logger: ILogger;
public staticRouter: StaticRouterModService;
public dynamicRouter: DynamicRouterModService;
public profileController: ProfileController;
public profileCallbacks: ProfileCallbacks;
//#endregion
//#region Acceessible in or after postDBLoad
public database: IDatabaseTables;
public customItem: CustomItemService;
public imageRouter: ImageRouter;
public jsonUtil: JsonUtil;
public profileHelper: ProfileHelper;
public eventOutputHolder: EventOutputHolder;
public ragfairPriceService: RagfairPriceService;
public importerUtil: ImporterUtil;
public traderAssortService: TraderAssortService;
public applicationContext: ApplicationContext;
public vfs: VFS;
//#endregion
// Call at the start of the mods postDBLoad method
public preSptLoad(container: DependencyContainer, mod: string): void
{
this.modName = mod;
this.container = container;
this.PreSptModLoader = container.resolve<PreSptModLoader>("PreSptModLoader");
this.imageRouter = container.resolve<ImageRouter>("ImageRouter");
this.configServer = container.resolve<ConfigServer>("ConfigServer");
this.saveServer = container.resolve<SaveServer>("SaveServer");
this.itemHelper = container.resolve<ItemHelper>("ItemHelper");
this.eventOutputHolder = container.resolve<EventOutputHolder>("EventOutputHolder");
this.profileController = container.resolve<ProfileController>("ProfileController");
this.profileCallbacks = container.resolve<ProfileCallbacks>("ProfileCallbacks");
this.logger = container.resolve<ILogger>("WinstonLogger");
this.staticRouter = container.resolve<StaticRouterModService>("StaticRouterModService");
this.dynamicRouter = container.resolve<DynamicRouterModService>("DynamicRouterModService");
this.traderAssortService = container.resolve<TraderAssortService>("TraderAssortService");
this.vfs = container.resolve<VFS>("VFS");
}
public postDBLoad(container: DependencyContainer): void
{
this.database = container.resolve<DatabaseServer>("DatabaseServer").getTables();
this.customItem = container.resolve<CustomItemService>("CustomItemService");
this.jsonUtil = container.resolve<JsonUtil>("JsonUtil");
this.profileHelper = container.resolve<ProfileHelper>("ProfileHelper");
this.ragfairPriceService = container.resolve<RagfairPriceService>("RagfairPriceService");
this.importerUtil = container.resolve<ImporterUtil>("ImporterUtil");
this.applicationContext = container.resolve<ApplicationContext>("ApplicationContext");
}
public colorLog(message: string, color: string) {
const colorCodes = {
red: "\x1b[31m",
green: "\x1b[32m",
yellow: "\x1b[33m",
blue: "\x1b[34m",
magenta: "\x1b[35m",
cyan: "\x1b[36m",
white: "\x1b[37m",
gray: "\x1b[90m",
brightRed: "\x1b[91m",
brightGreen: "\x1b[92m",
brightYellow: "\x1b[93m",
brightBlue: "\x1b[94m",
brightMagenta: "\x1b[95m",
brightCyan: "\x1b[96m",
brightWhite: "\x1b[97m"
};
const resetCode = "\x1b[0m";
const colorCode = colorCodes[color as keyof typeof colorCodes] || "\x1b[37m"; // Default to white if color is invalid.
console.log(`${colorCode}${message}${resetCode}`); // Log the colored message here
}
}

View File

@ -0,0 +1,94 @@
/* eslint-disable @typescript-eslint/naming-convention */
import fs from "node:fs";
import path from "node:path";
import type { DependencyContainer } from "tsyringe";
import type { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
import type { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod";
import { LogTextColor } from "@spt/models/spt/logging/LogTextColor";
// WTT imports
import { WTTInstanceManager } from "./WTTInstanceManager";
// Boss imports
import { CustomItemService } from "./CustomItemService";
// Custom Trader Assort Items
import { CustomAssortSchemeService } from "./CustomAssortSchemeService";
class WTTArmoryAk5C
implements IPreSptLoadMod, IPostDBLoadMod
{
private instanceManager: WTTInstanceManager = new WTTInstanceManager();
private version: string;
private modName = "WTTArmoryAk5C";
private customItemService: CustomItemService = new CustomItemService();
private customAssortSchemeService: CustomAssortSchemeService = new CustomAssortSchemeService();
debug = false;
// Anything that needs done on preSptLoad, place here.
public preSptLoad(container: DependencyContainer): void
{
// Initialize the instance manager DO NOTHING ELSE BEFORE THIS
this.instanceManager.preSptLoad(container, this.modName);
this.instanceManager.debug = this.debug;
// EVERYTHING AFTER HERE MUST USE THE INSTANCE
this.getVersionFromJson();
this.displayCreditBanner();
this.customItemService.preSptLoad(this.instanceManager);
this.customAssortSchemeService.preSptLoad(this.instanceManager);
}
// Anything that needs done on postDBLoad, place here.
postDBLoad(container: DependencyContainer): void
{
// Initialize the instance manager DO NOTHING ELSE BEFORE THIS
this.instanceManager.postDBLoad(container);
// EVERYTHING AFTER HERE MUST USE THE INSTANCE
this.customItemService.postDBLoad();
this.customAssortSchemeService.postDBLoad();
this.instanceManager.logger.log(
`[${this.modName}] Database: Loading complete.`,
LogTextColor.GREEN
);
}
private getVersionFromJson(): void
{
const packageJsonPath = path.join(__dirname, "../package.json");
fs.readFile(packageJsonPath, "utf-8", (err, data) =>
{
if (err)
{
console.error("Error reading file:", err);
return;
}
const jsonData = JSON.parse(data);
this.version = jsonData.version;
});
}
private displayCreditBanner(): void
{
this.instanceManager.colorLog
(`[${this.modName}] Developers: Tron, MoxoPixel, and the WTT Team
Swede dreams are made of this`, "green");
}
}
module.exports = { mod: new WTTArmoryAk5C() };

View File

@ -0,0 +1,296 @@
/* eslint-disable @typescript-eslint/naming-convention */
import type { IPreset } from "@spt/models/eft/common/IGlobals";
import type { Ixyz } from "@spt/models/eft/common/Ixyz";
import type { IPrefab } from "@spt/models/eft/common/tables/ICustomizationItem";
export interface ConfigItem
{
[itemId: string]: {
itemTplToClone: string;
overrideProperties: {
Prefab: {
path: string;
rcid: string;
};
ReverbVolume: number;
};
parentId: string;
fleaPriceRoubles: number;
handbookPriceRoubles: number;
handbookParentId: string;
locales: {
[locale: string]: {
name: string;
shortName: string;
description: string;
};
};
clearClonedProps: boolean;
addtoInventorySlots: string[];
addtoModSlots: boolean;
modSlot: string[];
ModdableItemWhitelist: string;
ModdableItemBlacklist: string;
addtoTraders: boolean;
traderId: traderIDs;
traderItems: {
unlimitedCount: boolean;
stackObjectsCount: number;
}[];
barterScheme: {
count: number;
_tpl: string;
}[];
loyallevelitems: number;
addtoBots: boolean;
addtoStaticLootContainers: boolean;
StaticLootContainers: string;
Probability: number;
masteries: boolean;
masterySections: {
Name: string;
Templates: string[];
Level2: number;
Level3: number;
};
addweaponpreset: boolean;
weaponpresets: IPreset[];
addtoHallOfFame: boolean;
addtoSpecialSlots: boolean;
};
};
export interface HeadConfig {
path: string;
addHeadToPlayer: boolean;
side: string[];
locales: {
[key: string]: string; // This allows dynamic locale keys, such as "en", "ru", etc.
};
}
export interface VoiceConfig
{
[voiceId: string]: {
locales: {
[key: string]: string; // This allows dynamic locale keys, such as "en", "ru", etc.
};
name: string;
addVoiceToPlayer: boolean;
sideSpecificVoice: string;
addToBotTypes: Record<string, number>;
};
}
export interface ClothingConfig {
type: string; // The type of clothing item, e.g., "bottom"
suiteId: string; // ID of the clothing item's suite
outfitId: string; // Unique identifier for the outfit
bottomId?: string; // ID of the clothing item's bottom
locales: {
[key: string]: string; // This allows dynamic locale keys, such as "en", "ru", etc.
};
topId?: string; // ID of the clothing item's top
handsId?: string; // ID of the clothing item's hands
side: string[]; // Side of the clothing item, e.g., ["usec", "bear"]
bottomBundlePath?: string; // Path to the clothing item's asset bundle
topBundlePath?: string; // Path to the clothing item's top asset bundle
handsBundlePath?: string; // Path to the clothing item's hands asset bundle
watchPrefab?: IPrefab; // Path to the watch prefab asset bundle
watchPosition?: Ixyz; // Position of the watch on the clothing item
watchRotation?: Ixyz; // Rotation of the watch on the clothing item
handsBaseID?: string; // ID of the clothing item's hands base
traderId: string; // Trader who sells this item, e.g., "RAGMAN"
loyaltyLevel: number; // Loyalty level required to purchase the item
profileLevel: number; // Player profile level required to purchase the item
standing: number; // Minimum standing required with the trader
currencyId: string; // Currency type for the item's price, e.g., "ROUBLES"
price: number; // Cost of the clothing item in the specified currency
}
export enum traderIDs
{
MECHANIC = "5a7c2eca46aef81a7ca2145d",
SKIER = "58330581ace78e27b8b10cee",
PEACEKEEPER = "5935c25fb3acc3127c3d8cd9",
THERAPIST = "54cb57776803fa99248b456e",
PRAPOR = "54cb50c76803fa8b248b4571",
JAEGAR = "5c0647fdd443bc2504c2d371",
RAGMAN = "5ac3b934156ae10c4430e83c",
FENCE = "579dc571d53a0658a154fbec",
BADGER = "bd3a8b28356d9c6509966546"
}
export enum currencyIDs
{
ROUBLES = "5449016a4bdc2d6f028b456f",
EUROS = "569668774bdc2da2298b4568",
DOLLARS = "5696686a4bdc2da3298b456a"
}
export enum allBotTypes
{
// Arena Fighters
ARENAFIGHTER = "arenafighter",
ARENAFIGHTEREVENT = "arenafighterevent",
// Scavs
ASSAULT = "assault",
ASSAULTGROUP = "assaultgroup",
MARKSMAN = "marksman",
CRAZYASSAULTEVENT = "crazyassaultevent",
CURSEDASSAULT = "cursedassault",
// PMC's
BEAR = "bear",
USEC = "usec",
PMCBEAR = "pmcbear",
PMCUSEC = "pmcusec",
PMC = "pmcbot",
// ExUsec
EXUSEC = "exusec",
// Cultists
CULTISTPRIEST = "sectantpriest",
CULTISTWARRIOR = "sectantwarrior",
CULTISTONI = "sectantoni",
CULTISTPRIESTEVENT = "sectantpriestevent",
CULTISTPREDVESTNIK = "sectantpredvestnik",
CULTISTPRIZRAK = "sectantprizrak",
// BTR
BTR = "btrshooter",
// Spirits
SPIRITSPRING = "spiritspring",
SPIRITWINTER = "spiritwinter",
// Zombies
INFECTEDASSAULT = "infectedassault",
INFECTEDCIVIL = "infectedcivil",
INFECTEDLABORANT = "infectedlaborant",
INFECTEDPMC = "infectedpmc",
INFECTEDTAGILLA = "infectedtagilla",
// Santa
GIFTER = "gifter",
// Bosses & Followers
// Kaban
KABAN = "bossboar",
KABANSNIPER = "bossboarsniper",
FOLLOWERBOAR = "followerboar",
FOLLOWERBOARCLOSE1 = "followerboarclose1",
FOLLOWERBOARCLOSE2 = "followerboarclose2",
// Killa
KILLA = "bosskilla",
// Kolontay
KOLONTAY = "bosskolontay",
FOLLOWERKOLONTAYASSAULT = "followerkolontayassault",
FOLLOWERKOLONTAYSECURITY = "followerkolontaysecurity",
// Partisan
PARTISAN = "bosspartisan",
// Reshala
RESHALA = "bossbully",
FOLLOWERRESHALA = "followerbully",
// Gluhar
GLUHAR = "bossgluhar",
FOLLOWERGLUHARASSAULT = "followergluharassault",
FOLLOWERGLUHARSCOUT = "followergluharscout",
FOLLOWERGLUHARSECURITY = "followergluharsecurity",
FOLLOWERGLUHARSNIPER = "followergluharsnipe",
// Goons
KNIGHT = "bossknight",
FOLLOWERBIGPIPE = "followerbigpipe",
FOLLOWERBIRDEYE = "followerbirdeye",
// Shturman
SHTURMAN = "bosskojaniy",
FOLLOWERSHTURMAN = "followerkojaniy",
// Sanitar
SANITAR = "bosssanitar",
FOLLOWERSANITAR = "followersanitar",
// Tagilla
TAGILLA = "bosstagilla",
FOLLOWERTAGILLA = "followertagilla",
// Zryachiy
ZRYACHIY = "bosszryachiy",
FOLLOWERZRYACHIY = "followerzryachiy",
PEACEFULZRYACHIYEVENT = "peacefulzryachiyevent",
RAVANGEZRYACHIYEVENT = "ravengezryachiyevent",
// Traders
// Peacemaker
PEACEMAKER = "peacemaker",
// Skier
SKIER = "skier",
}
export enum inventorySlots
{
FirstPrimaryWeapon = "55d729c64bdc2d89028b4570",
SecondPrimaryWeapon = "55d729d14bdc2d86028b456e",
Holster = "55d729d84bdc2de3098b456b",
Scabbard = "55d729e34bdc2d1b198b456d",
FaceCover = "55d729e84bdc2d8a028b4569",
Headwear = "55d729ef4bdc2d3a168b456c",
TacticalVest = "55d729f74bdc2d87028b456e",
SecuredContainer = "55d72a054bdc2d88028b456e",
Backpack = "55d72a104bdc2d89028b4571",
ArmorVest = "55d72a194bdc2d86028b456f",
Pockets = "55d72a274bdc2de3098b456c",
Earpiece = "5665b7164bdc2d144c8b4570",
Dogtag = "59f0be1e86f77453be490939",
Eyewear = "5a0ad9313f1241000e072755",
ArmBand = "5b3f583786f77411d552fb2b"
}
export enum Stashes
{
LEVEL1 = "566abbc34bdc2d92178b4576",
LEVEL2 = "5811ce572459770cba1a34ea",
LEVEL3 = "5811ce662459770f6f490f32",
LEVEL4 = "5811ce772459770e9e5f9532"
}
export interface QuestZone
{
zoneId: string;
zoneName: string;
zoneType: string;
flareType?: string;
zoneLocation: string;
position: {
x: string;
y: string;
z: string;
};
rotation: {
x: string;
y: string;
z: string;
};
scale: {
x: string;
y: string;
z: string;
};
}

View File

@ -0,0 +1,79 @@
export const ItemBaseClassMap: { [itemName: string]: string } = {
"AMMO": "5485a8684bdc2da71d8b4567",
"AMMO_CONTAINER": "543be5cb4bdc2deb348b4568",
"ARMORED_EQUIPMENT": "57bef4c42459772e8d35a53b",
"ARMBAND": "5b3f15d486f77432d0509248",
"ARMOR": "5448e54d4bdc2dcc718b4568",
"ARMORPLATE": "644120aa86ffbe10ee032b6f",
"ASSAULT_CARBINE": "5447b5fc4bdc2d87278b4567",
"ASSAULT_RIFLE": "5447b5f14bdc2d61278b4567",
"ASSAULT_SCOPE": "55818add4bdc2d5b648b456f",
"BACKPACK": "5448e53e4bdc2d60728b4567",
"BARREL": "555ef6e44bdc2de9068b457e",
"BATTERY": "57864ee62459775490116fc1",
"BIPOD": "55818afb4bdc2dde698b456d",
"BUILDING_MATERIAL": "57864ada245977548638de91",
"CHARGING_HANDLE": "55818a6f4bdc2db9688b456b",
"CHEST_RIG": "5448e5284bdc2dcb718b4567",
"COMMON_CONTAINER": "5795f317245977243854e041",
"COMPACT_REFLEX_SIGHT": "55818acf4bdc2dde698b456b",
"COMPASS": "5f4fbaaca5573a5ac31db429",
"DRINK": "5448e8d64bdc2dce718b4568",
"DRUG": "5448f3a14bdc2d27728b4569",
"ELECTRONICS": "57864a66245977548f04a81f",
"FACECOVER": "5a341c4686f77469e155819e",
"FLASHLIGHT": "55818b084bdc2d5b648b4571",
"FLASHHIDER": "550aa4bf4bdc2dd6348b456b",
"FOOD": "5448e8d04bdc2ddf718b4569",
"FOREGRIP": "55818af64bdc2d5b648b4570",
"FUEL": "5d650c3e815116009f6201d2",
"GAS_BLOCK": "56ea9461d2720b67698b456f",
"GRENADE_LAUNCHER": "5447bedf4bdc2d87278b4568",
"HANDGUN": "5447b5cf4bdc2d65278b4567",
"HANDGUARD": "55818a104bdc2db9688b4569",
"HEADPHONES": "5645bcb74bdc2ded0b8b4578",
"HEADWEAR": "5a341c4086f77401f2541505",
"INFO": "5448ecbe4bdc2d60728b4568",
"INVENTORY": "55d720f24bdc2d88028b456d",
"IRON_SIGHT": "55818ac54bdc2d5b648b456e",
"KEYCARD": "5c164d2286f774194c5e69fa",
"KEYMECHANICAL": "5c99f98d86f7745c314214b3",
"KEY_CARD": "5c164d2286f774194c5e69fa",
"KNIFE": "5447e1d04bdc2dff2f8b4567",
"LOCKING_CONTAINER": "5671435f4bdc2d96058b4569",
"LOOT_CONTAINER": "566965d44bdc2d814c8b4571",
"LUBRICANT": "57864e4c24597754843f8723",
"MACHINEGUN": "5447bed64bdc2d97278b4568",
"MAGAZINE": "5448bc234bdc2d3c308b4569",
"MAP": "567849dd4bdc2d150f8b456e",
"MARKSMAN_RIFLE": "5447b6194bdc2d67278b4567",
"MEDICAL_ITEM": "5448f3ac4bdc2dce718b4569",
"MEDICAL_SUPPLIES": "57864c8c245977548867e7f1",
"MEDITKIT": "5448f39d4bdc2d0a728b4568",
"MONEY": "543be5dd4bdc2deb348b4569",
"MUZZLECOMBO": "550aa4dd4bdc2dc9348b4569",
"MOUNT": "55818b224bdc2dde698b456f",
"NIGHTVISION": "5a2c3a9486f774688b05e574",
"OTHER": "590c745b86f7743cc433c5f2",
"PISTOLGRIP": "55818a684bdc2ddd698b456d",
"POCKETS": "557596e64bdc2dc2118b4571",
"PORTABLE_RANGEFINDER": "61605ddea09d851a0a0c1bbc",
"RANDOMLOOTCONTAINER": "62f109593b54472778797866",
"RECEIVER": "55818a304bdc2db5418b457d",
"REFLEX_SIGHT": "55818ad54bdc2ddc698b4569",
"REPAIRKITS": "616eb7aea207f41933308f46",
"SCOPE": "55818ae44bdc2dde698b456c",
"SHOTGUN": "5447b6094bdc2dc3278b4567",
"SILENCER": "550aa4cd4bdc2dd8348b456c",
"SNIPER_RIFLE": "5447b6254bdc2dc3278b4568",
"SPECIAL_ITEM": "5447e0e74bdc2d3c308b4567",
"STASH": "566abbb64bdc2d144c8b457d",
"STATIONARY_CONT.": "567583764bdc2d98058b456e",
"STIMULANT": "5448f3a64bdc2d60728b456a",
"STOCK": "55818a594bdc2db9688b456a",
"THROWABLE_WEAPON": "543be6564bdc2df4348b4568",
"THERMALVISION": "5d21f59b6dbe99052b54ef83",
"TOOL": "57864bb7245977548b3b66c2",
"UBGL": "55818b014bdc2ddc698b456b",
"VIS_OBSERV_DEVICE": "5448e5724bdc2ddf718b4568",
};

View File

@ -0,0 +1,81 @@
export const ItemHandbookCategoryMap: { [itemName: string]: string } = {
"AMMO": "5b47574386f77428ca22b346",
"AMMO_BOXES": "5b47574386f77428ca22b33c",
"AMMO_ROUNDS": "5b47574386f77428ca22b33b",
"BARTER": "5b47574386f77428ca22b33e",
"BARTER_BUILDING": "5b47574386f77428ca22b2ee",
"BARTER_ELECTRONICS": "5b47574386f77428ca22b2ef",
"BARTER_ENERGY": "5b47574386f77428ca22b2ed",
"BARTER_FLAMMABLE": "5b47574386f77428ca22b2f2",
"BARTER_HOUSEHOLD": "5b47574386f77428ca22b2f0",
"BARTER_MEDICAL": "5b47574386f77428ca22b2f3",
"BARTER_OTHERS": "5b47574386f77428ca22b2f4",
"BARTER_TOOLS": "5b47574386f77428ca22b2f6",
"BARTER_VALUABLES": "5b47574386f77428ca22b2f1",
"GEAR": "5b47574386f77428ca22b33f",
"GEAR_ARMOR": "5b5f701386f774093f2ecf0f",
"GEAR_BACKPACKS": "5b5f6f6c86f774093f2ecf0b",
"GEAR_CASES": "5b5f6fa186f77409407a7eb7",
"GEAR_COMPONENTS": "5b5f704686f77447ec5d76d7",
"GEAR_FACECOVERS": "5b47574386f77428ca22b32f",
"GEAR_HEADSETS": "5b5f6f3c86f774094242ef87",
"GEAR_HEADWEAR": "5b47574386f77428ca22b330",
"GEAR_RIGS": "5b5f6f8786f77447ed563642",
"GEAR_SECURED": "5b5f6fd286f774093f2ecf0d",
"GEAR_VISORS": "5b47574386f77428ca22b331",
"INFO": "5b47574386f77428ca22b341",
"KEYS": "5b47574386f77428ca22b342",
"KEYS_ELECTRONIC": "5c518ed586f774119a772aee",
"KEYS_MECHANIC": "5c518ec986f7743b68682ce2",
"MAPS": "5b47574386f77428ca22b343",
"MEDICAL": "5b47574386f77428ca22b344",
"MEDICAL_INJECTORS": "5b47574386f77428ca22b33a",
"MEDICAL_INJURY": "5b47574386f77428ca22b339",
"MEDICAL_MEDKITS": "5b47574386f77428ca22b338",
"MEDICAL_PILLS": "5b47574386f77428ca22b337",
"MODS": "5b5f71a686f77447ed5636ab",
"MODS_FUNCTIONAL": "5b5f71b386f774093f2ecf11",
"MODS_GEAR": "5b5f750686f774093e6cb503",
"MODS_VITAL": "5b5f75b986f77447ec5d7710",
"MOD_ASSAULT_SCOPE": "5b5f740a86f77447ec5d7706",
"MOD_AUX": "5b5f74cc86f77447ec5d770a",
"MOD_BARREL": "5b5f75c686f774094242f19f",
"MOD_BIPOD": "5b5f71c186f77409407a7ec0",
"MOD_CHARGE": "5b5f751486f77447ec5d770c",
"MOD_FLASHHIDER": "5b5f724c86f774093f2ecf15",
"MOD_FOREGRIP": "5b5f71de86f774093f2ecf13",
"MOD_GASBLOCK": "5b5f760586f774093e6cb509",
"MOD_HANDGUARD": "5b5f75e486f77447ec5d7712",
"MOD_IRON_SIGHT": "5b5f746686f77447ec5d7708",
"MOD_LAUNCHER": "5b5f752e86f774093e6cb505",
"MOD_LIGHTLASER": "5b5f736886f774094242f193",
"MOD_MAGAZINE": "5b5f754a86f774094242f19b",
"MOD_MOUNT": "5b5f755f86f77447ec5d770e",
"MOD_MICRO_DOT": "5b5f744786f774094242f197",
"MOD_MUZZLE": "5b5f724186f77447ed5636ad",
"MOD_OPTIC": "5b5f748386f774093e6cb501",
"MOD_PISTOLGRIP": "5b5f761f86f774094242f1a1",
"MOD_RECEIVER": "5b5f764186f77447ec5d7714",
"MOD_SIGHT": "5b5f73ec86f774093e6cb4fd",
"MOD_STOCK": "5b5f757486f774093e6cb507",
"MOD_SUPPRESSOR": "5b5f731a86f774093e6cb4f9",
"MONEY": "5b5f78b786f77447ed5636af",
"PROVISIONS": "5b47574386f77428ca22b340",
"PROVISIONS_DRINKS": "5b47574386f77428ca22b335",
"PROVISIONS_FOOD": "5b47574386f77428ca22b336",
"QUEST": "5b619f1a86f77450a702a6f3",
"SPEC": "5b47574386f77428ca22b345",
"WEAPONS": "5b5f78dc86f77409407a7f8e",
"WEAPONS_ASSAULTRIFLES": "5b5f78fc86f77409407a7f90",
"WEAPONS_BOLTACTION": "5b5f798886f77447ed5636b5",
"WEAPONS_CARBINES": "5b5f78e986f77447ed5636b1",
"WEAPONS_DMR": "5b5f791486f774093f2ed3be",
"WEAPONS_GL": "5b5f79d186f774093f2ed3c2",
"WEAPONS_MG": "5b5f79a486f77409407a7f94",
"WEAPONS_MELEE": "5b5f7a0886f77409407a7f96",
"WEAPONS_PISTOLS": "5b5f792486f77447ed5636b3",
"WEAPONS_SHOTGUNS": "5b5f794b86f77409407a7f92",
"WEAPONS_SMG": "5b5f796a86f774093f2ed3c0",
"WEAPONS_SPECIAL": "5b5f79eb86f77447ed5636b7",
"WEAPONS_THROW": "5b5f7a2386f774093f2ed3c4",
};

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
[General]
gameName=spt
modid=0
version=d2025.1.14.0
newestVersion=
category="1,"
nexusFileStatus=1
installationFile=AUG_AttachmentPack.zip
repository=
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2025-01-15T01:12:37Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
tracked=0
[installedFiles]
1\modid=0
1\fileid=0
size=1

View File

@ -0,0 +1,36 @@
{
"manifest": [
{
"key": "assets/content/items/mods/handguards/handguard_fb20.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/handguards/handguard_guerilla.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/handguards/handguard_turaco.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/magazines/mag_aug_60.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
}
]
}

View File

@ -0,0 +1,24 @@
{
"templates": {
"6786e03b67ad44fd9b0fabd0": {
"Name": "AUG RAS Handguard",
"ShortName": "AUG",
"Description": "ARMY Metal AUG RAS Handguard For AUG A3 AEG Bullpup Rifle"
},
"6786e03b67ad44fd9b0fabd1": {
"Name": "AUG Cantilever Handguard",
"ShortName": "AUG",
"Description": "The AUG Cantilever Forend combines a top rail, side rail, and M-LOK forend into a compact, light, and incredibly versatile package."
},
"6786e03b67ad44fd9b0fabd2": {
"Name": "AUG Turaco handguard",
"ShortName": "AUG",
"Description": "A CNC made handguard with an M-LOK interface."
},
"6786e03b67ad44fd9b0fabd3": {
"Name": "AUG A3 556x45 60-round drum magazine",
"ShortName": "AUG",
"Description": "A modified PMAG-D60 made to fit Steyr AUG A3"
}
}
}

View File

@ -0,0 +1,24 @@
{
"Items": [
{
"Id": "6786e03b67ad44fd9b0fabd0",
"ParentId": "5b5f75e486f77447ec5d7712",
"Price": 20000
},
{
"Id": "6786e03b67ad44fd9b0fabd1",
"ParentId": "5b5f75e486f77447ec5d7712",
"Price": 18000
},
{
"Id": "6786e03b67ad44fd9b0fabd2",
"ParentId": "5b5f75e486f77447ec5d7712",
"Price": 17000
},
{
"Id": "6786e03b67ad44fd9b0fabd3",
"ParentId": "5b5f754a86f774094242f19b",
"Price": 15000
}
]
}

View File

@ -0,0 +1,771 @@
{
"6786e03b67ad44fd9b0fabd0": {
"_id": "6786e03b67ad44fd9b0fabd0",
"_name": "handguard_fb20",
"_parent": "55818a104bdc2db9688b4569",
"_type": "Item",
"_props": {
"Name": "",
"ShortName": "",
"Description": "",
"Weight": 0.209,
"BackgroundColor": "blue",
"Width": 2,
"Height": 1,
"StackMaxSize": 1,
"ItemSound": "mod",
"Prefab": {
"path": "assets/content/items/mods/handguards/handguard_fb20.bundle",
"rcid": ""
},
"UsePrefab": {
"path": "",
"rcid": ""
},
"StackObjectsCount": 1,
"NotShownInSlot": false,
"ExaminedByDefault": true,
"ExamineTime": 1,
"IsUndiscardable": false,
"IsUnsaleable": false,
"IsUnbuyable": false,
"IsUngivable": false,
"IsLockedafterEquip": false,
"QuestItem": false,
"LootExperience": 10,
"ExamineExperience": 3,
"HideEntrails": false,
"RepairCost": 0,
"RepairSpeed": 0,
"ExtraSizeLeft": 1,
"ExtraSizeRight": 0,
"ExtraSizeUp": 0,
"ExtraSizeDown": 0,
"ExtraSizeForceAdd": false,
"MergesWithChildren": true,
"CanSellOnRagfair": true,
"CanRequireOnRagfair": false,
"ConflictingItems": [],
"Unlootable": false,
"UnlootableFromSlot": "FirstPrimaryWeapon",
"UnlootableFromSide": [],
"AnimationVariantsNumber": 0,
"DiscardingBlock": false,
"RagFairCommissionModifier": 1,
"IsAlwaysAvailableForInsurance": false,
"DiscardLimit": -1,
"DropSoundType": "None",
"InsuranceDisabled": false,
"QuestStashMaxCount": 0,
"IsSpecialSlotOnly": false,
"IsUnremovable": false,
"Grids": [],
"Slots": [
{
"_name": "mod_mount_000",
"_id": "5c6d5d8b2e221644fc630b3b",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5a800961159bd4315e3a1657",
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5cc9c20cd7f00c001336c65d",
"5d2369418abbc306c62e0c80",
"5b07dd285acfc4001754240d",
"56def37dd2720bec348b456a",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5a5f1ce64f39f90b401987bc",
"560d657b4bdc2da74d8b4572",
"5b3a337e5acfc4704b4a19a0",
"5c5952732e2216398b5abda2",
"57d17e212459775a1179a0f5",
"6267c6396b642f77f56f5c1c",
"6272370ee4013c5d7e31f418",
"6272379924e29f06af4d5ecb",
"626becf9582c3e319310b837"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_mount_001",
"_id": "5c6d5d8b2e221644fc630b3c",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5a800961159bd4315e3a1657",
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5cc9c20cd7f00c001336c65d",
"5d2369418abbc306c62e0c80",
"5b07dd285acfc4001754240d",
"56def37dd2720bec348b456a",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5a5f1ce64f39f90b401987bc",
"560d657b4bdc2da74d8b4572",
"5b3a337e5acfc4704b4a19a0",
"5c5952732e2216398b5abda2",
"57d17e212459775a1179a0f5",
"6267c6396b642f77f56f5c1c",
"6272370ee4013c5d7e31f418",
"6272379924e29f06af4d5ecb",
"626becf9582c3e319310b837"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_tactical",
"_id": "5c6d5d8b2e221644fc630b3e",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5c5952732e2216398b5abda2"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_foregrip",
"_id": "5c6d5d8b2e221644fc630b40",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5c7fc87d2e221644f31c0298",
"5cda9bcfd7f00c0c0b53e900",
"59f8a37386f7747af3328f06",
"619386379fb0c665d5490dbe",
"5c87ca002e221600114cb150",
"588226d124597767ad33f787",
"588226dd24597767ad33f789",
"588226e62459776e3e094af7",
"588226ef24597767af46e39c",
"59fc48e086f77463b1118392",
"5fce0cf655375d18a253eff0",
"5cf4fb76d7f00c065703d3ac",
"5b057b4f5acfc4771e1bd3e9",
"5c791e872e2216001219c40a",
"558032614bdc2de7118b4585",
"58c157be86f77403c74b2bb6",
"58c157c886f774032749fb06",
"5f6340d3ca442212f4047eb2",
"591af28e86f77414a27a9e1d",
"5c1cd46f2e22164bef5cfedb",
"5c1bc4812e22164bef5cfde7",
"5c1bc5612e221602b5429350",
"5c1bc5af2e221602b412949b",
"5c1bc5fb2e221602b1779b32",
"5c1bc7432e221602b412949d",
"5c1bc7752e221602b1779b34"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
}
],
"CanPutIntoDuringTheRaid": true,
"CantRemoveFromSlotsDuringRaid": [],
"Durability": 100,
"Accuracy": 0,
"Recoil": -1,
"Loudness": 0,
"EffectiveDistance": 0,
"Ergonomics": 8,
"Velocity": 0,
"RaidModdable": false,
"ToolModdable": true,
"BlocksFolding": false,
"BlocksCollapsible": false,
"IsAnimated": false,
"HasShoulderContact": false,
"SightingRange": 0,
"DoubleActionAccuracyPenaltyMult": 1,
"HeatFactor": 0.985,
"CoolFactor": 1.055
},
"_proto": "55d459824bdc2d892f8b4573"
},
"6786e03b67ad44fd9b0fabd1": {
"_id": "6786e03b67ad44fd9b0fabd1",
"_name": "handguard_guerilla",
"_parent": "55818a104bdc2db9688b4569",
"_type": "Item",
"_props": {
"Name": "",
"ShortName": "",
"Description": "",
"Weight": 0.209,
"BackgroundColor": "blue",
"Width": 2,
"Height": 1,
"StackMaxSize": 1,
"ItemSound": "mod",
"Prefab": {
"path": "assets/content/items/mods/handguards/handguard_guerilla.bundle",
"rcid": ""
},
"UsePrefab": {
"path": "",
"rcid": ""
},
"StackObjectsCount": 1,
"NotShownInSlot": false,
"ExaminedByDefault": true,
"ExamineTime": 1,
"IsUndiscardable": false,
"IsUnsaleable": false,
"IsUnbuyable": false,
"IsUngivable": false,
"IsLockedafterEquip": false,
"QuestItem": false,
"LootExperience": 10,
"ExamineExperience": 3,
"HideEntrails": false,
"RepairCost": 0,
"RepairSpeed": 0,
"ExtraSizeLeft": 1,
"ExtraSizeRight": 0,
"ExtraSizeUp": 0,
"ExtraSizeDown": 0,
"ExtraSizeForceAdd": false,
"MergesWithChildren": true,
"CanSellOnRagfair": true,
"CanRequireOnRagfair": false,
"ConflictingItems": [],
"Unlootable": false,
"UnlootableFromSlot": "FirstPrimaryWeapon",
"UnlootableFromSide": [],
"AnimationVariantsNumber": 0,
"DiscardingBlock": false,
"RagFairCommissionModifier": 1,
"IsAlwaysAvailableForInsurance": false,
"DiscardLimit": -1,
"DropSoundType": "None",
"InsuranceDisabled": false,
"QuestStashMaxCount": 0,
"IsSpecialSlotOnly": false,
"IsUnremovable": false,
"Grids": [],
"Slots": [
{
"_name": "mod_mount_001",
"_id": "5c6d5d8b2e221644fc630b3c",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5a800961159bd4315e3a1657",
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5cc9c20cd7f00c001336c65d",
"5d2369418abbc306c62e0c80",
"5b07dd285acfc4001754240d",
"56def37dd2720bec348b456a",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5a5f1ce64f39f90b401987bc",
"560d657b4bdc2da74d8b4572",
"5b3a337e5acfc4704b4a19a0",
"5c5952732e2216398b5abda2",
"57d17e212459775a1179a0f5",
"6267c6396b642f77f56f5c1c",
"6272370ee4013c5d7e31f418",
"6272379924e29f06af4d5ecb",
"626becf9582c3e319310b837"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_foregrip",
"_id": "5c6d5d8b2e221644fc630b40",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5c7fc87d2e221644f31c0298",
"5cda9bcfd7f00c0c0b53e900",
"59f8a37386f7747af3328f06",
"619386379fb0c665d5490dbe",
"5c87ca002e221600114cb150",
"588226d124597767ad33f787",
"588226dd24597767ad33f789",
"588226e62459776e3e094af7",
"588226ef24597767af46e39c",
"59fc48e086f77463b1118392",
"5fce0cf655375d18a253eff0",
"5cf4fb76d7f00c065703d3ac",
"5b057b4f5acfc4771e1bd3e9",
"5c791e872e2216001219c40a",
"558032614bdc2de7118b4585",
"58c157be86f77403c74b2bb6",
"58c157c886f774032749fb06",
"5f6340d3ca442212f4047eb2",
"591af28e86f77414a27a9e1d",
"5c1cd46f2e22164bef5cfedb",
"5c1bc4812e22164bef5cfde7",
"5c1bc5612e221602b5429350",
"5c1bc5af2e221602b412949b",
"5c1bc5fb2e221602b1779b32",
"5c1bc7432e221602b412949d",
"5c1bc7752e221602b1779b34"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_tactical",
"_id": "5c6d5d8b2e221644fc630b3e",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5c5952732e2216398b5abda2"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
}
],
"CanPutIntoDuringTheRaid": true,
"CantRemoveFromSlotsDuringRaid": [],
"Durability": 100,
"Accuracy": 0,
"Recoil": -1,
"Loudness": 0,
"EffectiveDistance": 0,
"Ergonomics": 8,
"Velocity": 0,
"RaidModdable": false,
"ToolModdable": true,
"BlocksFolding": false,
"BlocksCollapsible": false,
"IsAnimated": false,
"HasShoulderContact": false,
"SightingRange": 0,
"DoubleActionAccuracyPenaltyMult": 1,
"HeatFactor": 0.985,
"CoolFactor": 1.055
},
"_proto": "55d459824bdc2d892f8b4573"
},
"6786e03b67ad44fd9b0fabd2": {
"_id": "6786e03b67ad44fd9b0fabd2",
"_name": "handguard_turaco",
"_parent": "55818a104bdc2db9688b4569",
"_type": "Item",
"_props": {
"Name": "",
"ShortName": "",
"Description": "",
"Weight": 0.209,
"BackgroundColor": "blue",
"Width": 2,
"Height": 1,
"StackMaxSize": 1,
"ItemSound": "mod",
"Prefab": {
"path": "assets/content/items/mods/handguards/handguard_turaco.bundle",
"rcid": ""
},
"UsePrefab": {
"path": "",
"rcid": ""
},
"StackObjectsCount": 1,
"NotShownInSlot": false,
"ExaminedByDefault": true,
"ExamineTime": 1,
"IsUndiscardable": false,
"IsUnsaleable": false,
"IsUnbuyable": false,
"IsUngivable": false,
"IsLockedafterEquip": false,
"QuestItem": false,
"LootExperience": 10,
"ExamineExperience": 3,
"HideEntrails": false,
"RepairCost": 0,
"RepairSpeed": 0,
"ExtraSizeLeft": 1,
"ExtraSizeRight": 0,
"ExtraSizeUp": 0,
"ExtraSizeDown": 0,
"ExtraSizeForceAdd": false,
"MergesWithChildren": true,
"CanSellOnRagfair": true,
"CanRequireOnRagfair": false,
"ConflictingItems": [],
"Unlootable": false,
"UnlootableFromSlot": "FirstPrimaryWeapon",
"UnlootableFromSide": [],
"AnimationVariantsNumber": 0,
"DiscardingBlock": false,
"RagFairCommissionModifier": 1,
"IsAlwaysAvailableForInsurance": false,
"DiscardLimit": -1,
"DropSoundType": "None",
"InsuranceDisabled": false,
"QuestStashMaxCount": 0,
"IsSpecialSlotOnly": false,
"IsUnremovable": false,
"Grids": [],
"Slots": [
{
"_name": "mod_mount_000",
"_id": "5c6d5d8b2e221644fc630b3b",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5a800961159bd4315e3a1657",
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5cc9c20cd7f00c001336c65d",
"5d2369418abbc306c62e0c80",
"5b07dd285acfc4001754240d",
"56def37dd2720bec348b456a",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5a5f1ce64f39f90b401987bc",
"560d657b4bdc2da74d8b4572",
"5b3a337e5acfc4704b4a19a0",
"5c5952732e2216398b5abda2",
"57d17e212459775a1179a0f5",
"6267c6396b642f77f56f5c1c",
"6272370ee4013c5d7e31f418",
"6272379924e29f06af4d5ecb",
"626becf9582c3e319310b837"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_mount_001",
"_id": "5c6d5d8b2e221644fc630b3c",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5a800961159bd4315e3a1657",
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5cc9c20cd7f00c001336c65d",
"5d2369418abbc306c62e0c80",
"5b07dd285acfc4001754240d",
"56def37dd2720bec348b456a",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5a5f1ce64f39f90b401987bc",
"560d657b4bdc2da74d8b4572",
"5b3a337e5acfc4704b4a19a0",
"5c5952732e2216398b5abda2",
"57d17e212459775a1179a0f5",
"6267c6396b642f77f56f5c1c",
"6272370ee4013c5d7e31f418",
"6272379924e29f06af4d5ecb",
"626becf9582c3e319310b837"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_tactical",
"_id": "5c6d5d8b2e221644fc630b3e",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"57fd23e32459772d0805bcf1",
"544909bb4bdc2d6f028b4577",
"5d10b49bd7ad1a1a560708b0",
"5c06595c0db834001a66af6c",
"5a7b483fe899ef0016170d15",
"61605d88ffa6e502ac5e7eeb",
"5c5952732e2216398b5abda2"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
},
{
"_name": "mod_foregrip",
"_id": "5c6d5d8b2e221644fc630b40",
"_parent": "5c6d5d8b2e221644fc630b39",
"_props": {
"filters": [
{
"Shift": 0,
"Filter": [
"5c7fc87d2e221644f31c0298",
"5cda9bcfd7f00c0c0b53e900",
"59f8a37386f7747af3328f06",
"619386379fb0c665d5490dbe",
"5c87ca002e221600114cb150",
"588226d124597767ad33f787",
"588226dd24597767ad33f789",
"588226e62459776e3e094af7",
"588226ef24597767af46e39c",
"59fc48e086f77463b1118392",
"5fce0cf655375d18a253eff0",
"5cf4fb76d7f00c065703d3ac",
"5b057b4f5acfc4771e1bd3e9",
"5c791e872e2216001219c40a",
"558032614bdc2de7118b4585",
"58c157be86f77403c74b2bb6",
"58c157c886f774032749fb06",
"5f6340d3ca442212f4047eb2",
"591af28e86f77414a27a9e1d",
"5c1cd46f2e22164bef5cfedb",
"5c1bc4812e22164bef5cfde7",
"5c1bc5612e221602b5429350",
"5c1bc5af2e221602b412949b",
"5c1bc5fb2e221602b1779b32",
"5c1bc7432e221602b412949d",
"5c1bc7752e221602b1779b34",
"5a7dbfc1159bd40016548fde"
]
}
]
},
"_required": false,
"_mergeSlotWithChildren": false,
"_proto": "55d30c4c4bdc2db4468b457e"
}
],
"CanPutIntoDuringTheRaid": true,
"CantRemoveFromSlotsDuringRaid": [],
"Durability": 100,
"Accuracy": 0,
"Recoil": -1,
"Loudness": 0,
"EffectiveDistance": 0,
"Ergonomics": 8,
"Velocity": 0,
"RaidModdable": false,
"ToolModdable": true,
"BlocksFolding": false,
"BlocksCollapsible": false,
"IsAnimated": false,
"HasShoulderContact": false,
"SightingRange": 0,
"DoubleActionAccuracyPenaltyMult": 1,
"HeatFactor": 0.985,
"CoolFactor": 1.055
},
"_proto": "55d459824bdc2d892f8b4573"
},
"6786e03b67ad44fd9b0fabd3": {
"_id": "6786e03b67ad44fd9b0fabd3",
"_name": "mag_aug_60",
"_parent": "5448bc234bdc2d3c308b4569",
"_type": "Item",
"_props": {
"Name": "",
"ShortName": "",
"Description": "",
"Weight": 0.58,
"BackgroundColor": "yellow",
"Width": 1,
"Height": 2,
"StackMaxSize": 1,
"ItemSound": "mag_plastic",
"Prefab": {
"path": "assets/content/items/mods/magazines/mag_aug_60.bundle",
"rcid": ""
},
"UsePrefab": {
"path": "",
"rcid": ""
},
"StackObjectsCount": 1,
"NotShownInSlot": false,
"ExaminedByDefault": true,
"ExamineTime": 1,
"IsUndiscardable": false,
"IsUnsaleable": false,
"IsUnbuyable": false,
"IsUngivable": false,
"IsLockedafterEquip": false,
"QuestItem": false,
"LootExperience": 10,
"ExamineExperience": 2,
"HideEntrails": false,
"RepairCost": 0,
"RepairSpeed": 0,
"ExtraSizeLeft": 0,
"ExtraSizeRight": 0,
"ExtraSizeUp": 0,
"ExtraSizeDown": 1,
"ExtraSizeForceAdd": false,
"MergesWithChildren": true,
"CanSellOnRagfair": false,
"CanRequireOnRagfair": false,
"ConflictingItems": [],
"Unlootable": false,
"UnlootableFromSlot": "FirstPrimaryWeapon",
"UnlootableFromSide": [],
"AnimationVariantsNumber": 0,
"DiscardingBlock": false,
"RagFairCommissionModifier": 1,
"IsAlwaysAvailableForInsurance": false,
"DiscardLimit": -1,
"DropSoundType": "None",
"InsuranceDisabled": false,
"QuestStashMaxCount": 0,
"IsSpecialSlotOnly": false,
"IsUnremovable": false,
"Grids": [],
"Slots": [],
"CanPutIntoDuringTheRaid": true,
"CantRemoveFromSlotsDuringRaid": [],
"Durability": 100,
"Accuracy": 0,
"Recoil": 0,
"Loudness": 0,
"EffectiveDistance": 0,
"Ergonomics": -16,
"Velocity": 0,
"RaidModdable": true,
"ToolModdable": false,
"BlocksFolding": false,
"BlocksCollapsible": false,
"IsAnimated": false,
"HasShoulderContact": false,
"SightingRange": 0,
"DoubleActionAccuracyPenaltyMult": 1,
"magAnimationIndex": 5,
"Cartridges": [
{
"_name": "cartridges",
"_id": "59c1383d86f774290a37e0cb",
"_parent": "59c1383d86f774290a37e0ca",
"_max_count": 60,
"_props": {
"filters": [
{
"Filter": [
"59e6920f86f77411d82aa167",
"59e6927d86f77411da468256",
"54527a984bdc2d4e668b4567",
"54527ac44bdc2d36668b4567",
"59e68f6f86f7746c9f75e846",
"59e6906286f7746c9f75e847",
"59e690b686f7746c9f75e848",
"59e6918f86f7746c9f75e849",
"60194943740c5d77f6705eea",
"601949593ae8f707c4608daa",
"5c0d5ae286f7741e46554302",
"5fbe3ffdf8b6a877a729ea82",
"5fd20ff893a8961fc660a954",
"619636be6db0f2477964e710",
"6196364158ef8c428c287d9f",
"6196365d58ef8c428c287da1"
]
}
]
},
"_proto": "5748538b2459770af276a261"
}
],
"CanFast": true,
"CanHit": false,
"CanAdmin": false,
"LoadUnloadModifier": 60,
"CheckTimeModifier": 20,
"CheckOverride": 0,
"ReloadMagType": "ExternalMagazine",
"VisibleAmmoRangesString": "1-3",
"MalfunctionChance": 0.3,
"TagColor": 0,
"TagName": ""
},
"_proto": "55802d5f4bdc2dac148b458e"
}
}

View File

@ -0,0 +1,87 @@
{
"traderId":"5935c25fb3acc3127c3d8cd9",
"assorts":{
"items":[
{
"_id":"6786e03b67ad44fd9b0fabd0",
"_tpl":"6786e03b67ad44fd9b0fabd0",
"parentId":"hideout",
"slotId":"hideout",
"upd":{
"UnlimitedCount":true,
"StackObjectsCount":999999
}
},
{
"_id":"6786e03b67ad44fd9b0fabd1",
"_tpl":"6786e03b67ad44fd9b0fabd1",
"parentId":"hideout",
"slotId":"hideout",
"upd":{
"UnlimitedCount":true,
"StackObjectsCount":999999
}
},
{
"_id":"6786e03b67ad44fd9b0fabd2",
"_tpl":"6786e03b67ad44fd9b0fabd2",
"parentId":"hideout",
"slotId":"hideout",
"upd":{
"UnlimitedCount":true,
"StackObjectsCount":999999
}
},
{
"_id":"6786e03b67ad44fd9b0fabd3",
"_tpl":"6786e03b67ad44fd9b0fabd3",
"parentId":"hideout",
"slotId":"hideout",
"upd":{
"UnlimitedCount":true,
"StackObjectsCount":999999
}
}
],
"barter_scheme":{
"6786e03b67ad44fd9b0fabd0":[
[
{
"count":21000,
"_tpl":"5449016a4bdc2d6f028b456f"
}
]
],
"6786e03b67ad44fd9b0fabd1":[
[
{
"count":21000,
"_tpl":"5449016a4bdc2d6f028b456f"
}
]
],
"6786e03b67ad44fd9b0fabd2":[
[
{
"count":21000,
"_tpl":"5449016a4bdc2d6f028b456f"
}
]
],
"6786e03b67ad44fd9b0fabd3":[
[
{
"count":21000,
"_tpl":"5449016a4bdc2d6f028b456f"
}
]
]
},
"loyal_level_items":{
"6786e03b67ad44fd9b0fabd0":3,
"6786e03b67ad44fd9b0fabd1":3,
"6786e03b67ad44fd9b0fabd2":3,
"6786e03b67ad44fd9b0fabd3":3
}
}
}

View File

@ -0,0 +1,103 @@
"use strict";
let mydb;
class Mod {
postDBLoad(container) {
// Credit Banner
console.log(`
=======================================
| AUG Attachment Pack |
| Created by: KoKaZ93 |
| 3.10 Port made by: GMAK3R |
=======================================
`);
const modLoader = container.resolve("PreSptModLoader");
const importerUtil = container.resolve("ImporterUtil");
const db = container.resolve("DatabaseServer").getTables();
const locales = db.locales.global;
const items = db.templates.items;
const handbook = db.templates.handbook.Items;
const peacekeeper = db.traders["5935c25fb3acc3127c3d8cd9"];
mydb = importerUtil.loadRecursive(`${modLoader.getModPath("AUG_AttachmentPack")}database/`);
for (const item in mydb.templates.items) {
items[item] = mydb.templates.items[item];
}
for (const item of mydb.templates.handbook.Items) {
handbook.push(item);
}
for (const item of mydb.traders.assort.assorts.items) {
peacekeeper.assort.items.push(item);
}
for (const bc in mydb.traders.assort.assorts.barter_scheme) {
peacekeeper.assort.barter_scheme[bc] = mydb.traders.assort.assorts.barter_scheme[bc];
}
for (const level in mydb.traders.assort.assorts.loyal_level_items) {
peacekeeper.assort.loyal_level_items[level] = mydb.traders.assort.assorts.loyal_level_items[level];
}
for (const localeID in locales) {
if (localeID == "en") {
for (const [itemId, template] of Object.entries(mydb.locales.en.templates)) {
for (const [key, value] of Object.entries(template)) {
locales[localeID][`${itemId} ${key}`] = value;
}
}
}
}
Mod.addHandguardToFilters(db);
Mod.addMagazineToFilters(db);
}
static addHandguardToFilters(db) {
const isItemSlotsExist = (item) =>
item._props && item._props.Slots && item._props.Slots.length > 0;
const attachmentToAdd = ["6786e03b67ad44fd9b0fabd0", "6786e03b67ad44fd9b0fabd1", "6786e03b67ad44fd9b0fabd2"];
const attachmentItemId = "634e61b0767cb15c4601a877";
for (const item of Object.values(db.templates.items)) {
if (isItemSlotsExist(item)) {
for (const slot of item._props.Slots) {
if (slot._props.filters.some((filter) => filter.Filter.includes(attachmentItemId))) {
slot._props.filters.forEach((filter) => {
if (filter.Filter.includes(attachmentItemId)) {
filter.Filter.push(...attachmentToAdd);
}
});
}
}
}
}
}
static addMagazineToFilters(db) {
const isItemSlotsExist = (item) =>
item._props && item._props.Slots && item._props.Slots.length > 0;
const attachmentToAdd = "6786e03b67ad44fd9b0fabd3";
const attachmentItemId = "630e1adbbd357927e4007c09";
for (const item of Object.values(db.templates.items)) {
if (isItemSlotsExist(item)) {
for (const slot of item._props.Slots) {
if (slot._props.filters.some((filter) => filter.Filter.includes(attachmentItemId))) {
slot._props.filters.forEach((filter) => {
if (filter.Filter.includes(attachmentItemId)) {
filter.Filter.push(attachmentToAdd);
}
});
}
}
}
}
}
}
module.exports = { mod: new Mod() };

View File

@ -0,0 +1,9 @@
{
"name": "AUG Attachment Pack",
"author": "KoKaZ93",
"license": "CC BY-NC-SA 3.0",
"version": "1.0.4",
"sptVersion": "3.10.x",
"main": "mod.js",
"isBundleMod": true
}

View File

@ -1,63 +0,0 @@
{
"AlwaysEnemies": [
"arenaFighter",
"arenaFighterEvent",
"assault",
"assaultGroup",
"bossBoar",
"bossBoarSniper",
"bossBully",
"bossGluhar",
"bossKilla",
"bossKnight",
"bossKojaniy",
"bossKolontay",
"bossPartisan",
"bossSanitar",
"bossTagilla",
"crazyAssaultEvent",
"cursedAssault",
"exUsec",
"followerBigPipe",
"followerBirdEye",
"followerBoar",
"followerBoarClose1",
"followerBoarClose2",
"followerGluharAssault",
"followerGluharScout",
"followerGluharSecurity",
"followerGluharSnipe",
"followerKojaniy",
"followerKolontayAssault",
"followerKolontaySecurity",
"followerSanitar",
"followerTagilla",
"marksman",
"peacemaker",
"pmcBEAR",
"pmcBot",
"pmcUSEC",
"sectactPriestEvent",
"sectantPriest",
"sectantWarrior",
"skier",
"spiritSpring",
"spiritWinter"
],
"AlwaysFriends": [
"bossZryachiy",
"followerZryachiy",
"gifter",
"peacefullZryachiyEvent",
"ravangeZryachiyEvent"
],
"BearEnemyChance": 100,
"BearPlayerBehaviour": "AlwaysEnemies",
"BotRole": "",
"ChancedEnemies": [],
"Neutral": [],
"SavagePlayerBehaviour": "AlwaysEnemies",
"UsecEnemyChance": 100,
"UsecPlayerBehaviour": "AlwaysEnemies",
"Warn": []
}

View File

@ -1,174 +0,0 @@
{
"CustomsSpawnZones": [
"ZoneBrige",
"ZoneCrossRoad",
"ZoneDormitory",
"ZoneGasStation",
"ZoneFactoryCenter",
"ZoneFactorySide",
"ZoneOldAZS",
"ZoneBlockPost",
"ZoneTankSquare",
"ZoneWade",
"ZoneCustoms",
"ZoneScavBase"
],
"CustomsSnipeSpawnZones": [
"ZoneSnipeBrige",
"ZoneSnipeTower",
"ZoneSnipeFactory",
"ZoneBlockPostSniper"
],
"FactorySpawnZones": [
"BotZone"
],
"InterchangeSpawnZones": [
"ZoneCenterBot",
"ZoneIDEA",
"ZoneCenter",
"ZoneIDEAPark",
"ZoneTrucks",
"ZoneRoad",
"ZoneOLI",
"ZoneGoshan",
"ZoneOLIPark",
"ZonePowerStation"
],
"LabsGateSpawnZones": [
"BotZoneGate1",
"BotZoneGate2"
],
"LabsNonGateSpawnZones": [
"BotZoneBasement",
"BotZoneFloor1",
"BotZoneFloor2"
],
"LighthouseNonWaterTreatmentSpawnZones": [
"Zone_Containers",
"Zone_Rocks",
"Zone_Chalet",
"Zone_Village",
"Zone_Bridge",
"Zone_OldHouse",
"Zone_LongRoad",
"Zone_RoofBeach",
"Zone_DestroyedHouse",
"Zone_RoofContainers",
"Zone_Blockpost",
"Zone_RoofRocks",
"Zone_TreatmentRocks",
"Zone_TreatmentContainers",
"Zone_TreatmentBeach",
"Zone_Hellicopter",
"Zone_SniperPeak",
"Zone_Island"
],
"LighthouseWaterTreatmentSpawnZones": [
"Zone_Containers",
"Zone_Rocks",
"Zone_Chalet",
"Zone_Village",
"Zone_Bridge",
"Zone_OldHouse",
"Zone_LongRoad",
"Zone_RoofBeach",
"Zone_DestroyedHouse",
"Zone_RoofContainers",
"Zone_Blockpost",
"Zone_RoofRocks",
"Zone_TreatmentRocks",
"Zone_TreatmentContainers",
"Zone_TreatmentBeach",
"Zone_Hellicopter",
"Zone_Island"
],
"LighthouseSnipeSpawnZones": [
"Zone_SniperPeak"
],
"ReserveSpawnZones": [
"ZoneRailStrorage",
"ZonePTOR1",
"ZonePTOR2",
"ZoneBarrack",
"ZoneBunkerStorage",
"ZoneSubStorage",
"ZoneSubCommand"
],
"GroundZeroSpawnZones": [
"ZoneSandbox"
],
"GroundZeroSnipeSpawnZones": [
"ZoneSandSnipeCenter",
"ZoneSandSnipeCenter2"
],
"ShorelineSpawnZones": [
"ZoneGreenHouses",
"ZoneIsland",
"ZoneForestGasStation",
"ZoneGasStation",
"ZonePowerStation",
"ZoneBunker",
"ZoneBusStation",
"ZonePort",
"ZoneForestTruck",
"ZoneForestSpawn",
"ZoneSanatorium1",
"ZoneSanatorium2",
"ZoneStartVillage",
"ZoneMeteoStation",
"ZoneRailWays",
"ZoneSmuglers",
"ZonePassClose",
"ZoneTunnel"
],
"ShorelineSnipeSpawnZones": [
"ZoneBunkeSniper",
"ZonePowerStationSniper"
],
"StreetsSpawnZones": [
"ZoneSW01",
"ZoneConstruction",
"ZoneCarShowroom",
"ZoneCinema",
"ZoneFactory",
"ZoneHotel_1",
"ZoneHotel_2",
"ZoneConcordia_1",
"ZoneConcordiaParking",
"ZoneColumn",
"ZoneSW00",
"ZoneStilo",
"ZoneCard1",
"ZoneMvd",
"ZoneClimova"
],
"StreetsSnipeSpawnZones": [
"ZoneSnipeCinema",
"ZoneSnipeBuilding",
"ZoneSnipeSW01",
"ZoneSnipeStilo",
"ZoneSnipeCard",
"ZoneSnipeCarShowroom"
],
"WoodsSpawnZones": [
"ZoneWoodCutter",
"ZoneHouse",
"ZoneBigRocks",
"ZoneRoad",
"ZoneHighRocks",
"ZoneMiniHouse",
"ZoneRedHouse",
"ZoneScavBase2",
"ZoneClearVill",
"ZoneBrokenVill",
"ZoneUsecBase",
"ZoneStoneBunker",
"ZoneDepo"
],
"WoodsSnipeSpawnZones": [
"ZoneHighRocks"
],
"LabyrinthSpawnZones": [
""
]
}

View File

@ -1,52 +0,0 @@
{
"pmcUSEC": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcUSEC",
"BossName": "pmcUSEC",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": [
"pve"
],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
}
],
"pmcBEAR": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcBEAR",
"BossName": "pmcBEAR",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": [
"pve"
],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
}
]
}

View File

@ -1,15 +0,0 @@
{
"BotPreset": "easy",
"BotSide": "Savage",
"SpawnMode": [
"pve"
],
"SpawnPoints": "ZoneBrige",
"WildSpawnType": "assault",
"isPlayers": false,
"number": 0,
"slots_max": 0,
"slots_min": 0,
"time_max": -1,
"time_min": -1
}

View File

@ -1,779 +0,0 @@
{
"pmcDifficulty": {
"easy": 10,
"normal": 50,
"hard": 30,
"impossible": 10
},
"pmcConfig": {
"startingPMCs": {
"enable": true,
"ignoreMaxBotCaps": true,
"groupChance": 25,
"maxGroupSize": 3,
"maxGroupCount": 4,
"mapLimits": {
"bigmap": {
"min": 8,
"max": 10
},
"factory4_day": {
"min": 5,
"max": 7
},
"factory4_night": {
"min": 5,
"max": 7
},
"interchange": {
"min": 9,
"max": 13
},
"laboratory": {
"min": 7,
"max": 9
},
"lighthouse": {
"min": 7,
"max": 10
},
"rezervbase": {
"min": 8,
"max": 10
},
"sandbox": {
"min": 8,
"max": 11
},
"sandbox_high": {
"min": 8,
"max": 11
},
"shoreline": {
"min": 9,
"max": 13
},
"tarkovstreets": {
"min": 7,
"max": 10
},
"woods": {
"min": 9,
"max": 13
},
"labyrinth": {
"min": 0,
"max": 0
}
}
},
"waves": {
"enable": false,
"ignoreMaxBotCaps": false,
"groupChance": 10,
"maxGroupSize": 2,
"maxGroupCount": 3,
"maxBotsPerWave": 5,
"delayBeforeFirstWave": 500,
"secondsBetweenWaves": 360,
"stopWavesBeforeEndOfRaidLimit": 300
}
},
"scavConfig": {
"startingScavs": {
"enable": true,
"maxBotSpawns": {
"bigmap": 5,
"factory4_day": 3,
"factory4_night": 3,
"interchange": 5,
"laboratory": 0,
"lighthouse": 5,
"rezervbase": 5,
"sandbox": 5,
"sandbox_high": 5,
"shoreline": 5,
"tarkovstreets": 5,
"woods": 5,
"labyrinth": 0
},
"startingMarksman": true
},
"waves": {
"enable": true,
"enableCustomFactory": true,
"startSpawns": 60,
"stopSpawns": 600,
"activeTimeMin": 180,
"activeTimeMax": 240,
"quietTimeMin": 120,
"quietTimeMax": 180,
"checkToSpawnTimer": 15,
"pendingBotsToTrigger": 3
}
},
"bossDifficulty": {
"easy": 0,
"normal": 60,
"hard": 30,
"impossible": 10
},
"bossConfig": {
"bossKnight": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 30,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 30,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 30,
"tarkovstreets": 0,
"woods": 30,
"labyrinth": 0
},
"bossZone": {
"bigmap": "ZoneScavBase",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "Zone_TreatmentContainers,Zone_Chalet",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "ZoneMeteoStation",
"tarkovstreets": "",
"woods": "ZoneScavBase2",
"labyrinth": ""
}
},
"bossBully": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 30,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "ZoneDormitory,ZoneGasStation,ZoneScavBase",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossTagilla": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 30,
"factory4_night": 30,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "BotZone",
"factory4_night": "BotZone",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossKilla": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 30,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "ZoneCenterBot,ZoneCenter,ZoneOLI,ZoneIDEA,ZoneGoshan",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossZryachiy": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 100,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "Zone_Island",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossGluhar": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 30,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "ZoneRailStrorage,ZonePTOR2,ZoneBarrack,ZoneSubStorage",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossSanitar": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 30,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "ZoneGreenHouses,ZoneSanatorium1,ZoneSanatorium2,ZonePort",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossKolontay": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 30,
"shoreline": 0,
"tarkovstreets": 30,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "ZoneSandbox",
"shoreline": "",
"tarkovstreets": "ZoneClimova,ZoneMvd",
"woods": "",
"labyrinth": ""
}
},
"bossBoar": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 30,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "ZoneCarShowroom",
"woods": "",
"labyrinth": ""
}
},
"bossKojaniy": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 30,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "ZoneWoodCutter",
"labyrinth": ""
}
},
"bossTagillaAgro": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 100
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossKillaAgro": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 100
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"tagillaHelperAgro": {
"enable": true,
"addExtraSpawns": false,
"disableVanillaSpawns": false,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 100
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"bossPartisan": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 30,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 30,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 30,
"tarkovstreets": 0,
"woods": 30,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"sectantPriest": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 15,
"factory4_day": 0,
"factory4_night": 20,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 44,
"shoreline": 15,
"tarkovstreets": 0,
"woods": 15,
"labyrinth": 0
},
"bossZone": {
"bigmap": "ZoneScavBase",
"factory4_day": "",
"factory4_night": "BotZone",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "ZoneSandbox",
"shoreline": "ZoneSanatorium1,ZoneSanatorium2,ZoneForestSpawn",
"tarkovstreets": "",
"woods": "ZoneMiniHouse,ZoneBrokenVill",
"labyrinth": ""
}
},
"arenaFighterEvent": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 5,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 5,
"labyrinth": 0
},
"bossZone": {
"bigmap": "ZoneFactoryCenter,ZoneScavBase",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "ZoneMiniHouse,ZoneClearVill,ZoneRoad,ZoneBrokenVill,ZoneScavBase2",
"labyrinth": ""
}
},
"pmcBot": {
"enable": true,
"addExtraSpawns": true,
"disableVanillaSpawns": false,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 75,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "BotZoneBasement,BotZoneFloor1,BotZoneFloor2",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"exUsec": {
"enable": true,
"addExtraSpawns": false,
"disableVanillaSpawns": false,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
},
"gifter": {
"enable": true,
"time": -1,
"spawnChance": {
"bigmap": 0,
"factory4_day": 0,
"factory4_night": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 0,
"rezervbase": 0,
"sandbox": 0,
"sandbox_high": 0,
"shoreline": 0,
"tarkovstreets": 0,
"woods": 0,
"labyrinth": 0
},
"bossZone": {
"bigmap": "",
"factory4_day": "",
"factory4_night": "",
"interchange": "",
"laboratory": "",
"lighthouse": "",
"rezervbase": "",
"sandbox": "",
"sandbox_high": "",
"shoreline": "",
"tarkovstreets": "",
"woods": "",
"labyrinth": ""
}
}
},
"configAppSettings": {
"showUndo": true,
"showDefault": false,
"disableAnimations": false
}
}

View File

@ -1,28 +0,0 @@
[General]
gameName=spt
modid=0
version=d2025.10.29.0
newestVersion=
category="-1,"
nexusFileStatus=1
installationFile=acidphantasm-botplacementsystem.7z
repository=Nexus
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2025-10-29T04:49:18Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
tracked=0
[installedFiles]
1\modid=0
1\fileid=0
size=1

View File

@ -0,0 +1,28 @@
[General]
gameName=spt
modid=0
version=d2025.1.13.0
newestVersion=
category="1,"
nexusFileStatus=1
installationFile=Additional Clothing BEAR 310.zip
repository=Nexus
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2025-01-13T13:28:06Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
tracked=0
[installedFiles]
1\modid=0
1\fileid=0
size=1

View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>

View File

@ -0,0 +1,423 @@
{
"manifest": [
{
"key": "Tops/Gorka4MC_Top.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Gorka4MC_Hands.bundle",
"dependencyKeys": [
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_textures.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle",
"shaders"
]
},
{
"key": "Bottoms/EMR_voin.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Tops/EMR_SPN.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/EMR_SPN_Hands.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/EMRAutumnSumrak.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Sumrak_EMRAutumn_Hands.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/EMRSumrak.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Sumrak_EMR_Hands.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Bottoms/BEARTacticalEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/TIGR_SURPAT.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/TIGR_EMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Tops/Top_SS_SPN.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_SS_SPN.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/Top_Adaptive_SS.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_AdaptiveSS.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Bottoms/SRVV_SS.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_SURPAT_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/Top_SURPAT_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_MC_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/Top_MC_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/MC_voin.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/TIGR_MC.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_EMR_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/EMR_lynx.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Tops/Top_MC_SPN.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_MC_SPN.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Bottoms/SRVV_MC.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/ReconMC.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Tops/Top_SURPAT_Polevoi.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_SURPAT_Polevoi.bundle",
"dependencyKeys": [
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle",
"shaders"
]
},
{
"key": "Tops/Top_Gorka5EMRAutumn.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_Gorka5EMRAutumn.bundle",
"dependencyKeys": [
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle",
"shaders"
]
},
{
"key": "Bottoms/ReconSURPAT.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/BEARTacticalSS.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/URON_SURPAT.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/URON_SS.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Tops/Top_SummerFieldEMR.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_SummerFieldEMR.bundle",
"dependencyKeys": [
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle",
"shaders"
]
},
{
"key": "Tops/Top_TigrEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps"
]
},
{
"key": "Hands/Hands_TigrEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/Top_GhostEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_GhostEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/bear/bear_hands_watch_texture.bundles",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Tops/Top_InfilEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Hands/Hands_InfilEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/hands/usec/materials/watch_usec_textures",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/hands/bear/bear_watch.bundle"
]
},
{
"key": "Bottoms/Bottom_InfilEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/Bottom_GhostEMR.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/characters/character/skeleton.bundle"
]
},
{
"key": "Bottoms/Bottom_SummerFieldEMR.bundle",
"dependencyKeys": [
"cubemaps",
"shaders",
"assets/content/characters/character/skeleton.bundle"
]
}
]
}

Some files were not shown because too many files have changed in this diff Show More