refactor(mod): changed hardcode items and locale to JSON controlled one

This commit is contained in:
Yui
2025-11-04 15:33:50 -03:00
parent 99c737c672
commit a4b2bf4bcf
14 changed files with 431 additions and 262 deletions

View File

@@ -0,0 +1,22 @@
using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Common;
namespace moe.yuyui.weebsights_port.Models;
public record WeebItemConfig()
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
[JsonPropertyName("clone_from_tpl")]
public MongoId CloneFromTpl { get; set; }
[JsonPropertyName("bundle_path")]
public string BundlePath { get; set; }
[JsonPropertyName("price")]
public int Price { get; set; }
[JsonPropertyName("ergonomics")]
public int Ergonomics { get; set; }
}