mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Updated HTML docs.
This commit is contained in:
parent
02398e6416
commit
00c54fb30c
30 changed files with 100 additions and 97 deletions
|
|
@ -319,6 +319,7 @@ Rose
|
|||
<li><p><a class="reference internal" href="../../../Components/Help-System.html"><span class="doc std std-doc">Help Entries</span></a> (help entries created manually)</p></li>
|
||||
</ul>
|
||||
<p>Most of the time you’ll likely spend your time searching for Objects and the occasional Accounts.</p>
|
||||
<p>Most search methods are available directly from <code class="docutils literal notranslate"><span class="pre">evennia</span></code>. But there are also a lot of useful search helpers found via <code class="docutils literal notranslate"><span class="pre">evennia.search</span></code>.</p>
|
||||
<p>So to find an entity, what can be searched for?</p>
|
||||
<section id="search-by-key">
|
||||
<h3><span class="section-number">11.4.1. </span>Search by key<a class="headerlink" href="#search-by-key" title="Permalink to this headline">¶</a></h3>
|
||||
|
|
@ -421,7 +422,7 @@ all_fantasy_books = evennia.search_tag("fantasy", category="books
|
|||
</pre></div>
|
||||
</div>
|
||||
<p>Now we can find the things that have a given growth state:</p>
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>> py evennia.search_object_attribute("growth_state", "withering")
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>> py evennia.search_object("withering", attribute_name="growth_state")
|
||||
<QuerySet [Rose]>
|
||||
</pre></div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue