LootDistributionGenerator
Generates Distribution .json files which are required by the SPT-AKI/Server to spawn loot.
Setup
Requires a config.yaml in /config defining dump and target folders as well as a location for 7z.exe
---
tools:
7z_exe: 'C:/Program Files/7-Zip/7z.exe'
server:
# SPT-AKI Server location (to store the generated json)
location: 'C:/GAMES/SPT_AKI_Dev/Server/'
# The map names in the loot dump do not directly correspond to the server database structure, this is the mapping
map_directory_mapping_yaml: map_directory_mapping.yaml
archives:
# where we put our sequential dump jsons to be sorted archived, preprocessor will put them into archives
source_folder: 'D:/Games/SPT_Dev/map_dumps/12.12/'
# here we store the archives with used data
target_folder: 'D:/Games/SPT_Dev/map_dumps/12.12_used/'
# archive name for map loot dump data
loot_filename: loot_dumps.7z
# archive name for bot dump data
bot_filename: bot_dumps.7z
# all dump data is appended into an archive in this folder
backup_file: 'D:/Games/SPT_Dev/map_dumps/12.12_unused/complete.7z'
config:
static:
# we have a separate yaml that defined forced static loot per map
forced_yaml: forced_static.yaml
loose:
# known quest items per map for validation
forced_yaml: forced_loose.yaml
Description
Generates Distribution .json files which are required by the SPT-AKI/Server to spawn loot.
Languages
Python
100%