Mod Details

SPT Item Creator

SPT Item Creator 0.0.3

Created by Suntion

137 Downloads

SPT 4.0.11 Compatible

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

Latest Version 0.0.3
SPT 4.0.11

Updated Yesterday at 7:00 AM

1.12 MB

Version Notes
English

New Features:

  • Added a WebUI for creating items.
  • Introduced several new widgets for data visualization and editing:
    • BaseInfoWidget for modifying BaseInfo data.
    • AttributeInfoWidget for modifying AttributeInfo data.
    • DrinkFoodInfoWidget for modifying DrinkFoodInfo data.
    • MedicalInfoWidget for modifying MedicalInfo data.
    • BuffsInfoWidget for modifying BuffsInfo data.
    • PropertyOverrideWidget for viewing and modifying PropertyOverride data (simplified).
  • Added dedicated pages for creating:
    • Generic Items
    • Medical Items
    • Food & Drink Items
    • (Note: Ammunition creation is postponed due to additional related attributes.)

Improvements & Changes:

  • ParentId is now optional when a valid CloneId is assigned. An error will be thrown if the CloneId is invalid. (Updated the Wiki tutorial table accordingly.)
  • Added a new caching system. Data for ParentId and BackgroundColor is now cached from the SPT server. (Cache timestamp: OnLoadOrder.TraderCallbacks - 1)
  • Added a new BackgroundColor field to the AttributeInfo class.
中文

新增功能:

  • 新增用于创建物品的 Web 用户界面(WebUI)。
  • 新增多个控件,用于数据的可视化与编辑:
    • BaseInfoWidget:用于修改 BaseInfo 数据。
    • AttributeInfoWidget:用于修改 AttributeInfo 数据。
    • DrinkFoodInfoWidget:用于修改 DrinkFoodInfo 数据。
    • MedicalInfoWidget:用于修改 MedicalInfo 数据。
    • BuffsInfoWidget:用于修改 BuffsInfo 数据。
    • PropertyOverrideWidget:用于查看和修改 PropertyOverride 数据(简化版)。
  • 新增用于创建以下物品的专用页面:
    • 通用物品
    • 药品
    • 食物与饮品
    • (注:由于弹药涉及更多相关属性,其创建功能暂时搁置。)

改进与变更:

  • 当分配了有效的 CloneId 后,ParentId 变为可选字段。如果 CloneId 无效,系统将报错。(已同步更新 Wiki 教程中的相关表格。)
  • 新增缓存系统。现可从 SPT 服务器缓存 ParentIdBackgroundColor 数据。(缓存记录时间点:OnLoadOrder.TraderCallbacks - 1
  • AttributeInfo 类中新增了 BackgroundColor 字段。
This download is externally hosted.
Always scan for viruses.
Notice: This mod may make permanent changes to your profile, and may not be removable without starting a new profile. More information.

Details