tModLoader

tModLoader

Stockable Shops
目前顯示第 1-7 項,共 7 項
更新:2024 年 6 月 19 日 @ 下午 12:08

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

更新:2024 年 6 月 18 日 @ 下午 4:05

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

更新:2024 年 3 月 16 日 @ 上午 8:39

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

更新:2024 年 1 月 2 日 @ 下午 9:43

- 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

更新:2024 年 1 月 1 日 @ 下午 12:16

- 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.

更新:2023 年 12 月 30 日 @ 下午 12:35

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

更新:2023 年 12 月 27 日 @ 上午 11:35

Version 1.0 has been published to Stable tModLoader v2023.10