Trader that sells all items for hideout construction/upgrades
Installation
-------------------------------------------------------
- Open the downloaded 7z file in 7-zip
- Select the user folder in the 7z file in 7-zip
- Drag the user folder from 7-zip into your SPT folder
Demonstration Video (yoink):
-------------------------------------------------------
-------------------------------------------------------
Config settings (\config\config.json)
- priceMultiplier (Default: 1, Adjust this to increase or lower the prices of items in Harry's Assort (0.5 = 1/2 price, 2 = 2x price, etc))
- traderRefreshMin (Default: 1800, Adjust this to change minimum time in seconds for a trader refresh)
- traderRefreshMax (Default: 3600, Adjust this to change maximum time in seconds for a trader refresh)
- addTraderToFlea (Default: true, Change this to false to remove offers from flea)
-
If realism is installed, the following 3 settings will automatically disable.
- randomizeBuyRestriction (Default: false, Change this to true to randomize your buy restriction counts. Will never be lower than 1)
- randomizeStockAvailable (Default: false, Change this to true to randomize the available stock of each item, will also roll for outOfStockChance)
- outOfStockChance (Default: 25, Percent chance an item will roll "out of stock" when randomizeStockAvailable set to true)
- debugLogging (Default: false, Change this to true if you want to be spammed debug information on server launch)
-------------------------------------------------------
-------------------------------------------------------
Recommended Mods:
-------------------------------------------------------
-------------------------------------------------------
Potential Issues
I've tested this a decent amount (its just a trader) but if you run into any issues please let me know.
-------------------------------------------------------
Special thanks to DrakiaXYZ, their source code gives great inspiration and their mods are top tier.
1.1K Downloads
This version will only work for SPT 3.10.x
3.10 Update
- Updated Harry to MongoID
- Updated reference code to utilize MongoID
Changes
- Increased prices slightly
8.8K Downloads
This version will only work for SPT 3.9.X
Code Refactor
Harry will now always have the items required for any upgrades in the Hideout - even if they change in future updates
Harry will always charge prices reflecting flea price (load after Live Flea Prices if you want those)
Blacklist to prevent adding currency or christmas ornaments
Stock Randomization configs are now async
109 Downloads
This version will only work for SPT 3.9.X
Update to 3.9.0
4.7K Downloads
This version will only work for SPT 3.8.X
- Changed useBarter to default false.
- traderRefreshMin (Default: 1800, Adjust this to change minimum time in seconds for a trader refresh)
- traderRefreshMax (Default: 3600, Adjust this to change maximum time in seconds for a trader refresh)
-
If realism is installed, the following 3 settings will automatically disable.
- randomizeBuyRestriction (Default: false, Change this to true to randomize your buy restriction counts. Will never be lower than 1)
- randomizeStockAvailable (Default: false, Change this to true to randomize the available stock of each item, will also roll for outOfStockChance)
- outOfStockChance (Default: 25, Percent chance an item will roll "out of stock" when randomizeStockAvailable set to true)
3.0K Downloads
This version will only work for SPT 3.8.0+
- Added minFleaPrice variable to align prices more accurately (should be closer to cheapest prices)
- Moved Wi-Fi Camera (lol) and Scav Junkbox to barter system
- Wi-Fi Camera barter is 3x MS2000 Marker & non-barter price is 37,189 Roubles (instead of 800k+)
- Scav Junkbox barter is 2x BTC & non-barter price is 1,081,368 Roubles
Development on this will likely be limited to minor changes as I move to another project. If you have any issues or suggestions you can throw them in the comments for consideration!
693 Downloads
This version will only work for SPT 3.8.0+
- Added enableConsoleDebug config option
- Refactored items.json to allow editing barter cost & item requirement
- if useBarters = true, then the barterItemID & barterAmount is used to control the requirements and price is ignored
- if useBarters = false, then the prices for items are pulled from items.json "barterItems" & "nonBarterItems"
- This does not support adding multiple barterItemIDs for a single itemID yet - don't do it
417 Downloads
This version will only work for SPT 3.8.0+
- Add mathRound to disabling barter code to prevent partial ruble spend
- Move mathRound in non flea pricing to prevent partial ruble spend
- Move mathRound in flea pricing to prevent future issues
97 Downloads
This version will only work for SPT 3.8.0+
- Initial release for 3.8.0
Not quite yet...
Details
-
License
-
Source Code
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/76834a3f43c65cec97d4c1d320a992aea68d2b6008801ffc174ad886c08b897f