NIFE: Crafting Plugin
Posted: Posted June 14th by Xhin
This is another MASSIVE update that adds item crafting, scrapping, and customizable recipes (that can also be learned through infobooks via the knowledge plugin)
First thing you have to do is select the plugin via the plugin panel. Then the panel will appear in the plugin panels area.
Here you can add recipe categories. They can have names, descriptions, and avatars.
This lets you edit a recipe category. Pretty basic.
You can also add recipes here. Recipes can be one of three types:
Craft -- Craft multiple items together into one finished product
Scrap -- Turn one item into multiple items
Both -- A reversible recipe that does both of those things.
This lets you edit recipes. Pretty basic.
Here you can add ingredients to the recipe.
Down at the bottom, you can also set ingredient amounts. So for example this recipe takes 3 Paper and 1 Leather to craft.
You can also remove ingredients here.
When you set ingredients, you can only choose among nonclone items.
When you craft, however, you can use clones, and end products are always clones.
Clones also don't necessarily have to have the same name as the original item -- so for example for testing purposes I have a test item that takes Wood x1 and Metal x2, but instead of using "Metal" items I've been using items named "Iron" and "Copper".
Anyway this doesn't matter much for the end-user because the interface is very streamlined..
User Crafting Panel
First major update I did here was to make all the panels reference the same link structure, so I can make new panels much much easier. So you do get a nice little "Crafting" link in your NIFE User CP, your Profile and your Journal, as well as other player panels down the road.
You have three options here, I'll get to the top two in a bit.
You get to select the category of recipes that you know here. It'll show the avatar and the recipe category description.
Choosing a category goes here. You see the name of the recipe, the thing it makes, and the ingredients and maybe a craft button.
If you have ingredients that match a full recipe ingredient amount, that recipe amount will get highlighted in yellow. If you match ALL the recipe amounts then you get the [Craft!] button that lets you quick craft the item.
Meanwhile, a separate "Used:" section will show you all the items you're using for the recipe.
So like in the "Create Books" recipe above, you have one paper, but the recipe requires two, so the "Paper" is not gold. However, you can see via the "Used: " that you have some of the ingredients you need.
In the Trial & Error panel, you can try to craft items together even if you don't have recipes for them. You can also do finer adjustments to crafting recipes if for example you have multiple "metal" items but want to use a specific one in a recipe.
If you manage to make something that you didn't already know the recipe for, you learn the recipe! and then can use it in the main crafting panel.
Here you can also attempt to scrap items. If you're successful, you learn the knowledge about how to scrap it and can use that in the main scrapping panel.
This works much like the Crafting panel except you're turning one item into multiple items -- here the "Item" column will turn yellow if you have an item for it.
There are 9 Replies
Reply to: NIFE: Crafting Plugin