Difference between revisions of "Crafting(Builder)"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Created page with "{{CoffeeMUDWikiBuilderTOC}} ==Creating Recipes== There are two ways to create recipes for crafting skills. One is to modify the skill's recipe list, the other is to create a...")
 
Line 9: Line 9:
 
===GenRecipes===
 
===GenRecipes===
 
GenRecipes allow a builder to add new items to a skill through discovery, instead of through leveling.  A GenRecipe can contain a specified number of recipes for one skill.
 
GenRecipes allow a builder to add new items to a skill through discovery, instead of through leveling.  A GenRecipe can contain a specified number of recipes for one skill.
 +
 +
==Ingredient Nomenclature==
 +
When specifying the required material types for a recipe the following names have special meaning:
 +
{| style="border: 1px solid #c6c9ff; border-collapse: collapse;" cellspacing="0" cellpadding="1" border="1" width="60%" <div class="Left" style="width: auto; Margin-left: auto; margin-right: auto;">
 +
|-
 +
! Name
 +
! Result
 +
|-
 +
| GEMSTONE
 +
| Precious rocks
 +
|-
 +
| ROCK
 +
| All types of rocks
 +
|-
 +
| STONE
 +
| Only the STONE GenResource
 +
|-
 +
| WOODEN
 +
| All types of wood
 +
|-
 +
| WOOD
 +
| Only the WOOD GenResource
 +
|}
 +
 +
 +
===Notes===
 +
*When making recipe names, the name should be unique.  If you make a recipe for a SMALL UMBER, then do not also make a recipe for UMBER.  Instead, make a MEDIUM UMBER so that the parser can distinguish it from (SMALL) UMBER.
 +
*All recipe names should be in lower case for consistency.
 +
*Make sure your recipe names don't have a double space in them.  It can be hard to spot the difference between SMALL CHEST and SMALL  CHEST on some clients (and very confusing to players).

Revision as of 13:16, 8 April 2019

CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    

Creating Recipes

There are two ways to create recipes for crafting skills. One is to modify the skill's recipe list, the other is to create an item (GenRecipe) that players must have in their inventory in order to create that item.

Modifying recipe lists

A builder may use the shell commands or file browser to edit the skill's recipe list, or may use the Skill Recipes editor in the grinder to create a new recipe. After creating the new recipe(s) it is advised to view the skill's entire recipe list using the Skill Recipes editor in the grinder. If the grinder fails to pull up this skill's list, it means that one or more recipes in the list have an error. If you review the Server Log, you will see the line number of the first invalid recipe (remember, the list starts at line 0, not at line 1). Fix the error in the recipe list, and try to view the skill through the Skill Recipe editor again, repeating as often as required until you can see the full list of recipes through the editor.

GenRecipes

GenRecipes allow a builder to add new items to a skill through discovery, instead of through leveling. A GenRecipe can contain a specified number of recipes for one skill.

Ingredient Nomenclature

When specifying the required material types for a recipe the following names have special meaning:

Name Result
GEMSTONE Precious rocks
ROCK All types of rocks
STONE Only the STONE GenResource
WOODEN All types of wood
WOOD Only the WOOD GenResource


Notes

  • When making recipe names, the name should be unique. If you make a recipe for a SMALL UMBER, then do not also make a recipe for UMBER. Instead, make a MEDIUM UMBER so that the parser can distinguish it from (SMALL) UMBER.
  • All recipe names should be in lower case for consistency.
  • Make sure your recipe names don't have a double space in them. It can be hard to spot the difference between SMALL CHEST and SMALL CHEST on some clients (and very confusing to players).