mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-22 08:04:24 +00:00
455 lines
No EOL
29 KiB
HTML
455 lines
No EOL
29 KiB
HTML
|
||
|
||
<!DOCTYPE html>
|
||
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
||
<head>
|
||
<meta charset="utf-8">
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
||
<title>lihzahrd.World — lihzahrd documentation</title>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
|
||
|
||
|
||
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
||
<script src="_static/jquery.js"></script>
|
||
<script src="_static/underscore.js"></script>
|
||
<script src="_static/doctools.js"></script>
|
||
<script src="_static/language_data.js"></script>
|
||
|
||
<script type="text/javascript" src="_static/js/theme.js"></script>
|
||
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/lihzahrd.css" type="text/css" />
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Search" href="search.html" />
|
||
<link rel="next" title="lihzahrd.chests" href="chests.html" />
|
||
<link rel="prev" title="API Reference" href="reference.html" />
|
||
</head>
|
||
|
||
<body class="wy-body-for-nav">
|
||
|
||
|
||
<div class="wy-grid-for-nav">
|
||
|
||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
<div class="wy-side-scroll">
|
||
<div class="wy-side-nav-search" >
|
||
|
||
|
||
|
||
<a href="index.html" class="icon icon-home"> lihzahrd
|
||
|
||
|
||
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div role="search">
|
||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||
<input type="text" name="q" placeholder="Search docs" />
|
||
<input type="hidden" name="check_keywords" value="yes" />
|
||
<input type="hidden" name="area" value="default" />
|
||
</form>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<ul class="current">
|
||
<li class="toctree-l1"><a class="reference internal" href="usage.html">Usage guide</a></li>
|
||
<li class="toctree-l1 current"><a class="reference internal" href="reference.html">API Reference</a><ul class="current">
|
||
<li class="toctree-l2 current"><a class="current reference internal" href="#">lihzahrd.World</a><ul class="simple">
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l2"><a class="reference internal" href="chests.html">lihzahrd.chests</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="header.html">lihzahrd.header</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="npcs.html">lihzahrd.npcs</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="pressureplates.html">lihzahrd.pressureplates</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="signs.html">lihzahrd.signs</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="tileentities.html">lihzahrd.tileentities</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="tiles.html">lihzahrd.tiles</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="townmanager.html">lihzahrd.townmanager</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="errors.html">lihzahrd.errors</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="fileutils.html">lihzahrd.fileutils</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="timer.html">lihzahrd.timer</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
|
||
|
||
<nav class="wy-nav-top" aria-label="top navigation">
|
||
|
||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
<a href="index.html">lihzahrd</a>
|
||
|
||
</nav>
|
||
|
||
|
||
<div class="wy-nav-content">
|
||
|
||
<div class="rst-content">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div role="navigation" aria-label="breadcrumbs navigation">
|
||
|
||
<ul class="wy-breadcrumbs">
|
||
|
||
<li><a href="index.html">Docs</a> »</li>
|
||
|
||
<li><a href="reference.html">API Reference</a> »</li>
|
||
|
||
<li>lihzahrd.World</li>
|
||
|
||
|
||
<li class="wy-breadcrumbs-aside">
|
||
|
||
|
||
<a href="_sources/world.rst.txt" rel="nofollow"> View page source</a>
|
||
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
|
||
<hr/>
|
||
</div>
|
||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
<div itemprop="articleBody">
|
||
|
||
<div class="section" id="lihzahrd-world">
|
||
<h1>lihzahrd.World<a class="headerlink" href="#lihzahrd-world" title="Permalink to this headline">¶</a></h1>
|
||
<div class="toctree-wrapper compound">
|
||
</div>
|
||
<dl class="py class">
|
||
<dt id="lihzahrd.World">
|
||
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.</code><code class="sig-name descname">World</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">version</span><span class="p">:</span> <span class="n">lihzahrd.header.version.Version</span></em>, <em class="sig-param"><span class="n">savefile_type</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">revision</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">is_favorite</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#bool" title="(in Python v3.7)">bool</a></span></em>, <em class="sig-param"><span class="n">name</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#str" title="(in Python v3.7)">str</a></span></em>, <em class="sig-param"><span class="n">generator</span><span class="p">:</span> <span class="n">lihzahrd.header.generatorinfo.GeneratorInfo</span></em>, <em class="sig-param"><span class="n">uuid_</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/uuid.html#uuid.UUID" title="(in Python v3.7)">uuid.UUID</a></span></em>, <em class="sig-param"><span class="n">id_</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">bounds</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.rect.Rect</span></em>, <em class="sig-param"><span class="n">size</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">is_expert</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#bool" title="(in Python v3.7)">bool</a></span></em>, <em class="sig-param"><span class="n">created_on</span></em>, <em class="sig-param"><span class="n">styles</span><span class="p">:</span> <span class="n">lihzahrd.header.styles.Styles</span></em>, <em class="sig-param"><span class="n">backgrounds</span><span class="p">:</span> <span class="n">lihzahrd.header.backgrounds.Backgrounds</span></em>, <em class="sig-param"><span class="n">spawn_point</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">underground_level</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#float" title="(in Python v3.7)">float</a></span></em>, <em class="sig-param"><span class="n">cavern_level</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#float" title="(in Python v3.7)">float</a></span></em>, <em class="sig-param"><span class="n">time</span><span class="p">:</span> <span class="n">lihzahrd.header.time.Time</span></em>, <em class="sig-param"><span class="n">events</span><span class="p">:</span> <span class="n">lihzahrd.header.events.Events</span></em>, <em class="sig-param"><span class="n">dungeon_point</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">world_evil</span><span class="p">:</span> <span class="n">lihzahrd.header.worldeviltype.WorldEvilType</span></em>, <em class="sig-param"><span class="n">saved_npcs</span><span class="p">:</span> <span class="n">lihzahrd.header.savednpcs.SavedNPCs</span></em>, <em class="sig-param"><span class="n">altars_smashed</span><span class="p">:</span> <span class="n">lihzahrd.header.altarssmashed.AltarsSmashed</span></em>, <em class="sig-param"><span class="n">is_hardmode</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#bool" title="(in Python v3.7)">bool</a></span></em>, <em class="sig-param"><span class="n">shadow_orbs</span><span class="p">:</span> <span class="n">lihzahrd.header.shadoworbs.ShadowOrbs</span></em>, <em class="sig-param"><span class="n">bosses_defeated</span><span class="p">:</span> <span class="n">lihzahrd.header.bossesdefeated.BossesDefeated</span></em>, <em class="sig-param"><span class="n">anglers_quest</span><span class="p">:</span> <span class="n">lihzahrd.header.anglerquest.AnglerQuest</span></em>, <em class="sig-param"><span class="n">clouds</span><span class="p">:</span> <span class="n">lihzahrd.header.clouds.Clouds</span></em>, <em class="sig-param"><span class="n">cultist_delay</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">tiles</span><span class="p">:</span> <span class="n">lihzahrd.tiles.tilematrix.TileMatrix</span></em>, <em class="sig-param"><span class="n">chests</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.chests.chest.Chest<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">signs</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.signs.sign.Sign<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">npcs</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.npcs.npc.NPC<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">mobs</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.npcs.mob.Mob<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">tile_entities</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.tileentities.tileentity.TileEntity<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">weighed_pressure_plates</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.pressureplates.weighedpressureplate.WeighedPressurePlate<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">rooms</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.townmanager.room.Room<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">unknown_file_format_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_world_header_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_world_tiles_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_chests_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_signs_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_npcs_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_tile_entities_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_pressure_plates_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em>, <em class="sig-param"><span class="n">unknown_town_manager_data</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#bytes" title="(in Python v3.7)">bytes</a></span> <span class="o">=</span> <span class="default_value">b''</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.World" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The Python representation of a Terraria world.</p>
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.altars_smashed">
|
||
<code class="sig-name descname">altars_smashed</code><em class="property">: AltarsSmashed</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.altars_smashed" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Information related to the destruction of Demon Altars with a Pwnhammer.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.anglers_quest">
|
||
<code class="sig-name descname">anglers_quest</code><em class="property">: AnglerQuest</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.anglers_quest" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Information about today’s Angler’s Quest.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.backgrounds">
|
||
<code class="sig-name descname">backgrounds</code><em class="property">: Backgrounds</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.backgrounds" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The backgrounds of the various biomes.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.bosses_defeated">
|
||
<code class="sig-name descname">bosses_defeated</code><em class="property">: BossesDefeated</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.bosses_defeated" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Which bosses have been defeated in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.bounds">
|
||
<code class="sig-name descname">bounds</code><em class="property">: Rect</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.bounds" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The world size in pixels.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.cavern_level">
|
||
<code class="sig-name descname">cavern_level</code><em class="property">: float</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.cavern_level" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The depth at which the cavern biome starts.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.chests">
|
||
<code class="sig-name descname">chests</code><em class="property">: typing.List[Chest]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.chests" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of all the containers (chests, barrels) in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py method">
|
||
<dt id="lihzahrd.World.create_from_file">
|
||
<em class="property">classmethod </em><code class="sig-name descname">create_from_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#str" title="(in Python v3.7)">str</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.World.create_from_file" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Create a World object from a .wld file.</p>
|
||
<div class="admonition warning">
|
||
<p class="admonition-title">Warning</p>
|
||
<p>Parsing an entire world may take up to a few minutes and quite a bit of memory!</p>
|
||
</div>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><p><strong>filename</strong> – The name of the file that should be parsed.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.created_on">
|
||
<code class="sig-name descname">created_on</code><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.created_on" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The date and time this world was created in.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py method">
|
||
<dt id="lihzahrd.World.crimson_hearts">
|
||
<em class="property">property </em><code class="sig-name descname">crimson_hearts</code><a class="headerlink" href="#lihzahrd.World.crimson_hearts" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Information related to the Shadow Orbs or Crimson Hearts in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.dungeon_point">
|
||
<code class="sig-name descname">dungeon_point</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.dungeon_point" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The Old Man spawn point.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.events">
|
||
<code class="sig-name descname">events</code><em class="property">: Events</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.events" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Currently ongoing world events.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.generator">
|
||
<code class="sig-name descname">generator</code><em class="property">: GeneratorInfo</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.generator" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Information about the generation of this world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.id">
|
||
<code class="sig-name descname">id</code><em class="property">: int</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.id" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The world id. Used to name the minimap file.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.is_expert">
|
||
<code class="sig-name descname">is_expert</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_expert" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>If the world is in expert mode or not.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.is_favorite">
|
||
<code class="sig-name descname">is_favorite</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_favorite" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>If the world is marked as favorite or not.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.is_hardmode">
|
||
<code class="sig-name descname">is_hardmode</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_hardmode" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Whether or not the world is in hardmode.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.mobs">
|
||
<code class="sig-name descname">mobs</code><em class="property">: typing.List[Mob]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.mobs" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of mobs in the world…?</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.name">
|
||
<code class="sig-name descname">name</code><em class="property">: str</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.name" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The name the world was given at creation. Doesn’t always match the filename.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.npcs">
|
||
<code class="sig-name descname">npcs</code><em class="property">: typing.List[NPC]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.npcs" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of all the NPCs currently living in the world, including the Old Man.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.revision">
|
||
<code class="sig-name descname">revision</code><em class="property">: int</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.revision" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The number of times this world was saved.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.saved_npcs">
|
||
<code class="sig-name descname">saved_npcs</code><em class="property">: SavedNPCs</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.saved_npcs" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The NPCs that were rescued by the player.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.savefile_type">
|
||
<code class="sig-name descname">savefile_type</code><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.savefile_type" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The format of the save file. Should be 2 for all versions following 1.2.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.shadow_orbs">
|
||
<code class="sig-name descname">shadow_orbs</code><em class="property">: ShadowOrbs</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.shadow_orbs" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Information related to the Shadow Orbs or Crimson Hearts in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.signs">
|
||
<code class="sig-name descname">signs</code><em class="property">: typing.List[Sign]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.signs" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of all non-empty signs in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.size">
|
||
<code class="sig-name descname">size</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.size" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The world size in tiles.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.spawn_point">
|
||
<code class="sig-name descname">spawn_point</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.spawn_point" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The coordinates of the spawn point.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.styles">
|
||
<code class="sig-name descname">styles</code><em class="property">: Styles</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.styles" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The styles of various world elements.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.tile_entities">
|
||
<code class="sig-name descname">tile_entities</code><em class="property">: typing.List[TileEntity]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.tile_entities" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of tile entities in the world, such as Training Dummies, Item Frames and Logic Sensors.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.tiles">
|
||
<code class="sig-name descname">tiles</code><em class="property">: TileMatrix</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.tiles" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A matrix of all the tiles present in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.time">
|
||
<code class="sig-name descname">time</code><em class="property">: Time</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.time" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Game time related information.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.underground_level">
|
||
<code class="sig-name descname">underground_level</code><em class="property">: float</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.underground_level" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The depth at which the underground biome starts.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.uuid">
|
||
<code class="sig-name descname">uuid</code><em class="property">: uuid.UUID</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.uuid" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The Universally Unique ID of this world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.version">
|
||
<code class="sig-name descname">version</code><em class="property">: Version</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.version" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The game version when this savefile was last saved.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.weighed_pressure_plates">
|
||
<code class="sig-name descname">weighed_pressure_plates</code><em class="property">: typing.List[WeighedPressurePlate]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.weighed_pressure_plates" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of all Weighed Pressure Plates in the world.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="py attribute">
|
||
<dt id="lihzahrd.World.world_evil">
|
||
<code class="sig-name descname">world_evil</code><em class="property">: WorldEvilType</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.world_evil" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Whether the world has Corruption or Crimson.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<footer>
|
||
|
||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||
|
||
<a href="chests.html" class="btn btn-neutral float-right" title="lihzahrd.chests" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||
|
||
|
||
<a href="reference.html" class="btn btn-neutral float-left" title="API Reference" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||
|
||
</div>
|
||
|
||
|
||
<hr/>
|
||
|
||
<div role="contentinfo">
|
||
<p>
|
||
© Copyright 2019, Stefano Pigozzi
|
||
|
||
</p>
|
||
</div>
|
||
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||
|
||
</footer>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</section>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<script type="text/javascript">
|
||
jQuery(function () {
|
||
SphinxRtdTheme.Navigation.enable(true);
|
||
});
|
||
</script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |