Mod Details

Easy Game 1.1.0

Created by Suntion

1.2K Downloads

SPT 4.0.13 Compatible

Adjust character stats, raid duration, item carry limits, magazine times, ammo stacks, stimulator usage, access card uses, flea market restrictions/offers, default item examination, and Labyrinth map visibility.

Latest Version 1.1.0
SPT 4.0.13

Updated Mar 6, 7:49 AM

17.65 KB

Version Notes
English

Version 1.1.0 Release Notes

New Features

Task Execution Statistics and Performance Monitoring

  • Introduced a task runtime status tracking system that automatically records the execution result and time consumption of each task
  • Added a task statistical report feature that outputs detailed performance analysis when the mod starts (output to Game Folder\SPT\user\mods\SuntionCore\ModLogs\EasyGame.log):
    • Completion status of each task (success/failure)
    • Precise task execution time (millisecond precision)
    • List of tasks skipped due to condition filtering
    • Total time consumption of the entire task scheduling process
  • Automatically handles duplicate task names by appending suffixes like _0, _1, etc., to avoid overwriting statistical information

Optimizations and Refactoring

Enhanced Configuration Loading Logic

  • Refactored the configuration loading process, moving directory creation into exception handling blocks to improve file operation robustness
  • Added an outer global exception catch to prevent mod crashes caused by file I/O errors
  • Applied null coalescing operators ?? 1.0d to all numerical configuration items, ensuring the default multiplier of 1.0 is used when configurations are missing
  • Simplified null check logic, removing redundant nested null conditional operators

Configuration Improvements

Default Configuration File

  • Added a default mod configuration file config.json, allowing users to customize mod behavior before the first run
  • Changed the default value for the “All Items Inspected” option to false (previously true)
  • In coordination with the null safety logic in the code layer, ensures the mod can still run with safe default values when parts of the configuration are missing
中文

版本 1.1.0 更新日志

新特性

任务执行统计与性能监控

  • 引入了任务运行时状态跟踪系统,自动记录每个任务的执行结果和耗时
  • 新增任务统计报告功能,在模组启动时输出详细的性能分析(输出至 游戏目录\SPT\user\mods\SuntionCore\ModLogs\EasyGame.log):
    • 每个任务的完成状态(成功/失败)
    • 精确的任务执行时间(毫秒级精度)
    • 因条件过滤而跳过的任务列表
    • 整个任务调度过程的总耗时
  • 自动处理重复的任务名称,通过添加 _0_1 等后缀,避免统计信息被覆盖

优化与重构

增强的配置加载逻辑

  • 重构了配置加载流程,将目录创建移至异常处理块内部,提高了文件操作的鲁棒性
  • 添加了外层全局异常捕获,防止因文件 I/O 错误导致模组崩溃
  • 对所有数值型配置项应用了空合并运算符 ?? 1.0d,确保在配置缺失时使用默认倍率 1.0
  • 简化了空值检查逻辑,移除了冗余的嵌套空条件运算符

配置改进

默认配置文件

  • 新增了默认模组配置文件 config.json,允许用户在首次运行前自定义模组行为
  • 将“所有物品已检查“选项的默认值更改为 false(此前为 true
  • 与代码层的空安全逻辑协同,确保在部分配置缺失时模组仍能使用安全默认值运行
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