Difference between revisions of "Crafting(Builder)"

From CoffeeMud Wiki
Jump to navigation Jump to search
Line 44: Line 44:
 
*Item Restrings are not generally available as skills due to huge potential for player abuse.  In a text-based game, the ability to modify the text of an item has huge impact.  Therefore, all crafting abilities that do allow for a form of restring use specific formulas.  Examples:  Jewelmaking and Locksmithing.
 
*Item Restrings are not generally available as skills due to huge potential for player abuse.  In a text-based game, the ability to modify the text of an item has huge impact.  Therefore, all crafting abilities that do allow for a form of restring use specific formulas.  Examples:  Jewelmaking and Locksmithing.
 
*When making new GenResource subtypes, such as through smelting or textiling, the resultant TYPE of resource should not be more valuable than the subtypes.  For example:  If you combine COPPER and GOLD into a new GREENGOLD subtype of GOLD, then any recipe which requires GOLD (including GREENGOLD) could use GREENGOLD instead (since it it a GOLD type, GREENGOLD subtype).  Instead, consider making the material the lesser value, or an alternate TYPE (so, for the GREENGOLD example, make it either COPPER or BRONZE as the type, and GREENGOLD as the subtype).
 
*When making new GenResource subtypes, such as through smelting or textiling, the resultant TYPE of resource should not be more valuable than the subtypes.  For example:  If you combine COPPER and GOLD into a new GREENGOLD subtype of GOLD, then any recipe which requires GOLD (including GREENGOLD) could use GREENGOLD instead (since it it a GOLD type, GREENGOLD subtype).  Instead, consider making the material the lesser value, or an alternate TYPE (so, for the GREENGOLD example, make it either COPPER or BRONZE as the type, and GREENGOLD as the subtype).
 +
*When adding an article to your crafted item before a material wildcard (%) be sure the article fits.  For example, use "a(n) % sword" so that it chances case for a steel sword vs an iron sword.

Revision as of 14:47, 4 July 2021

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.

  • The asterisk (*) in the Spell_Code field announces what the semicolon(;) means in the string.
    • If the * is the first character, then the ; separates different ability ids.
    • If there is no leading *, then the first ; separates an ability id from the parameters for that ability.

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 non-precious 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).
  • The seventh column in boatbuilding is the RIDE_BASIS, which doesn't really apply, since we are making GenBoats. RIDE_BASIS examples include AIR, WATER, LADDER, etc. Just leave this column blank.
  • Item Restrings are not generally available as skills due to huge potential for player abuse. In a text-based game, the ability to modify the text of an item has huge impact. Therefore, all crafting abilities that do allow for a form of restring use specific formulas. Examples: Jewelmaking and Locksmithing.
  • When making new GenResource subtypes, such as through smelting or textiling, the resultant TYPE of resource should not be more valuable than the subtypes. For example: If you combine COPPER and GOLD into a new GREENGOLD subtype of GOLD, then any recipe which requires GOLD (including GREENGOLD) could use GREENGOLD instead (since it it a GOLD type, GREENGOLD subtype). Instead, consider making the material the lesser value, or an alternate TYPE (so, for the GREENGOLD example, make it either COPPER or BRONZE as the type, and GREENGOLD as the subtype).
  • When adding an article to your crafted item before a material wildcard (%) be sure the article fits. For example, use "a(n) % sword" so that it chances case for a steel sword vs an iron sword.