Mod Details

SPT Item Creator

SPT Item Creator 0.1.0

Created by Suntion

548 Downloads

SPT 4.0.13 Compatible

This mod simplifies SPT item creation and enables efficient expansion through interface encapsulation and comprehensive documentation.

Latest Version 0.1.0
SPT 4.0.13

Updated Mar 15, 8:11 PM

51.06 KB

Version Notes
English

Minimum Wiki Version: Wiki_26_03_16_03_40

Changelog v0.1.0:

  • Completely removed all WebUI Razor files, including layouts, pages, and various information components. The original item creation and management interface is no longer accessible.
  • Removed the built-in WebUI service, deleting references related to HttpServer, WebApplicationBuilder, and MudBlazor.Services.
  • Removed outdated WebUI access guides and related operational instructions from the documentation, pending the completion of a refactored new UI or examination of alternative solutions.
  • Optimized the item validation process, unified parameter naming, and ensured property generation occurs only after successful validation to avoid redundant calculations.
  • Enhanced NewItemCommon validation logic: When BuffsInfo is provided but StimulatorBuffs is not, the data is silently cleaned, and the reason is logged.
  • Optimized the item loading log format, added dynamic display of item enable status, and improved the readability of debugging information.
  • Upgraded the project version number from 0.0.4 to 0.1.0, reflecting this major refactor.
  • Updated config.json, adding the default configuration ignoreTemplateFiles: true.
  • Removed the old JSON cache file structure (ParentIdCache.json, AmmoCache.json, etc.). Required statistical data will be regenerated on startup.

New Cache System:

  • Output directory: [Game Root]\SPT\user\mods\SptItemCreator\StatsCache
  • Contents: Based on the entire SPT database, the mod generates a categorized list for each type, including all property names and all values that have appeared.
  • Purpose: Serves as a reference when creating new items, and provides a foundation for creating scripts to calculate frequencies, value distributions, averages, etc.

Note on Compatibility: This version maintains full compatibility with all data files created since version v0.0.2. Your existing item definitions and configurations will continue to work without modification.


中文

最低 Wiki 版本:Wiki_26_03_16_03_40

更新日志 v0.1.0:

  • 完全移除所有 WebUI Razor 文件,包括布局、页面及各类信息组件,原有的物品创建和管理界面将不可访问
  • 移除内置 WebUI 服务,删除 HttpServerWebApplicationBuilderMudBlazor.Services 相关引用。
  • 移除废弃的 WebUI 访问指南和文档中相关操作说明,等待后续重构完成的新 UI 或检查替代方案。
  • 优化物品验证流程,统一参数命名,将属性生成控制在验证通过后执行,避免重复计算。
  • 增强 NewItemCommon 验证逻辑:当提供 BuffsInfo 但未提供 StimulatorBuffs 时,静默清理该数据并记录原因。
  • 优化物品加载日志格式,增加物品启用状态的动态显示,提升调试信息可读性。
  • 升级项目版本号从 0.0.4 至 0.1.0,体现本次重大重构。
  • 更新 config.json,新增默认配置 ignoreTemplateFiles: true
  • 移除原有的 JSON 缓存文件结构(ParentIdCache.jsonAmmoCache.json 等),启动时会重新生成所需统计数据。

新缓存系统:

  • 输出目录: 游戏根目录\SPT\user\mods\SptItemCreator\StatsCache
  • 内容: 模组根据当前 SPT 的所有数据库,整理的一份按照类型分类好的、每个类型有的属性名称与所有出现过的值的列表
  • 用处: 创建新物品时的参考;制作脚本统计频数、数值分布、均值等的基础

兼容性说明: 本版本完全兼容v0.0.2 版本以来创建的所有数据文件。您现有的物品定义和配置文件无需修改即可继续使用。

This download is externally hosted.
Always scan for viruses.

Required Dependency

The latest version of this mod requires the following mod to be installed as well.

Notice: This mod may make permanent changes to your profile, and may not be removable without starting a new profile. More information.

Details