<spanid="evennia-commands-default-building"></span><h1>evennia.commands.default.building<aclass="headerlink"href="#module-evennia.commands.default.building"title="Permalink to this headline">¶</a></h1>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">ObjManipCommand</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#ObjManipCommand"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">parse</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#ObjManipCommand.parse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand.parse"title="Permalink to this definition">¶</a></dt>
<dd><p>We need to expand the default parsing to get all
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'general'</em><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'command'</em><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:all();'</em><aclass="headerlink"href="#evennia.commands.default.building.ObjManipCommand.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdSetObjAlias</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetObjAlias"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'alias'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['setobjalias']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('category',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(setobjalias) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetObjAlias.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(setobjalias) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetObjAlias.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdCopy</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCopy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'copy'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(copy) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCopy.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(copy) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCopy.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdCpAttr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'cpattr'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('move',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(cpattr) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">check_from_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em>, <emclass="sig-param"><spanclass="n">clear</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_from_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.check_from_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">check_to_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_to_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.check_to_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">check_has_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_has_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.check_has_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr.get_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.get_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCpAttr.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(cpattr) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCpAttr.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdMvAttr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdMvAttr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'mvattr'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('copy',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(mvattr) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdMvAttr.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(mvattr) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdMvAttr.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdCreate</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCreate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'create'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('drop',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(create) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">new_obj_lockstring</code><emclass="property"> = 'control:id({id}) or perm(Admin);delete:id({id}) or perm(Admin)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.new_obj_lockstring"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdCreate.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(create) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdCreate.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdDesc</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDesc"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'desc'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['describe']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('edit',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(desc) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">edit_handler</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDesc.edit_handler"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.edit_handler"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDesc.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(desc) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDesc.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdDestroy</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDestroy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'destroy'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['delete', 'del']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('override', 'force')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(destroy) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">confirm</code><emclass="property"> = True</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.confirm"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">default_confirm</code><emclass="property"> = 'yes'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.default_confirm"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDestroy.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(destroy) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDestroy.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdDig</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDig"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDig"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'dig'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('teleport',)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(dig) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">new_room_lockstring</code><emclass="property"> = 'control:id({id}) or perm(Admin); delete:id({id}) or perm(Admin); edit:id({id}) or perm(Admin)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.new_room_lockstring"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdDig.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.func"title="Permalink to this definition">¶</a></dt>
<dd><p>Do the digging. Inherits variables from ObjManipCommand.parse()</p>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(dig) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdDig.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdTunnel</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTunnel"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel"title="Permalink to this definition">¶</a></dt>
<dt>Switches:</dt><dd><p>oneway - do not create an exit back to the current location
tel - teleport to the newly created room</p>
</dd>
</dl>
<pclass="rubric">Example</p>
<p>tunnel n
tunnel n = house;mike’s place;green building</p>
<dlclass="simple">
<dt>This is a simple way to build using pre-defined directions:</dt><dd><p><ahref="#id3"><spanclass="problematic"id="id4">|</span></a>wn,ne,e,se,s,sw,w,nw|n (north, northeast etc)
<ahref="#id5"><spanclass="problematic"id="id6">|</span></a>wu,d|n (up and down)
<ahref="#id7"><spanclass="problematic"id="id8">|</span></a>wi,o|n (in and out)</p>
</dd>
</dl>
<p>The full names (north, in, southwest, etc) will always be put as
main name for the exit, using the abbreviation as an alias (so an
exit will always be able to be used with both “north” as well as
“n” for example). Opposite directions will automatically be
created back from the new room unless the /oneway switch is given.
For more flexibility and power in creating rooms, use dig.</p>
<codeclass="sig-name descname">key</code><emclass="property"> = 'tunnel'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['tun']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('oneway', 'tel')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd: perm(tunnel) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTunnel.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd: perm(tunnel) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTunnel.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdLink</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdLink"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdLink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'link'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(link) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdLink.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(link) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLink.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdUnLink</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdUnLink"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'unlink'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(unlink) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_key</code><emclass="property"> = 'Building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.help_key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdUnLink.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.func"title="Permalink to this definition">¶</a></dt>
<dd><p>All we need to do here is to set the right command
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(unlink) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdUnLink.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdSetHome</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetHome"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'sethome'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(sethome) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetHome.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(sethome) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetHome.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdListCmdSets</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdListCmdSets"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'cmdsets'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['listcmsets']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(listcmdsets) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdListCmdSets.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(listcmdsets) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdListCmdSets.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdName</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdName"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdName"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'name'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdName.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['rename']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdName.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(rename) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdName.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdName.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdName.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdName.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(rename) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdName.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdOpen</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdOpen"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'open'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(open) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">new_obj_lockstring</code><emclass="property"> = 'control:id({id}) or perm(Admin);delete:id({id}) or perm(Admin)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.new_obj_lockstring"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">create_exit</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">exit_name</span></em>, <emclass="sig-param"><spanclass="n">location</span></em>, <emclass="sig-param"><spanclass="n">destination</span></em>, <emclass="sig-param"><spanclass="n">exit_aliases</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">typeclass</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdOpen.create_exit"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.create_exit"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdOpen.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.func"title="Permalink to this definition">¶</a></dt>
<dd><p>This is where the processing starts.
Uses the ObjManipCommand.parser() for pre-processing
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(open) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdOpen.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdSetAttribute</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute"title="Permalink to this definition">¶</a></dt>
set <ahref="#id11"><spanclass="problematic"id="id12">*</span></a><account>/<attr> = <value></p>
</dd>
<dt>Switch:</dt><dd><p>edit: Open the line editor (string values only)
script: If we’re trying to set an attribute on a script
channel: If we’re trying to set an attribute on a channel
account: If we’re trying to set an attribute on an account
room: Setting an attribute on a room (global search)
exit: Setting an attribute on an exit (global search)
char: Setting an attribute on a character (global search)
character: Alias for char, as above.</p>
</dd>
</dl>
<p>Sets attributes on objects. The second example form above clears a
previously set attribute while the third form inspects the current value of
the attribute (if any). The last one (with the star) is a shortcut for
operating on a player Account rather than an Object.</p>
<p>The most common data to save with this command are strings and
numbers. You can however also set Python primitives such as lists,
dictionaries and tuples on objects (this might be important for
the functionality of certain custom objects). This is indicated
by you starting your value with one of <ahref="#id13"><spanclass="problematic"id="id14">|</span></a>c’<ahref="#id15"><spanclass="problematic"id="id16">|</span></a>n, <ahref="#id17"><spanclass="problematic"id="id18">|</span></a>c”<ahref="#id19"><spanclass="problematic"id="id20">|</span></a>n, <ahref="#id21"><spanclass="problematic"id="id22">|</span></a>c(<ahref="#id23"><spanclass="problematic"id="id24">|</span></a>n, <ahref="#id25"><spanclass="problematic"id="id26">|</span></a>c[<ahref="#id27"><spanclass="problematic"id="id28">|</span></a>n
or <ahref="#id29"><spanclass="problematic"id="id30">|</span></a>c{ <ahref="#id31"><spanclass="problematic"id="id32">|</span></a>n.</p>
<p>Once you have stored a Python primitive as noted above, you can include
<ahref="#id33"><spanclass="problematic"id="id34">|</span></a>c[<key>]|n in <attr> to reference nested values in e.g. a list or dict.</p>
<p>Remember that if you use Python primitives like this, you must
write proper Python syntax too - notably you must include quotes
<codeclass="sig-name descname">key</code><emclass="property"> = 'set'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(set) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">nested_re</code><emclass="property"> = re.compile('\\[.*?\\]')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.nested_re"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">not_found</code><emclass="property"> = <object object></em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.not_found"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">check_obj</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.check_obj"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.check_obj"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">check_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr_name</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.check_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.check_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">split_nested_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.split_nested_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.split_nested_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">do_nested_lookup</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">value</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">keys</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.do_nested_lookup"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.do_nested_lookup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">view_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.view_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.view_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">rm_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.rm_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.rm_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set_attr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.set_attr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.set_attr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">edit_handler</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.edit_handler"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.edit_handler"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">search_for_obj</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">objname</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.search_for_obj"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.search_for_obj"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.func"title="Permalink to this definition">¶</a></dt>
<dd><p>Implement the set attribute - a limited form of py.</p>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(set) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSetAttribute.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdTypeclass</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTypeclass"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass"title="Permalink to this definition">¶</a></dt>
swap - this is a shorthand for using /force/reset flags.
update - this is a shorthand for using the /force/reload flag.</p>
</dd>
<dt>Switch:</dt><dd><dlclass="simple">
<dt>show, examine - display the current typeclass of object (default) or, if</dt><dd><p>given a typeclass path, show the docstring of that typeclass.</p>
</dd>
<dt>update - <em>only</em> re-run at_object_creation on this object</dt><dd><p>meaning locks or other properties set later may remain.</p>
</dd>
<dt>reset - clean out <em>all</em> the attributes and properties on the</dt><dd><p>object - basically making this a new clean object.</p>
</dd>
<dt>force - change to the typeclass also if the object</dt><dd><p>already has a typeclass of the same name.</p>
</dd>
<dt>list - show available typeclasses. Only typeclasses in modules actually</dt><dd><p>imported or used from somewhere in the code will show up here
(those typeclasses are still available if you know the path)</p>
</dd>
<dt>prototype - clean and overwrite the object with the specified</dt><dd><p>prototype key - effectively making a whole new object.</p>
</dd>
</dl>
</dd>
</dl>
<pclass="rubric">Example</p>
<p>type button = examples.red_button.RedButton
type/prototype button=a red button</p>
<p>If the typeclass_path is not given, the current object’s typeclass is
assumed.</p>
<p>View or set an object’s typeclass. If setting, the creation hooks of the
new typeclass will be run on the object. If you have clashing properties on
the old class, use /reset. By default you are protected from changing to a
typeclass of the same name as the one you already have - use /force to
override this protection.</p>
<p>The given typeclass must be identified by its location using python
dot-notation pointing to the correct module and class. If no typeclass is
given (or a wrong typeclass is given). Errors in the path or new typeclass
will lead to the old typeclass being kept. The location of the typeclass
module is searched from the default typeclass directory, as defined in the
<codeclass="sig-name descname">key</code><emclass="property"> = 'typeclass'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['type', 'update', 'parent', 'swap']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(typeclass) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTypeclass.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(typeclass) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTypeclass.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdWipe</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdWipe"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'wipe'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(wipe) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdWipe.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.func"title="Permalink to this definition">¶</a></dt>
<dd><p>inp is the dict produced in ObjManipCommand.parse()</p>
<codeclass="sig-name descname">aliases</code><emclass="property"> = []</em><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(wipe) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdWipe.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdLock</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdLock"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdLock"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'lock'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['locks']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd: perm(locks) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdLock.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd: perm(locks) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdLock.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdExamine</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdExamine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'examine'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['ex', 'exam']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(examine) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">arg_regex</code><emclass="property"> = re.compile('(/\\w+?(\\s|$))|\\s|$', re.IGNORECASE)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.arg_regex"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">account_mode</code><emclass="property"> = False</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.account_mode"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">detail_color</code><emclass="property"> = '|c'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.detail_color"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">header_color</code><emclass="property"> = '|w'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.header_color"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">quell_color</code><emclass="property"> = '|r'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.quell_color"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">separator</code><emclass="property"> = '-'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.separator"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">list_attribute</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">crop</span></em>, <emclass="sig-param"><spanclass="n">attr</span></em>, <emclass="sig-param"><spanclass="n">category</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdExamine.list_attribute"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.list_attribute"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">format_attributes</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">attrname</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">crop</span><spanclass="o">=</span><spanclass="default_value">True</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdExamine.format_attributes"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.format_attributes"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">format_output</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">current_cmdset</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdExamine.format_output"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.format_output"title="Permalink to this definition">¶</a></dt>
<li><p><strong>current_cmdset</strong> (<aclass="reference internal"href="evennia.commands.cmdset.html#evennia.commands.cmdset.CmdSet"title="evennia.commands.cmdset.CmdSet"><em>CmdSet</em></a>) – Current cmdset for object.</p></li>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdExamine.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(examine) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdExamine.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdFind</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdFind"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdFind"title="Permalink to this definition">¶</a></dt>
<dt>Usage:</dt><dd><p>find[/switches] <name or dbref or <ahref="#id43"><spanclass="problematic"id="id44">*</span></a>account> [= dbrefmin[-dbrefmax]]
locate - this is a shorthand for using the /loc switch.</p>
</dd>
<dt>Switches:</dt><dd><p>room - only look for rooms (location=None)
exit - only look for exits (destination!=None)
char - only look for characters (BASE_CHARACTER_TYPECLASS)
exact - only exact matches are returned.
loc - display object location if exists and match has one result
startswith - search for names starting with the string, rather than containing</p>
</dd>
</dl>
<p>Searches the database for an object of a particular name or exact #dbref.
Use <ahref="#id45"><spanclass="problematic"id="id46">*</span></a>accountname to search for an account. The switches allows for
limiting object matches to certain game entities. Dbrefmin and dbrefmax
limits matches to within the given dbrefs range, or above/below if only
<codeclass="sig-name descname">key</code><emclass="property"> = 'find'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['locate', 'search']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(find) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdFind.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(find) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdFind.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdTeleport</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTeleport"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'tel'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['teleport']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('quiet', 'intoexit', 'tonone', 'loc')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">rhs_split</code><emclass="property"> = ('=', ' to ')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.rhs_split"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(teleport) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTeleport.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(teleport) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTeleport.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdScript</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdScript"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdScript"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'script'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['addscript']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">switch_options</code><emclass="property"> = ('start', 'stop')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.switch_options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(script) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdScript.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(script) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdScript.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdTag</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTag"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTag"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">key</code><emclass="property"> = 'tag'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['tags']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">options</code><emclass="property"> = ('search', 'del')</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.options"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(tag) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">arg_regex</code><emclass="property"> = re.compile('(/\\w+?(\\s|$))|\\s|$', re.IGNORECASE)</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.arg_regex"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdTag.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(tag) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdTag.lock_storage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">evennia.commands.default.building.</code><codeclass="sig-name descname">CmdSpawn</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSpawn"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn"title="Permalink to this definition">¶</a></dt>
<dt><ahref="#id47"><spanclass="problematic"id="id48">|</span></a>wprototype_parent <ahref="#id49"><spanclass="problematic"id="id50">|</span></a>n - name of parent prototype to use. Required if typeclass is</dt><dd><p>not set. Can be a path or a list for multiple inheritance (inherits
left to right). If set one of the parents must have a typeclass.</p>
</dd>
</dl>
<p><ahref="#id51"><spanclass="problematic"id="id52">|</span></a>wtypeclass <ahref="#id53"><spanclass="problematic"id="id54">|</span></a>n - string. Required if prototype_parent is not set.
<ahref="#id55"><spanclass="problematic"id="id56">|</span></a>wkey <ahref="#id57"><spanclass="problematic"id="id58">|</span></a>n - string, the main object identifier
<ahref="#id59"><spanclass="problematic"id="id60">|</span></a>wlocation <ahref="#id61"><spanclass="problematic"id="id62">|</span></a>n - this should be a valid object or #dbref
<ahref="#id63"><spanclass="problematic"id="id64">|</span></a>whome <ahref="#id65"><spanclass="problematic"id="id66">|</span></a>n - valid object or #dbref
<ahref="#id67"><spanclass="problematic"id="id68">|</span></a>wdestination|n - only valid for exits (object or dbref)
<ahref="#id69"><spanclass="problematic"id="id70">|</span></a>wpermissions|n - string or list of permission strings
<ahref="#id71"><spanclass="problematic"id="id72">|</span></a>wlocks <ahref="#id73"><spanclass="problematic"id="id74">|</span></a>n - a lock-string
<ahref="#id75"><spanclass="problematic"id="id76">|</span></a>waliases <ahref="#id77"><spanclass="problematic"id="id78">|</span></a>n - string or list of strings.
<ahref="#id79"><spanclass="problematic"id="id80">|</span></a>wndb_|n<name> - value of a nattribute (<ahref="#id89"><spanclass="problematic"id="id90">ndb_</span></a> is stripped)</p>
<dlclass="simple">
<dt><ahref="#id81"><spanclass="problematic"id="id82">|</span></a>wprototype_key|n - name of this prototype. Unique. Used to store/retrieve from db</dt><dd><p>and update existing prototyped objects if desired.</p>
</dd>
</dl>
<p><ahref="#id83"><spanclass="problematic"id="id84">|</span></a>wprototype_desc|n - desc of this prototype. Used in listings
<ahref="#id85"><spanclass="problematic"id="id86">|</span></a>wprototype_locks|n - locks of this prototype. Limits who may use prototype
<ahref="#id87"><spanclass="problematic"id="id88">|</span></a>wprototype_tags|n - tags of this prototype. Used to find prototype</p>
<p>any other keywords are interpreted as Attributes and their values.</p>
</dd>
</dl>
<p>The available prototypes are defined globally in modules set in
settings.PROTOTYPE_MODULES. If spawn is used without arguments it
<codeclass="sig-name descname">key</code><emclass="property"> = 'spawn'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">aliases</code><emclass="property"> = ['olc']</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.aliases"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">locks</code><emclass="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.locks"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">help_category</code><emclass="property"> = 'building'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.help_category"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">func</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/commands/default/building.html#CmdSpawn.func"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.func"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">lock_storage</code><emclass="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><aclass="headerlink"href="#evennia.commands.default.building.CmdSpawn.lock_storage"title="Permalink to this definition">¶</a></dt>