Update 0.0.2-DEV1
This commit is contained in:
parent
e1ff0f1e12
commit
a64b2cf5e5
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -15,3 +15,5 @@ jobs:
|
|||
release-type: node
|
||||
package-name: standard-version
|
||||
changelog-types: '[{"type": "types", "section":"Types", "hidden": false},{"type": "revert", "section":"Reverts", "hidden": false},{"type": "feat", "section": "Features", "hidden": false},{"type": "fix", "section": "Bug Fixes", "hidden": false},{"type": "improvement", "section": "Feature Improvements", "hidden": false},{"type": "docs", "section":"Docs", "hidden": false},{"type": "style", "section":"Styling", "hidden": false},{"type": "refactor", "section":"Code Refactoring", "hidden": false},{"type": "perf", "section":"Performance Improvements", "hidden": false},{"type": "test", "section":"Tests", "hidden": false},{"type": "build", "section":"Build System", "hidden": false},{"type": "ci", "section":"CI", "hidden":false},{"type": "update", "section":"update", "hidden":false},{"type": "Update", "section":"Update", "hidden":false},{"type": "mods", "section":"MODS", "hidden":false},{"type": "mod", "section":"MOD", "hidden":false},{"type": "更新", "section":"更新", "hidden":false},{"type": "del", "section":"Delete", "hidden":false}]'
|
||||
release-as: 0.0.2-DEV1
|
||||
bump-minor-pre-major: true
|
|
@ -1,41 +0,0 @@
|
|||
// node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/index.js
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/fonts.css";
|
||||
|
||||
// node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/without-fonts.js
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/vars.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/base.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/utils.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/components/custom-block.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/components/vp-code.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/components/vp-code-group.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/components/vp-doc.css";
|
||||
import "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/styles/components/vp-sponsor.css";
|
||||
import VPBadge from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPBadge.vue";
|
||||
import Layout from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/Layout.vue";
|
||||
import { default as default2 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPHomeHero.vue";
|
||||
import { default as default3 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPHomeFeatures.vue";
|
||||
import { default as default4 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPHomeSponsors.vue";
|
||||
import { default as default5 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPDocAsideSponsors.vue";
|
||||
import { default as default6 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPTeamPage.vue";
|
||||
import { default as default7 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPTeamPageTitle.vue";
|
||||
import { default as default8 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPTeamPageSection.vue";
|
||||
import { default as default9 } from "D:/RTS-Code-V4-Html/node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/components/VPTeamMembers.vue";
|
||||
var theme = {
|
||||
Layout,
|
||||
enhanceApp: ({ app }) => {
|
||||
app.component("Badge", VPBadge);
|
||||
}
|
||||
};
|
||||
var without_fonts_default = theme;
|
||||
export {
|
||||
default5 as VPDocAsideSponsors,
|
||||
default3 as VPHomeFeatures,
|
||||
default2 as VPHomeHero,
|
||||
default4 as VPHomeSponsors,
|
||||
default9 as VPTeamMembers,
|
||||
default6 as VPTeamPage,
|
||||
default8 as VPTeamPageSection,
|
||||
default7 as VPTeamPageTitle,
|
||||
without_fonts_default as default
|
||||
};
|
||||
//# sourceMappingURL=@theme_index.js.map
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/index.js", "../../../../node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/without-fonts.js"],
|
||||
"sourcesContent": ["import './styles/fonts.css';\nexport * from './without-fonts';\nexport { default as default } from './without-fonts';\n", "import './styles/vars.css';\nimport './styles/base.css';\nimport './styles/utils.css';\nimport './styles/components/custom-block.css';\nimport './styles/components/vp-code.css';\nimport './styles/components/vp-code-group.css';\nimport './styles/components/vp-doc.css';\nimport './styles/components/vp-sponsor.css';\nimport VPBadge from './components/VPBadge.vue';\nimport Layout from './Layout.vue';\n// Note: if we add more optional components here, i.e. components that are not\n// used in the theme by default unless the user imports them, make sure to update\n// the `lazyDefaultThemeComponentsRE` regex in src/node/build/bundle.ts.\nexport { default as VPHomeHero } from './components/VPHomeHero.vue';\nexport { default as VPHomeFeatures } from './components/VPHomeFeatures.vue';\nexport { default as VPHomeSponsors } from './components/VPHomeSponsors.vue';\nexport { default as VPDocAsideSponsors } from './components/VPDocAsideSponsors.vue';\nexport { default as VPTeamPage } from './components/VPTeamPage.vue';\nexport { default as VPTeamPageTitle } from './components/VPTeamPageTitle.vue';\nexport { default as VPTeamPageSection } from './components/VPTeamPageSection.vue';\nexport { default as VPTeamMembers } from './components/VPTeamMembers.vue';\nconst theme = {\n Layout,\n enhanceApp: ({ app }) => {\n app.component('Badge', VPBadge);\n }\n};\nexport default theme;\n"],
|
||||
"mappings": ";AAAA,OAAO;;;ACAP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO,aAAa;AACpB,OAAO,YAAY;AAInB,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAqC;AAC9C,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAkC;AAC3C,SAAoB,WAAXA,gBAAoC;AAC7C,SAAoB,WAAXA,gBAAgC;AACzC,IAAM,QAAQ;AAAA,EACV;AAAA,EACA,YAAY,CAAC,EAAE,IAAI,MAAM;AACrB,QAAI,UAAU,SAAS,OAAO;AAAA,EAClC;AACJ;AACA,IAAO,wBAAQ;",
|
||||
"names": ["default"]
|
||||
}
|
|
@ -1,17 +1,11 @@
|
|||
{
|
||||
"hash": "cfff58c0",
|
||||
"browserHash": "db198c51",
|
||||
"hash": "cdf052b3",
|
||||
"browserHash": "169afadb",
|
||||
"optimized": {
|
||||
"vue": {
|
||||
"src": "../../../../node_modules/_vue@3.2.47@vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "bdf893bb",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@theme/index": {
|
||||
"src": "../../../../node_modules/_vitepress@1.0.0-alpha.65@vitepress/dist/client/theme-default/index.js",
|
||||
"file": "@theme_index.js",
|
||||
"fileHash": "ea36232e",
|
||||
"fileHash": "977e70c0",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4,13 +4,22 @@ import { defineConfig } from 'vitepress'
|
|||
export default defineConfig({
|
||||
title: "RW-API_Code",
|
||||
description: "Easy Code",
|
||||
cleanUrls: true,
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Examples', link: '/markdown-examples' }
|
||||
{ text: '主页', link: '/' },
|
||||
{ text: '单位API', link: '/src/Unit/core' },
|
||||
{ text: '地图API', link: '/src/Map/teada' },
|
||||
{ text: '调试API', link: '/src/Debug/test' },
|
||||
{ text: '开发指南', link: '/DEV' },
|
||||
],
|
||||
|
||||
docFooter: {
|
||||
prev: "上一篇文章",
|
||||
next: "下一篇文章",
|
||||
},
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: 'RW-API-Code',
|
||||
|
@ -25,6 +34,11 @@ export default defineConfig({
|
|||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||||
]
|
||||
],
|
||||
|
||||
footer: {
|
||||
message: "Rosy-Code Ling Web Stuido",
|
||||
copyright: "Copyright © 2023-RW-API-Code",
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
5
rustedwarfareapicode/.vitepress/theme/index.js
Normal file
5
rustedwarfareapicode/.vitepress/theme/index.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
// .vitepress/theme/index.js
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import './style/custom.css'
|
||||
|
||||
export default DefaultTheme
|
14
rustedwarfareapicode/.vitepress/theme/style/custom.css
Normal file
14
rustedwarfareapicode/.vitepress/theme/style/custom.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* 重写样式表 */
|
||||
|
||||
.VPHome[data-v-8094d941] {
|
||||
padding-bottom: 26px;
|
||||
}
|
||||
|
||||
.text[data-v-463de855] {
|
||||
max-width: 392px;
|
||||
letter-spacing: -0.4px;
|
||||
line-height: 40px;
|
||||
font-size:22px;
|
||||
font-weight: 700;
|
||||
white-space: pre-wrap;
|
||||
}
|
|
@ -1,25 +1,37 @@
|
|||
---
|
||||
# https://vitepress.dev/reference/default-theme-home-page
|
||||
layout: home
|
||||
|
||||
action:
|
||||
hero:
|
||||
name: "RW-API_Code"
|
||||
text: "Easy Code"
|
||||
tagline: My great project tagline
|
||||
name: 铁锈战争-API-Code
|
||||
text: 轻松编码,轻松学习
|
||||
tagline: 学习Mod,制作Mod,创新Mod
|
||||
image:
|
||||
src: https://rwapi-code.netlify.app/images/logo.png
|
||||
alt: RW-API-Code
|
||||
|
||||
actions:
|
||||
- theme: brand
|
||||
text: Markdown Examples
|
||||
link: /markdown-examples
|
||||
- theme: alt
|
||||
text: API Examples
|
||||
link: /api-examples
|
||||
text: 开发指南
|
||||
link: /api-examples
|
||||
- theme: brand
|
||||
text: 让我们快速开始
|
||||
link: /src/Unit/core
|
||||
- theme: alt
|
||||
text: Github
|
||||
link: https://github.com/LingASDJ/RW-API-Code
|
||||
|
||||
|
||||
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
|
||||
- title: 单位代码表
|
||||
details: 学习最基础的铁锈单位API-Code
|
||||
link: /src/Unit/core
|
||||
linkText: 让我们立刻开始吧!
|
||||
- title: 地图代码表
|
||||
details: 学习铁锈的地图TMX代码表
|
||||
linkText: 让我们立刻开始吧![开发中]
|
||||
- title: 调试代码表
|
||||
details: 学习铁锈的高级调试代码表(仅Android)
|
||||
linkText: 让我们立刻开始吧![开发中]
|
||||
---
|
||||
|
||||
|
|
1
rustedwarfareapicode/src/Debug/test.md
Normal file
1
rustedwarfareapicode/src/Debug/test.md
Normal file
|
@ -0,0 +1 @@
|
|||
fasa
|
0
rustedwarfareapicode/src/Map/tsada.md
Normal file
0
rustedwarfareapicode/src/Map/tsada.md
Normal file
|
@ -15,6 +15,8 @@ outline: deep
|
|||
代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组
|
||||
#### name-要点指示
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- 代码盒子例子 -->
|
||||
::: code-group
|
||||
```bash [JDSALing]
|
||||
|
@ -53,6 +55,8 @@ displayDescription_zh:-中文描述
|
|||
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### price
|
||||
#### price-代码简介
|
||||
代码:price 中文释义:价格 类型:整数 隶属于:通用代码组
|
||||
|
@ -66,13 +70,12 @@ displayDescription_zh:-中文描述
|
|||
(前提是此资源要在使用的单位进行定义)。
|
||||
```
|
||||
:::
|
||||
|
||||
|
||||
#### price-演示例子
|
||||
```ini
|
||||
[core]
|
||||
price:120,石油=80,铁=60
|
||||
```
|
||||
<hr>
|
||||
|
||||
### radius
|
||||
#### radius-代码简介
|
||||
|
@ -86,6 +89,8 @@ price:120,石油=80,铁=60
|
|||
radius:20
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### mass
|
||||
#### mass-代码简介
|
||||
代码:mass 中文释义:质量 类型:整数 隶属于:通用代码组
|
||||
|
@ -97,6 +102,8 @@ radius:20
|
|||
mass:2000
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### maxHp
|
||||
#### maxHp-代码简介
|
||||
代码:maxHp 中文释义:最大生命值 类型:整数 隶属于:通用代码组
|
||||
|
@ -135,6 +142,8 @@ altNames代码要点指示:
|
|||
altNames:ling,tobby3600,coldmint
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### class
|
||||
#### class-代码简介
|
||||
|
||||
|
@ -150,6 +159,8 @@ Luke:保留供将来使用,默认情况下必须为`CustomUnitMetadata`。
|
|||
class:CustomUnitMetadata
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### strictLevel
|
||||
#### strictLevel-代码简介
|
||||
|
||||
|
@ -166,6 +177,8 @@ class:CustomUnitMetadata
|
|||
strictLevel:1
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### techLevel
|
||||
#### techLevel-代码简介
|
||||
代码:techLevel 中文释义:科技等级 类型:数字固定型 隶属于:通用代码组
|
||||
|
@ -181,6 +194,8 @@ strictLevel:1
|
|||
techLevel:2
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### buildSpeed
|
||||
#### buildSpeed-代码简介
|
||||
|
||||
|
@ -200,6 +215,8 @@ buildSpeed:30s
|
|||
buildSpeed:0.0006
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### isBio
|
||||
#### isBio-代码简介
|
||||
|
||||
|
@ -215,6 +232,8 @@ buildSpeed:0.0006
|
|||
isBio:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### isBug
|
||||
#### isBug-代码简介
|
||||
|
||||
|
@ -229,6 +248,8 @@ isBio:true
|
|||
isBug:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### isBuilder
|
||||
#### isBuilder-代码简介
|
||||
|
||||
|
@ -244,24 +265,29 @@ isBug:true
|
|||
isBuilder:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### streamingCost
|
||||
#### streamingCost-代码简介
|
||||
|
||||
代码:streamingCost 中文释义:流式资金 类型:整数型 隶属于:通用代码组
|
||||
|
||||
::: tip和价格一样,但在建造时逐渐消耗资金,如果在构建过程中资源耗尽,
|
||||
::: tip
|
||||
和价格一样,但在建造时逐渐消耗资金,如果在构建过程中资源耗尽,
|
||||
建造或生产队列将暂停。就像是红警中那样。铁锈默认是预先扣除资金。
|
||||
若使用该代码,则玩家的每秒资金将会根据流式资金的算法进行扣减。
|
||||
:::
|
||||
#### streamingCost-演示例子
|
||||
```ini
|
||||
[core]
|
||||
streamingCost:1145
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### switchPriceWithStreamingCost
|
||||
|
||||
#### S.P.S.C.-代码简介
|
||||
#### switchPriceWithStreamingCost-代码简介
|
||||
|
||||
代码:switchPriceWithStreamingCost(S.P.S.C.)
|
||||
中文释义:流式资金模式全局切换 类型:布尔型 隶属于:通用代码组
|
||||
|
@ -271,7 +297,7 @@ streamingCost:1145
|
|||
建议使用模板快速将一个模组为所有单位切换流资源。
|
||||
例如all-units.template.
|
||||
:::
|
||||
#### S.P.S.C.-演示例子
|
||||
#### switchPriceWithStreamingCost-演示例子
|
||||
```ini,all-units.template
|
||||
[core]
|
||||
switchPriceWithStreamingCost:true
|
||||
|
@ -298,6 +324,8 @@ maxHp:500
|
|||
selfRegenRate:0.5
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### maxShield
|
||||
#### maxShield-代码简介
|
||||
|
||||
|
@ -312,6 +340,8 @@ selfRegenRate:0.5
|
|||
maxShield:3000
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### startShieldAtZero
|
||||
#### startShieldAtZero-代码简介
|
||||
|
||||
|
@ -327,6 +357,8 @@ maxShield:3000
|
|||
startShieldAtZero:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### shieldRegen
|
||||
#### shieldRegen-代码简介
|
||||
|
||||
|
@ -342,6 +374,8 @@ maxShield:3000
|
|||
shieldRegen:0.5
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### energyMax
|
||||
#### energyMax-代码简介
|
||||
|
||||
|
@ -356,6 +390,8 @@ shieldRegen:0.5
|
|||
energyMax:5
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### energyRegen
|
||||
#### energyRegen-代码简介
|
||||
|
||||
|
@ -370,6 +406,8 @@ energyMax:5
|
|||
energyRegen:0.4
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### energyRegenWhenRecharging
|
||||
|
||||
#### energyRegenWhenRecharging-代码简介
|
||||
|
@ -388,6 +426,8 @@ energyMax:1
|
|||
energyRegenWhenRecharging:0.4
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### energyNeedsToRechargeToFull
|
||||
#### energyNeedsToRechargeToFull-代码简介
|
||||
|
||||
|
@ -404,6 +444,8 @@ energyMax:4
|
|||
energyNeedsToRechargeToFull:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### armour
|
||||
#### armour-代码简介
|
||||
|
||||
|
@ -421,6 +463,8 @@ armour:40
|
|||
#例如45伤害,40护甲,那么将获得5点伤害。
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### armourMinDamageToKeep
|
||||
#### armourMinDamageToKeep-代码简介
|
||||
|
||||
|
@ -438,6 +482,8 @@ armourMinDamageToKeep:2
|
|||
#如果受到40以下的常规攻击,则进行最低伤害判定
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### borrowResourcesWhileAlive
|
||||
#### borrowResourcesWhileAlive-代码简介
|
||||
|
||||
|
@ -478,8 +524,10 @@ dieOnZeroEnergy:true
|
|||
```
|
||||
:::
|
||||
|
||||
<hr>
|
||||
|
||||
### generation_resources
|
||||
#### G.R_R.S-代码简介
|
||||
#### generation_resources-代码简介
|
||||
|
||||
代码:generation_resources
|
||||
中文释义:资源获取 类型:Price型 隶属于:单位统计代码组
|
||||
|
@ -493,13 +541,15 @@ dieOnZeroEnergy:true
|
|||
generation_resources:10
|
||||
#or
|
||||
generation_resources:credits=10
|
||||
#常规产出10Credit/1s游戏资金
|
||||
#常规产出10credits/1s游戏资金
|
||||
-----------我是分界线----------
|
||||
#自定义资源写法
|
||||
[core]
|
||||
generation_resources:金属=5
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### generation_active
|
||||
#### generation_active-代码简介
|
||||
|
||||
|
@ -522,6 +572,8 @@ generation_active: if not self.hp<100
|
|||
#效果:单位低于1000血量可以产出资源
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### generation_credits
|
||||
#### generation_credits-代码简介
|
||||
|
||||
|
@ -544,9 +596,12 @@ generation_credits=5
|
|||
:::
|
||||
|
||||
::: warning
|
||||
警告:请勿使用40以外的数值,否则会有视觉Bug。例如使用30,资金生成3,实际就为6,但是一旦这类单位多了,游戏的资金显示会出问题。
|
||||
警告:请勿使用40以外的数值,否则会有视觉Bug。
|
||||
例如使用30,资金生成3,实际就为6,但是一旦这类单位多了,游戏的资金显示会出问题。
|
||||
:::
|
||||
|
||||
<hr>
|
||||
|
||||
#### generation_delay-代码简介
|
||||
|
||||
代码:generation_delay
|
||||
|
@ -612,6 +667,8 @@ displayText:Tank
|
|||
displayText_zh:坦克
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### displayDescription_LANG
|
||||
#### displayDescription-代码简介
|
||||
|
||||
|
@ -629,6 +686,8 @@ displayText:坦克
|
|||
displayDescription:只能对地,弱输出,只能在地上行走。
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### displayLocaleKey
|
||||
#### displayLocaleKey-代码简介
|
||||
|
||||
|
@ -645,6 +704,8 @@ displayDescription:只能对地,弱输出,只能在地上行走。
|
|||
displayLocaleKey: units.mechArtillery
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### displayRadius
|
||||
#### displayRadius-代码简介
|
||||
|
||||
|
@ -660,6 +721,8 @@ displayLocaleKey: units.mechArtillery
|
|||
displayRadius:25
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### uiTargetRadius
|
||||
#### uiTargetRadius-代码简介
|
||||
|
||||
|
@ -675,6 +738,8 @@ displayRadius:25
|
|||
uiTargetRadius:25
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### shieldRenderRadius
|
||||
#### shieldRenderRadius-代码简介
|
||||
|
||||
|
@ -691,6 +756,8 @@ uiTargetRadius:25
|
|||
shieldRenderRadius:20
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### shieldDisplayOnlyDeflection
|
||||
#### shieldDisplayOnlyDeflection-代码简介
|
||||
|
||||
|
@ -706,6 +773,8 @@ shieldRenderRadius:20
|
|||
shieldDisplayOnlyDeflection:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### shieldDeflectionDisplayRate
|
||||
#### shieldDeflectionDisplayRate-代码简介
|
||||
|
||||
|
@ -721,6 +790,8 @@ shieldDisplayOnlyDeflection:true
|
|||
shieldDeflectionDisplayRate:3
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### showOnMinimap
|
||||
#### showOnMinimap-代码简介
|
||||
|
||||
|
@ -736,6 +807,8 @@ shieldDeflectionDisplayRate:3
|
|||
showOnMinimap:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### showOnMinimapToEnemies
|
||||
#### showOnMinimapToEnemies-代码简介
|
||||
|
||||
|
@ -751,6 +824,8 @@ showOnMinimap:true
|
|||
showOnMinimapToEnemies:true
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### showActionsWithMixedSelectionIfOtherUnitsHaveTag
|
||||
#### showActionsWithMixedSelectionIfOtherUnitsHaveTag-代码简介
|
||||
|
||||
|
@ -766,5 +841,5 @@ showOnMinimapToEnemies:true
|
|||
showActionsWithMixedSelectionIfOtherUnitsHaveTag:tag_联系
|
||||
```
|
||||
|
||||
## 第四组-构建代码
|
||||
## 第四类-构建代码
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user