Medieval Engineers

Medieval Engineers

Zbyt mało ocen
TradingPost custom recipe compatibility
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Type: Mod
Mod category: other
Version: 0.7
Rozmiar pliku
Zamieszczono
818.012 KB
11 stycznia 2020 o 3:03
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
TradingPost custom recipe compatibility

Opis
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>
Komentarzy: 1
woodyscrane 1 marca 2023 o 17:41 
░░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE HIM,
░░░░░░░▄▄▐▌▄▄░░░ SO, HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE WORKSHOP
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░