Skip to main content

Mod Details

AllGoodsTrader 1.0.0

Created by Suntion

941 Downloads

SPT 4.0.13 Compatible

This mod adds four bilingual traders. Traders buy most items; equipment trader offers repair & insurance. Automatically handles rocket ammo & ammo boxes. Dynamic registration. Pricing supports three modes with configurable multiplier.

Latest Version 1.0.0
SPT 4.0.13

Updated Apr 5, 5:04 PM

581.95 KB

Version Notes
English

Core Architecture & Configuration Overhaul

  • Configuration-driven system: Added unified configuration service for global mod settings (price modes, multipliers) and customizable trader settings
  • Dynamic trader registration: Removed hardcoded trader initialization; now automatically loads traders from JSON files in traders/ folder
  • Smart default handling: System automatically applies default insurance/repair templates based on trader’s toggle settings when not explicitly configured
  • JSONC in config files are not supported

Enhanced Features

  • Individual trader control: Each of the four core traders (weapons, equipment, consumables, barter items) now has its own config file, allowing independent control over:
    • Enable/disable status
    • Repair service toggle
    • Insurance service toggle
    • All overridable properties mentioned in the data/data.jsonc file

Breaking Changes

  • Config file migration: The old single data/config.json has been split into:
    • Global config: data/config.json
    • Individual trader configs: data/traders/{id}.jsonc

中文

核心架构与配置重构

  • 配置驱动系统:新增统一配置服务,管理全局模组设置(价格模式、倍率)和商人定制化配置
  • 动态商人注册:移除硬编码的商人初始化逻辑,现在自动扫描 traders/ 文件夹下的 JSON 文件动态加载商人
  • 智能默认值处理:当配置文件未明确设置保险/维修配置时,系统根据商人的开关属性自动应用默认模板
  • 配置文件不支持JSONC格式

功能增强

  • 独立商人控制:四种核心商人(武器配件商、装备商、消耗品商、杂物商)现在拥有独立配置文件,可分别控制:
    • 启用/禁用状态
    • 维修功能开关
    • 保险功能开关
    • data/data.jsonc文件提到的所有可重写属性

破坏性变更

  • 配置文件迁移:原有的单一 data/config.json 已拆分为:
    • 全局配置:data/config.json
    • 独立商人配置:data/traders/{id}.jsonc
This download is externally hosted.
Always scan for viruses.
Description
3 Versions
0 Addons
11 Comments
Notice: This mod may make permanent changes to your profile, and may not be removable without starting a new profile. More information.

Details