Emphasize JSON

This commit is contained in:
Wuzzy 2024-11-30 19:18:46 +01:00
parent 8edc177a91
commit e6f8132243
2 changed files with 3 additions and 3 deletions

View File

@ -212,8 +212,8 @@ A Voronoi diagram is supposed to be here but for some reason it cannot be displa
<div class="configFrame" id="exportContainer" style="display:none">
<form id="exportForm">
<div>
<button id="inputExportLua" type="button">Export as <span class="exportEmphasis">Lua</span></button>
<button id="inputExportJSON" type="button">Export as <span class="exportEmphasis">JSON</span></button>
<button id="inputExportLua" type="button">Export as <span class="exportEmphasis">Lua</span></button>
<button id="inputExportAmidstForMinetest" type="button">Export as <span class="exportEmphasis">Amidst for Minetest</span> biome profile</button>
<button id="inputExportClear" type="button">Clear</button>
</div>

View File

@ -128,9 +128,9 @@
<p>This allows you to export the current biomes into a text. You can choose to export them in one of various formats. Only biome information is included, not the display settings or noise parameters.</p>
<p>The <b>Lua</b> export gives you a very basic Lua code that can be pasted into an actual Lua mod. The code is very basic and does not include the “landscape materials”, like what the surface is made of (dirt, stone, sand, etc.). Biome coordinate limits (<code>y_min</code>/<code>y_max</code> or <code>min_pos</code>/<code>max_pos</code>) are added to the export only if they differ from the default values -31000 and 31000.</p>
<p>The <b>JSON</b> export is a text you can use to import the biomes in LiBPoV later. This is the format most “native” to LiBPoV, as it contains all the information that LiBPoV uses, including the biome color in the diagram. You may want to copy this into a text file for later use.</p>
<p>The <b>JSON</b> export is a text you can use to import the biomes in LiBPoV later. You may want to copy this into a text file.</p>
<p>The <b>Lua</b> export gives you a very basic Lua code that can be pasted into a Luanti mod. The code is very basic and does not include the “landscape materials”, like what the surface is made of (dirt, stone, sand, etc.). Biome coordinate limits (<code>y_min</code>/<code>y_max</code> or <code>min_pos</code>/<code>max_pos</code>) are added to the export only if they differ from the default values -31000 and 31000.</p>
<p>The <b>Amidst for Minetest</b> export gives you a biome profile you can use for <a href="https://github.com/Treer/Amidst-for-Minetest">Amidst for Minetest</a>. The export does not include biome coordinate limits on the X and Z axis because those arent supported by that software at the time of this writing.</p>