mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Updated HTML docs
This commit is contained in:
parent
937794ad0b
commit
dcc4cbe66f
316 changed files with 34330 additions and 3279 deletions
|
|
@ -50,7 +50,7 @@
|
|||
<section class="tex2jax_ignore mathjax_ignore" id="parsing-command-arguments-theory-and-best-practices">
|
||||
<h1>Parsing command arguments, theory and best practices<a class="headerlink" href="#parsing-command-arguments-theory-and-best-practices" title="Permalink to this headline">¶</a></h1>
|
||||
<p>This tutorial will elaborate on the many ways one can parse command arguments. The first step after
|
||||
<a class="reference internal" href="Beginner-Tutorial/Part1/Adding-Commands.html"><span class="doc std std-doc">adding a command</span></a> usually is to parse its arguments. There are lots of
|
||||
<a class="reference internal" href="Beginner-Tutorial/Part1/Beginner-Tutorial-Adding-Commands.html"><span class="doc std std-doc">adding a command</span></a> usually is to parse its arguments. There are lots of
|
||||
ways to do it, but some are indeed better than others and this tutorial will try to present them.</p>
|
||||
<p>If you’re a Python beginner, this tutorial might help you a lot. If you’re already familiar with
|
||||
Python syntax, this tutorial might still contain useful information. There are still a lot of
|
||||
|
|
@ -660,7 +660,7 @@ having <code class="docutils literal notranslate"><span class="pre">"book&q
|
|||
about… what is this <code class="docutils literal notranslate"><span class="pre">"book"</span></code>?</p>
|
||||
<p>To get an object from a string, we perform an Evennia search. Evennia provides a <code class="docutils literal notranslate"><span class="pre">search</span></code> method on
|
||||
all typeclassed objects (you will most likely use the one on characters or accounts). This method
|
||||
supports a very wide array of arguments and has <a class="reference internal" href="Beginner-Tutorial/Part1/Searching-Things.html"><span class="doc std std-doc">its own tutorial</span></a>.
|
||||
supports a very wide array of arguments and has <a class="reference internal" href="Beginner-Tutorial/Part1/Beginner-Tutorial-Searching-Things.html"><span class="doc std std-doc">its own tutorial</span></a>.
|
||||
Some examples of useful cases follow:</p>
|
||||
<section id="local-searches">
|
||||
<h3>Local searches<a class="headerlink" href="#local-searches" title="Permalink to this headline">¶</a></h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue