Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
I don't know why but adding(ItemDropRule.Common(ModContent.ItemType) Portable Shop Market & Shop Market Wall Mount shows Error. Shop Market all right does not occur error and with any items added from other mods
Thank you so much, that helped. | your last line should just be itemLoot.Add(ItemDropRule.Common(tableid)); |
are you trying to use my mod as a reference in your mod?
code:
ModLoader.TryGetMod("OneStopNPCShop", out Mod shop);
int tableid = shop.Find<ModItem>("ShopMarketPortable").Type; itemLoot.Add(ItemDropRule.Common(ModContent.ItemType<ShopMarketPortable>()));
Modloader.TryGetMod("OneStopNPCShop", out Mod shop);
int tableid = shop.Find<ModItem>("ShopMarketPortable").Type;
from there you should be able to create an itemdroprule to register to your item bag.
as for the cheapest vendor thing, i wont change it to hide the same item from different vendors, but i will add the ability to sort by price in the next update so its easy to find the cheapest vendor
it might be possible to fix this on my end, but could also be fixable on fargos end if they declare shop items at mod reload rather than in game.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2985455948
Thank you again for the mod!