Deploying to gh-pages from @ LingASDJ/RW-API-Code@d0c360ab7c 🚀
This commit is contained in:
parent
1fbc76b92a
commit
1bc9eb4aca
|
@ -80,7 +80,7 @@
|
|||
}</pre><h3 id="page-frontmatter" tabindex="-1">Page Frontmatter <a class="header-anchor" href="#page-frontmatter" aria-label="Permalink to "Page Frontmatter""></a></h3><pre>{
|
||||
"outline": "deep"
|
||||
}</pre><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to "More""></a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/reference/runtime-api#usedata" target="_blank" rel="noreferrer">full list of runtime APIs</a>.</p></div></div></main><footer class="VPDocFooter" data-v-c4b0d3cf data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/markdown-examples.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>主页-Home</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_unit_canbuild.md\":\"a704448b\",\"src_unit_graphics.md\":\"11d4f4e2\",\"src_unit_loginboolean.md\":\"4ae703e0\",\"index.md\":\"58a89ee7\",\"api-examples.md\":\"cd86cd6d\",\"markdown-examples.md\":\"effb3764\",\"src_unit_core.md\":\"711a3f3c\"}")
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"api-examples.md\":\"cd86cd6d\",\"markdown-examples.md\":\"effb3764\",\"index.md\":\"58a89ee7\",\"src_unit_canbuild.md\":\"a704448b\",\"src_unit_core.md\":\"197e87f6\",\"src_unit_loginboolean.md\":\"fdf87947\",\"src_unit_graphics.md\":\"11d4f4e2\"}")
|
||||
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Examples\",\"link\":\"/markdown-examples\"}],\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/markdown-examples\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CORE\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"逻辑组-LogicBoolean\",\"link\":\"/src/Unit/loginboolean\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/vuejs/vitepress\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framework.afbd7175.js";const I=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to "**[core]组**""></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to "第一类-通用代码组""></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to "name-代码简介""></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to "name-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-U_2ff" id="tab-KospoYU" checked="checked"><label for="tab-KospoYU">JDSALing</label><input type="radio" name="group-U_2ff" id="tab-awxnD2k"><label for="tab-awxnD2k">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
|
||||
import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framework.afbd7175.js";const I=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to "**[core]组**""></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to "第一类-通用代码组""></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to "name-代码简介""></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to "name-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-LDP6O" id="tab-X6vO_xo" checked="checked"><label for="tab-X6vO_xo">JDSALing</label><input type="radio" name="group-LDP6O" id="tab-CaYyoyu"><label for="tab-CaYyoyu">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">游戏使用它区分其它单位。</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">如果没有在[displayText或者语言文件设置显示名称</span><span style="color:#A6ACCD;">],</span></span>
|
||||
|
@ -17,25 +17,25 @@ import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framew
|
|||
<span class="line"><span style="color:#A6ACCD;">displayText_zh:中文标题</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription: -English Description</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to "price""></a></h3><h4 id="price-代码简介" tabindex="-1">price-代码简介 <a class="header-anchor" href="#price-代码简介" aria-label="Permalink to "price-代码简介""></a></h4><p>代码:price 中文释义:价格 类型:整数 隶属于:通用代码组</p><h4 id="price-要点指示" tabindex="-1">price-要点指示 <a class="header-anchor" href="#price-要点指示" aria-label="Permalink to "price-要点指示""></a></h4><p>定义单位的价格,显示在单位信息中,建造时也以此价格为准。</p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-cE0TL" id="tab-DMg04MQ" checked="checked"><label for="tab-DMg04MQ">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">默认情况下,price只需要填写一个整数,此时使用的是游戏内自带的资金credit;</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to "price""></a></h3><h4 id="price-代码简介" tabindex="-1">price-代码简介 <a class="header-anchor" href="#price-代码简介" aria-label="Permalink to "price-代码简介""></a></h4><p>代码:price 中文释义:价格 类型:整数 隶属于:通用代码组</p><h4 id="price-要点指示" tabindex="-1">price-要点指示 <a class="header-anchor" href="#price-要点指示" aria-label="Permalink to "price-要点指示""></a></h4><p>定义单位的价格,显示在单位信息中,建造时也以此价格为准。</p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-vPZhT" id="tab-JghoYAL" checked="checked"><label for="tab-JghoYAL">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">默认情况下,price只需要填写一个整数,此时使用的是游戏内自带的资金credit;</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">想要更改资源类型,可以使用:</span></span>
|
||||
<span class="line"><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">price:资源1=数值1,资源2=数值2,资源3=数值3,……</span><span style="color:#89DDFF;">\`</span><span style="color:#A6ACCD;"> </span><span style="color:#FFCB6B;">的格式</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">(前提是此资源要在使用的单位进行定义)。</span></span></code></pre></div></div></div><h4 id="price-演示例子" tabindex="-1">price-演示例子 <a class="header-anchor" href="#price-演示例子" aria-label="Permalink to "price-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">price:120,石油=80,铁=60</span></span></code></pre></div><h3 id="radius" tabindex="-1">radius <a class="header-anchor" href="#radius" aria-label="Permalink to "radius""></a></h3><h4 id="radius-代码简介" tabindex="-1">radius-代码简介 <a class="header-anchor" href="#radius-代码简介" aria-label="Permalink to "radius-代码简介""></a></h4><p>代码:radius 中文释义:半径 类型:整数 隶属于:通用代码组</p><h4 id="radius-要点指示" tabindex="-1">radius-要点指示 <a class="header-anchor" href="#radius-要点指示" aria-label="Permalink to "radius-要点指示""></a></h4><p>半径定义单位的<code>实际碰撞体积和显示范围</code>,在未设置<code>选择框大小</code>时,半径决定是单位选择框的大小。 半径的单位是像素(px)。</p><h4 id="radius-演示例子" tabindex="-1">radius-演示例子 <a class="header-anchor" href="#radius-演示例子" aria-label="Permalink to "radius-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">radius:20</span></span></code></pre></div><h3 id="mass" tabindex="-1">mass <a class="header-anchor" href="#mass" aria-label="Permalink to "mass""></a></h3><h4 id="mass-代码简介" tabindex="-1">mass-代码简介 <a class="header-anchor" href="#mass-代码简介" aria-label="Permalink to "mass-代码简介""></a></h4><p>代码:mass 中文释义:质量 类型:整数 隶属于:通用代码组</p><h4 id="mass-要点指示" tabindex="-1">mass-要点指示 <a class="header-anchor" href="#mass-要点指示" aria-label="Permalink to "mass-要点指示""></a></h4><p>质量决定单位在各种碰撞时的效果。<code>质量越大,其他单位越难推动</code>。</p><h4 id="mass-演示例子" tabindex="-1">mass-演示例子 <a class="header-anchor" href="#mass-演示例子" aria-label="Permalink to "mass-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to "maxHp""></a></h3><h4 id="maxhp-代码简介" tabindex="-1">maxHp-代码简介 <a class="header-anchor" href="#maxhp-代码简介" aria-label="Permalink to "maxHp-代码简介""></a></h4><p>代码:maxHp 中文释义:最大生命值 类型:整数 隶属于:通用代码组</p><h4 id="maxhp-要点指示" tabindex="-1">maxHp-要点指示 <a class="header-anchor" href="#maxhp-要点指示" aria-label="Permalink to "maxHp-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-CS-ci" id="tab-22PiCon" checked="checked"><label for="tab-22PiCon">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">最大生命值定义单位在不修改它时最多能够有多少血量,</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to "maxHp""></a></h3><h4 id="maxhp-代码简介" tabindex="-1">maxHp-代码简介 <a class="header-anchor" href="#maxhp-代码简介" aria-label="Permalink to "maxHp-代码简介""></a></h4><p>代码:maxHp 中文释义:最大生命值 类型:整数 隶属于:通用代码组</p><h4 id="maxhp-要点指示" tabindex="-1">maxHp-要点指示 <a class="header-anchor" href="#maxhp-要点指示" aria-label="Permalink to "maxHp-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-gj5v-" id="tab-yLNzTh3" checked="checked"><label for="tab-yLNzTh3">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">最大生命值定义单位在不修改它时最多能够有多少血量,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">单位默认生成时即是这个血量。</span></span>
|
||||
<span class="line"><span style="color:#82AAFF;">maxHp可以通过单位参考.maxHp</span><span style="color:#89DDFF;">()</span><span style="color:#A6ACCD;">来获取,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">也可以通过[action</span><span style="color:#A6ACCD;">]进行修改。</span></span></code></pre></div></div></div><h4 id="maxhp-演示例子" tabindex="-1">maxHp-演示例子 <a class="header-anchor" href="#maxhp-演示例子" aria-label="Permalink to "maxHp-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">maxHp:600</span></span></code></pre></div><h3 id="altnames" tabindex="-1">altNames <a class="header-anchor" href="#altnames" aria-label="Permalink to "altNames""></a></h3><h4 id="altnames-代码简介" tabindex="-1">altNames-代码简介 <a class="header-anchor" href="#altnames-代码简介" aria-label="Permalink to "altNames-代码简介""></a></h4><p>代码:altNames 中文释义:别名/曾用名 类型:字符型 隶属于:通用代码组</p><h4 id="altnames-要点指示" tabindex="-1">altNames-要点指示 <a class="header-anchor" href="#altnames-要点指示" aria-label="Permalink to "altNames-要点指示""></a></h4><p>altNames代码要点指示:</p><h4 id="jdsaling的小提示" tabindex="-1"><strong>JDSALing的小提示</strong> <a class="header-anchor" href="#jdsaling的小提示" aria-label="Permalink to "**JDSALing的小提示**""></a></h4>`,46),h=e("br",null,null,-1),u=i(`<h4 id="altnames-演示例子" tabindex="-1">altNames-演示例子 <a class="header-anchor" href="#altnames-演示例子" aria-label="Permalink to "altNames-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">altNames:ling,tobby3600,coldmint</span></span></code></pre></div><h3 id="class" tabindex="-1">class <a class="header-anchor" href="#class" aria-label="Permalink to "class""></a></h3><h4 id="class-代码简介" tabindex="-1">class-代码简介 <a class="header-anchor" href="#class-代码简介" aria-label="Permalink to "class-代码简介""></a></h4><p>代码:class 中文释义:类 类型:字符型 隶属于:通用代码组</p><p>无实际用处,可以删除。<br> Luke:保留供将来使用,默认情况下必须为<code>CustomUnitMetadata</code>。由于该代码无实际用途,可以忽略该代码<br> 该代码后面什么都可以输,但没有实际用途。或许在未来会有用。</p><h4 id="class-演示例子" tabindex="-1">class-演示例子 <a class="header-anchor" href="#class-演示例子" aria-label="Permalink to "class-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">class:CustomUnitMetadata</span></span></code></pre></div><h3 id="strictlevel" tabindex="-1">strictLevel <a class="header-anchor" href="#strictlevel" aria-label="Permalink to "strictLevel""></a></h3><h4 id="strictlevel-代码简介" tabindex="-1">strictLevel-代码简介 <a class="header-anchor" href="#strictlevel-代码简介" aria-label="Permalink to "strictLevel-代码简介""></a></h4><p>代码:strictLevel 中文释义:严格级别 类型:数字固定型 隶属于:通用代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议添加到"all-units.template"以应用于所有单位,进行统一查错。<br> 默认值为0,忽略代码重复。设为1时如果当前单位内有重复代码,则报错。</p></div><h4 id="strictlevel-演示例子" tabindex="-1">strictLevel-演示例子 <a class="header-anchor" href="#strictlevel-演示例子" aria-label="Permalink to "strictLevel-演示例子""></a></h4><div class="language-all-units.template,ini"><button title="Copy Code" class="copy"></button><span class="lang">all-units.template,ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">strictLevel:1</span></span></code></pre></div><h3 id="techlevel" tabindex="-1">techLevel <a class="header-anchor" href="#techlevel" aria-label="Permalink to "techLevel""></a></h3><h4 id="techlevel-代码简介" tabindex="-1">techLevel-代码简介 <a class="header-anchor" href="#techlevel-代码简介" aria-label="Permalink to "techLevel-代码简介""></a></h4><p>代码:techLevel 中文释义:科技等级 类型:数字固定型 隶属于:通用代码组</p>`,17),b={class:"tip custom-block"},m=e("p",{class:"custom-block-title"},"TIP",-1),y=e("br",null,null,-1),g=e("br",null,null,-1),C=i(`<h4 id="techlevel-演示例子" tabindex="-1">techLevel-演示例子 <a class="header-anchor" href="#techlevel-演示例子" aria-label="Permalink to "techLevel-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">strictLevel:1</span></span></code></pre></div><h3 id="techlevel" tabindex="-1">techLevel <a class="header-anchor" href="#techlevel" aria-label="Permalink to "techLevel""></a></h3><h4 id="techlevel-代码简介" tabindex="-1">techLevel-代码简介 <a class="header-anchor" href="#techlevel-代码简介" aria-label="Permalink to "techLevel-代码简介""></a></h4><p>代码:techLevel 中文释义:科技等级 类型:数字固定型 隶属于:通用代码组</p>`,17),m={class:"tip custom-block"},b=e("p",{class:"custom-block-title"},"TIP",-1),g=e("br",null,null,-1),y=e("br",null,null,-1),C=i(`<h4 id="techlevel-演示例子" tabindex="-1">techLevel-演示例子 <a class="header-anchor" href="#techlevel-演示例子" aria-label="Permalink to "techLevel-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">techLevel:2</span></span></code></pre></div><h3 id="buildspeed" tabindex="-1">buildSpeed <a class="header-anchor" href="#buildspeed" aria-label="Permalink to "buildSpeed""></a></h3><h4 id="buildspeed-代码简介" tabindex="-1">buildSpeed-代码简介 <a class="header-anchor" href="#buildspeed-代码简介" aria-label="Permalink to "buildSpeed-代码简介""></a></h4><p>代码:buildSpeed 中文释义:建造速度 类型:浮点/秒型 隶属于:通用代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建造此单位需要的时间,填秒。<br> 以前的计算方式为:此处所填时间=1÷(60x你需要的秒)如果定义了工厂速率则需要乘以建造乘数。</p></div><h4 id="buildspeed-演示例子" tabindex="-1">buildSpeed-演示例子 <a class="header-anchor" href="#buildspeed-演示例子" aria-label="Permalink to "buildSpeed-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">buildSpeed:30s</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#或者:</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">## 下方可能有误差</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">buildSpeed:0.0006</span></span></code></pre></div><h3 id="isbio" tabindex="-1">isBio <a class="header-anchor" href="#isbio" aria-label="Permalink to "isBio""></a></h3><h4 id="isbio-代码简介" tabindex="-1">isBio-代码简介 <a class="header-anchor" href="#isbio-代码简介" aria-label="Permalink to "isBio-代码简介""></a></h4><p>代码:isBio 中文释义:是生物 类型:布尔型 隶属于:通用代码组</p>`,11),k={class:"tip custom-block"},q=e("p",{class:"custom-block-title"},"TIP",-1),v=e("br",null,null,-1),x=i(`<h4 id="isbio-演示例子" tabindex="-1">isBio-演示例子 <a class="header-anchor" href="#isbio-演示例子" aria-label="Permalink to "isBio-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">buildSpeed:0.0006</span></span></code></pre></div><h3 id="isbio" tabindex="-1">isBio <a class="header-anchor" href="#isbio" aria-label="Permalink to "isBio""></a></h3><h4 id="isbio-代码简介" tabindex="-1">isBio-代码简介 <a class="header-anchor" href="#isbio-代码简介" aria-label="Permalink to "isBio-代码简介""></a></h4><p>代码:isBio 中文释义:是生物 类型:布尔型 隶属于:通用代码组</p>`,11),k={class:"tip custom-block"},v=e("p",{class:"custom-block-title"},"TIP",-1),q=e("br",null,null,-1),x=i(`<h4 id="isbio-演示例子" tabindex="-1">isBio-演示例子 <a class="header-anchor" href="#isbio-演示例子" aria-label="Permalink to "isBio-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isBio:true</span></span></code></pre></div><h3 id="isbug" tabindex="-1">isBug <a class="header-anchor" href="#isbug" aria-label="Permalink to "isBug""></a></h3><h4 id="isbug-代码简介" tabindex="-1">isBug-代码简介 <a class="header-anchor" href="#isbug-代码简介" aria-label="Permalink to "isBug-代码简介""></a></h4><p>代码:isBug 中文释义:是虫子 类型:布尔型 隶属于:通用代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>若设置成true,则会认定为虫子,用于沙盒中的单独分类。</p></div><h4 id="isbug-演示例子" tabindex="-1">isBug-演示例子 <a class="header-anchor" href="#isbug-演示例子" aria-label="Permalink to "isBug-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isBug:true</span></span></code></pre></div><h3 id="isbuilder" tabindex="-1">isBuilder <a class="header-anchor" href="#isbuilder" aria-label="Permalink to "isBuilder""></a></h3><h4 id="isbuilder-代码简介" tabindex="-1">isBuilder-代码简介 <a class="header-anchor" href="#isbuilder-代码简介" aria-label="Permalink to "isBuilder-代码简介""></a></h4><p>代码:isBuilder 中文释义:是建造者 类型:布尔型 隶属于:通用代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>若设置成true,则会需要此单位建造建筑物,则通常需要此代码。 并且默认设为[ai] useAsBuilder。</p></div><h4 id="isbuilder-演示例子" tabindex="-1">isBuilder-演示例子 <a class="header-anchor" href="#isbuilder-演示例子" aria-label="Permalink to "isBuilder-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isBuilder:true</span></span></code></pre></div><h3 id="streamingcost" tabindex="-1">streamingCost <a class="header-anchor" href="#streamingcost" aria-label="Permalink to "streamingCost""></a></h3><h4 id="streamingcost-代码简介" tabindex="-1">streamingCost-代码简介 <a class="header-anchor" href="#streamingcost-代码简介" aria-label="Permalink to "streamingCost-代码简介""></a></h4><p>代码:streamingCost 中文释义:流式资金 类型:整数型 隶属于:通用代码组</p><p>::: tip和价格一样,但在建造时逐渐消耗资金,如果在构建过程中资源耗尽,<br> 建造或生产队列将暂停。就像是红警中那样。铁锈默认是预先扣除资金。<br> 若使用该代码,则玩家的每秒资金将会根据流式资金的算法进行扣减。</p><h4 id="streamingcost-演示例子" tabindex="-1">streamingCost-演示例子 <a class="header-anchor" href="#streamingcost-演示例子" aria-label="Permalink to "streamingCost-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
|
@ -49,20 +49,20 @@ import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framew
|
|||
<span class="line"><span style="color:#A6ACCD;">maxShield:3000</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldRegen:0.5</span></span></code></pre></div><h3 id="energymax" tabindex="-1">energyMax <a class="header-anchor" href="#energymax" aria-label="Permalink to "energyMax""></a></h3><h4 id="energymax-代码简介" tabindex="-1">energyMax-代码简介 <a class="header-anchor" href="#energymax-代码简介" aria-label="Permalink to "energyMax-代码简介""></a></h4><p>代码:energyMax 中文释义:能量值 类型:浮点型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认值为0。可以用作炮塔,激光防御和行动的弹药的能量。</p></div><h4 id="energymax-演示例子" tabindex="-1">energyMax-演示例子 <a class="header-anchor" href="#energymax-演示例子" aria-label="Permalink to "energyMax-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyMax:5</span></span></code></pre></div><h3 id="energyregen" tabindex="-1">energyRegen <a class="header-anchor" href="#energyregen" aria-label="Permalink to "energyRegen""></a></h3><h4 id="energyregen-代码简介" tabindex="-1">energyRegen-代码简介 <a class="header-anchor" href="#energyregen-代码简介" aria-label="Permalink to "energyRegen-代码简介""></a></h4><p>代码:energyRegen 中文释义:能量恢复速度 类型:浮点型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>能量每帧恢复速度,游戏内一秒为60帧,所以不要写太大。可以写负值。</p></div><h4 id="energyregen-演示例子" tabindex="-1">energyRegen-演示例子 <a class="header-anchor" href="#energyregen-演示例子" aria-label="Permalink to "energyRegen-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyRegen:0.4</span></span></code></pre></div><h3 id="energyregenwhenrecharging-e-r-w-c" tabindex="-1">energyRegenWhenRecharging(E.R.W.C) <a class="header-anchor" href="#energyregenwhenrecharging-e-r-w-c" aria-label="Permalink to "energyRegenWhenRecharging(E.R.W.C)""></a></h3><h4 id="e-r-w-c-代码简介" tabindex="-1">E.R.W.C-代码简介 <a class="header-anchor" href="#e-r-w-c-代码简介" aria-label="Permalink to "E.R.W.C-代码简介""></a></h4><p>代码:energyRegenWhenRecharging 中文释义:充能时能量恢复速度 类型:浮点型 隶属于:单位统计代码组</p>`,67),D={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),A=i(`<h4 id="e-r-w-c-演示例子" tabindex="-1">E.R.W.C-演示例子 <a class="header-anchor" href="#e-r-w-c-演示例子" aria-label="Permalink to "E.R.W.C-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyRegen:0.4</span></span></code></pre></div><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to "energyRegenWhenRecharging""></a></h3><h4 id="energyregenwhenrecharging-代码简介" tabindex="-1">energyRegenWhenRecharging-代码简介 <a class="header-anchor" href="#energyregenwhenrecharging-代码简介" aria-label="Permalink to "energyRegenWhenRecharging-代码简介""></a></h4><p>代码:energyRegenWhenRecharging 中文释义:充能时能量恢复速度 类型:浮点型 隶属于:单位统计代码组</p>`,67),D={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),A=i(`<h4 id="energyregenwhenrecharging-演示例子" tabindex="-1">energyRegenWhenRecharging-演示例子 <a class="header-anchor" href="#energyregenwhenrecharging-演示例子" aria-label="Permalink to "energyRegenWhenRecharging-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyMax:1</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyRegenWhenRecharging:0.4</span></span></code></pre></div><h3 id="energyneedstorechargetofull-e-n-t-r" tabindex="-1">energyNeedsToRechargeToFull(E.N.T.R) <a class="header-anchor" href="#energyneedstorechargetofull-e-n-t-r" aria-label="Permalink to "energyNeedsToRechargeToFull(E.N.T.R)""></a></h3><h4 id="e-n-t-r-代码简介" tabindex="-1">E.N.T.R-代码简介 <a class="header-anchor" href="#e-n-t-r-代码简介" aria-label="Permalink to "E.N.T.R-代码简介""></a></h4><p>代码:energyNeedsToRechargeToFull 中文释义:能量需要充满 类型:布尔型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如果能量耗尽,则需要完全充能才能进行攻击。</p></div><h4 id="e-n-t-r-演示例子" tabindex="-1">E.N.T.R-演示例子 <a class="header-anchor" href="#e-n-t-r-演示例子" aria-label="Permalink to "E.N.T.R-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyRegenWhenRecharging:0.4</span></span></code></pre></div><h3 id="energyneedstorechargetofull" tabindex="-1">energyNeedsToRechargeToFull <a class="header-anchor" href="#energyneedstorechargetofull" aria-label="Permalink to "energyNeedsToRechargeToFull""></a></h3><h4 id="energyneedstorechargetofull-代码简介" tabindex="-1">energyNeedsToRechargeToFull-代码简介 <a class="header-anchor" href="#energyneedstorechargetofull-代码简介" aria-label="Permalink to "energyNeedsToRechargeToFull-代码简介""></a></h4><p>代码:energyNeedsToRechargeToFull 中文释义:能量需要充满 类型:布尔型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如果能量耗尽,则需要完全充能才能进行攻击。</p></div><h4 id="energyneedstorechargetofull-演示例子" tabindex="-1">energyNeedsToRechargeToFull-演示例子 <a class="header-anchor" href="#energyneedstorechargetofull-演示例子" aria-label="Permalink to "energyNeedsToRechargeToFull-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyMax:4</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">energyNeedsToRechargeToFull:true</span></span></code></pre></div><h3 id="armour" tabindex="-1">armour <a class="header-anchor" href="#armour" aria-label="Permalink to "armour""></a></h3><h4 id="armour-代码简介" tabindex="-1">armour-代码简介 <a class="header-anchor" href="#armour-代码简介" aria-label="Permalink to "armour-代码简介""></a></h4><p>代码:armour 中文释义:装甲 类型:整型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>抵消敌方攻击所造成的伤害。</p></div><h4 id="armour-演示例子" tabindex="-1">armour-演示例子 <a class="header-anchor" href="#armour-演示例子" aria-label="Permalink to "armour-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">armour:40</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以上的常规攻击,则进行抵消,反之返回1伤害点。</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#例如45伤害,40护甲,那么将获得5点伤害。</span></span></code></pre></div><h3 id="armourmindamagetokeep-a-m-d-t" tabindex="-1">armourMinDamageToKeep(A.M.D.T) <a class="header-anchor" href="#armourmindamagetokeep-a-m-d-t" aria-label="Permalink to "armourMinDamageToKeep(A.M.D.T)""></a></h3><h4 id="a-m-d-t-代码简介" tabindex="-1">A.M.D.T-代码简介 <a class="header-anchor" href="#a-m-d-t-代码简介" aria-label="Permalink to "A.M.D.T-代码简介""></a></h4><p>代码:armour 中文释义:装甲最低伤害 类型:整型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>至少造成多少点伤害,默认为1.防止护甲太高完全打不动。</p></div><h4 id="a-m-d-t-演示例子" tabindex="-1">A.M.D.T-演示例子: <a class="header-anchor" href="#a-m-d-t-演示例子" aria-label="Permalink to "A.M.D.T-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#例如45伤害,40护甲,那么将获得5点伤害。</span></span></code></pre></div><h3 id="armourmindamagetokeep" tabindex="-1">armourMinDamageToKeep <a class="header-anchor" href="#armourmindamagetokeep" aria-label="Permalink to "armourMinDamageToKeep""></a></h3><h4 id="armourmindamagetokeep-代码简介" tabindex="-1">armourMinDamageToKeep-代码简介 <a class="header-anchor" href="#armourmindamagetokeep-代码简介" aria-label="Permalink to "armourMinDamageToKeep-代码简介""></a></h4><p>代码:armourMinDamageToKeep 中文释义:装甲最低伤害 类型:整型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>至少造成多少点伤害,默认为1.防止护甲太高完全打不动。</p></div><h4 id="armourmindamagetokeep-演示例子" tabindex="-1">armourMinDamageToKeep-演示例子 <a class="header-anchor" href="#armourmindamagetokeep-演示例子" aria-label="Permalink to "armourMinDamageToKeep-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">armour:40</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">armourMinDamageToKeep:2</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击,则进行最低伤害判定</span></span></code></pre></div><h3 id="borrowresourceswhilealive-b-r-w-a" tabindex="-1">borrowResourcesWhileAlive(B.R.W.A) <a class="header-anchor" href="#borrowresourceswhilealive-b-r-w-a" aria-label="Permalink to "borrowResourcesWhileAlive(B.R.W.A)""></a></h3><h4 id="b-r-w-a-代码简介" tabindex="-1">B.R.W.A-代码简介 <a class="header-anchor" href="#b-r-w-a-代码简介" aria-label="Permalink to "B.R.W.A-代码简介""></a></h4><p>代码:armour 中文释义:资源活着时借用 类型:Price型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>创建时获取这些资源,删除或销毁时将其返回。 例如用于电力逻辑,负数供电和正数耗电。</p></div><h4 id="b-r-w-a-演示例子" tabindex="-1">B.R.W.A-演示例子: <a class="header-anchor" href="#b-r-w-a-演示例子" aria-label="Permalink to "B.R.W.A-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击,则进行最低伤害判定</span></span></code></pre></div><h3 id="borrowresourceswhilealive" tabindex="-1">borrowResourcesWhileAlive <a class="header-anchor" href="#borrowresourceswhilealive" aria-label="Permalink to "borrowResourcesWhileAlive""></a></h3><h4 id="borrowresourceswhilealive-代码简介" tabindex="-1">borrowResourcesWhileAlive-代码简介 <a class="header-anchor" href="#borrowresourceswhilealive-代码简介" aria-label="Permalink to "borrowResourcesWhileAlive-代码简介""></a></h4><p>代码:armour 中文释义:资源活着时借用 类型:Price型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>创建时获取这些资源,删除或销毁时将其返回。 例如用于电力逻辑,负数供电和正数耗电。</p></div><h4 id="borrowresourceswhilealive-演示例子" tabindex="-1">borrowResourcesWhileAlive-演示例子 <a class="header-anchor" href="#borrowresourceswhilealive-演示例子" aria-label="Permalink to "borrowResourcesWhileAlive-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">borrowResourcesWhileAlive:5000</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#单位活着的时候给予5000金币,死亡扣除5000金币</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统,</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-KaHsm" id="tab-FkpAQ05" checked="checked"><label for="tab-FkpAQ05">考考你</label><input type="radio" name="group-KaHsm" id="tab-Q4jNv_j"><label for="tab-Q4jNv_j">显示答案</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">如果这里要通过这个代码做一个小的贷款系统,</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统,</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-0SqY9" id="tab-c8ShjL_" checked="checked"><label for="tab-c8ShjL_">考考你</label><input type="radio" name="group-0SqY9" id="tab-laHNWuT"><label for="tab-laHNWuT">显示答案</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">如果这里要通过这个代码做一个小的贷款系统,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">并经过一段时间让单位死亡。</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">只需要4行代码即可实现,试试看。</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">提示:dieOnZeroEnergy:</span><span style="color:#82AAFF;">true</span></span>
|
||||
|
@ -73,10 +73,10 @@ import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framew
|
|||
<span class="line"><span style="color:#FFCB6B;">energyRegen:-0.4</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">dieOnZeroEnergy:</span><span style="color:#82AAFF;">true</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#原理是通过能量为0单位死亡并通过这个代码还钱,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">是很简陋的贷款思路,当然,在后续会有更加高级的思路。</span></span></code></pre></div></div></div><h3 id="generation-resources-g-r-r-s" tabindex="-1">generation_resources(G.R_R.S) <a class="header-anchor" href="#generation-resources-g-r-r-s" aria-label="Permalink to "generation_resources(G.R_R.S)""></a></h3><h4 id="g-r-r-s-代码简介" tabindex="-1">G.R_R.S-代码简介 <a class="header-anchor" href="#g-r-r-s-代码简介" aria-label="Permalink to "G.R_R.S-代码简介""></a></h4><p>代码:generation_resources 中文释义:资源获取 类型:Price型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>单位定时获得的资源,可自定义资源。</p></div><h4 id="g-r-r-s-演示例子" tabindex="-1">G.R_R.S-演示例子 <a class="header-anchor" href="#g-r-r-s-演示例子" aria-label="Permalink to "G.R_R.S-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">是很简陋的贷款思路,当然,在后续会有更加高级的思路。</span></span></code></pre></div></div></div><h3 id="generation-resources" tabindex="-1">generation_resources <a class="header-anchor" href="#generation-resources" aria-label="Permalink to "generation_resources""></a></h3><h4 id="g-r-r-s-代码简介" tabindex="-1">G.R_R.S-代码简介 <a class="header-anchor" href="#g-r-r-s-代码简介" aria-label="Permalink to "G.R_R.S-代码简介""></a></h4><p>代码:generation_resources 中文释义:资源获取 类型:Price型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>单位定时获得的资源,可自定义资源。</p></div><h4 id="generation-resources-演示例子" tabindex="-1">generation_resources-演示例子 <a class="header-anchor" href="#generation-resources-演示例子" aria-label="Permalink to "generation_resources-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">generation_resources:10</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#or</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">generation_resources:</span><span style="color:#F07178;">credit</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">10</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">generation_resources:</span><span style="color:#F07178;">credits</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">10</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#常规产出10Credit/1s游戏资金</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">-----------我是分界线----------</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#自定义资源写法</span></span>
|
||||
|
@ -91,8 +91,8 @@ import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framew
|
|||
<span class="line"><span style="color:#A6ACCD;">generation_active: if not self.hp<100</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#效果:单位低于1000血量可以产出资源</span></span></code></pre></div><h3 id="generation-credits" tabindex="-1">generation_credits <a class="header-anchor" href="#generation-credits" aria-label="Permalink to "generation_credits""></a></h3><h4 id="generation-credits-代码简介" tabindex="-1">generation_credits-代码简介 <a class="header-anchor" href="#generation-credits-代码简介" aria-label="Permalink to "generation_credits-代码简介""></a></h4><p>代码:generation_credits 中文释义:资金获取 类型:整型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>生成资源,仅用于默认的资金,也就是铁锈默认的金钱。</p></div><h4 id="generation-credits-演示例子" tabindex="-1">generation_credits-演示例子 <a class="header-anchor" href="#generation-credits-演示例子" aria-label="Permalink to "generation_credits-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#F07178;">generation_credits</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5</span></span></code></pre></div><h3 id="generation-delay" tabindex="-1">generation_delay <a class="header-anchor" href="#generation-delay" aria-label="Permalink to "generation_delay""></a></h3><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>此代码为老旧代码,作者Luke不推荐使用。</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>警告:请勿使用40以外的数值,否则会有视觉Bug。例如使用30,资金生成3,实际就为6,但是一旦这类单位多了,游戏的资金显示会出问题。</p></div><h4 id="generation-delay-代码简介" tabindex="-1">generation_delay-代码简介 <a class="header-anchor" href="#generation-delay-代码简介" aria-label="Permalink to "generation_delay-代码简介""></a></h4><p>代码:generation_delay 中文释义:资金获取时间 类型:整型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>多久帧添加添加一次资源(generation_credits指定数值)。 默认值为40,一秒为60帧。</p></div><h4 id="generation-delay-演示例子" tabindex="-1">generation_delay-演示例子 <a class="header-anchor" href="#generation-delay-演示例子" aria-label="Permalink to "generation_delay-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#F07178;">generation_delay</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">40</span></span></code></pre></div><h2 id="第三类-ui和图形代码" tabindex="-1">第三类-UI和图形代码 <a class="header-anchor" href="#第三类-ui和图形代码" aria-label="Permalink to "第三类-UI和图形代码""></a></h2><h3 id="showineditor" tabindex="-1">showInEditor <a class="header-anchor" href="#showineditor" aria-label="Permalink to "showInEditor""></a></h3><h4 id="showineditor-代码简介" tabindex="-1">showInEditor-代码简介 <a class="header-anchor" href="#showineditor-代码简介" aria-label="Permalink to "showInEditor-代码简介""></a></h4><p>代码:showInEditor 中文释义:沙盒中可见 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>设置为false可在沙箱编辑器中隐藏单位。(默认为true)</p></div><h4 id="showineditor-演示例子" tabindex="-1">showInEditor-演示例子 <a class="header-anchor" href="#showineditor-演示例子" aria-label="Permalink to "showInEditor-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showInEditor:false</span></span></code></pre></div><h3 id="displaytext-lang" tabindex="-1">displayText_LANG <a class="header-anchor" href="#displaytext-lang" aria-label="Permalink to "displayText_LANG""></a></h3><h4 id="displaytext-lang-代码简介" tabindex="-1">displayText_{LANG}-代码简介 <a class="header-anchor" href="#displaytext-lang-代码简介" aria-label="Permalink to "displayText_{LANG}-代码简介""></a></h4><p>代码:displayText_{LANG} 中文释义:界面显示文本多语言 类型:字符型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>为单位名称添加多语言支持。此方法并不方便,不如设置游戏内部语言文件,建议催Luke改。有关常见语言代码,请参考下表</p></div><table><thead><tr><th style="text-align:center;">语言代码</th><th style="text-align:center;">所属国家/地区</th><th style="text-align:center;">语言代码</th><th style="text-align:center;">所属国家/地区</th></tr></thead><tbody><tr><td style="text-align:center;">zh</td><td style="text-align:center;">(中文通用)</td><td style="text-align:center;">en(可忽略)</td><td style="text-align:center;">(英语通用)</td></tr><tr><td style="text-align:center;">zh-cn</td><td style="text-align:center;">(简体)</td><td style="text-align:center;">ru</td><td style="text-align:center;">(俄语)</td></tr><tr><td style="text-align:center;">zh-tw</td><td style="text-align:center;">(台湾)</td><td style="text-align:center;">ja</td><td style="text-align:center;">(日语)</td></tr><tr><td style="text-align:center;">zh-hk</td><td style="text-align:center;">中文(香港)</td><td style="text-align:center;">es-ES</td><td style="text-align:center;">(西班牙)</td></tr><tr><td style="text-align:center;">de</td><td style="text-align:center;">(德语)</td><td style="text-align:center;">fr-FR</td><td style="text-align:center;">法语(法国)</td></tr></tbody></table><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>其它自查(此列表并不全),不过你应该不会闲着支持这么多语言。另外英文的语言代码<code>en</code>可以忽略,因为英文在软件里为默认语言,故而无需加<code>en</code>,当然加了也没事。</p></div><p>如果你不想进行多语言化,你应该直接<code>displayText:坦克</code>,而不是<code>displayText_zh:坦克</code>,如果你写了<code>displayText_zh:坦克</code>,<br>你必须再声明一个<code>displayText:Tank</code>,否则,游戏会找不到<code>默认语言缺省值</code>,将会导致<code>mod报错而无法运行</code>。所有可以使用多语言的都有这个检查,还请各位Moder留意。(若有特别的代码,将会在它里面特别提示)</p><h4 id="displaytext-lang-演示例子" tabindex="-1">displayText_{LANG}-演示例子 <a class="header-anchor" href="#displaytext-lang-演示例子" aria-label="Permalink to "displayText_{LANG}-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#F07178;">generation_delay</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">40</span></span></code></pre></div><h2 id="第三类-ui和图形代码" tabindex="-1">第三类-UI和图形代码 <a class="header-anchor" href="#第三类-ui和图形代码" aria-label="Permalink to "第三类-UI和图形代码""></a></h2><h3 id="showineditor" tabindex="-1">showInEditor <a class="header-anchor" href="#showineditor" aria-label="Permalink to "showInEditor""></a></h3><h4 id="showineditor-代码简介" tabindex="-1">showInEditor-代码简介 <a class="header-anchor" href="#showineditor-代码简介" aria-label="Permalink to "showInEditor-代码简介""></a></h4><p>代码:showInEditor 中文释义:沙盒中可见 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>设置为false可在沙盒编辑器中隐藏单位。(默认为true)</p></div><h4 id="showineditor-演示例子" tabindex="-1">showInEditor-演示例子 <a class="header-anchor" href="#showineditor-演示例子" aria-label="Permalink to "showInEditor-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showInEditor:false</span></span></code></pre></div><h3 id="displaytext-lang" tabindex="-1">displayText_LANG <a class="header-anchor" href="#displaytext-lang" aria-label="Permalink to "displayText_LANG""></a></h3><h4 id="displaytext-lang-代码简介" tabindex="-1">displayText_{LANG}-代码简介 <a class="header-anchor" href="#displaytext-lang-代码简介" aria-label="Permalink to "displayText_{LANG}-代码简介""></a></h4><p>代码:displayText_{LANG} 中文释义:界面显示文本多语言 类型:字符型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>为单位名称添加多语言支持。此方法并不方便,不如设置游戏内部语言文件,建议催Luke改。有关常见语言代码,请参考下表</p></div><table><thead><tr><th style="text-align:center;">语言代码</th><th style="text-align:center;">所属国家/地区</th><th style="text-align:center;">语言代码</th><th style="text-align:center;">所属国家/地区</th></tr></thead><tbody><tr><td style="text-align:center;">zh</td><td style="text-align:center;">(中文通用)</td><td style="text-align:center;">en(可忽略)</td><td style="text-align:center;">(英语通用)</td></tr><tr><td style="text-align:center;">zh-cn</td><td style="text-align:center;">(简体)</td><td style="text-align:center;">ru</td><td style="text-align:center;">(俄语)</td></tr><tr><td style="text-align:center;">zh-tw</td><td style="text-align:center;">(台湾)</td><td style="text-align:center;">ja</td><td style="text-align:center;">(日语)</td></tr><tr><td style="text-align:center;">zh-hk</td><td style="text-align:center;">中文(香港)</td><td style="text-align:center;">es-ES</td><td style="text-align:center;">(西班牙)</td></tr><tr><td style="text-align:center;">de</td><td style="text-align:center;">(德语)</td><td style="text-align:center;">fr-FR</td><td style="text-align:center;">法语(法国)</td></tr></tbody></table><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>其它自查(此列表并不全),不过你应该不会闲着支持这么多语言。另外英文的语言代码<code>en</code>可以忽略,因为英文在软件里为默认语言,故而无需加<code>en</code>,当然加了也没事。</p></div><p>如果你不想进行多语言化,你应该直接<code>displayText:坦克</code>,而不是<code>displayText_zh:坦克</code>,如果你写了<code>displayText_zh:坦克</code>,<br>你必须再声明一个<code>displayText:Tank</code>,否则,游戏会找不到<code>默认语言缺省值</code>,将会导致<code>mod报错而无法运行</code>。所有可以使用多语言的都有这个检查,还请各位Modder留意。(若有特别的代码,将会在它里面特别提示)</p><h4 id="displaytext-lang-演示例子" tabindex="-1">displayText_{LANG}-演示例子 <a class="header-anchor" href="#displaytext-lang-演示例子" aria-label="Permalink to "displayText_{LANG}-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#English</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayText:Tank</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#Chinese</span></span>
|
||||
|
@ -100,11 +100,11 @@ import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framew
|
|||
<span class="line"><span style="color:#A6ACCD;">displayText:坦克</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription:只能对地,弱输出,只能在地上行走。</span></span></code></pre></div><h3 id="displaylocalekey" tabindex="-1">displayLocaleKey <a class="header-anchor" href="#displaylocalekey" aria-label="Permalink to "displayLocaleKey""></a></h3><h4 id="displaylocalekey-代码简介" tabindex="-1">displayLocaleKey-代码简介 <a class="header-anchor" href="#displaylocalekey-代码简介" aria-label="Permalink to "displayLocaleKey-代码简介""></a></h4><p>代码:displayLocaleKey 中文释义:界面显示内部调用 类型:字符型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>调用内部语言文件的单位名称和说明的翻译文件。用处不大,通常是在<code>替换原版单位的同时直接调用它的原始描述</code>。该代码例子需要会拆包,如果你是初学者,该代码了解即可。</p></div><h4 id="displaylocalekey-演示例子" tabindex="-1">displayLocaleKey-演示例子 <a class="header-anchor" href="#displaylocalekey-演示例子" aria-label="Permalink to "displayLocaleKey-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayLocaleKey: units.mechArtillery</span></span></code></pre></div><h3 id="displayradius" tabindex="-1">displayRadius <a class="header-anchor" href="#displayradius" aria-label="Permalink to "displayRadius""></a></h3><h4 id="displayradius-代码简介" tabindex="-1">displayRadius-代码简介 <a class="header-anchor" href="#displayradius-代码简介" aria-label="Permalink to "displayRadius-代码简介""></a></h4><p>代码:displayRadius 中文释义:单位选择时显示圆圈 类型:整形 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>修改选择单位时显示的绿色圆圈,不更改实际碰撞(radius)和可选择范围。</p></div><h4 id="displayradius-演示例子" tabindex="-1">displayRadius-演示例子 <a class="header-anchor" href="#displayradius-演示例子" aria-label="Permalink to "displayRadius-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayRadius:25</span></span></code></pre></div><h3 id="uitargetradius" tabindex="-1">uiTargetRadius <a class="header-anchor" href="#uitargetradius" aria-label="Permalink to "uiTargetRadius""></a></h3><h4 id="uitargetradius-代码简介" tabindex="-1">uiTargetRadius-代码简介 <a class="header-anchor" href="#uitargetradius-代码简介" aria-label="Permalink to "uiTargetRadius-代码简介""></a></h4><p>代码:uiTargetRadius 中文释义:为目标时半径 类型:整形 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认为显示半径值。攻击/回收/等单位时使用的半径</p></div><h4 id="uitargetradius-演示例子" tabindex="-1">uiTargetRadius-演示例子: <a class="header-anchor" href="#uitargetradius-演示例子" aria-label="Permalink to "uiTargetRadius-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">uiTargetRadius:25</span></span></code></pre></div><h3 id="shieldrenderradius" tabindex="-1">shieldRenderRadius <a class="header-anchor" href="#shieldrenderradius" aria-label="Permalink to "shieldRenderRadius""></a></h3><h4 id="shieldrenderradius-代码简介" tabindex="-1">shieldRenderRadius-代码简介 <a class="header-anchor" href="#shieldrenderradius-代码简介" aria-label="Permalink to "shieldRenderRadius-代码简介""></a></h4><p>代码:shieldRenderRadius 中文释义:单位护盾显示半径 类型:整形 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>护盾绘制半径,默认值比半径大一点。 可以设置在单位上显示更大或更小的护盾圈。</p></div><h4 id="shieldrenderradius-演示例子" tabindex="-1">shieldRenderRadius-演示例子: <a class="header-anchor" href="#shieldrenderradius-演示例子" aria-label="Permalink to "shieldRenderRadius-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldRenderRadius:20</span></span></code></pre></div><h3 id="shielddisplayonlydeflection" tabindex="-1">shieldDisplayOnlyDeflection <a class="header-anchor" href="#shielddisplayonlydeflection" aria-label="Permalink to "shieldDisplayOnlyDeflection""></a></h3><h4 id="shielddisplayonlydeflection-代码简介" tabindex="-1">shieldDisplayOnlyDeflection-代码简介 <a class="header-anchor" href="#shielddisplayonlydeflection-代码简介" aria-label="Permalink to "shieldDisplayOnlyDeflection-代码简介""></a></h4><p>代码:shieldDisplayOnlyDeflection 中文释义:护盾只在受攻击时显示 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>隐藏护盾,只在受到攻击时显示。</p></div><h4 id="shielddisplayonlydeflection-演示例子" tabindex="-1">shieldDisplayOnlyDeflection-演示例子: <a class="header-anchor" href="#shielddisplayonlydeflection-演示例子" aria-label="Permalink to "shieldDisplayOnlyDeflection-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldDisplayOnlyDeflection:true</span></span></code></pre></div><h3 id="shielddeflectiondisplayrate" tabindex="-1">shieldDeflectionDisplayRate <a class="header-anchor" href="#shielddeflectiondisplayrate" aria-label="Permalink to "shieldDeflectionDisplayRate""></a></h3><h4 id="shielddeflectiondisplayrate-代码简介" tabindex="-1">shieldDeflectionDisplayRate-代码简介 <a class="header-anchor" href="#shielddeflectiondisplayrate-代码简介" aria-label="Permalink to "shieldDeflectionDisplayRate-代码简介""></a></h4><p>代码:shieldDeflectionDisplayRate 中文释义:护盾消失速度 类型:浮点型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认值为4。数值越大消失越快。</p></div><h4 id="shielddeflectiondisplayrate-演示例子" tabindex="-1">shieldDeflectionDisplayRate-演示例子: <a class="header-anchor" href="#shielddeflectiondisplayrate-演示例子" aria-label="Permalink to "shieldDeflectionDisplayRate-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldDeflectionDisplayRate:3</span></span></code></pre></div><h3 id="showonminimap" tabindex="-1">showOnMinimap <a class="header-anchor" href="#showonminimap" aria-label="Permalink to "showOnMinimap""></a></h3><h4 id="showonminimap-代码简介" tabindex="-1">showOnMinimap-代码简介 <a class="header-anchor" href="#showonminimap-代码简介" aria-label="Permalink to "showOnMinimap-代码简介""></a></h4><p>代码:shieldDeflectionDisplayRate 中文释义:显示在小地图上 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认为true。如果为false,则在小地图上不显示此单位。</p></div><h4 id="showonminimap-演示例子" tabindex="-1">showOnMinimap-演示例子: <a class="header-anchor" href="#showonminimap-演示例子" aria-label="Permalink to "showOnMinimap-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showOnMinimap:true</span></span></code></pre></div><h3 id="showonminimaptoenemies" tabindex="-1">showOnMinimapToEnemies <a class="header-anchor" href="#showonminimaptoenemies" aria-label="Permalink to "showOnMinimapToEnemies""></a></h3><h4 id="showonminimaptoenemies-代码简介" tabindex="-1">showOnMinimapToEnemies-代码简介 <a class="header-anchor" href="#showonminimaptoenemies-代码简介" aria-label="Permalink to "showOnMinimapToEnemies-代码简介""></a></h4><p>代码:showOnMinimapToEnemies 中文释义:显示于敌人小地图 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>是否在敌人小地图上显示。</p></div><h4 id="showonminimaptoenemies-演示例子" tabindex="-1">showOnMinimapToEnemies-演示例子: <a class="header-anchor" href="#showonminimaptoenemies-演示例子" aria-label="Permalink to "showOnMinimapToEnemies-演示例子:""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayRadius:25</span></span></code></pre></div><h3 id="uitargetradius" tabindex="-1">uiTargetRadius <a class="header-anchor" href="#uitargetradius" aria-label="Permalink to "uiTargetRadius""></a></h3><h4 id="uitargetradius-代码简介" tabindex="-1">uiTargetRadius-代码简介 <a class="header-anchor" href="#uitargetradius-代码简介" aria-label="Permalink to "uiTargetRadius-代码简介""></a></h4><p>代码:uiTargetRadius 中文释义:为目标时半径 类型:整形 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认为显示半径值。攻击/回收/等单位时使用的半径</p></div><h4 id="uitargetradius-演示例子" tabindex="-1">uiTargetRadius-演示例子 <a class="header-anchor" href="#uitargetradius-演示例子" aria-label="Permalink to "uiTargetRadius-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">uiTargetRadius:25</span></span></code></pre></div><h3 id="shieldrenderradius" tabindex="-1">shieldRenderRadius <a class="header-anchor" href="#shieldrenderradius" aria-label="Permalink to "shieldRenderRadius""></a></h3><h4 id="shieldrenderradius-代码简介" tabindex="-1">shieldRenderRadius-代码简介 <a class="header-anchor" href="#shieldrenderradius-代码简介" aria-label="Permalink to "shieldRenderRadius-代码简介""></a></h4><p>代码:shieldRenderRadius 中文释义:单位护盾显示半径 类型:整形 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>护盾绘制半径,默认值比半径大一点。 可以设置在单位上显示更大或更小的护盾圈。</p></div><h4 id="shieldrenderradius-演示例子" tabindex="-1">shieldRenderRadius-演示例子 <a class="header-anchor" href="#shieldrenderradius-演示例子" aria-label="Permalink to "shieldRenderRadius-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldRenderRadius:20</span></span></code></pre></div><h3 id="shielddisplayonlydeflection" tabindex="-1">shieldDisplayOnlyDeflection <a class="header-anchor" href="#shielddisplayonlydeflection" aria-label="Permalink to "shieldDisplayOnlyDeflection""></a></h3><h4 id="shielddisplayonlydeflection-代码简介" tabindex="-1">shieldDisplayOnlyDeflection-代码简介 <a class="header-anchor" href="#shielddisplayonlydeflection-代码简介" aria-label="Permalink to "shieldDisplayOnlyDeflection-代码简介""></a></h4><p>代码:shieldDisplayOnlyDeflection 中文释义:护盾只在受攻击时显示 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>隐藏护盾,只在受到攻击时显示。</p></div><h4 id="shielddisplayonlydeflection-演示例子" tabindex="-1">shieldDisplayOnlyDeflection-演示例子 <a class="header-anchor" href="#shielddisplayonlydeflection-演示例子" aria-label="Permalink to "shieldDisplayOnlyDeflection-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldDisplayOnlyDeflection:true</span></span></code></pre></div><h3 id="shielddeflectiondisplayrate" tabindex="-1">shieldDeflectionDisplayRate <a class="header-anchor" href="#shielddeflectiondisplayrate" aria-label="Permalink to "shieldDeflectionDisplayRate""></a></h3><h4 id="shielddeflectiondisplayrate-代码简介" tabindex="-1">shieldDeflectionDisplayRate-代码简介 <a class="header-anchor" href="#shielddeflectiondisplayrate-代码简介" aria-label="Permalink to "shieldDeflectionDisplayRate-代码简介""></a></h4><p>代码:shieldDeflectionDisplayRate 中文释义:护盾消失速度 类型:浮点型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认值为4。数值越大消失越快。</p></div><h4 id="shielddeflectiondisplayrate-演示例子" tabindex="-1">shieldDeflectionDisplayRate-演示例子 <a class="header-anchor" href="#shielddeflectiondisplayrate-演示例子" aria-label="Permalink to "shieldDeflectionDisplayRate-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">shieldDeflectionDisplayRate:3</span></span></code></pre></div><h3 id="showonminimap" tabindex="-1">showOnMinimap <a class="header-anchor" href="#showonminimap" aria-label="Permalink to "showOnMinimap""></a></h3><h4 id="showonminimap-代码简介" tabindex="-1">showOnMinimap-代码简介 <a class="header-anchor" href="#showonminimap-代码简介" aria-label="Permalink to "showOnMinimap-代码简介""></a></h4><p>代码:showOnMinimap 中文释义:显示在小地图上 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认为true。如果为false,则在小地图上不显示此单位。</p></div><h4 id="showonminimap-演示例子" tabindex="-1">showOnMinimap-演示例子 <a class="header-anchor" href="#showonminimap-演示例子" aria-label="Permalink to "showOnMinimap-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showOnMinimap:true</span></span></code></pre></div><h3 id="showonminimaptoenemies" tabindex="-1">showOnMinimapToEnemies <a class="header-anchor" href="#showonminimaptoenemies" aria-label="Permalink to "showOnMinimapToEnemies""></a></h3><h4 id="showonminimaptoenemies-代码简介" tabindex="-1">showOnMinimapToEnemies-代码简介 <a class="header-anchor" href="#showonminimaptoenemies-代码简介" aria-label="Permalink to "showOnMinimapToEnemies-代码简介""></a></h4><p>代码:showOnMinimapToEnemies 中文释义:显示于敌人小地图 类型:布尔型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>是否在敌人小地图上显示。</p></div><h4 id="showonminimaptoenemies-演示例子" tabindex="-1">showOnMinimapToEnemies-演示例子 <a class="header-anchor" href="#showonminimaptoenemies-演示例子" aria-label="Permalink to "showOnMinimapToEnemies-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showOnMinimapToEnemies:true</span></span></code></pre></div><h3 id="showactionswithmixedselectionifotherunitshavetag" tabindex="-1">showActionsWithMixedSelectionIfOtherUnitsHaveTag <a class="header-anchor" href="#showactionswithmixedselectionifotherunitshavetag" aria-label="Permalink to "showActionsWithMixedSelectionIfOtherUnitsHaveTag""></a></h3><h4 id="showactionswithmixedselectionifotherunitshavetag-代码简介" tabindex="-1">showActionsWithMixedSelectionIfOtherUnitsHaveTag-代码简介 <a class="header-anchor" href="#showactionswithmixedselectionifotherunitshavetag-代码简介" aria-label="Permalink to "showActionsWithMixedSelectionIfOtherUnitsHaveTag-代码简介""></a></h4><p>代码:showActionsWithMixedSelectionIfOtherUnitsHaveTag 中文释义:混合所选单位所显示的行为 类型:标签型 隶属于:UI和图形代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如果选择的单位都包含此处使用的标签,则合并“行为(action)”。比如你的步兵通过部署转化成另一个单位,在混合时可以当作同一个单位处理,不再是默认的谁都无法执行操作。例子如红警的盟军大兵在混合选中后依旧可执行部署或解除。</p></div><h4 id="showactionswithmixedselectionifotherunitshavetag-演示例子" tabindex="-1">showActionsWithMixedSelectionIfOtherUnitsHaveTag-演示例子 <a class="header-anchor" href="#showactionswithmixedselectionifotherunitshavetag-演示例子" aria-label="Permalink to "showActionsWithMixedSelectionIfOtherUnitsHaveTag-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showActionsWithMixedSelectionIfOtherUnitsHaveTag:tag_联系</span></span></code></pre></div><h2 id="第四组-构建代码" tabindex="-1">第四组-构建代码 <a class="header-anchor" href="#第四组-构建代码" aria-label="Permalink to "第四组-构建代码""></a></h2>`,130);function P(F,_,T,R,w,B){const s=c("font");return o(),r("div",null,[d,e("p",null,[a("主要在"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),l(s,{color:"orange"},{default:n(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",b,[m,e("p",null,[a("早期是用于在"),l(s,{color:"orange"},{default:n(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),y,a("自铁锈1.09后出现"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),g,a(" 设置单位的科技等级,共有3个级别,1级GUI显示为绿色,2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[q,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),v,a(" 图像在"),l(s,{color:"orange"},{default:n(()=>[a("drawable/blood_mark.png---hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[f,e("p",null,[a("能量恢复是持续的,如果你设置了"),l(s,{color:"orange"},{default:n(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(", 那么攻击时按energyRegen恢复,耗尽时的灰条按此处设定值恢复。")])]),A])}const E=t(p,[["render",P]]);export{I as __pageData,E as default};
|
||||
<span class="line"><span style="color:#A6ACCD;">showActionsWithMixedSelectionIfOtherUnitsHaveTag:tag_联系</span></span></code></pre></div><h2 id="第四组-构建代码" tabindex="-1">第四组-构建代码 <a class="header-anchor" href="#第四组-构建代码" aria-label="Permalink to "第四组-构建代码""></a></h2>`,130);function P(F,_,T,R,w,B){const s=c("font");return o(),r("div",null,[d,e("p",null,[a("主要在"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),l(s,{color:"orange"},{default:n(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",m,[b,e("p",null,[a("早期是用于在"),l(s,{color:"orange"},{default:n(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),g,a("自铁锈1.09后出现"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),y,a(" 设置单位的科技等级,共有3个级别,1级GUI显示为绿色,2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[v,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),q,a(" 图像在"),l(s,{color:"orange"},{default:n(()=>[a("drawable/blood_mark.png---hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[f,e("p",null,[a("能量恢复是持续的,如果你设置了"),l(s,{color:"orange"},{default:n(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(", 那么攻击时按energyRegen恢复,耗尽时的灰条按此处设定值恢复。")])]),A])}const N=t(p,[["render",P]]);export{I as __pageData,N as default};
|
|
@ -1 +1 @@
|
|||
import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framework.afbd7175.js";const I=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i("",46),h=e("br",null,null,-1),u=i("",17),b={class:"tip custom-block"},m=e("p",{class:"custom-block-title"},"TIP",-1),y=e("br",null,null,-1),g=e("br",null,null,-1),C=i("",11),k={class:"tip custom-block"},q=e("p",{class:"custom-block-title"},"TIP",-1),v=e("br",null,null,-1),x=i("",67),D={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),A=i("",130);function P(F,_,T,R,w,B){const s=c("font");return o(),r("div",null,[d,e("p",null,[a("主要在"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),l(s,{color:"orange"},{default:n(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",b,[m,e("p",null,[a("早期是用于在"),l(s,{color:"orange"},{default:n(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),y,a("自铁锈1.09后出现"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),g,a(" 设置单位的科技等级,共有3个级别,1级GUI显示为绿色,2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[q,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),v,a(" 图像在"),l(s,{color:"orange"},{default:n(()=>[a("drawable/blood_mark.png---hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[f,e("p",null,[a("能量恢复是持续的,如果你设置了"),l(s,{color:"orange"},{default:n(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(", 那么攻击时按energyRegen恢复,耗尽时的灰条按此处设定值恢复。")])]),A])}const E=t(p,[["render",P]]);export{I as __pageData,E as default};
|
||||
import{_ as t,o,c as r,x as e,a,C as l,z as n,N as i,D as c}from"./chunks/framework.afbd7175.js";const I=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i("",46),h=e("br",null,null,-1),u=i("",17),m={class:"tip custom-block"},b=e("p",{class:"custom-block-title"},"TIP",-1),g=e("br",null,null,-1),y=e("br",null,null,-1),C=i("",11),k={class:"tip custom-block"},v=e("p",{class:"custom-block-title"},"TIP",-1),q=e("br",null,null,-1),x=i("",67),D={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),A=i("",130);function P(F,_,T,R,w,B){const s=c("font");return o(),r("div",null,[d,e("p",null,[a("主要在"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),l(s,{color:"orange"},{default:n(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),l(s,{color:"orange"},{default:n(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",m,[b,e("p",null,[a("早期是用于在"),l(s,{color:"orange"},{default:n(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),g,a("自铁锈1.09后出现"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),l(s,{color:"orange"},{default:n(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),y,a(" 设置单位的科技等级,共有3个级别,1级GUI显示为绿色,2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[v,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),q,a(" 图像在"),l(s,{color:"orange"},{default:n(()=>[a("drawable/blood_mark.png---hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[f,e("p",null,[a("能量恢复是持续的,如果你设置了"),l(s,{color:"orange"},{default:n(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(", 那么攻击时按energyRegen恢复,耗尽时的灰条按此处设定值恢复。")])]),A])}const N=t(p,[["render",P]]);export{I as __pageData,N as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"src_unit_canbuild.md":"a704448b","src_unit_graphics.md":"11d4f4e2","src_unit_loginboolean.md":"4ae703e0","index.md":"58a89ee7","api-examples.md":"cd86cd6d","markdown-examples.md":"effb3764","src_unit_core.md":"711a3f3c"}
|
||||
{"api-examples.md":"cd86cd6d","markdown-examples.md":"effb3764","index.md":"58a89ee7","src_unit_canbuild.md":"a704448b","src_unit_core.md":"197e87f6","src_unit_loginboolean.md":"fdf87947","src_unit_graphics.md":"11d4f4e2"}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -47,7 +47,7 @@
|
|||
<span class="line"><span style="color:#A6ACCD;">::: details</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">This is a details block.</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">:::</span></span></code></pre></div><p><strong>Output</strong></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>This is an info box.</p></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>This is a tip.</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>This is a warning.</p></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>This is a dangerous warning.</p></div><details class="details custom-block"><summary>Details</summary><p>This is a details block.</p></details><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to "More""></a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/guide/markdown" target="_blank" rel="noreferrer">full list of markdown extensions</a>.</p></div></div></main><footer class="VPDocFooter" data-v-c4b0d3cf data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/src/Unit/core.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>核心-CORE</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_unit_canbuild.md\":\"a704448b\",\"src_unit_graphics.md\":\"11d4f4e2\",\"src_unit_loginboolean.md\":\"4ae703e0\",\"index.md\":\"58a89ee7\",\"api-examples.md\":\"cd86cd6d\",\"markdown-examples.md\":\"effb3764\",\"src_unit_core.md\":\"711a3f3c\"}")
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"api-examples.md\":\"cd86cd6d\",\"markdown-examples.md\":\"effb3764\",\"index.md\":\"58a89ee7\",\"src_unit_canbuild.md\":\"a704448b\",\"src_unit_core.md\":\"197e87f6\",\"src_unit_loginboolean.md\":\"fdf87947\",\"src_unit_graphics.md\":\"11d4f4e2\"}")
|
||||
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Examples\",\"link\":\"/markdown-examples\"}],\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/markdown-examples\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CORE\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"逻辑组-LogicBoolean\",\"link\":\"/src/Unit/loginboolean\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/vuejs/vitepress\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
|
||||
|
||||
</body>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user