tModLoader

tModLoader

Stockable Shops
Showing 1-7 of 7 entries
Update: 19 Jun, 2024 @ 12:08pm

- Removed buyOnce flag from sold items, fixed extremely low prices

Update: 18 Jun, 2024 @ 4:05pm

- Removed price boosting code, will need to be accounted for in other mods

Update: 16 Mar, 2024 @ 8:39am

- Added more docs
- Fixed price issues
- Fixed default condition being invalid
- Fixed sold items not being marked as "in shop"

Update: 2 Jan, 2024 @ 9:43pm

- Hopefully fixed performance bottleneck by replacing ModContent.GetContent iteration with the iteration of a manually maintained internal list
- Added more XML documentation
- Internalized some superfluous classes
- Slightly optimized what StockedVendorNPC applies to

Update: 1 Jan, 2024 @ 12:16pm

- Removed testing merchant stock
- Updated API for how restocking works:
Now, StockedShop::SetupStock is explicitly called once, like ModNPC::ModifyNPCLoot.
StockedShop::RestockShop is now called every restock, including the first one.
- Added ShopItem::FromModItem methods for easier ShopItem creation.
- Fixed inaccurate XML doc on ShopItem.

Update: 30 Dec, 2023 @ 12:35pm

Version 1.0.0.1 has been published to Stable tModLoader v2023.10

- Removed .dll from mod folder to fix debug issues
- Added report announcement in-game
- Added link to Verdant discord for complaints
- Enabled the example Merchant Stock for testing purposes, this will not persist past this initial testing version

Update: 27 Dec, 2023 @ 11:35am

Version 1.0 has been published to Stable tModLoader v2023.10