evennia/docs/latest/api/evennia.contrib.game_systems.crafting.example_recipes.html
Evennia docbuilder action 243d596662 Updated HTML docs.
2025-08-15 18:14:21 +00:00

765 lines
No EOL
94 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>evennia.contrib.game_systems.crafting.example_recipes &#8212; Evennia latest documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=d75fae25" />
<link rel="stylesheet" type="text/css" href="../_static/nature.css?v=279e0f84" />
<link rel="stylesheet" type="text/css" href="../_static/custom.css?v=e4a91a55" />
<script src="../_static/documentation_options.js?v=c6e86fd7"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="icon" href="../_static/favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="evennia.contrib.game_systems.crafting.tests" href="evennia.contrib.game_systems.crafting.tests.html" />
<link rel="prev" title="evennia.contrib.game_systems.crafting.crafting" href="evennia.contrib.game_systems.crafting.crafting.html" />
</head><body>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="evennia.contrib.game_systems.crafting.tests.html" title="evennia.contrib.game_systems.crafting.tests"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="evennia.contrib.game_systems.crafting.crafting.html" title="evennia.contrib.game_systems.crafting.crafting"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Evennia</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../Evennia-API.html" >API Summary</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="evennia-api.html" >evennia</a> &#187;</li>
<li class="nav-item nav-item-3"><a href="evennia.html" >evennia</a> &#187;</li>
<li class="nav-item nav-item-4"><a href="evennia.contrib.html" >evennia.contrib</a> &#187;</li>
<li class="nav-item nav-item-5"><a href="evennia.contrib.game_systems.html" >evennia.contrib.game_systems</a> &#187;</li>
<li class="nav-item nav-item-6"><a href="evennia.contrib.game_systems.crafting.html" accesskey="U">evennia.contrib.game_systems.crafting</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">evennia.contrib.game_systems.crafting.example_recipes</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="module-evennia.contrib.game_systems.crafting.example_recipes">
<span id="evennia-contrib-game-systems-crafting-example-recipes"></span><h1>evennia.contrib.game_systems.crafting.example_recipes<a class="headerlink" href="#module-evennia.contrib.game_systems.crafting.example_recipes" title="Link to this heading"></a></h1>
<p>How to make a sword - example crafting tree for the crafting system.</p>
<p>See the <strong>SwordSmithingBaseRecipe</strong> in this module for an example of extendng the
recipe with a mocked skill system (just random chance in our case). The skill
system used is game-specific but likely to be needed for most real crafting
systems.</p>
<p>Note that tools are references to the tools used - they dont need to be in
the inventory of the crafter. So when blast furnace is given below, it is a
reference to a blast furnace used, not suggesting the crafter is carrying it
around with them.</p>
<section id="sword-crafting-tree">
<h2>Sword crafting tree<a class="headerlink" href="#sword-crafting-tree" title="Link to this heading"></a></h2>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="c1"># base materials (consumables)</span>
<span class="n">iron</span> <span class="n">ore</span><span class="p">,</span> <span class="n">ash</span><span class="p">,</span> <span class="n">sand</span><span class="p">,</span> <span class="n">coal</span><span class="p">,</span> <span class="n">oak</span> <span class="n">wood</span><span class="p">,</span> <span class="n">water</span><span class="p">,</span> <span class="n">fur</span>
<span class="c1"># base tools (marked with [T] for clarity and assumed to already exist)</span>
<span class="n">blast</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">],</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">],</span> <span class="n">crucible</span><span class="p">[</span><span class="n">T</span><span class="p">],</span> <span class="n">anvil</span><span class="p">[</span><span class="n">T</span><span class="p">],</span>
<span class="n">hammer</span><span class="p">[</span><span class="n">T</span><span class="p">],</span> <span class="n">knife</span><span class="p">[</span><span class="n">T</span><span class="p">],</span> <span class="n">cauldron</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="c1"># recipes for making a sword</span>
<span class="n">pig</span> <span class="n">iron</span> <span class="o">=</span> <span class="n">iron</span> <span class="n">ore</span> <span class="o">+</span> <span class="mi">2</span><span class="n">xcoal</span> <span class="o">+</span> <span class="n">blast</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">crucible_steel</span> <span class="o">=</span> <span class="n">pig</span> <span class="n">iron</span> <span class="o">+</span> <span class="n">ash</span> <span class="o">+</span> <span class="n">sand</span> <span class="o">+</span> <span class="mi">2</span><span class="n">xcoal</span> <span class="o">+</span> <span class="n">crucible</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">sword</span> <span class="n">blade</span> <span class="o">=</span> <span class="n">crucible</span> <span class="n">steel</span> <span class="o">+</span> <span class="n">hammer</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">anvil</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">sword</span> <span class="n">pommel</span> <span class="o">=</span> <span class="n">crucible</span> <span class="n">steel</span> <span class="o">+</span> <span class="n">hammer</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">anvil</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">sword</span> <span class="n">guard</span> <span class="o">=</span> <span class="n">crucible</span> <span class="n">steel</span> <span class="o">+</span> <span class="n">hammer</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">anvil</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">rawhide</span> <span class="o">=</span> <span class="n">fur</span> <span class="o">+</span> <span class="n">knife</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">oak</span> <span class="n">bark</span> <span class="o">+</span> <span class="n">cleaned</span> <span class="n">oak</span> <span class="n">wood</span> <span class="o">=</span> <span class="n">oak</span> <span class="n">wood</span> <span class="o">+</span> <span class="n">knife</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">leather</span> <span class="o">=</span> <span class="n">rawhide</span> <span class="o">+</span> <span class="n">oak</span> <span class="n">bark</span> <span class="o">+</span> <span class="n">water</span> <span class="o">+</span> <span class="n">cauldron</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">sword</span> <span class="n">handle</span> <span class="o">=</span> <span class="n">cleaned</span> <span class="n">oak</span> <span class="n">wood</span> <span class="o">+</span> <span class="n">knife</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
<span class="n">sword</span> <span class="o">=</span> <span class="n">sword</span> <span class="n">blade</span> <span class="o">+</span> <span class="n">sword</span> <span class="n">guard</span> <span class="o">+</span> <span class="n">sword</span> <span class="n">pommel</span>
<span class="o">+</span> <span class="n">sword</span> <span class="n">handle</span> <span class="o">+</span> <span class="n">leather</span> <span class="o">+</span> <span class="n">knife</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">hammer</span><span class="p">[</span><span class="n">T</span><span class="p">]</span> <span class="o">+</span> <span class="n">furnace</span><span class="p">[</span><span class="n">T</span><span class="p">]</span>
</pre></div>
</div>
</section>
<section id="recipes-used-for-spell-casting">
<h2>Recipes used for spell casting<a class="headerlink" href="#recipes-used-for-spell-casting" title="Link to this heading"></a></h2>
<p>This is a simple example modifying the base Recipe to use as a way
to describe magical spells instead. It combines tools with
a skill (an attribute on the caster) in order to produce a magical effect.</p>
<p>The example <strong>CmdCast</strong> command can be added to the CharacterCmdset in
<strong>mygame/commands/default_cmdsets</strong> to test it out. The effects are
just mocked for the example.</p>
<dl>
<dt>::</dt><dd><p># base tools (assumed to already exist)</p>
<p>spellbook[T], wand[T]</p>
<p># skill (stored as Attribute on caster)</p>
<p>firemagic skill level10+</p>
<p># recipe for fireball</p>
<p>fireball = spellbook[T] + wand[T] + [firemagic skill lvl10+]</p>
</dd>
</dl>
</section>
<hr class="docutils" />
<dl class="py function">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.random">
<span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">random</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">x</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">interval</span> <span class="pre">[0,</span> <span class="pre">1).</span></span></span><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.random" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">PigIronRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#PigIronRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>Pig iron is a high-carbon result of melting iron in a blast furnace.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'pig</span> <span class="pre">iron'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['blast</span> <span class="pre">furnace']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['iron</span> <span class="pre">ore',</span> <span class="pre">'coal',</span> <span class="pre">'coal']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'An</span> <span class="pre">ingot</span> <span class="pre">of</span> <span class="pre">crude</span> <span class="pre">pig</span> <span class="pre">iron.',</span> <span class="pre">'key':</span> <span class="pre">'Pig</span> <span class="pre">Iron</span> <span class="pre">ingot',</span> <span class="pre">'tags':</span> <span class="pre">[('pig</span> <span class="pre">iron',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">CrucibleSteelRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#CrucibleSteelRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>Mixing pig iron with impurities like ash and sand and melting it in a
crucible produces a medieval level of steel (like damascus steel).</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'crucible</span> <span class="pre">steel'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['crucible']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['pig</span> <span class="pre">iron',</span> <span class="pre">'ash',</span> <span class="pre">'sand',</span> <span class="pre">'coal',</span> <span class="pre">'coal']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'An</span> <span class="pre">ingot</span> <span class="pre">of</span> <span class="pre">multi-colored</span> <span class="pre">crucible</span> <span class="pre">steel.',</span> <span class="pre">'key':</span> <span class="pre">'Crucible</span> <span class="pre">steel</span> <span class="pre">ingot',</span> <span class="pre">'tags':</span> <span class="pre">[('crucible</span> <span class="pre">steel',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">SwordBladeRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#SwordBladeRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_SwordSmithingBaseRecipe</span></code></p>
<p>A [sword]blade requires hammering the steel out into shape using heat and
force. This also includes the tang, which is the base for the hilt (the
part of the sword you hold on to).</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sword</span> <span class="pre">blade'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['hammer',</span> <span class="pre">'anvil',</span> <span class="pre">'furnace']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['crucible</span> <span class="pre">steel']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'A</span> <span class="pre">long</span> <span class="pre">blade</span> <span class="pre">that</span> <span class="pre">may</span> <span class="pre">one</span> <span class="pre">day</span> <span class="pre">become</span> <span class="pre">a</span> <span class="pre">sword.',</span> <span class="pre">'key':</span> <span class="pre">'Sword</span> <span class="pre">blade',</span> <span class="pre">'tags':</span> <span class="pre">[('sword</span> <span class="pre">blade',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">SwordPommelRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#SwordPommelRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_SwordSmithingBaseRecipe</span></code></p>
<p>The pommel is the button or ball etc the end of the sword hilt, holding
it together.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sword</span> <span class="pre">pommel'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['hammer',</span> <span class="pre">'anvil',</span> <span class="pre">'furnace']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['crucible</span> <span class="pre">steel']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'The</span> <span class="pre">pommel</span> <span class="pre">for</span> <span class="pre">a</span> <span class="pre">future</span> <span class="pre">sword.',</span> <span class="pre">'key':</span> <span class="pre">'Sword</span> <span class="pre">pommel',</span> <span class="pre">'tags':</span> <span class="pre">[('sword</span> <span class="pre">pommel',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">SwordGuardRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#SwordGuardRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_SwordSmithingBaseRecipe</span></code></p>
<p>The guard stops the hand from accidentally sliding off the hilt onto the
swords blade and also protects the hand when parrying.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sword</span> <span class="pre">guard'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['hammer',</span> <span class="pre">'anvil',</span> <span class="pre">'furnace']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['crucible</span> <span class="pre">steel']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'The</span> <span class="pre">cross-guard</span> <span class="pre">for</span> <span class="pre">a</span> <span class="pre">future</span> <span class="pre">sword.',</span> <span class="pre">'key':</span> <span class="pre">'Sword</span> <span class="pre">guard',</span> <span class="pre">'tags':</span> <span class="pre">[('sword</span> <span class="pre">guard',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">RawhideRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#RawhideRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>Rawhide is animal skin cleaned and stripped of hair.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'rawhide'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['knife']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['fur']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'Animal</span> <span class="pre">skin,</span> <span class="pre">cleaned</span> <span class="pre">and</span> <span class="pre">with</span> <span class="pre">hair</span> <span class="pre">removed.',</span> <span class="pre">'key':</span> <span class="pre">'Rawhide',</span> <span class="pre">'tags':</span> <span class="pre">[('rawhide',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">OakBarkRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#OakBarkRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>The actual thing needed for tanning leather is Tannin, but we skip
the step of refining tannin from the bark and use the bark as-is.</p>
<p>This produces two outputs - the bark and the cleaned wood.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'oak</span> <span class="pre">bark'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['knife']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['oak</span> <span class="pre">wood']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'Bark</span> <span class="pre">of</span> <span class="pre">oak,</span> <span class="pre">stripped</span> <span class="pre">from</span> <span class="pre">the</span> <span class="pre">core</span> <span class="pre">wood.',</span> <span class="pre">'key':</span> <span class="pre">'Oak</span> <span class="pre">bark',</span> <span class="pre">'tags':</span> <span class="pre">[('oak</span> <span class="pre">bark',</span> <span class="pre">'crafting_material')]},</span> <span class="pre">{'desc':</span> <span class="pre">'Oakwood</span> <span class="pre">core,</span> <span class="pre">stripped</span> <span class="pre">of</span> <span class="pre">bark.',</span> <span class="pre">'key':</span> <span class="pre">'Oak</span> <span class="pre">Wood</span> <span class="pre">(cleaned)',</span> <span class="pre">'tags':</span> <span class="pre">[('cleaned</span> <span class="pre">oak</span> <span class="pre">wood',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">LeatherRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#LeatherRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>Leather is produced by tanning rawhide in a process traditionally involving
the chemical Tannin. Here we abbreviate this process a bit. Maybe a
tanning rack tool should be required too …</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'leather'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['cauldron']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['rawhide',</span> <span class="pre">'oak</span> <span class="pre">bark',</span> <span class="pre">'water']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'A</span> <span class="pre">piece</span> <span class="pre">of</span> <span class="pre">leather.',</span> <span class="pre">'key':</span> <span class="pre">'Piece</span> <span class="pre">of</span> <span class="pre">Leather',</span> <span class="pre">'tags':</span> <span class="pre">[('leather',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">SwordHandleRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#SwordHandleRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.contrib.game_systems.crafting.crafting.html#evennia.contrib.game_systems.crafting.crafting.CraftingRecipe" title="evennia.contrib.game_systems.crafting.crafting.CraftingRecipe"><code class="xref py py-class docutils literal notranslate"><span class="pre">CraftingRecipe</span></code></a></p>
<p>The handle is the part of the hilt between the guard and the pommel where
you hold the sword. It consists of wooden pieces around the steel tang. It
is wrapped in leather, but that will be added at the end.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sword</span> <span class="pre">handle'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['knife']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['cleaned</span> <span class="pre">oak</span> <span class="pre">wood']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">&quot;Two</span> <span class="pre">pieces</span> <span class="pre">of</span> <span class="pre">wood</span> <span class="pre">to</span> <span class="pre">be</span> <span class="pre">be</span> <span class="pre">fitted</span> <span class="pre">onto</span> <span class="pre">a</span> <span class="pre">sword's</span> <span class="pre">tang</span> <span class="pre">as</span> <span class="pre">its</span> <span class="pre">handle.&quot;,</span> <span class="pre">'key':</span> <span class="pre">'Sword</span> <span class="pre">handle',</span> <span class="pre">'tags':</span> <span class="pre">[('sword</span> <span class="pre">handle',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">SwordRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#SwordRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_SwordSmithingBaseRecipe</span></code></p>
<p>A finished sword consists of a Blade ending in a non-sharp part called the
Tang. The cross Guard is put over the tang against the edge of the blade.
The Handle is put over the tang to give something easier to hold. The
Pommel locks everything in place. The handle is wrapped in leather
strips for better grip.</p>
<p>This covers only a single sword type.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sword'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.tool_tags">
<span class="sig-name descname"><span class="pre">tool_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['hammer',</span> <span class="pre">'furnace',</span> <span class="pre">'knife']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.tool_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.consumable_tags">
<span class="sig-name descname"><span class="pre">consumable_tags</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['sword</span> <span class="pre">blade',</span> <span class="pre">'sword</span> <span class="pre">guard',</span> <span class="pre">'sword</span> <span class="pre">pommel',</span> <span class="pre">'sword</span> <span class="pre">handle',</span> <span class="pre">'leather']</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.consumable_tags" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.output_prototypes">
<span class="sig-name descname"><span class="pre">output_prototypes</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[{'desc':</span> <span class="pre">'A</span> <span class="pre">bladed</span> <span class="pre">weapon.',</span> <span class="pre">'key':</span> <span class="pre">'Sword',</span> <span class="pre">'tags':</span> <span class="pre">[('sword',</span> <span class="pre">'crafting_material')]}]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.output_prototypes" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.exact_consumable_order">
<span class="sig-name descname"><span class="pre">exact_consumable_order</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.exact_consumable_order" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">FireballRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#FireballRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_MagicRecipe</span></code></p>
<p>A Fireball is a magical effect that can be thrown at a target to cause damage.</p>
<p>Note that the magic-effects are just examples, an actual rule system would
need to be created to understand what they mean when used.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'fireball'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_requirements">
<span class="sig-name descname"><span class="pre">skill_requirements</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[('firemagic',</span> <span class="pre">10)]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_requirements" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_roll">
<span class="sig-name descname"><span class="pre">skill_roll</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'firemagic'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_roll" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.success_message">
<span class="sig-name descname"><span class="pre">success_message</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'A</span> <span class="pre">ball</span> <span class="pre">of</span> <span class="pre">flame</span> <span class="pre">appears!'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.success_message" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.desired_effects">
<span class="sig-name descname"><span class="pre">desired_effects</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[('target_fire_damage',</span> <span class="pre">25),</span> <span class="pre">('ranged_attack',</span> <span class="pre">-2),</span> <span class="pre">('mana_cost',</span> <span class="pre">12)]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.desired_effects" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.failure_effects">
<span class="sig-name descname"><span class="pre">failure_effects</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[('self_fire_damage',</span> <span class="pre">5),</span> <span class="pre">('mana_cost',</span> <span class="pre">5)]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.failure_effects" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">HealingRecipe</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">crafter</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">inputs</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#HealingRecipe"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">_MagicRecipe</span></code></p>
<p>Healing magic will restore a certain amount of health to the target over time.</p>
<p>Note that the magic-effects are just examples, an actual rule system would
need to be created to understand what they mean.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.name">
<span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'heal'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.name" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_requirements">
<span class="sig-name descname"><span class="pre">skill_requirements</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[('bodymagic',</span> <span class="pre">5),</span> <span class="pre">('empathy',</span> <span class="pre">10)]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_requirements" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_roll">
<span class="sig-name descname"><span class="pre">skill_roll</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'bodymagic'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_roll" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.success_message">
<span class="sig-name descname"><span class="pre">success_message</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'You</span> <span class="pre">successfully</span> <span class="pre">extend</span> <span class="pre">your</span> <span class="pre">healing</span> <span class="pre">aura.'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.success_message" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.desired_effects">
<span class="sig-name descname"><span class="pre">desired_effects</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[('healing',</span> <span class="pre">15),</span> <span class="pre">('mana_cost',</span> <span class="pre">5)]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.desired_effects" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.failure_effects">
<span class="sig-name descname"><span class="pre">failure_effects</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.failure_effects" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">evennia.contrib.game_systems.crafting.example_recipes.</span></span><span class="sig-name descname"><span class="pre">CmdCast</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#CmdCast"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="evennia.commands.command.html#evennia.commands.command.Command" title="evennia.commands.command.Command"><code class="xref py py-class docutils literal notranslate"><span class="pre">Command</span></code></a></p>
<p>Cast a magical spell.</p>
<dl class="simple">
<dt>Usage:</dt><dd><p>cast &lt;spell&gt; &lt;target&gt;</p>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.key">
<span class="sig-name descname"><span class="pre">key</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cast'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.key" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.parse">
<span class="sig-name descname"><span class="pre">parse</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#CmdCast.parse"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.parse" title="Link to this definition"></a></dt>
<dd><p>Simple parser, assuming spellname doesnt have spaces.
Stores result in self.target and self.spellname.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.func">
<span class="sig-name descname"><span class="pre">func</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/contrib/game_systems/crafting/example_recipes.html#CmdCast.func"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.func" title="Link to this definition"></a></dt>
<dd><p>This is the actual executing part of the command. It is
called directly after self.parse(). See the docstring of this
module for which object properties are available (beyond those
set in self.parse())</p>
</dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.aliases">
<span class="sig-name descname"><span class="pre">aliases</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[]</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.aliases" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.help_category">
<span class="sig-name descname"><span class="pre">help_category</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'general'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.help_category" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.lock_storage">
<span class="sig-name descname"><span class="pre">lock_storage</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cmd:all();'</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.lock_storage" title="Link to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="evennia.contrib.game_systems.crafting.example_recipes.CmdCast.search_index_entry">
<span class="sig-name descname"><span class="pre">search_index_entry</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{'aliases':</span> <span class="pre">'',</span> <span class="pre">'category':</span> <span class="pre">'general',</span> <span class="pre">'key':</span> <span class="pre">'cast',</span> <span class="pre">'no_prefix':</span> <span class="pre">'</span> <span class="pre">',</span> <span class="pre">'tags':</span> <span class="pre">'',</span> <span class="pre">'text':</span> <span class="pre">'\nCast</span> <span class="pre">a</span> <span class="pre">magical</span> <span class="pre">spell.\n\nUsage:\n</span>&#160;&#160;&#160; <span class="pre">cast</span> <span class="pre">&lt;spell&gt;</span> <span class="pre">&lt;target&gt;\n\n'}</span></em><a class="headerlink" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.search_index_entry" title="Link to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/evennia_logo.png" alt="Logo of Evennia"/>
</a></p>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
<h3><a href="../index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">evennia.contrib.game_systems.crafting.example_recipes</a><ul>
<li><a class="reference internal" href="#sword-crafting-tree">Sword crafting tree</a></li>
<li><a class="reference internal" href="#recipes-used-for-spell-casting">Recipes used for spell casting</a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.random"><code class="docutils literal notranslate"><span class="pre">random()</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe"><code class="docutils literal notranslate"><span class="pre">PigIronRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.name"><code class="docutils literal notranslate"><span class="pre">PigIronRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">PigIronRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">PigIronRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.PigIronRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">PigIronRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe"><code class="docutils literal notranslate"><span class="pre">CrucibleSteelRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.name"><code class="docutils literal notranslate"><span class="pre">CrucibleSteelRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">CrucibleSteelRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">CrucibleSteelRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CrucibleSteelRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">CrucibleSteelRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe"><code class="docutils literal notranslate"><span class="pre">SwordBladeRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.name"><code class="docutils literal notranslate"><span class="pre">SwordBladeRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">SwordBladeRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">SwordBladeRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordBladeRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">SwordBladeRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe"><code class="docutils literal notranslate"><span class="pre">SwordPommelRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.name"><code class="docutils literal notranslate"><span class="pre">SwordPommelRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">SwordPommelRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">SwordPommelRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordPommelRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">SwordPommelRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe"><code class="docutils literal notranslate"><span class="pre">SwordGuardRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.name"><code class="docutils literal notranslate"><span class="pre">SwordGuardRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">SwordGuardRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">SwordGuardRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordGuardRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">SwordGuardRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe"><code class="docutils literal notranslate"><span class="pre">RawhideRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.name"><code class="docutils literal notranslate"><span class="pre">RawhideRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">RawhideRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">RawhideRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.RawhideRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">RawhideRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe"><code class="docutils literal notranslate"><span class="pre">OakBarkRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.name"><code class="docutils literal notranslate"><span class="pre">OakBarkRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">OakBarkRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">OakBarkRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.OakBarkRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">OakBarkRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe"><code class="docutils literal notranslate"><span class="pre">LeatherRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.name"><code class="docutils literal notranslate"><span class="pre">LeatherRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">LeatherRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">LeatherRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.LeatherRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">LeatherRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe"><code class="docutils literal notranslate"><span class="pre">SwordHandleRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.name"><code class="docutils literal notranslate"><span class="pre">SwordHandleRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">SwordHandleRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">SwordHandleRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordHandleRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">SwordHandleRecipe.output_prototypes</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe"><code class="docutils literal notranslate"><span class="pre">SwordRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.name"><code class="docutils literal notranslate"><span class="pre">SwordRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.tool_tags"><code class="docutils literal notranslate"><span class="pre">SwordRecipe.tool_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.consumable_tags"><code class="docutils literal notranslate"><span class="pre">SwordRecipe.consumable_tags</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.output_prototypes"><code class="docutils literal notranslate"><span class="pre">SwordRecipe.output_prototypes</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.SwordRecipe.exact_consumable_order"><code class="docutils literal notranslate"><span class="pre">SwordRecipe.exact_consumable_order</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe"><code class="docutils literal notranslate"><span class="pre">FireballRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.name"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_requirements"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.skill_requirements</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.skill_roll"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.skill_roll</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.success_message"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.success_message</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.desired_effects"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.desired_effects</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.FireballRecipe.failure_effects"><code class="docutils literal notranslate"><span class="pre">FireballRecipe.failure_effects</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe"><code class="docutils literal notranslate"><span class="pre">HealingRecipe</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.name"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.name</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_requirements"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.skill_requirements</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.skill_roll"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.skill_roll</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.success_message"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.success_message</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.desired_effects"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.desired_effects</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.HealingRecipe.failure_effects"><code class="docutils literal notranslate"><span class="pre">HealingRecipe.failure_effects</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast"><code class="docutils literal notranslate"><span class="pre">CmdCast</span></code></a><ul>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.key"><code class="docutils literal notranslate"><span class="pre">CmdCast.key</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.parse"><code class="docutils literal notranslate"><span class="pre">CmdCast.parse()</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.func"><code class="docutils literal notranslate"><span class="pre">CmdCast.func()</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.aliases"><code class="docutils literal notranslate"><span class="pre">CmdCast.aliases</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.help_category"><code class="docutils literal notranslate"><span class="pre">CmdCast.help_category</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.lock_storage"><code class="docutils literal notranslate"><span class="pre">CmdCast.lock_storage</span></code></a></li>
<li><a class="reference internal" href="#evennia.contrib.game_systems.crafting.example_recipes.CmdCast.search_index_entry"><code class="docutils literal notranslate"><span class="pre">CmdCast.search_index_entry</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="evennia.contrib.game_systems.crafting.crafting.html"
title="previous chapter">evennia.contrib.game_systems.crafting.crafting</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="evennia.contrib.game_systems.crafting.tests.html"
title="next chapter">evennia.contrib.game_systems.crafting.tests</a></p>
</div>
<div role="note" aria-label="source link">
<!--h3>This Page</h3-->
<ul class="this-page-menu">
<li><a href="../_sources/api/evennia.contrib.game_systems.crafting.example_recipes.md.txt"
rel="nofollow">Show Page Source</a></li>
</ul>
</div><h3>Links</h3>
<ul>
<li><a href="https://www.evennia.com/docs/latest/index.html">Documentation Top</a> </li>
<li><a href="https://www.evennia.com">Evennia Home</a> </li>
<li><a href="https://github.com/evennia/evennia">Github</a> </li>
<li><a href="http://games.evennia.com">Game Index</a> </li>
<li>
<a href="https://discord.gg/AJJpcRUhtF">Discord</a> -
<a href="https://github.com/evennia/evennia/discussions">Discussions</a> -
<a href="https://evennia.blogspot.com/">Blog</a>
</li>
</ul>
<h3>Doc Versions</h3>
<ul>
<li>
<a href="https://www.evennia.com/docs/latest/index.html">latest (main branch)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/5.x/index.html">v5.0.0 branch (outdated)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/4.x/index.html">v4.0.0 branch (outdated)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/3.x/index.html">v3.0.0 branch (outdated)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/2.x/index.html">v2.0.0 branch (outdated)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/1.x/index.html">v1.0.0 branch (outdated)</a>
</li>
<li>
<a href="https://www.evennia.com/docs/0.x/index.html">v0.9.5 branch (outdated)</a>
</li>
</ul>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="evennia.contrib.game_systems.crafting.tests.html" title="evennia.contrib.game_systems.crafting.tests"
>next</a> |</li>
<li class="right" >
<a href="evennia.contrib.game_systems.crafting.crafting.html" title="evennia.contrib.game_systems.crafting.crafting"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Evennia</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../Evennia-API.html" >API Summary</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="evennia-api.html" >evennia</a> &#187;</li>
<li class="nav-item nav-item-3"><a href="evennia.html" >evennia</a> &#187;</li>
<li class="nav-item nav-item-4"><a href="evennia.contrib.html" >evennia.contrib</a> &#187;</li>
<li class="nav-item nav-item-5"><a href="evennia.contrib.game_systems.html" >evennia.contrib.game_systems</a> &#187;</li>
<li class="nav-item nav-item-6"><a href="evennia.contrib.game_systems.crafting.html" >evennia.contrib.game_systems.crafting</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">evennia.contrib.game_systems.crafting.example_recipes</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2024, The Evennia developer community.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>