Generic selectors
Exact matches only
Search in title
Search in content
Search in project

Crafting Recipes Plugin

Atavism 10.2.0

Create your own crafting recipes for your game with this plugin.

Create a new crafting recipe

Name: The name of the Crafting Recipe.

Experience: Define the amount of experience your player will gain after the successfully crafted items 

Icon: Define icon if you are going to use Crafting Book 

Group 1-4 of Creates Item: Defines different results for this craft.

Create Item 1-4: The item made by completing this crafting recipe.

Count: Quantity that will be created. This recipe can create up to 4 items.

 

Requirements

Skill: The skill related to the crafting recipe. Used to check if the user has a high enough skill level to craft the item, and to allow the chance to skill up in that skill.

Skill Level: The skill level required to complete the craft.

Station Req: What station type the crafting recipe requires to be used on.

Must Match Layout: If items required should be exactly in the defined slot (only for grid-based crafting).

 

Items Required

Item #: The item required in this slot. Leave empty if no item is needed in this slot.

Count: Maximum amount of this currency a player can have.

Configuration

Crafting Recipes are created in the Atavism Editor and Crafting Stations are placed in the world for players to do their crafting at.

 

Creating Crafting Stations

Place your desired Crafting Station Game Object in your Unity Scene and add the Crafting Station component to it.

Make sure it has a Collider on it to pick up mouse clicks. Change the properties of the Crafting Station component as such:

  • Station Type: The type of crafting station this is. It limits what items can be crafted on it.
  • Icon: If desired, set a 2D Texture icon for the station to be displayed when the user has the Crafting UI open at that station (NGUI only).
  • Coord Effect: The coordinated effect to play when the player crafts an item at this station. Drag a prefab from the Resources/Content/CoordinatedEffects folder if you want one to play.

If you want to change Station Type, you have to change it in two places, in Atavism Editor in the Option Choices Plugin/Crafting Station and in the script which you attached to station object (CraftingStation.cs):

Note: From Atavism 2018.3 you just need to add a new entry in the Option Choices Plugin/Crafting Station.

public enum CraftingStationType {
	Anvil,
	Smelter,
	Pot,
	Cauldron,
	Oven,
	Loom,
	Sewing,
	Tannery,
	Masonry,
	Alchemy,
	Desk,
	Sawmill,
	None
}

Atavism 10.1.0-

Create your own crafting recipes for your game with this plugin.

Create a new crafting recipe

Name: The name of the Crafting Recipe.

Experience: Define the amount of experience your player will gain after the successfully crafted items (Added in Atavism 2018.3).

Icon: Define icon if you are going to use Crafting Book functionality implemented in the Atavism 2018.3.

Group 1-4 of Creates Item: Defines different results for this craft.

Create Item 1-4: The item made by completing this crafting recipe.

Count: Quantity that will be created. This recipe can create up to 4 items.

 

Requirements

Skill: The skill related to the crafting recipe. Used to check if the user has a high enough skill level to craft the item, and to allow the chance to skill up in that skill.

Skill Level: The skill level required to complete the craft.

Station Req: What station type the crafting recipe requires to be used on.

Must Match Layout: If items required should be exactly in the defined slot (only for grid-based crafting).

 

Items Required

Item #: The item required in this slot. Leave empty if no item is needed in this slot.

Count: Maximum amount of this currency a player can have.

Configuration

Crafting Recipes are created in the Atavism Editor and Crafting Stations are placed in the world for players to do their crafting at.

 

Creating Crafting Stations

Place your desired Crafting Station Game Object in your Unity Scene and add the Crafting Station component to it.

Make sure it has a Collider on it to pick up mouse clicks. Change the properties of the Crafting Station component as such:

  • Station Type: The type of crafting station this is. It limits what items can be crafted on it.
  • Icon: If desired, set a 2D Texture icon for the station to be displayed when the user has the Crafting UI open at that station (NGUI only).
  • Coord Effect: The coordinated effect to play when the player crafts an item at this station. Drag a prefab from the Resources/Content/CoordinatedEffects folder if you want one to play.

If you want to change Station Type, you have to change it in two places, in Atavism Editor in the Option Choices Plugin/Crafting Station and in the script which you attached to station object (CraftingStation.cs):

Note: From Atavism 2018.3 you just need to add a new entry in the Option choices Plugin/Crafting Station.

public enum CraftingStationType {
	Anvil,
	Smelter,
	Pot,
	Cauldron,
	Oven,
	Loom,
	Sewing,
	Tannery,
	Masonry,
	Alchemy,
	Desk,
	Sawmill,
	None
}