Deploying to gh-pages from @ LingASDJ/RW-API-Code@77f0a1aa5e 🚀

This commit is contained in:
mason369 2023-04-11 15:55:10 +00:00
parent fa929a0189
commit 6306a12bdd
32 changed files with 63 additions and 152 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
node_modules

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,16 +0,0 @@
import{u as p,o,c as i,x as a,t as s,b as t,N as c,a as e}from"./chunks/framework.0e180df0.js";const d=c(`<h1 id="runtime-api-examples" tabindex="-1">Runtime API Examples <a class="header-anchor" href="#runtime-api-examples" aria-label="Permalink to &quot;Runtime API Examples&quot;"></a></h1><p>This page demonstrates usage of some of the runtime APIs provided by VitePress.</p><p>The main <code>useData()</code> API can be used to access site, theme, and page data for the current page. It works in both <code>.md</code> and <code>.vue</code> files:</p><div class="language-md"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">&lt;script setup&gt;</span></span>
<span class="line"><span style="color:#A6ACCD;">import { useData } from &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6ACCD;">const { theme, page, frontmatter } = useData()</span></span>
<span class="line"><span style="color:#A6ACCD;">&lt;/script&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">## </span><span style="color:#FFCB6B;">Results</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">### </span><span style="color:#FFCB6B;">Theme Data</span></span>
<span class="line"><span style="color:#A6ACCD;">&lt;pre&gt;{{ theme }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">### </span><span style="color:#FFCB6B;">Page Data</span></span>
<span class="line"><span style="color:#A6ACCD;">&lt;pre&gt;{{ page }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">### </span><span style="color:#FFCB6B;">Page Frontmatter</span></span>
<span class="line"><span style="color:#A6ACCD;">&lt;pre&gt;{{ frontmatter }}&lt;/pre&gt;</span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to &quot;Results&quot;"></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to &quot;Theme Data&quot;"></a></h3>`,6),m=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"")],-1),h=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"")],-1),u=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"")],-1),_=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),b=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md"}'),g={name:"api-examples.md"},y=Object.assign(g,{setup(f){const{site:D,theme:n,page:l,frontmatter:r}=p();return(A,C)=>(o(),i("div",null,[d,a("pre",null,s(t(n)),1),m,a("pre",null,s(t(l)),1),h,a("pre",null,s(t(r)),1),u,_]))}});export{b as __pageData,y as default};

View File

@ -1 +0,0 @@
import{u as p,o,c as i,x as a,t as s,b as t,N as c,a as e}from"./chunks/framework.0e180df0.js";const d=c("",6),m=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"")],-1),h=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"")],-1),u=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"")],-1),_=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),b=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md"}'),g={name:"api-examples.md"},y=Object.assign(g,{setup(f){const{site:D,theme:n,page:l,frontmatter:r}=p();return(A,C)=>(o(),i("div",null,[d,a("pre",null,s(t(n)),1),m,a("pre",null,s(t(l)),1),h,a("pre",null,s(t(r)),1),u,_]))}});export{b as __pageData,y as default};

View File

@ -1 +1 @@
import{d as p,I as s,a1 as i,u,h as c,l,a2 as d,a3 as f,a4 as m,a5 as h,a6 as A,a7 as g,a8 as P,a9 as v,aa as y,ab as C,ac as w,ad as _,ae as b,af as E}from"./chunks/framework.afbd7175.js";import{t as R}from"./chunks/theme.1d818c65.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(R),D=p({name:"VitePressApp",setup(){const{site:e}=u();return c(()=>{l(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),d(),f(),m(),n.setup&&n.setup(),()=>h(n.Layout)}});async function O(){const e=T(),a=S();a.provide(A,e);const t=g(e.route);return a.provide(P,t),a.component("Content",v),a.component("ClientOnly",y),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:C}),{app:a,router:e,data:t}}function S(){return w(D)}function T(){let e=s,a;return _(t=>{let o=b(t);return e&&(a=o),(e||a===o)&&(o=o.replace(/\.js$/,".lean.js")),s&&(e=!1),E(()=>import(o),[])},n.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp};
import{d as p,I as s,a1 as i,u,h as c,l,a2 as d,a3 as f,a4 as m,a5 as h,a6 as A,a7 as g,a8 as P,a9 as v,aa as y,ab as C,ac as w,ad as _,ae as b,af as E}from"./chunks/framework.afbd7175.js";import{t as R}from"./chunks/theme.a458785b.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(R),D=p({name:"VitePressApp",setup(){const{site:e}=u();return c(()=>{l(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),d(),f(),m(),n.setup&&n.setup(),()=>h(n.Layout)}});async function O(){const e=T(),a=S();a.provide(A,e);const t=g(e.route);return a.provide(P,t),a.component("Content",v),a.component("ClientOnly",y),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:C}),{app:a,router:e,data:t}}function S(){return w(D)}function T(){let e=s,a;return _(t=>{let o=b(t);return e&&(a=o),(e||a===o)&&(o=o.replace(/\.js$/,".lean.js")),s&&(e=!1),E(()=>import(o),[])},n.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp};

View File

@ -1 +0,0 @@
import{d as p,I as s,a1 as i,u,h as c,l,a2 as d,a3 as f,a4 as m,a5 as h,a6 as A,a7 as g,a8 as P,a9 as v,aa as y,ab as C,ac as w,ad as _,ae as b,af as E}from"./chunks/framework.0e180df0.js";import{t as R}from"./chunks/theme.f24bf721.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(R),D=p({name:"VitePressApp",setup(){const{site:e}=u();return c(()=>{l(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),d(),f(),m(),n.setup&&n.setup(),()=>h(n.Layout)}});async function O(){const e=T(),a=S();a.provide(A,e);const t=g(e.route);return a.provide(P,t),a.component("Content",v),a.component("ClientOnly",y),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:C}),{app:a,router:e,data:t}}function S(){return w(D)}function T(){let e=s,a;return _(t=>{let o=b(t);return e&&(a=o),(e||a===o)&&(o=o.replace(/\.js$/,".lean.js")),s&&(e=!1),E(()=>import(o),[])},n.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp};

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

@ -1 +0,0 @@
import{_ as e,o as t,c as a}from"./chunks/framework.0e180df0.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"RW-API_Code","text":"Easy Code","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md"}'),i={name:"index.md"};function o(s,r,n,l,c,d){return t(),a("div")}const u=e(i,[["render",o]]);export{p as __pageData,u as default};

View File

@ -1 +0,0 @@
import{_ as e,o as t,c as a}from"./chunks/framework.0e180df0.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"RW-API_Code","text":"Easy Code","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md"}'),i={name:"index.md"};function o(s,r,n,l,c,d){return t(),a("div")}const u=e(i,[["render",o]]);export{p as __pageData,u as default};

View File

@ -1,33 +0,0 @@
import{_ as s,o as a,c as n,N as l}from"./chunks/framework.0e180df0.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md"}'),e={name:"markdown-examples.md"},p=l(`<h1 id="markdown-extension-examples" tabindex="-1">Markdown Extension Examples <a class="header-anchor" href="#markdown-extension-examples" aria-label="Permalink to &quot;Markdown Extension Examples&quot;"></a></h1><p>This page demonstrates some of the built-in markdown extensions provided by VitePress.</p><h2 id="syntax-highlighting" tabindex="-1">Syntax Highlighting <a class="header-anchor" href="#syntax-highlighting" aria-label="Permalink to &quot;Syntax Highlighting&quot;"></a></h2><p>VitePress provides Syntax Highlighting powered by <a href="https://github.com/shikijs/shiki" target="_blank" rel="noreferrer">Shiki</a>, with additional features like line-highlighting:</p><p><strong>Input</strong></p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">\`\`\`js{4}</span></span>
<span class="line"><span style="color:#A6ACCD;">export default {</span></span>
<span class="line"><span style="color:#A6ACCD;"> data () {</span></span>
<span class="line"><span style="color:#A6ACCD;"> return {</span></span>
<span class="line"><span style="color:#A6ACCD;"> msg: &#39;Highlighted!&#39;</span></span>
<span class="line"><span style="color:#A6ACCD;"> }</span></span>
<span class="line"><span style="color:#A6ACCD;"> }</span></span>
<span class="line"><span style="color:#A6ACCD;">}</span></span>
<span class="line"><span style="color:#A6ACCD;">\`\`\`</span></span></code></pre></div><p><strong>Output</strong></p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight has-highlighted-lines"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;font-style:italic;">default</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">{</span></span>
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#F07178;">data</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">()</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">{</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;font-style:italic;">return</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">{</span></span>
<span class="line highlighted"><span style="color:#F07178;"> msg</span><span style="color:#89DDFF;">:</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">&#39;</span><span style="color:#C3E88D;">Highlighted!</span><span style="color:#89DDFF;">&#39;</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span></code></pre></div><h2 id="custom-containers" tabindex="-1">Custom Containers <a class="header-anchor" href="#custom-containers" aria-label="Permalink to &quot;Custom Containers&quot;"></a></h2><p><strong>Input</strong></p><div class="language-md"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">::: info</span></span>
<span class="line"><span style="color:#A6ACCD;">This is an info box.</span></span>
<span class="line"><span style="color:#A6ACCD;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6ACCD;">::: tip</span></span>
<span class="line"><span style="color:#A6ACCD;">This is a tip.</span></span>
<span class="line"><span style="color:#A6ACCD;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6ACCD;">::: warning</span></span>
<span class="line"><span style="color:#A6ACCD;">This is a warning.</span></span>
<span class="line"><span style="color:#A6ACCD;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6ACCD;">::: danger</span></span>
<span class="line"><span style="color:#A6ACCD;">This is a dangerous warning.</span></span>
<span class="line"><span style="color:#A6ACCD;">:::</span></span>
<span class="line"></span>
<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 &quot;More&quot;"></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>`,19),o=[p];function t(i,c,r,d,h,C){return a(),n("div",null,o)}const A=s(e,[["render",t]]);export{g as __pageData,A as default};

View File

@ -1 +0,0 @@
import{_ as s,o as a,c as n,N as l}from"./chunks/framework.0e180df0.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md"}'),e={name:"markdown-examples.md"},p=l("",19),o=[p];function t(i,c,r,d,h,C){return a(),n("div",null,o)}const A=s(e,[["render",t]]);export{g as __pageData,A as default};

View File

@ -1 +0,0 @@
import{_ as e,o as t,c as a,x as n}from"./chunks/framework.0e180df0.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Unit/canbuild.md"}'),s={name:"src/Unit/canbuild.md"},c=n("p",null,"xx",-1),o=[c];function r(i,d,_,l,p,u){return t(),a("div",null,o)}const x=e(s,[["render",r]]);export{f as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as e,o as t,c as a,x as n}from"./chunks/framework.0e180df0.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Unit/canbuild.md"}'),s={name:"src/Unit/canbuild.md"},c=n("p",null,"xx",-1),o=[c];function r(i,d,_,l,p,u){return t(),a("div",null,o)}const x=e(s,[["render",r]]);export{f as __pageData,x as default};

View File

@ -1,20 +0,0 @@
import{_ as a,o as s,c as n,N as e}from"./chunks/framework.0e180df0.js";const m=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),l={name:"src/Unit/core.md"},p=e(`<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><h2 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to &quot;name&quot;"></a></h2><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><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-VvB7f" id="tab-1Ujf2Fh" checked="checked"><label for="tab-1Ujf2Fh">JDSALing</label><input type="radio" name="group-VvB7f" id="tab-sX64hET"><label for="tab-sX64hET">Tobby3600</label></div><div class="blocks"><div class="language-user active"><button title="Copy Code" class="copy"></button><span class="lang">user</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">定义单位原始名称,可以是中文。</span></span>
<span class="line"><span style="color:#A6ACCD;">游戏使用它区分其它单位</span></span>
<span class="line"><span style="color:#A6ACCD;"></span></span>
<span class="line"><span style="color:#A6ACCD;">如果没有在[displayText或者语言文件设置显示名称]</span></span>
<span class="line"><span style="color:#A6ACCD;">那么它也将作为单位的显示名称 </span></span>
<span class="line"><span style="color:#A6ACCD;"></span></span>
<span class="line"><span style="color:#A6ACCD;">具体描述文件位置(内部):</span></span>
<span class="line"><span style="color:#A6ACCD;">1.assets/translationsStrings_zh.properties</span></span>
<span class="line"><span style="color:#A6ACCD;">格式:units.单位名称.name=写单位显示的名称</span></span>
<span class="line"><span style="color:#A6ACCD;">units.单位名称.description= [[填单位显示的描述]]</span></span></code></pre></div><div class="language-user"><button title="Copy Code" class="copy"></button><span class="lang">user</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">ini(-):</span></span>
<span class="line"><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">2.displayText: -单位的标题</span></span>
<span class="line"><span style="color:#A6ACCD;">displayDescription: -单位的描述</span></span></code></pre></div></div></div><p>:<code>displayText</code><code></code></p><h4 id="name-" tabindex="-1">name- <a class="header-anchor" href="#name-" aria-label="Permalink to &quot;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:#A6ACCD;"></span></span>
<span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">name: Ling</span></span>
<span class="line"><span style="color:#A6ACCD;">displayText: English Title Text</span></span>
<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>`,11),o=[p];function t(c,i,r,d,h,C){return s(),n("div",null,o)}const u=a(l,[["render",t]]);export{m as __pageData,u as default};

View File

@ -1 +0,0 @@
import{_ as a,o as s,c as n,N as e}from"./chunks/framework.0e180df0.js";const m=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md"}'),l={name:"src/Unit/core.md"},p=e("",11),o=[p];function t(c,i,r,d,h,C){return s(),n("div",null,o)}const u=a(l,[["render",t]]);export{m as __pageData,u as default};

View File

@ -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 S=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 &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><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-W8ZZ8" id="tab-E0WW0g8" checked="checked"><label for="tab-E0WW0g8">JDSALing</label><input type="radio" name="group-W8ZZ8" id="tab-4nQE2a8"><label for="tab-4nQE2a8">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 &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><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-wMewP" id="tab-nNVjisL" checked="checked"><label for="tab-nNVjisL">JDSALing</label><input type="radio" name="group-wMewP" id="tab-3QUxlXi"><label for="tab-3QUxlXi">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,13 +17,13 @@ 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 &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-1wlv4" id="tab-WI8mO43" checked="checked"><label for="tab-WI8mO43">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 &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-mdF1l" id="tab-pgQ4rGx" checked="checked"><label for="tab-pgQ4rGx">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 &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><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><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><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-zYBa9" id="tab-i8Bewy3" checked="checked"><label for="tab-i8Bewy3">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 &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-QBxkP" id="tab-4cm4QAd" checked="checked"><label for="tab-4cm4QAd">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 &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>
@ -62,7 +62,7 @@ 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:#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 &quot;borrowResourcesWhileAlive(B.R.W.A)&quot;"></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 &quot;B.R.W.A-&quot;"></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 &quot;B.R.W.A-:&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-ma_iU" id="tab-HVnA1Ba" checked="checked"><label for="tab-HVnA1Ba"></label><input type="radio" name="group-ma_iU" id="tab-Q9fi6Mz"><label for="tab-Q9fi6Mz"></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-p7QLE" id="tab-SpvEucP" checked="checked"><label for="tab-SpvEucP"></label><input type="radio" name="group-p7QLE" id="tab-D3hLpYp"><label for="tab-D3hLpYp"></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>
@ -107,4 +107,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/framew
<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 &quot;showOnMinimap&quot;"></a></h3><h4 id="showonminimap-" tabindex="-1">showOnMinimap- <a class="header-anchor" href="#showonminimap-" aria-label="Permalink to &quot;showOnMinimap-&quot;"></a></h4><p>:shieldDeflectionDisplayRate : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>truefalse</p></div><h4 id="showonminimap-" tabindex="-1">showOnMinimap-: <a class="header-anchor" href="#showonminimap-" aria-label="Permalink to &quot;showOnMinimap-:&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;">showOnMinimap:true</span></span></code></pre></div><h3 id="showonminimaptoenemies" tabindex="-1">showOnMinimapToEnemies <a class="header-anchor" href="#showonminimaptoenemies" aria-label="Permalink to &quot;showOnMinimapToEnemies&quot;"></a></h3><h4 id="showonminimaptoenemies-" tabindex="-1">showOnMinimapToEnemies- <a class="header-anchor" href="#showonminimaptoenemies-" aria-label="Permalink to &quot;showOnMinimapToEnemies-&quot;"></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 &quot;showOnMinimapToEnemies-:&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;">showOnMinimapToEnemies:true</span></span></code></pre></div><h3 id="showactionswithmixedselectionifotherunitshavetag" tabindex="-1">showActionsWithMixedSelectionIfOtherUnitsHaveTag <a class="header-anchor" href="#showactionswithmixedselectionifotherunitshavetag" aria-label="Permalink to &quot;showActionsWithMixedSelectionIfOtherUnitsHaveTag&quot;"></a></h3><h4 id="showactionswithmixedselectionifotherunitshavetag-" tabindex="-1">showActionsWithMixedSelectionIfOtherUnitsHaveTag- <a class="header-anchor" href="#showactionswithmixedselectionifotherunitshavetag-" aria-label="Permalink to &quot;showActionsWithMixedSelectionIfOtherUnitsHaveTag-&quot;"></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 &quot;showActionsWithMixedSelectionIfOtherUnitsHaveTag-&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;">showActionsWithMixedSelectionIfOtherUnitsHaveTag:tag_联系</span></span></code></pre></div><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></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(" 31GUI绿233")])]),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{S 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 &quot;-&quot;"></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(" 31GUI绿233")])]),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};

View File

@ -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 S=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{S 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),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};

View File

@ -1 +0,0 @@
import{_ as e,o as t,c as s,x as a}from"./chunks/framework.0e180df0.js";const x=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Unit/graphics.md"}'),r={name:"src/Unit/graphics.md"},c=a("p",null,"xxxx",-1),o=[c];function n(i,p,_,d,l,h){return t(),s("div",null,o)}const f=e(r,[["render",n]]);export{x as __pageData,f as default};

View File

@ -1 +0,0 @@
import{_ as e,o as t,c as s,x as a}from"./chunks/framework.0e180df0.js";const x=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Unit/graphics.md"}'),r={name:"src/Unit/graphics.md"},c=a("p",null,"xxxx",-1),o=[c];function n(i,p,_,d,l,h){return t(),s("div",null,o)}const f=e(r,[["render",n]]);export{x as __pageData,f as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"src_unit_graphics.md":"11d4f4e2","index.md":"58a89ee7","src_unit_canbuild.md":"a704448b","markdown-examples.md":"effb3764","api-examples.md":"cd86cd6d","src_unit_loginboolean.md":"de707165","src_unit_core.md":"084b12e0"}
{"src_unit_canbuild.md":"a704448b","markdown-examples.md":"effb3764","index.md":"58a89ee7","api-examples.md":"cd86cd6d","src_unit_core.md":"d496b398","src_unit_loginboolean.md":"3c874e6e","src_unit_graphics.md":"11d4f4e2"}

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

File diff suppressed because one or more lines are too long