How do I make Trade Item items? - Catman-232/Homebrewery GitHub Wiki
-
First things first, go into the mod's own HomebreweryFiles > Template folder and Copy the Template_TradeItemItem folder
-
Paste the item folder into HomebreweryFiles > TradeItem
Rename the folder to something smart like'your username'_TradeItem_'name of the thing'
Yeah, I know the other items aren't named "something smart", I'm not finished with them yet! -
Inside the folder you will see icon.png and param.txt
icon.png is a 32x32px sprite you can use to represent the item however you like.
param.txt contains the details the game needs in order to define the item and what it contextually does.
{
"_itemName": "This text is the Trade Item's display name",
"_itemDescription": "This text goes in the space beneath the Trade Item's name",
"extra": ""
}
Edit the text within the speech marks ("") to change the text the item displays in-game.
"_itemName": "Very Cool Trade Item",
"_itemDescription": "This Trade Item is Very Cool!",
"extra" is an optional property that serves the purpose of adding effects to the item, this isn't as fancy as Consumable item effects since you can't really 'use' Trade Items, but there are still things that can work for both types of items. You can use more than one by separating the keywords with commas! I have to mostly code these manually, so here is the list of the keywords and their effects.
"extra": "fragile"
And here we are: