Deploying to gh-pages from @ LingASDJ/RW-API-Code@0fc94f6b87 🚀

This commit is contained in:
LingASDJ 2023-06-07 02:12:19 +00:00
parent 16d5ba9b21
commit a7cfe573c8
16 changed files with 37 additions and 37 deletions

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,7 @@
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">iframe</span><span style="color:#89DDFF;">&gt;</span></span></code></pre></div><h4 id="_3-插入表格" tabindex="-1">3.插入表格 <a class="header-anchor" href="#_3-插入表格" aria-label="Permalink to &quot;3.插入表格&quot;"></a></h4><h3 id="代码演示" tabindex="-1">代码演示: <a class="header-anchor" href="#代码演示" aria-label="Permalink to &quot;代码演示:&quot;"></a></h3><table><thead><tr><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr><td>1</td><td>2</td><td>3</td></tr></tbody></table><h3 id="代码例子" tabindex="-1">代码例子: <a class="header-anchor" href="#代码例子" aria-label="Permalink to &quot;代码例子:&quot;"></a></h3><div class="language-markdown"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">|A|B|C| </span></span>
<span class="line"><span style="color:#A6ACCD;">|-|-|-</span></span>
<span class="line"><span style="color:#A6ACCD;">|1|2|3|</span></span></code></pre></div><p>如果你仍然不会Markdown表格写法这里给你一个链接</p><h3><a href="https://tableconvert.com/zh-cn/markdown-to-markdown" target="_blank">TableConvert-MD-点击进入</a></h3><h3 id="_4-扩展写法-高级" tabindex="-1">4.扩展写法(高级) <a class="header-anchor" href="#_4-扩展写法-高级" aria-label="Permalink to &quot;4.扩展写法(高级)&quot;"></a></h3><p>有一些时候,我们可能需要在已经标记的后面再添加东西, 但Markdown解析方式在标签后面再有一个标签就不会识别了。<br> 所以这里我们必须直接使用原生Html的代码 通过浏览器的检查元素,你应该能迅速找到模块框架, 将它的模块元素区域复制下来,并调用。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>该文档可能还有很多缺陷如果你有更好的建议请发送Issues或者PR给我。</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>编写于2023-5-9 RTS-Code-API[第3版-第3次修订]</p></div></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="/" data-v-face870a><span class="desc" data-v-face870a>下一篇文章</span><span class="title" data-v-face870a>主页-Home</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2cf3e0b data-v-2f86ebd2><div class="container" data-v-2f86ebd2><p class="message" data-v-2f86ebd2>Rosy-Code Ling Web Stuido</p><p class="copyright" data-v-2f86ebd2>Copyright © 2023-RW-API-Code</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"80114b9d\",\"index.md\":\"15c54bcd\",\"src_debug_test.md\":\"345d5d83\",\"src_unit_canbuild.md\":\"9a60cd59\",\"api-dev.md\":\"8f2cc0b7\",\"src_unit_core.md\":\"be2b2abd\",\"src_unit_loginboolean.md\":\"df95cbff\",\"src_unit_graphics.md\":\"f82e2325\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_unit_loginboolean.md\":\"90e54221\",\"src_map_tsada.md\":\"80114b9d\",\"api-dev.md\":\"8f2cc0b7\",\"src_unit_core.md\":\"e7e558c2\",\"index.md\":\"15c54bcd\",\"src_debug_test.md\":\"345d5d83\",\"src_unit_graphics.md\":\"f82e2325\",\"src_unit_canbuild.md\":\"6c842735\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"单位API\",\"link\":\"/src/Unit/core\"},{\"text\":\"地图API\",\"link\":\"/src/Map/teada\"},{\"text\":\"调试API\",\"link\":\"/src/Debug/test\"},{\"text\":\"编写指南\",\"link\":\"/api-dev\"}],\"docFooter\":{\"prev\":\"上一篇文章\",\"next\":\"下一篇文章\"},\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/\"},{\"text\":\"-------------------------\",\"link\":\"\"},{\"text\":\"[API-单位组-Unit]\",\"link\":\"\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CANBUILD\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"图像-GRAPHICS\",\"link\":\"/src/Unit/graphics\"},{\"text\":\"逻辑-LOGIC\",\"link\":\"/src/Unit/loginboolean\"},{\"text\":\"-------------------------\",\"link\":\"\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LingASDJ/RW-API-Code/\"}],\"footer\":{\"message\":\"Rosy-Code Ling Web Stuido\",\"copyright\":\"Copyright © 2023-RW-API-Code\"},\"search\":{\"provider\":\"local\",\"options\":{\"locales\":{\"zh\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"你干嘛~哎呦~无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}},\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}")</script>
</body>

View File

@ -1,4 +1,4 @@
import{_ as n,H as i,o,c,C as s,a,J as t,E as p,V as e}from"./chunks/framework.ba757cb9.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-Cq_4t" id="tab-5fxoh_A" checked="checked"><label for="tab-5fxoh_A">allureluoli</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:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
import{_ as n,H as i,o,c,C as s,a,J as t,E as p,V as e}from"./chunks/framework.ba757cb9.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-IvXHe" id="tab-FgffH_-" checked="checked"><label for="tab-FgffH_-">allureluoli</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:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_SmallTank</span><span style="color:#89DDFF;">]</span></span>
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_</span><span style="color:#89DDFF;">]</span></span></code></pre></div></div></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>[canBuild_NAME] NAME<br> 线</p></div><h4 id="canbuild-name-" tabindex="-1">[canBuild_NAME]- <a class="header-anchor" href="#canbuild-name-" aria-label="Permalink to &quot;[canBuild_NAME]-&quot;"></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;">[canBuild_SmallTank]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>

View File

@ -1,4 +1,4 @@
import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framework.ba757cb9.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-1JcV5" id="tab-UeNeNNx" checked="checked"><label for="tab-UeNeNNx">JDSALing</label><input type="radio" name="group-1JcV5" id="tab-Y0CJZaa"><label for="tab-Y0CJZaa">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,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framework.ba757cb9.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-tcjiB" id="tab-DfgSRlE" checked="checked"><label for="tab-DfgSRlE">JDSALing</label><input type="radio" name="group-tcjiB" id="tab-haY99vq"><label for="tab-haY99vq">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>
@ -16,13 +16,13 @@ import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}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><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-FoomJ" id="tab-2osoboz" checked="checked"><label for="tab-2osoboz">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><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-L5vPj" id="tab-TznU_iO" checked="checked"><label for="tab-TznU_iO">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</span><span style="color:#C3E88D;">=数值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 &quot;price-&quot;"></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><hr><h3 id="radius" tabindex="-1">radius <a class="header-anchor" href="#radius" aria-label="Permalink to &quot;radius&quot;"></a></h3><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><p>:radius : : :</p><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></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 &quot;radius-&quot;"></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><hr><h3 id="mass" tabindex="-1">mass <a class="header-anchor" href="#mass" aria-label="Permalink to &quot;mass&quot;"></a></h3><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p>:mass : : :</p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p><code></code></p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></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><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-R6-lR" id="tab-sZLusqC" checked="checked"><label for="tab-sZLusqC">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><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-u7y1m" id="tab-T8b09CO" checked="checked"><label for="tab-T8b09CO">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></code></pre></div></div></div><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></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>
@ -61,7 +61,7 @@ import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framew
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击则进行最低伤害判定</span></span></code></pre></div><hr><h3 id="borrowresourceswhilealive" tabindex="-1">borrowResourcesWhileAlive <a class="header-anchor" href="#borrowresourceswhilealive" aria-label="Permalink to &quot;borrowResourcesWhileAlive&quot;"></a></h3><h4 id="borrowresourceswhilealive-" tabindex="-1">borrowResourcesWhileAlive- <a class="header-anchor" href="#borrowresourceswhilealive-" aria-label="Permalink to &quot;borrowResourcesWhileAlive-&quot;"></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 &quot;borrowResourcesWhileAlive-&quot;"></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-xnRU7" id="tab-XERREQo" checked="checked"><label for="tab-XERREQo"></label><input type="radio" name="group-xnRU7" id="tab-WOeeWqy"><label for="tab-WOeeWqy"></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-B8_Vs" id="tab-7Kkp7vS" checked="checked"><label for="tab-7Kkp7vS"></label><input type="radio" name="group-B8_Vs" id="tab-50ayUmh"><label for="tab-50ayUmh"></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:true</span></span>
@ -116,4 +116,4 @@ import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framew
<span class="line"><span style="color:#A6ACCD;">footprint: -1,-1,1,1</span></span></code></pre></div><hr><h3 id="constructionfootprint" tabindex="-1">constructionFootprint <a class="header-anchor" href="#constructionfootprint" aria-label="Permalink to &quot;constructionFootprint&quot;"></a></h3><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></a></h4><p>:constructionFootprint : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> <br> 使</p></div><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></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;">constructionFootprint: -1,-1,1,3</span></span></code></pre></div><hr><h3 id="displayfootprint" tabindex="-1">displayFootprint <a class="header-anchor" href="#displayfootprint" aria-label="Permalink to &quot;displayFootprint&quot;"></a></h3><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></a></h4><p>:displayFootprint :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></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;">displayFootprint: 0,0,1,1</span></span></code></pre></div><hr><h3 id="buildingselectionoffset" tabindex="-1">buildingSelectionOffset <a class="header-anchor" href="#buildingselectionoffset" aria-label="Permalink to &quot;buildingSelectionOffset&quot;"></a></h3><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></a></h4><p>:buildingSelectionOffset :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></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;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function F(_,T,R,w,B,I){const s=o("font");return r(),c("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),C,e("div",k,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[A,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),P])}const N=t(p,[["render",F]]);export{E as __pageData,N as default};
<span class="line"><span style="color:#A6ACCD;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function F(_,T,R,w,B,I){const s=o("font");return r(),c("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),C,e("div",k,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[A,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),P])}const M=t(p,[["render",F]]);export{E as __pageData,M as default};

View File

@ -1 +1 @@
import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framework.ba757cb9.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i("",51),h=e("br",null,null,-1),u=i("",20),b={class:"tip custom-block"},g=e("p",{class:"custom-block-title"},"TIP",-1),m=e("br",null,null,-1),y=e("br",null,null,-1),C=i("",13),k={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),q=e("br",null,null,-1),v=e("br",null,null,-1),x=i("",77),D={class:"tip custom-block"},A=e("p",{class:"custom-block-title"},"TIP",-1),P=i("",183);function F(_,T,R,w,B,I){const s=o("font");return r(),c("div",null,[d,e("p",null,[a("主要在"),n(s,{color:"orange"},{default:l(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),n(s,{color:"orange"},{default:l(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),n(s,{color:"orange"},{default:l(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",b,[g,e("p",null,[a("早期是用于在"),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),m,a("自铁锈1.09后出现"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),y,a(" 设置单位的科技等级共有3个级别1级GUI显示为绿色2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[f,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),q,a(" 图像在"),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("当hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[A,e("p",null,[a("能量恢复是持续的,如果你设置了"),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" 那么攻击时按energyRegen恢复耗尽时的灰条按此处设定值恢复。")])]),P])}const N=t(p,[["render",F]]);export{E as __pageData,N as default};
import{_ as t,H as o,o as r,c,C as e,a,J as n,E as l,V as i}from"./chunks/framework.ba757cb9.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i("",51),h=e("br",null,null,-1),u=i("",20),b={class:"tip custom-block"},g=e("p",{class:"custom-block-title"},"TIP",-1),m=e("br",null,null,-1),y=e("br",null,null,-1),C=i("",13),k={class:"tip custom-block"},f=e("p",{class:"custom-block-title"},"TIP",-1),q=e("br",null,null,-1),v=e("br",null,null,-1),x=i("",77),D={class:"tip custom-block"},A=e("p",{class:"custom-block-title"},"TIP",-1),P=i("",183);function F(_,T,R,w,B,I){const s=o("font");return r(),c("div",null,[d,e("p",null,[a("主要在"),n(s,{color:"orange"},{default:l(()=>[a("启用多个自定义Mod")]),_:1}),a("进行优先级定义"),h,a(" 以逗号分隔的名称列表。像"),n(s,{color:"orange"},{default:l(()=>[a("名称一样,但优先级较低")]),_:1}),a(",对于"),n(s,{color:"orange"},{default:l(()=>[a("启用多个自定义mod")]),_:1}),a("有用。")]),u,e("div",b,[g,e("p",null,[a("早期是用于在"),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a("的代码,并结合科技等级使用。如果工厂的等级低于单位的目标科技等级,则会在工厂里面隐藏该单位。"),m,a("自铁锈1.09后出现"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("后,该方法则不建议使用。有关于新策略,请参考"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("代码文档指南。"),y,a(" 设置单位的科技等级共有3个级别1级GUI显示为绿色2、3级显示为黄色。超过3报错。")])]),C,e("div",k,[f,e("p",null,[a("若设置成true,则会在单位死亡时产生血迹,"),q,a(" 图像在"),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("当hideScorchMark:true")]),_:1}),a("时可以隐藏非生物则为黑色爆炸效果。")])]),x,e("div",D,[A,e("p",null,[a("能量恢复是持续的,如果你设置了"),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" 那么攻击时按energyRegen恢复耗尽时的灰条按此处设定值恢复。")])]),P])}const M=t(p,[["render",F]]);export{E as __pageData,M as default};

View File

@ -1 +1 @@
{"src_map_tsada.md":"80114b9d","index.md":"15c54bcd","src_debug_test.md":"345d5d83","src_unit_canbuild.md":"9a60cd59","api-dev.md":"8f2cc0b7","src_unit_core.md":"be2b2abd","src_unit_loginboolean.md":"df95cbff","src_unit_graphics.md":"f82e2325"}
{"src_unit_loginboolean.md":"90e54221","src_map_tsada.md":"80114b9d","api-dev.md":"8f2cc0b7","src_unit_core.md":"e7e558c2","index.md":"15c54bcd","src_debug_test.md":"345d5d83","src_unit_graphics.md":"f82e2325","src_unit_canbuild.md":"6c842735"}

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

File diff suppressed because one or more lines are too long

View File

@ -97,7 +97,7 @@
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">icon_zoomed_out_neverShow:true</span></span></code></pre></div></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><a class="pager-link prev" href="/src/Unit/canbuild" data-v-face870a><span class="desc" data-v-face870a>上一篇文章</span><span class="title" data-v-face870a>可建造-CANBUILD</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/src/Unit/loginboolean" data-v-face870a><span class="desc" data-v-face870a>下一篇文章</span><span class="title" data-v-face870a>逻辑-LOGIC</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2cf3e0b data-v-2f86ebd2><div class="container" data-v-2f86ebd2><p class="message" data-v-2f86ebd2>Rosy-Code Ling Web Stuido</p><p class="copyright" data-v-2f86ebd2>Copyright © 2023-RW-API-Code</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"80114b9d\",\"index.md\":\"15c54bcd\",\"src_debug_test.md\":\"345d5d83\",\"src_unit_canbuild.md\":\"9a60cd59\",\"api-dev.md\":\"8f2cc0b7\",\"src_unit_core.md\":\"be2b2abd\",\"src_unit_loginboolean.md\":\"df95cbff\",\"src_unit_graphics.md\":\"f82e2325\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_unit_loginboolean.md\":\"90e54221\",\"src_map_tsada.md\":\"80114b9d\",\"api-dev.md\":\"8f2cc0b7\",\"src_unit_core.md\":\"e7e558c2\",\"index.md\":\"15c54bcd\",\"src_debug_test.md\":\"345d5d83\",\"src_unit_graphics.md\":\"f82e2325\",\"src_unit_canbuild.md\":\"6c842735\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"单位API\",\"link\":\"/src/Unit/core\"},{\"text\":\"地图API\",\"link\":\"/src/Map/teada\"},{\"text\":\"调试API\",\"link\":\"/src/Debug/test\"},{\"text\":\"编写指南\",\"link\":\"/api-dev\"}],\"docFooter\":{\"prev\":\"上一篇文章\",\"next\":\"下一篇文章\"},\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/\"},{\"text\":\"-------------------------\",\"link\":\"\"},{\"text\":\"[API-单位组-Unit]\",\"link\":\"\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CANBUILD\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"图像-GRAPHICS\",\"link\":\"/src/Unit/graphics\"},{\"text\":\"逻辑-LOGIC\",\"link\":\"/src/Unit/loginboolean\"},{\"text\":\"-------------------------\",\"link\":\"\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LingASDJ/RW-API-Code/\"}],\"footer\":{\"message\":\"Rosy-Code Ling Web Stuido\",\"copyright\":\"Copyright © 2023-RW-API-Code\"},\"search\":{\"provider\":\"local\",\"options\":{\"locales\":{\"zh\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"你干嘛~哎呦~无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}},\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}")</script>
</body>

File diff suppressed because one or more lines are too long