tModLoader

tModLoader

2,319 个评价
Shop Expander
5
3
3
2
2
   
奖励
收藏
已收藏
取消收藏
tModLoader版本: 1.4.3, 1.4.4
文件大小
发表于
更新日期
250.031 KB
2022 年 6 月 30 日 上午 10:19
4 月 8 日 上午 11:08
20 项改动说明 ( 查看 )

订阅以下载
Shop Expander

描述
Shop expander aims to solve a problem encountered by many players using multiple large mods.
Town NPCs have a limited amount of free shop inventory space.
When multiple different mods add items to a single vanilla NPC's shop, it can overflow, causing any additional items to not show up.
The issue is further compounded by the fact that some items might be added to the same shop by multiple different mods, resulting in wasted slots.

This mod solves the problem, by modifying tModLoader's shop setup process.
It provides each mod with a new empty inventory to put items in, then combines the inventories.
This new Expanded shop is then divided into pages for displaying.
As a bonus, you also get a full 28 slot empty page for the buyback buffer.

For more game-play info visit the mod's home page.

Changelog:

v1.8.1
- Fixed issue with some mod calls being broken. Thank you elytrafae for reporting.

v1.8.0
- Added translation for Buyback(missing Chinese localization for it). Thank you Alino4kaHvoshch

v1.7.0
- Added Chinese localization. Thank you Er1c-WYH

v1.6.0
- Added Russian localization. Thank you alinahvoshch

v1.5.0
- Add config option to disable paging for specific NPCs

v1.4.1:
- Fix empty shops

v1.4.0:
- Add `AddNpcTypeToIgnoreList` Call api that tells ShopExpander to ignore ALL shops from a specific npc
- `Mod.Call("AddNpcTypeToIgnoreList", int npcType)`
- Add `AddNpcShopToIgnoreList` Call api that tells ShopExpander to ignore ONE shop from a specific npc
- `Mod.Call("AddNpcShopToIgnoreList", int npcType, string shopName)`

v1.3.0:
- Fix for 1.4.4
- Remove following Call apis
- SetProvisionSize - You can add as many items as you want if the mod is enabled
- SetModifier - Not needed anymore. Now mod order dependent(just like vanilla)
- SetNoDistinct - Duplicate cleanup is not done anymore
- SetVanillaNoCopy - Unused
- AddLegacyMultipageSetupMethods - switch to 'AddPageFromArray' Call

v1.2.6:
- Fix buyback buffer

v1.2.5:
- Revert to v1.2.0

v1.2.4:
- Maybe fix issues caused by previous version.

v1.2.3:
- Fix attempt #2 for vanilla painter shop overflow bug.
- Increase default allowed shop size to 80.

v1.2.2:
- Increased default allowed shop size to 60(vanilla is 40) in an attempt to fix vanilla painter shop issues.
Also allows mods to be more liberal with adding items without needing mod calls.

v1.2.0
- Bug fixes
- Internal refactor
- New cross mod api
- Allow mods to add custom shop pages
- Switch from Harmony to MonoMod

v1.1.2
- Fixed multiplayer issues

v1.1.1
- Better error handling and other bug fixes
- Fixed overzealous duplicate remover
引用自 tModLoader ShopExpander
Developed By DRKV and Exterminator
187 条留言
Exterminator  [作者] 9 月 28 日 上午 7:15 
If the issue happens with only Shop Expander enabled, then it's an issue with the mod.
Otherwise it's an issue with another mod.
Morgul 9 月 27 日 下午 11:23 
I have an issue with the Wizard, his shop inventory is completely empty, it could very well be another mod, anyone knows something about this ?
It's been an issue since more than a year...
Mimic 9 月 24 日 下午 3:45 
SUBSCITBR
CJ PLUS 3 8 月 11 日 上午 8:50 
Not sure if this is caused by one of my other mods but I used the Peddler's Satchel and my Travelling Merchant's shop is just empty now, and if I disable the expanded shop for him it just leaves 3 slots to buy from, which still isn't great
Eldrick Tobin 6 月 22 日 下午 12:20 
That missing first slot is dedicated to the Previous Page button when you move between pages. Same for the bottom row’s rightmost slot. HTH fellow user
Enfo 6 月 16 日 下午 8:44 
It just makes the first inventory slot in shops empty for me for some reason
The_Zeta_Girl 6 月 15 日 上午 10:51 
I seem to be getting an error about "MonoMod," and that's not a mod I have installed within the list. Looking through, I find that this is connected to this mod. I'm getting a crash report talking about how "Reference cell no longer exists (Parameter 'cellRef')" (First line, Crash report).
Alucard † 6 月 15 日 上午 9:19 
Works properly still?
I wanted to add it to solve the issue Calamity has with the Golfer NPC's inventory overflow.
Мастурбист2006 5 月 11 日 下午 3:53 
Люблю АлиночкуХвощ(и немного ксенофила)
Exterminator  [作者] 4 月 3 日 上午 10:29 
Thank you. I've merged your translations and released a new version.