RECIPEEDIT
Keywords: RECIPEEDIT, RECIPE, RECIPES, CRAFTING
=== STAFF REFERENCE ===
Usage: recipeedit <zone:vnum>
Overview:
OLC editor for crafting recipes. Recipes define what materials and
resources are consumed to produce a crafted item. Players use the
craft command to execute recipes; staff use recipeedit to create
and modify them.
Recipe Properties:
Name .............. Recipe name (used by players with craft <name>).
Result Item ....... VID of the item prototype to create on success.
Result Qty ........ Number of items produced per craft (1-100).
MP Cost ........... Mission Points deducted on completion.
Min Skill ......... Minimum SKILL_ENGINEERING to attempt.
Craft Time ........ Base time in seconds (skill reduces this).
Races ............. Allowed races (space-separated, or 0 for any).
Ingredients:
Each ingredient specifies a material type ID and quantity required.
Material types are defined in lib/etc/materials and correspond to
ITEM_MATERIAL objects with matching OBJVAL_MATERIAL_TYPE values.
Editor Commands:
N .... Edit recipe name
R .... Set result item VID
Q .... Set result quantity
M .... Set MP cost
S .... Set minimum engineering skill
T .... Set base craft time (seconds)
A .... Set allowed races
I .... Manage ingredient list (add/edit/delete)
X .... Quit (prompts to save if changes were made)
Craft Time Formula:
Actual time = base time * 100 / (50 + engineering skill).
Higher engineering = faster crafting. Staff bypass timer.
Player Usage:
craft list .............. List available recipes (filtered by race/skill)
craft <recipe name> ..... Begin crafting (timed, interruptible)
Materials are only consumed on successful completion. Moving or
entering combat interrupts crafting without consuming materials.
Data File:
Recipes stored in lib/etc/recipes. Materials in lib/etc/materials.
Related Helpfiles: LOOTTABLE
=== END REFERENCE ===