Release Notes - v6.4.0
feature requested by Spicymanp
- insurance multiplier.
feature requested by osfox
- import features from Priscilu: The Trader [TimmyGG Edition]
Changes
Configuration Update
- New Default Settings: Updated the bundled configuration to match recommended defaults.
MinLevel: 5
TraderRefreshMin: 1800 (30 min)
TraderRefreshMax: 3600 (60 min)
DebugLogging: false
UnlimitedStock: true
Fixes & Improvements
New Config
"MinLevel": 5, //[Level Requirement] The minimum level required to access the trader's level 1 loyalty.
"UnlockedByDefault": false, //[Unlock] If true, the trader is unlocked immediately regardless of level.
"TraderRefreshMin": 1800, //[Restock Timer] Minimum and Maximum time (in seconds) for trader restock. 1800s = 30 min, 3600s = 60 min. The system picks a random time between these two.
"TraderRefreshMax": 3600,
"AddTraderToFleaMarket": true, //[Flea Market] If true, Priscilu's offers appear on the Flea Market search.
"InsurancePriceCoef": 50, // [Insurance] Price multiplier for insurance. 25 = 25%. Higher is more expensive.
"RepairQuality": 0.8, // [Repair] Quality of repairs (0.0 to 1.0). 0.8 is High Quality (loss accumulation is lower).
"RandomizeStockAvailable": false, //[Stock] If true, some items will randomly be out of stock each reset.
"OutOfStockChance": 15, //[Stock] The percentage chance (0-100) that an item is out of stock (if Randomize is true).
"UnlimitedStock": true, //[Stock] If true, all items have infinite stock. Overrides randomization. Note: Refilling issues are currently being patched by auto-clearing BuyRestrictions.
"PriceMultiplier": 1.0127, //[Pricing] Global multiplier for all item prices. 1.0 = standard price. 1.0127 = +1.27%.
"DebugLogging": false //[Debug] Enables detailed logs in the server console for troubleshooting.
Code Cleanup
- Removed Inspector: Deleted unused
Inspector/ tool from the project source.
- Refactoring: Renamed
TraderUnlockCallback.cs to TraderUnlockService.cs to properly reflect its class name and purpose.
Targeting SPT 4.0.11+