Medieval Engineers

Medieval Engineers

评价数不足
TradingPost custom recipe compatibility
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: other
Version: 0.7
文件大小
发表于
818.012 KB
2020 年 1 月 11 日 上午 3:03
1 项改动说明 ( 查看 )

订阅以下载
TradingPost custom recipe compatibility

描述
Add this mod as dependency to your own mod if you want to add your own trading post crafting recipes, while not requiring your users to have the Trading post mod active.

example of a custom trading post recipe (add something like this to your mod)
The important part is using either the TradingPostSell or TradingPostBuy Category
and using the InventoryItem Penny, QuarterNoble or Noble.
Default crafting time for sell is 0.1 and for buy 120 but you can use whatever you want

<Definition xsi:type="MyObjectBuilder_CraftingRecipeDefinition">
<Id Type="MyObjectBuilder_CraftingRecipeDefinition" Subtype="TPSellApple"/>
<DisplayName>Sell Apples for 2 pence</DisplayName>
<Icon>Textures\GUI\Icons\Apple.dds</Icon>
<Category>TradingPostSell</Category>
<Prerequisites>
<Item Amount="5" Type="ConsumableItem" Subtype="Apple" />
</Prerequisites>
<Results>
<Item Amount="2" Type="InventoryItem" Subtype="Penny" />
</Results>
<CraftingTime Seconds="0.1"/>
</Definition>
1 条留言
woodyscrane 2023 年 3 月 1 日 下午 5:41 
░░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE HIM,
░░░░░░░▄▄▐▌▄▄░░░ SO, HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE WORKSHOP
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░