<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.
<p><aclass="reference internal"href="../api/evennia.objects.objects.html#evennia.objects.objects.DefaultRoom"title="evennia.objects.objects.DefaultRoom"><spanclass="xref myst py py-class">Rooms</span></a> are in-game <aclass="reference internal"href="Objects.html"><spanclass="doc std std-doc">Objects</span></a> representing the root containers of all other objects.</p>
<p>The only thing technically separating a room from any other object is that they have no <codeclass="docutils literal notranslate"><spanclass="pre">location</span></code> of their own and that default commands like <codeclass="docutils literal notranslate"><spanclass="pre">dig</span></code> creates objects of this class - so if you want to expand your rooms with more functionality, just inherit from <codeclass="docutils literal notranslate"><spanclass="pre">evennia.DefaultRoom</span></code>.</p>
<p>To change the default room created by <codeclass="docutils literal notranslate"><spanclass="pre">dig</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">tunnel</span></code> and other default commands, change it in settings:</p>
<p>The empty class in <codeclass="docutils literal notranslate"><spanclass="pre">mygame/typeclasses/rooms.py</span></code> is a good place to start!</p>
<p>While the default Room is very simple, there are several Evennia <aclass="reference internal"href="../Contribs/Contribs-Overview.html"><spanclass="doc std std-doc">contribs</span></a> customizing and extending rooms with more functionality.</p>
<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.