Compare commits

...

86 Commits

Author SHA1 Message Date
JDSA Ling
54320e29cc
Delete CNAME 2023-12-06 01:58:15 +08:00
e738d7f395 Deploying to gh-pages from @ LingASDJ/RW-API-Code #9 2023-08-22 23:38:38 +08:00
JDSA Ling
685364d00e
Update style.e0123bc9.css 2023-08-22 23:27:32 +08:00
LingASDJ
22fe216d44 Deploying to gh-pages from @ LingASDJ/RW-API-Code@78a8dbea6b 🚀 2023-08-22 15:24:36 +00:00
LingASDJ
9e2f1ca7db Deploying to gh-pages from @ LingASDJ/RW-API-Code@7bd3b27c5e 🚀 2023-08-22 15:09:28 +00:00
tobby3600
01fa7f37b3 Deploying to gh-pages from @ LingASDJ/RW-API-Code@e161fac3df 🚀 2023-08-21 10:31:52 +00:00
LingASDJ
caeda7b2c8 Deploying to gh-pages from @ LingASDJ/RW-API-Code@def204b587 🚀 2023-08-16 15:57:07 +00:00
LingASDJ
40a60933b0 Deploying to gh-pages from @ LingASDJ/RW-API-Code@38229f5f1e 🚀 2023-08-16 15:50:01 +00:00
LingASDJ
0a6e0baefa Deploying to gh-pages from @ LingASDJ/RW-API-Code@65a4363053 🚀 2023-08-16 15:46:38 +00:00
LingASDJ
5665cdce69 Deploying to gh-pages from @ LingASDJ/RW-API-Code@61abf3cf59 🚀 2023-08-16 15:40:44 +00:00
JDSA Ling
4997a86b6a
Update style.6d002406.css 2023-08-16 23:38:44 +08:00
JDSA Ling
28d5dda863
Update style.6d002406.css 2023-08-16 23:35:06 +08:00
LingASDJ
32d8095bb6 Deploying to gh-pages from @ LingASDJ/RW-API-Code@f5d7918ac4 🚀 2023-08-14 16:50:01 +00:00
mason369
a194fab8c3 Deploying to gh-pages from @ LingASDJ/RW-API-Code@47af6c1e96 🚀 2023-08-14 14:37:20 +00:00
LingASDJ
7ebf095cb9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@313a3f651f 🚀 2023-08-08 07:58:08 +00:00
mason369
8cd5e55eb4 Deploying to gh-pages from @ LingASDJ/RW-API-Code@d66f3fb911 🚀 2023-08-07 10:34:38 +00:00
LingASDJ
fbcd5311f2 Deploying to gh-pages from @ LingASDJ/RW-API-Code@c8e088a7b7 🚀 2023-08-07 10:34:31 +00:00
mason369
40fcb1a848 Deploying to gh-pages from @ LingASDJ/RW-API-Code@529a239874 🚀 2023-08-06 04:01:37 +00:00
LingASDJ
b872216e08 Deploying to gh-pages from @ LingASDJ/RW-API-Code@a839daa005 🚀 2023-08-06 04:01:22 +00:00
LingASDJ
01aefac5ca Deploying to gh-pages from @ LingASDJ/RW-API-Code@1914b8bfe6 🚀 2023-08-05 16:38:08 +00:00
LingASDJ
782338f81a Deploying to gh-pages from @ LingASDJ/RW-API-Code@cb7222c28c 🚀 2023-08-05 16:35:41 +00:00
mason369
96bcd0c0b5 Deploying to gh-pages from @ LingASDJ/RW-API-Code@151346fdc8 🚀 2023-08-05 16:29:30 +00:00
LingASDJ
f8a46bbc35 Deploying to gh-pages from @ LingASDJ/RW-API-Code@a03a596759 🚀 2023-08-05 16:29:26 +00:00
shishanyue
c6ddc85ed5 Deploying to gh-pages from @ LingASDJ/RW-API-Code@95a249ddc8 🚀 2023-07-25 06:11:27 +00:00
shishanyue
96e83c97fa Deploying to gh-pages from @ LingASDJ/RW-API-Code@a5d06cce2d 🚀 2023-07-25 06:04:40 +00:00
shishanyue
2d0ad1d3e9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@75b58f25ba 🚀 2023-07-18 04:53:03 +00:00
mason369
50691cd4e8 Deploying to gh-pages from @ LingASDJ/RW-API-Code@9881fe4940 🚀 2023-07-18 04:12:56 +00:00
shishanyue
24b07b3bfd Deploying to gh-pages from @ LingASDJ/RW-API-Code@bdbcec2f05 🚀 2023-07-18 04:12:44 +00:00
LingASDJ
1cae19dc59 Deploying to gh-pages from @ LingASDJ/RW-API-Code@fe0ea3e5b6 🚀 2023-07-17 06:07:25 +00:00
tobby3600
20b8be05d4 Deploying to gh-pages from @ LingASDJ/RW-API-Code@7d2e71add8 🚀 2023-07-15 08:43:55 +00:00
allureluoli
8257bd7b30 Deploying to gh-pages from @ LingASDJ/RW-API-Code@fee1cd8da3 🚀 2023-06-21 12:12:30 +00:00
mason369
a2af40d9b9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@769d6e8f3e 🚀 2023-06-21 12:07:24 +00:00
allureluoli
f3fd613945 Deploying to gh-pages from @ LingASDJ/RW-API-Code@6a40d4f46d 🚀 2023-06-21 12:07:16 +00:00
LingASDJ
a7cfe573c8 Deploying to gh-pages from @ LingASDJ/RW-API-Code@0fc94f6b87 🚀 2023-06-07 02:12:19 +00:00
LingASDJ
16d5ba9b21 Deploying to gh-pages from @ LingASDJ/RW-API-Code@2a35932d48 🚀 2023-06-07 02:11:57 +00:00
LingASDJ
55a4934caf Deploying to gh-pages from @ LingASDJ/RW-API-Code@5cbb99239e 🚀 2023-06-07 02:07:30 +00:00
LingASDJ
abc32b91d4 Deploying to gh-pages from @ LingASDJ/RW-API-Code@d078baeab6 🚀 2023-06-07 01:55:56 +00:00
allureluoli
47373dd927 Deploying to gh-pages from @ LingASDJ/RW-API-Code@9b6035ccb2 🚀 2023-05-25 21:56:15 +00:00
allureluoli
f9a0c0b6f3 Deploying to gh-pages from @ LingASDJ/RW-API-Code@24632b2c43 🚀 2023-05-15 10:52:33 +00:00
allureluoli
82ec457169 Deploying to gh-pages from @ LingASDJ/RW-API-Code@21f305c9b5 🚀 2023-05-12 08:28:42 +00:00
mason369
c4f32c501e Deploying to gh-pages from @ LingASDJ/RW-API-Code@a0ec88862b 🚀 2023-05-12 06:10:26 +00:00
mason369
076a4c2b00 Deploying to gh-pages from @ LingASDJ/RW-API-Code@84ef26e6dc 🚀 2023-05-12 06:10:16 +00:00
LingASDJ
436c1d82ee Deploying to gh-pages from @ LingASDJ/RW-API-Code@fe3819f87f 🚀 2023-05-12 02:02:50 +00:00
mason369
692a6c29a8 Deploying to gh-pages from @ LingASDJ/RW-API-Code@36d0d6f851 🚀 2023-05-12 01:37:28 +00:00
mason369
0903c60d64 Deploying to gh-pages from @ LingASDJ/RW-API-Code@393b8051c3 🚀 2023-05-11 02:55:35 +00:00
LingASDJ
65b507ef3d Deploying to gh-pages from @ LingASDJ/RW-API-Code@7baf405c61 🚀 2023-05-11 01:17:52 +00:00
LingASDJ
1d98d799cc Deploying to gh-pages from @ LingASDJ/RW-API-Code@511461aed7 🚀 2023-05-10 15:46:59 +00:00
LingASDJ
c2151024c9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@a40f877bc6 🚀 2023-05-10 15:34:49 +00:00
JDSA Ling
f11056b05c
Update index.html 2023-05-10 23:31:58 +08:00
6cb5bf495e Deploying to gh-pages from @ LingASDJ/RW-API-Code@7d211c19a0ca71dasdaa… 2023-05-10 23:27:27 +08:00
mason369
203861b2bf Deploying to gh-pages from @ LingASDJ/RW-API-Code@7d211c19a0 🚀 2023-05-10 15:12:54 +00:00
allureluoli
accef5e3d1 Deploying to gh-pages from @ LingASDJ/RW-API-Code@2be393a13f 🚀 2023-05-10 15:09:20 +00:00
LingASDJ
d3278fa713 Deploying to gh-pages from @ LingASDJ/RW-API-Code@9896e8f54d 🚀 2023-05-10 15:01:53 +00:00
LingASDJ
f860c467d9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@2157891cd2 🚀 2023-05-10 14:58:19 +00:00
LingASDJ
5d029abe40 Deploying to gh-pages from @ LingASDJ/RW-API-Code@945293cab7 🚀 2023-05-10 14:29:06 +00:00
LingASDJ
a9d95a351d Deploying to gh-pages from @ LingASDJ/RW-API-Code@3cd55ec03f 🚀 2023-05-09 15:41:29 +00:00
LingASDJ
df0efcd643 Deploying to gh-pages from @ LingASDJ/RW-API-Code@bda1987836 🚀 2023-05-09 15:15:02 +00:00
LingASDJ
daff3fe611 Deploying to gh-pages from @ LingASDJ/RW-API-Code@7660fe0e2a 🚀 2023-05-09 03:38:34 +00:00
LingASDJ
5aa8e2bcf8 Deploying to gh-pages from @ LingASDJ/RW-API-Code@b8c1e7b575 🚀 2023-04-23 04:23:37 +00:00
LingASDJ
dc5e4b9c41 Deploying to gh-pages from @ LingASDJ/RW-API-Code@51eb371ad9 🚀 2023-04-20 00:43:27 +00:00
mason369
3726e28d2e Deploying to gh-pages from @ LingASDJ/RW-API-Code@1d16b1acb2 🚀 2023-04-18 01:15:47 +00:00
mason369
859e2dff19 Deploying to gh-pages from @ LingASDJ/RW-API-Code@ee4e5c9e3c 🚀 2023-04-15 16:18:37 +00:00
mason369
66ede6c28e Deploying to gh-pages from @ LingASDJ/RW-API-Code@392f8db834 🚀 2023-04-15 15:49:16 +00:00
mason369
186fc48f14 Deploying to gh-pages from @ LingASDJ/RW-API-Code@4fe8f44ec8 🚀 2023-04-13 04:48:30 +00:00
mason369
3d2a70aad9 Deploying to gh-pages from @ LingASDJ/RW-API-Code@91734565f1 🚀 2023-04-13 04:39:57 +00:00
mason369
b5f7a29032 Deploying to gh-pages from @ LingASDJ/RW-API-Code@8786660ceb 🚀 2023-04-13 04:32:58 +00:00
mason369
2134bcaa20 Deploying to gh-pages from @ LingASDJ/RW-API-Code@21c68889b8 🚀 2023-04-13 04:27:38 +00:00
mason369
411a7ccc41 Deploying to gh-pages from @ LingASDJ/RW-API-Code@e9e9d95ec6 🚀 2023-04-12 16:19:17 +00:00
mason369
077f72569c Deploying to gh-pages from @ LingASDJ/RW-API-Code@3d9cf6aa07 🚀 2023-04-12 16:15:29 +00:00
LingASDJ
2f43504c76 Deploying to gh-pages from @ LingASDJ/RW-API-Code@9fa1ce533e 🚀 2023-04-12 14:46:08 +00:00
LingASDJ
00fa4ca984 Deploying to gh-pages from @ LingASDJ/RW-API-Code@14c92ad1ad 🚀 2023-04-12 09:16:41 +00:00
LingASDJ
931c8e795d Deploying to gh-pages from @ LingASDJ/RW-API-Code@5516738915 🚀 2023-04-12 09:16:08 +00:00
LingASDJ
e904944e05 Deploying to gh-pages from @ LingASDJ/RW-API-Code@e1352b0539 🚀 2023-04-12 09:15:30 +00:00
LingASDJ
f49805797c Deploying to gh-pages from @ LingASDJ/RW-API-Code@428802c237 🚀 2023-04-12 09:13:44 +00:00
LingASDJ
6248f2df53 Deploying to gh-pages from @ LingASDJ/RW-API-Code@9917de01e4 🚀 2023-04-12 09:05:30 +00:00
LingASDJ
a67dd207aa Deploying to gh-pages from @ LingASDJ/RW-API-Code@947a19f286 🚀 2023-04-12 09:03:39 +00:00
LingASDJ
8fde9e32c1 Deploying to gh-pages from @ LingASDJ/RW-API-Code@a64b2cf5e5 🚀 2023-04-12 09:00:39 +00:00
mason369
408a01bfab Deploying to gh-pages from @ LingASDJ/RW-API-Code@e1ff0f1e12 🚀 2023-04-12 07:46:05 +00:00
LingASDJ
a7f3e91086 Deploying to gh-pages from @ LingASDJ/RW-API-Code@6e7443997b 🚀 2023-04-11 16:12:10 +00:00
LingASDJ
1bc9eb4aca Deploying to gh-pages from @ LingASDJ/RW-API-Code@d0c360ab7c 🚀 2023-04-11 16:11:28 +00:00
mason369
1fbc76b92a Deploying to gh-pages from @ LingASDJ/RW-API-Code@1a109a0f96 🚀 2023-04-11 16:08:47 +00:00
mason369
6306a12bdd Deploying to gh-pages from @ LingASDJ/RW-API-Code@77f0a1aa5e 🚀 2023-04-11 15:55:10 +00:00
fa929a0189 手动部署 后续GA 2023-04-11 23:42:16 +08:00
JDSA Ling
56f02f55e9
Create CNAME 2023-04-11 23:40:09 +08:00
e15cff2d4d 手动部署测试 2023-04-11 10:28:12 +08:00
cc5cc59b2c Gh-Pages部署包 2023-04-10 17:03:00 +08:00
109 changed files with 2547 additions and 2630 deletions

19
404.html Normal file

File diff suppressed because one or more lines are too long

1
CNAME
View File

@ -1 +0,0 @@
http://rustedwarfareapicode.top

201
LICENSE
View File

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,61 +0,0 @@
<div align=center>
<h1>项目重构优化中,敬请期待</h1>
<img src="https://rwapi-code.netlify.app/images/title.png">
</div>
# RW-API-Code--Demo 0.1
![](https://img.shields.io/badge/language-MarkDown&Node.js-skyblue) ![](https://img.shields.io/github/license/XMuli/QtExamples) ![](https://img.shields.io/badge/powered%20by-Docsity-00ffff)
![](https://img.shields.io/github/stars/LingASDJ/RW-API-Code?style=social) ![](https://img.shields.io/github/forks/LingASDJ/RW-API-Code?style=social&label=Fork)
### Netlify Status
[![Netlify Status](https://api.netlify.com/api/v1/badges/0196ec3f-1dd3-420a-be0c-abee4c0a1334/deploy-status)](https://app.netlify.com/sites/rwapi-code/deploys)
<br>
## 项目介绍:
- [x] RustedWarfare-Code 持续更新;
- [x] 一些额外的其他教程;
- [x] 在这里学到的不只是RTS-MOD
  自己所学记录,亦可以互相交流共享学习,<font color=#D0087E size=4 face="幼圆">**有朋自远方互联网而来,不亦悦乎?**</font>
本项目正在开发……
## 项目鸣谢人员:
> * Tobby3600--合作编辑LogicBoolean组代码
> * JDSALing--提供网站编写
> * 华夏有衣--提供Excel超级代码表
> * Luke-Hoschke--铁锈战争开发者
> * Cold_Mint--提供资源高速加载
> * 王某人--提供MT基础代码高亮文件
> * 十山月--合作编辑Action组代码
> * 指挥中心--提供LogicBoolean组代码例子
## 站点简介:
> * 本站点主要提供铁锈战争的代码API教程与指导皆在为铁锈带来更好的Mod质量。
> * 本站点提供--地图Mapping代码表单位Unit代码表调试Debug代码表。
> * 本站点还会提供更多的其他额外附加教程
## 开源协议
基于Apache License 2.0 协议进行分发和使用,更多信息参见[协议文件](/LICENSE)。
## 部署策略
请优先安装Node.js 16.0以上
然后使用以下指令:
```bash
npm i docsify-cli -g
docsify serve docs
```
## 多人协作策略
请提交PR,并且说明提交的内容与介绍。
有关于文档书写规范,请阅读以下指南:
[RTS-Code-API--文档开发指南](https://lingasdj.github.io/RW-API-Code/#/DEV)

58
api-dev.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,37 @@
import{_ as e,c as p,C as s,a,I as n,E as o,V as t,J as c,o as r}from"./chunks/framework.fcc0bf38.js";const Q=JSON.parse('{"title":"","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-dev.md","filePath":"api-dev.md"}'),i={name:"api-dev.md"},d=s("div",{style:{display:"flex","align-content":"flex-start","flex-wrap":"nowrap","flex-direction":"row","justify-content":"center"}},[s("h1",null,"RTS-Code-API---开发规范")],-1),u=s("div",{style:{display:"flex","align-content":"flex-start","flex-wrap":"nowrap","flex-direction":"row","justify-content":"center"}},[s("img",{src:"https://rust.coldmint.top/ftp/ling/cdnpng/logo.png"})],-1),h={class:"tip custom-block"},D=s("p",{class:"custom-block-title"},"TIP",-1),_=s("br",null,null,-1),y=s("br",null,null,-1),C=s("br",null,null,-1),b=s("blockquote",null,[s("p",null,[a("1.确保代码的解释通俗易懂,能让新手迅速入门"),s("br"),a("2.编写的代码应该以以下格式进行:")]),s("h3",null,"代码的格式编写规范:"),a("1.代码的英文名和附属信息(参考站点已添加的代码例子)"),s("br")],-1),A=s("p",null,[a("2.代码的简介"),s("br"),a(" 3.代码的要点指示"),s("br"),a(" 4.代码的演示例子"),s("br"),a(" 5.代码的扩展例子(可选)"),s("br"),a(" 6.GIF演示/视频演示(可选)")],-1),m={class:"tip custom-block"},F=s("p",{class:"custom-block-title"},"TIP",-1),g=s("br",null,null,-1),f={class:"warning custom-block"},k=s("p",{class:"custom-block-title"},"WARNING",-1),v=s("div",{class:"warning custom-block"},[s("p",{class:"custom-block-title"},"WARNING"),s("p",null,"有一些代码或许有一些新的写法,或该写法可能已经废弃,如果遇到这些代码,编写者需要注明,并提供推荐代码。")],-1),q={class:"info custom-block"},P=s("p",{class:"custom-block-title"},"INFO",-1),T=t(`<h4 id="其他说明" tabindex="-1">其他说明: <a class="header-anchor" href="#其他说明" aria-label="Permalink to &quot;其他说明:&quot;"></a></h4><p>有关于MarkDown的其他书写格式请参考MD书写规范<br><a href="https://docs.github.com/zh/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax" target="_blank" rel="noreferrer">MD文档参考--点我立刻学习</a></p><h4 id="附加说明" tabindex="-1">附加说明: <a class="header-anchor" href="#附加说明" aria-label="Permalink to &quot;附加说明:&quot;"></a></h4><div class="language-txt"><button title="Copy Code" class="copy"></button><span class="lang">txt</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">由于插件众多为避免MD格式冲突换行建议最好使用&lt;br&gt;进行换行,</span></span>
<span class="line"><span style="color:#A6ACCD;">如果要在一些扩展格式渲染演示请使用&lt;font&gt;标签,</span></span></code></pre></div><h4 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;"></a></h4><div class="info custom-block"><p class="custom-block-title">INFO</p><p>1.</p></div>`,6),I={class:"tip custom-block"},w=s("p",{class:"custom-block-title"},"TIP",-1),x=s("br",null,null,-1),N=s("blockquote",null,[s("p",null,[a("npm i docsify-cli -g"),s("br"),a("docsify serve docs")])],-1),E=s("div",{class:"info custom-block"},[s("p",{class:"custom-block-title"},"INFO"),s("p",null,"2.Netlify")],-1),S={class:"tip custom-block"},R=s("p",{class:"custom-block-title"},"TIP",-1),V=s("br",null,null,-1),M=s("br",null,null,-1),O=s("br",null,null,-1),G=t(`<h4 id="_1-md" tabindex="-1">1.MD <a class="header-anchor" href="#_1-md" aria-label="Permalink to &quot;1.MD&quot;"></a></h4><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;">::: info</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;">::: tip</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;">::: warning</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;">::: danger</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;">::: details</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>
<span class="line"><span style="color:#A6ACCD;">::: code-group</span></span>
<span class="line"><span style="color:#A6ACCD;">\`\`\`ini{2} [演示例子]</span></span>
<span class="line"><span style="color:#A6ACCD;">[action_copyArry]</span></span>
<span class="line"><span style="color:#A6ACCD;">RTS-APICODE</span></span>
<span class="line"><span style="color:#A6ACCD;"></span></span>
<span class="line"><span style="color:#A6ACCD;">可以通过1-4来让1到4行突出显示</span></span>
<span class="line"><span style="color:#A6ACCD;">也可以通过1,4,5来指定行数突出显示</span></span></code></pre></div><h4 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;"></a></h4><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p></p></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p></p></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p></p></div><details class="details custom-block"><summary>Details</summary><p></p></details><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight has-highlighted-lines"><code><span class="line"><span style="color:#89DDFF;">[action_copyArry]</span></span>
<span class="line highlighted"><span style="color:#A6ACCD;">RTS-APICODE</span></span>
<span class="line"><span style="color:#A6ACCD;">//代码突出演示</span></span>
<span class="line"><span style="color:#A6ACCD;">可以通过1-4来让1到4行突出显示</span></span>
<span class="line"><span style="color:#A6ACCD;">也可以通过1,4,5来指定行数突出显示</span></span></code></pre></div><h3 id="_2-" tabindex="-1">2. <a class="header-anchor" href="#_2-" aria-label="Permalink to &quot;2.&quot;"></a></h3><h4 id="_1--" tabindex="-1">1.---() <a class="header-anchor" href="#_1--" aria-label="Permalink to &quot;1.---()&quot;"></a></h4>`,12),B=s("iframe",{src:"https://vdse.bdstatic.com//192d9a98d782d9c74c96f09db9378d93.mp4",scrolling:"no",border:"0",frameborder:"no",framespacing:"0",allowfullscreen:"true",width:"100%",height:"400"},`
`,-1),$=t(`<div class="language-html"><button title="Copy Code" class="copy"></button><span class="lang">html</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">&lt;</span><span style="color:#F07178;">iframe</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">src</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;"></span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">scrolling</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">no</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> border=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">0</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">frameborder</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">no</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">framespacing</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">0</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">allowfullscreen</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">true</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">width</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">100%</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">height</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">400</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">&gt;</span></span>
<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>IssuesPR</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>`,12);function j(H,W,z,J,X,K){const l=c("font");return r(),p("div",null,[d,u,s("div",h,[D,s("p",null,[a("0."),n(l,{color:"orange"},{default:o(()=>[a("")]),_:1}),a(","),_,a(" Github"),n(l,{color:"orange"},{default:o(()=>[a("Clone")]),_:1}),a(""),y,a(" PR"),C]),b,A]),s("div",m,[F,s("p",null,[a("使使HTTPS"),g,a(" "),n(l,{color:"orange"},{default:o(()=>[a("Google ChromeCEF")]),_:1}),a("HTTPS")])]),s("div",f,[k,s("p",null,[a("使 西"),n(l,{color:"green"},{default:o(()=>[a("PR")]),_:1})])]),v,s("div",q,[P,s("p",null,[a("便"),n(l,{color:"green"},{default:o(()=>[a("MD")]),_:1})])]),T,s("div",I,[w,s("p",null,[a(""),n(l,{color:"green"},{default:o(()=>[a("Node.js")]),_:1}),a(" 使"),x]),N]),E,s("div",S,[R,s("p",null,[a("PRNetlify"),V,a(" NetlifyPR"),M,a(" "),s("b",null,[n(l,{color:"orange"},{default:o(()=>[a("😎 Deploy Preview")]),_:1})]),a(""),O,a(" TXNetlify使")])]),G,B,$])}const U=e(i,[["render",j]]);export{Q as __pageData,U as default};

View File

@ -0,0 +1,2 @@
import{_ as e,c as p,C as s,a,I as n,E as o,V as t,J as c,o as r}from"./chunks/framework.fcc0bf38.js";const Q=JSON.parse('{"title":"","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-dev.md","filePath":"api-dev.md"}'),i={name:"api-dev.md"},d=s("div",{style:{display:"flex","align-content":"flex-start","flex-wrap":"nowrap","flex-direction":"row","justify-content":"center"}},[s("h1",null,"RTS-Code-API---开发规范")],-1),u=s("div",{style:{display:"flex","align-content":"flex-start","flex-wrap":"nowrap","flex-direction":"row","justify-content":"center"}},[s("img",{src:"https://rust.coldmint.top/ftp/ling/cdnpng/logo.png"})],-1),h={class:"tip custom-block"},D=s("p",{class:"custom-block-title"},"TIP",-1),_=s("br",null,null,-1),y=s("br",null,null,-1),C=s("br",null,null,-1),b=s("blockquote",null,[s("p",null,[a("1.确保代码的解释通俗易懂,能让新手迅速入门"),s("br"),a("2.编写的代码应该以以下格式进行:")]),s("h3",null,"代码的格式编写规范:"),a("1.代码的英文名和附属信息(参考站点已添加的代码例子)"),s("br")],-1),A=s("p",null,[a("2.代码的简介"),s("br"),a(" 3.代码的要点指示"),s("br"),a(" 4.代码的演示例子"),s("br"),a(" 5.代码的扩展例子(可选)"),s("br"),a(" 6.GIF演示/视频演示(可选)")],-1),m={class:"tip custom-block"},F=s("p",{class:"custom-block-title"},"TIP",-1),g=s("br",null,null,-1),f={class:"warning custom-block"},k=s("p",{class:"custom-block-title"},"WARNING",-1),v=s("div",{class:"warning custom-block"},[s("p",{class:"custom-block-title"},"WARNING"),s("p",null,"有一些代码或许有一些新的写法,或该写法可能已经废弃,如果遇到这些代码,编写者需要注明,并提供推荐代码。")],-1),q={class:"info custom-block"},P=s("p",{class:"custom-block-title"},"INFO",-1),T=t("",6),I={class:"tip custom-block"},w=s("p",{class:"custom-block-title"},"TIP",-1),x=s("br",null,null,-1),N=s("blockquote",null,[s("p",null,[a("npm i docsify-cli -g"),s("br"),a("docsify serve docs")])],-1),E=s("div",{class:"info custom-block"},[s("p",{class:"custom-block-title"},"INFO"),s("p",null,"2.Netlify部署")],-1),S={class:"tip custom-block"},R=s("p",{class:"custom-block-title"},"TIP",-1),V=s("br",null,null,-1),M=s("br",null,null,-1),O=s("br",null,null,-1),G=t("",12),B=s("iframe",{src:"https://vdse.bdstatic.com//192d9a98d782d9c74c96f09db9378d93.mp4",scrolling:"no",border:"0",frameborder:"no",framespacing:"0",allowfullscreen:"true",width:"100%",height:"400"},`
`,-1),$=t("",12);function j(H,W,z,J,X,K){const l=c("font");return r(),p("div",null,[d,u,s("div",h,[D,s("p",null,[a("0.如果你确定你想"),n(l,{color:"orange"},{default:o(()=>[a("帮忙开发此站点")]),_:1}),a(","),_,a(" 就可以点击右上角的Github按钮"),n(l,{color:"orange"},{default:o(()=>[a("Clone我们的库")]),_:1}),a(""),y,a(" 编写代码并进行PR申请我非常感谢你的帮忙感谢各位的支持与帮助。"),C]),b,A]),s("div",m,[F,s("p",null,[a("使用外部资源时请使用支持HTTPS协议的资源地址传输。"),g,a(" 否则在"),n(l,{color:"orange"},{default:o(()=>[a("Google Chrome等一系列以CEF的内核")]),_:1}),a("上会因为强制替换HTTPS导致资源无法打开。")])]),s("div",f,[k,s("p",null,[a("不能使用过于高深的说明,严禁出现谜语人话语,无用话语,任何玩梗, 夹带私货等一系列与本站无关的东西,违者将不能通过"),n(l,{color:"green"},{default:o(()=>[a("PR审核")]),_:1})])]),v,s("div",q,[P,s("p",null,[a("为了更好的方便一起编写站点的贡献者,本站点提供了以下的"),n(l,{color:"green"},{default:o(()=>[a("扩展MD格式供各位书写")]),_:1})])]),T,s("div",I,[w,s("p",null,[a("如果要本地测试,请确保设备有"),n(l,{color:"green"},{default:o(()=>[a("Node.js")]),_:1}),a(" 并在项目根目录使用以下命令:"),x]),N]),E,s("div",S,[R,s("p",null,[a("如果你已经发送了PR请求可以通过我的Netlify预览站点进行预览"),V,a(" Netlify会在你的PR请求下面显示你的预览页面地址。"),M,a(" 点击"),s("b",null,[n(l,{color:"orange"},{default:o(()=>[a("😎 Deploy Preview后面的链接")]),_:1})]),a("即可看见效果"),O,a(" 由于某些原因TX会拦截Netlify的站点请使用浏览器预览。")])]),G,B,$])}const U=e(i,[["render",j]]);export{Q as __pageData,U as default};

961
assets/app.9ee7a110.js Normal file
View File

@ -0,0 +1,961 @@
import{_ as hn,o as pn,D as mn,E as gn,b as bn,S as In,U as yn,C as T,d as _n,Q as he,a5 as En,u as wn,q as Tn,k as vn,a6 as An,a7 as Sn,a8 as Cn,a9 as Dn,aa as Rn,ab as Mn,ac as Nn,ad as On,ae as Pn,af as Bn,ag as $n,ah as kn,ai as Fn,M as Ln}from"./chunks/framework.fcc0bf38.js";import{t as ht}from"./chunks/theme.9136979b.js";/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*//**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const pt=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=i&63|128):(i&64512)===55296&&r+1<e.length&&(e.charCodeAt(r+1)&64512)===56320?(i=65536+((i&1023)<<10)+(e.charCodeAt(++r)&1023),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128)}return t},Un=function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const a=e[n++];t[r++]=String.fromCharCode((i&31)<<6|a&63)}else if(i>239&&i<365){const a=e[n++],s=e[n++],o=e[n++],c=((i&7)<<18|(a&63)<<12|(s&63)<<6|o&63)-65536;t[r++]=String.fromCharCode(55296+(c>>10)),t[r++]=String.fromCharCode(56320+(c&1023))}else{const a=e[n++],s=e[n++];t[r++]=String.fromCharCode((i&15)<<12|(a&63)<<6|s&63)}}return t.join("")},mt={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const a=e[i],s=i+1<e.length,o=s?e[i+1]:0,c=i+2<e.length,l=c?e[i+2]:0,d=a>>2,h=(a&3)<<4|o>>4;let g=(o&15)<<2|l>>6,b=l&63;c||(b=64,s||(g=64)),r.push(n[d],n[h],n[g],n[b])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(pt(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):Un(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const a=n[e.charAt(i++)],o=i<e.length?n[e.charAt(i)]:0;++i;const l=i<e.length?n[e.charAt(i)]:64;++i;const h=i<e.length?n[e.charAt(i)]:64;if(++i,a==null||o==null||l==null||h==null)throw new xn;const g=a<<2|o>>4;if(r.push(g),l!==64){const b=o<<4&240|l>>2;if(r.push(b),h!==64){const fn=l<<6&192|h;r.push(fn)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class xn extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const jn=function(e){const t=pt(e);return mt.encodeByteArray(t,!0)},gt=function(e){return jn(e).replace(/\./g,"")},Vn=function(e){try{return mt.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
* @license
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function Hn(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
* @license
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const zn=()=>Hn().__FIREBASE_DEFAULTS__,qn=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e={}.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},Wn=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&Vn(e[1]);return t&&JSON.parse(t)},Gn=()=>{try{return zn()||qn()||Wn()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},Kn=()=>{var e;return(e=Gn())===null||e===void 0?void 0:e.config};/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class Xn{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,r)=>{n?this.reject(n):this.resolve(r),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,r))}}}function Yn(){const e=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof e=="object"&&e.id!==void 0}function ve(){try{return typeof indexedDB=="object"}catch{return!1}}function Ae(){return new Promise((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var a;t(((a=i.error)===null||a===void 0?void 0:a.message)||"")}}catch(n){t(n)}})}function bt(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Jn="FirebaseError";class k extends Error{constructor(t,n,r){super(n),this.code=t,this.customData=r,this.name=Jn,Object.setPrototypeOf(this,k.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,j.prototype.create)}}class j{constructor(t,n,r){this.service=t,this.serviceName=n,this.errors=r}create(t,...n){const r=n[0]||{},i=`${this.service}/${t}`,a=this.errors[t],s=a?Qn(a,r):"Error",o=`${this.serviceName}: ${s} (${i}).`;return new k(i,o,r)}}function Qn(e,t){return e.replace(Zn,(n,r)=>{const i=t[r];return i!=null?String(i):`<${r}?>`})}const Zn=/\{\$([^}]+)}/g;function z(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const a=e[i],s=t[i];if(Le(a)&&Le(s)){if(!z(a,s))return!1}else if(a!==s)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function Le(e){return e!==null&&typeof e=="object"}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const er=1e3,tr=2,nr=4*60*60*1e3,rr=.5;function Ue(e,t=er,n=tr){const r=t*Math.pow(n,e),i=Math.round(rr*r*(Math.random()-.5)*2);return Math.min(nr,r+i)}/**
* @license
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function Se(e){return e&&e._delegate?e._delegate:e}class v{constructor(t,n,r){this.name=t,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const M="[DEFAULT]";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class ir{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const r=new Xn;if(this.instancesDeferred.set(n,r),this.isInitialized(n)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:n});i&&r.resolve(i)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const r=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),i=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(a){if(i)return null;throw a}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(sr(t))try{this.getOrInitializeService({instanceIdentifier:M})}catch{}for(const[n,r]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(n);try{const a=this.getOrInitializeService({instanceIdentifier:i});r.resolve(a)}catch{}}}}clearInstance(t=M){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=M){return this.instances.has(t)}getOptions(t=M){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:r,options:n});for(const[a,s]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(a);r===o&&s.resolve(i)}return i}onInit(t,n){var r;const i=this.normalizeInstanceIdentifier(n),a=(r=this.onInitCallbacks.get(i))!==null&&r!==void 0?r:new Set;a.add(t),this.onInitCallbacks.set(i,a);const s=this.instances.get(i);return s&&t(s,i),()=>{a.delete(t)}}invokeOnInitCallbacks(t,n){const r=this.onInitCallbacks.get(n);if(r)for(const i of r)try{i(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:ar(t),options:n}),this.instances.set(t,r),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch{}return r||null}normalizeInstanceIdentifier(t=M){return this.component?this.component.multipleInstances?t:M:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function ar(e){return e===M?void 0:e}function sr(e){return e.instantiationMode==="EAGER"}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class or{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new ir(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var u;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(u||(u={}));const cr={debug:u.DEBUG,verbose:u.VERBOSE,info:u.INFO,warn:u.WARN,error:u.ERROR,silent:u.SILENT},lr=u.INFO,ur={[u.DEBUG]:"log",[u.VERBOSE]:"log",[u.INFO]:"info",[u.WARN]:"warn",[u.ERROR]:"error"},dr=(e,t,...n)=>{if(t<e.logLevel)return;const r=new Date().toISOString(),i=ur[t];if(i)console[i](`[${r}] ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class Ce{constructor(t){this.name=t,this._logLevel=lr,this._logHandler=dr,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in u))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?cr[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,u.DEBUG,...t),this._logHandler(this,u.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,u.VERBOSE,...t),this._logHandler(this,u.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,u.INFO,...t),this._logHandler(this,u.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,u.WARN,...t),this._logHandler(this,u.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,u.ERROR,...t),this._logHandler(this,u.ERROR,...t)}}const fr=(e,t)=>t.some(n=>e instanceof n);let xe,je;function hr(){return xe||(xe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function pr(){return je||(je=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const It=new WeakMap,pe=new WeakMap,yt=new WeakMap,Q=new WeakMap,De=new WeakMap;function mr(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{n(A(e.result)),i()},s=()=>{r(e.error),i()};e.addEventListener("success",a),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&It.set(n,e)}).catch(()=>{}),De.set(t,e),t}function gr(e){if(pe.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{n(),i()},s=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)});pe.set(e,t)}let me={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return pe.get(e);if(t==="objectStoreNames")return e.objectStoreNames||yt.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return A(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function br(e){me=e(me)}function Ir(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const r=e.call(Z(this),t,...n);return yt.set(r,t.sort?t.sort():[t]),A(r)}:pr().includes(e)?function(...t){return e.apply(Z(this),t),A(It.get(this))}:function(...t){return A(e.apply(Z(this),t))}}function yr(e){return typeof e=="function"?Ir(e):(e instanceof IDBTransaction&&gr(e),fr(e,hr())?new Proxy(e,me):e)}function A(e){if(e instanceof IDBRequest)return mr(e);if(Q.has(e))return Q.get(e);const t=yr(e);return t!==e&&(Q.set(e,t),De.set(t,e)),t}const Z=e=>De.get(e);function _r(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const s=indexedDB.open(e,t),o=A(s);return r&&s.addEventListener("upgradeneeded",c=>{r(A(s.result),c.oldVersion,c.newVersion,A(s.transaction),c)}),n&&s.addEventListener("blocked",c=>n(c.oldVersion,c.newVersion,c)),o.then(c=>{a&&c.addEventListener("close",()=>a()),i&&c.addEventListener("versionchange",l=>i(l.oldVersion,l.newVersion,l))}).catch(()=>{}),o}const Er=["get","getKey","getAll","getAllKeys","count"],wr=["put","add","delete","clear"],ee=new Map;function Ve(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(ee.get(t))return ee.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=wr.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||Er.includes(n)))return;const a=async function(s,...o){const c=this.transaction(s,i?"readwrite":"readonly");let l=c.store;return r&&(l=l.index(o.shift())),(await Promise.all([l[n](...o),i&&c.done]))[0]};return ee.set(t,a),a}br(e=>({...e,get:(t,n,r)=>Ve(t,n)||e.get(t,n,r),has:(t,n)=>!!Ve(t,n)||e.has(t,n)}));/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class Tr{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(vr(n)){const r=n.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(n=>n).join(" ")}}function vr(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const ge="@firebase/app",He="0.9.9";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const P=new Ce("@firebase/app"),Ar="@firebase/app-compat",Sr="@firebase/analytics-compat",Cr="@firebase/analytics",Dr="@firebase/app-check-compat",Rr="@firebase/app-check",Mr="@firebase/auth",Nr="@firebase/auth-compat",Or="@firebase/database",Pr="@firebase/database-compat",Br="@firebase/functions",$r="@firebase/functions-compat",kr="@firebase/installations",Fr="@firebase/installations-compat",Lr="@firebase/messaging",Ur="@firebase/messaging-compat",xr="@firebase/performance",jr="@firebase/performance-compat",Vr="@firebase/remote-config",Hr="@firebase/remote-config-compat",zr="@firebase/storage",qr="@firebase/storage-compat",Wr="@firebase/firestore",Gr="@firebase/firestore-compat",Kr="firebase";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const be="[DEFAULT]",Xr={[ge]:"fire-core",[Ar]:"fire-core-compat",[Cr]:"fire-analytics",[Sr]:"fire-analytics-compat",[Rr]:"fire-app-check",[Dr]:"fire-app-check-compat",[Mr]:"fire-auth",[Nr]:"fire-auth-compat",[Or]:"fire-rtdb",[Pr]:"fire-rtdb-compat",[Br]:"fire-fn",[$r]:"fire-fn-compat",[kr]:"fire-iid",[Fr]:"fire-iid-compat",[Lr]:"fire-fcm",[Ur]:"fire-fcm-compat",[xr]:"fire-perf",[jr]:"fire-perf-compat",[Vr]:"fire-rc",[Hr]:"fire-rc-compat",[zr]:"fire-gcs",[qr]:"fire-gcs-compat",[Wr]:"fire-fst",[Gr]:"fire-fst-compat","fire-js":"fire-js",[Kr]:"fire-js-all"};/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const q=new Map,Ie=new Map;function Yr(e,t){try{e.container.addComponent(t)}catch(n){P.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function R(e){const t=e.name;if(Ie.has(t))return P.debug(`There were multiple attempts to register component ${t}.`),!1;Ie.set(t,e);for(const n of q.values())Yr(n,e);return!0}function V(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Jr={["no-app"]:"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",["bad-app-name"]:"Illegal App name: '{$appName}",["duplicate-app"]:"Firebase App named '{$appName}' already exists with different options or config",["app-deleted"]:"Firebase App named '{$appName}' already deleted",["no-options"]:"Need to provide options, when not being deployed to hosting via source.",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance.",["invalid-log-argument"]:"First argument to `onLog` must be null or a function.",["idb-open"]:"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.",["idb-get"]:"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.",["idb-set"]:"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.",["idb-delete"]:"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},S=new j("app","Firebase",Jr);/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class Qr{constructor(t,n,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new v("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw S.create("app-deleted",{appName:this._name})}}function _t(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const r=Object.assign({name:be,automaticDataCollectionEnabled:!1},t),i=r.name;if(typeof i!="string"||!i)throw S.create("bad-app-name",{appName:String(i)});if(n||(n=Kn()),!n)throw S.create("no-options");const a=q.get(i);if(a){if(z(n,a.options)&&z(r,a.config))return a;throw S.create("duplicate-app",{appName:i})}const s=new or(i);for(const c of Ie.values())s.addComponent(c);const o=new Qr(n,r,s);return q.set(i,o),o}function Et(e=be){const t=q.get(e);if(!t&&e===be)return _t();if(!t)throw S.create("no-app",{appName:e});return t}function E(e,t,n){var r;let i=(r=Xr[e])!==null&&r!==void 0?r:e;n&&(i+=`-${n}`);const a=i.match(/\s|\//),s=t.match(/\s|\//);if(a||s){const o=[`Unable to register library "${i}" with version "${t}":`];a&&o.push(`library name "${i}" contains illegal characters (whitespace or "/")`),a&&s&&o.push("and"),s&&o.push(`version name "${t}" contains illegal characters (whitespace or "/")`),P.warn(o.join(" "));return}R(new v(`${i}-version`,()=>({library:i,version:t}),"VERSION"))}/**
* @license
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Zr="firebase-heartbeat-database",ei=1,x="firebase-heartbeat-store";let te=null;function wt(){return te||(te=_r(Zr,ei,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(x)}}}).catch(e=>{throw S.create("idb-open",{originalErrorMessage:e.message})})),te}async function ti(e){try{return(await wt()).transaction(x).objectStore(x).get(Tt(e))}catch(t){if(t instanceof k)P.warn(t.message);else{const n=S.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});P.warn(n.message)}}}async function ze(e,t){try{const r=(await wt()).transaction(x,"readwrite");return await r.objectStore(x).put(t,Tt(e)),r.done}catch(n){if(n instanceof k)P.warn(n.message);else{const r=S.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});P.warn(r.message)}}}function Tt(e){return`${e.name}!${e.options.appId}`}/**
* @license
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const ni=1024,ri=30*24*60*60*1e3;class ii{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new si(n),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=qe();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some(i=>i.date===r)))return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(i=>{const a=new Date(i.date).valueOf();return Date.now()-a<=ri}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=qe(),{heartbeatsToSend:n,unsentEntries:r}=ai(this._heartbeatsCache.heartbeats),i=gt(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function qe(){return new Date().toISOString().substring(0,10)}function ai(e,t=ni){const n=[];let r=e.slice();for(const i of e){const a=n.find(s=>s.agent===i.agent);if(a){if(a.dates.push(i.date),We(n)>t){a.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),We(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}class si{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return ve()?Ae().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await ti(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return ze(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return ze(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...t.heartbeats]})}else return}}function We(e){return gt(JSON.stringify({version:2,heartbeats:e})).length}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function oi(e){R(new v("platform-logger",t=>new Tr(t),"PRIVATE")),R(new v("heartbeat",t=>new ii(t),"PRIVATE")),E(ge,He,e),E(ge,He,"esm2017"),E("fire-js","")}oi("");var ci="firebase",li="9.21.0";/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/E(ci,li,"app");const ui=(e,t)=>t.some(n=>e instanceof n);let Ge,Ke;function di(){return Ge||(Ge=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function fi(){return Ke||(Ke=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const vt=new WeakMap,ye=new WeakMap,At=new WeakMap,ne=new WeakMap,Re=new WeakMap;function hi(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{n(C(e.result)),i()},s=()=>{r(e.error),i()};e.addEventListener("success",a),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&vt.set(n,e)}).catch(()=>{}),Re.set(t,e),t}function pi(e){if(ye.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{n(),i()},s=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)});ye.set(e,t)}let _e={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return ye.get(e);if(t==="objectStoreNames")return e.objectStoreNames||At.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return C(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function mi(e){_e=e(_e)}function gi(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const r=e.call(re(this),t,...n);return At.set(r,t.sort?t.sort():[t]),C(r)}:fi().includes(e)?function(...t){return e.apply(re(this),t),C(vt.get(this))}:function(...t){return C(e.apply(re(this),t))}}function bi(e){return typeof e=="function"?gi(e):(e instanceof IDBTransaction&&pi(e),ui(e,di())?new Proxy(e,_e):e)}function C(e){if(e instanceof IDBRequest)return hi(e);if(ne.has(e))return ne.get(e);const t=bi(e);return t!==e&&(ne.set(e,t),Re.set(t,e)),t}const re=e=>Re.get(e);function Ii(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const s=indexedDB.open(e,t),o=C(s);return r&&s.addEventListener("upgradeneeded",c=>{r(C(s.result),c.oldVersion,c.newVersion,C(s.transaction))}),n&&s.addEventListener("blocked",()=>n()),o.then(c=>{a&&c.addEventListener("close",()=>a()),i&&c.addEventListener("versionchange",()=>i())}).catch(()=>{}),o}const yi=["get","getKey","getAll","getAllKeys","count"],_i=["put","add","delete","clear"],ie=new Map;function Xe(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(ie.get(t))return ie.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=_i.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||yi.includes(n)))return;const a=async function(s,...o){const c=this.transaction(s,i?"readwrite":"readonly");let l=c.store;return r&&(l=l.index(o.shift())),(await Promise.all([l[n](...o),i&&c.done]))[0]};return ie.set(t,a),a}mi(e=>({...e,get:(t,n,r)=>Xe(t,n)||e.get(t,n,r),has:(t,n)=>!!Xe(t,n)||e.has(t,n)}));const St="@firebase/installations",Me="0.6.4";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ct=1e4,Dt=`w:${Me}`,Rt="FIS_v2",Ei="https://firebaseinstallations.googleapis.com/v1",wi=60*60*1e3,Ti="installations",vi="Installations";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ai={["missing-app-config-values"]:'Missing App configuration value: "{$valueName}"',["not-registered"]:"Firebase Installation is not registered.",["installation-not-found"]:"Firebase Installation not found.",["request-failed"]:'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',["app-offline"]:"Could not process request. Application offline.",["delete-pending-registration"]:"Can't delete installation while there is a pending registration request."},B=new j(Ti,vi,Ai);function Mt(e){return e instanceof k&&e.code.includes("request-failed")}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function Nt({projectId:e}){return`${Ei}/projects/${e}/installations`}function Ot(e){return{token:e.token,requestStatus:2,expiresIn:Ci(e.expiresIn),creationTime:Date.now()}}async function Pt(e,t){const r=(await t.json()).error;return B.create("request-failed",{requestName:e,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})}function Bt({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function Si(e,{refreshToken:t}){const n=Bt(e);return n.append("Authorization",Di(t)),n}async function $t(e){const t=await e();return t.status>=500&&t.status<600?e():t}function Ci(e){return Number(e.replace("s","000"))}function Di(e){return`${Rt} ${e}`}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Ri({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const r=Nt(e),i=Bt(e),a=t.getImmediate({optional:!0});if(a){const l=await a.getHeartbeatsHeader();l&&i.append("x-firebase-client",l)}const s={fid:n,authVersion:Rt,appId:e.appId,sdkVersion:Dt},o={method:"POST",headers:i,body:JSON.stringify(s)},c=await $t(()=>fetch(r,o));if(c.ok){const l=await c.json();return{fid:l.fid||n,registrationStatus:2,refreshToken:l.refreshToken,authToken:Ot(l.authToken)}}else throw await Pt("Create Installation",c)}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function kt(e){return new Promise(t=>{setTimeout(t,e)})}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function Mi(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ni=/^[cdef][\w-]{21}$/,Ee="";function Oi(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=Pi(e);return Ni.test(n)?n:Ee}catch{return Ee}}function Pi(e){return Mi(e).substr(0,22)}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function X(e){return`${e.appName}!${e.appId}`}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ft=new Map;function Lt(e,t){const n=X(e);Ut(n,t),Bi(n,t)}function Ut(e,t){const n=Ft.get(e);if(n)for(const r of n)r(t)}function Bi(e,t){const n=$i();n&&n.postMessage({key:e,fid:t}),ki()}let N=null;function $i(){return!N&&"BroadcastChannel"in self&&(N=new BroadcastChannel("[Firebase] FID Change"),N.onmessage=e=>{Ut(e.data.key,e.data.fid)}),N}function ki(){Ft.size===0&&N&&(N.close(),N=null)}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Fi="firebase-installations-database",Li=1,$="firebase-installations-store";let ae=null;function Ne(){return ae||(ae=Ii(Fi,Li,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore($)}}})),ae}async function W(e,t){const n=X(e),i=(await Ne()).transaction($,"readwrite"),a=i.objectStore($),s=await a.get(n);return await a.put(t,n),await i.done,(!s||s.fid!==t.fid)&&Lt(e,t.fid),t}async function xt(e){const t=X(e),r=(await Ne()).transaction($,"readwrite");await r.objectStore($).delete(t),await r.done}async function Y(e,t){const n=X(e),i=(await Ne()).transaction($,"readwrite"),a=i.objectStore($),s=await a.get(n),o=t(s);return o===void 0?await a.delete(n):await a.put(o,n),await i.done,o&&(!s||s.fid!==o.fid)&&Lt(e,o.fid),o}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Oe(e){let t;const n=await Y(e.appConfig,r=>{const i=Ui(r),a=xi(e,i);return t=a.registrationPromise,a.installationEntry});return n.fid===Ee?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function Ui(e){const t=e||{fid:Oi(),registrationStatus:0};return jt(t)}function xi(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const i=Promise.reject(B.create("app-offline"));return{installationEntry:t,registrationPromise:i}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=ji(e,n);return{installationEntry:n,registrationPromise:r}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:Vi(e)}:{installationEntry:t}}async function ji(e,t){try{const n=await Ri(e,t);return W(e.appConfig,n)}catch(n){throw Mt(n)&&n.customData.serverCode===409?await xt(e.appConfig):await W(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function Vi(e){let t=await Ye(e.appConfig);for(;t.registrationStatus===1;)await kt(100),t=await Ye(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:r}=await Oe(e);return r||n}return t}function Ye(e){return Y(e,t=>{if(!t)throw B.create("installation-not-found");return jt(t)})}function jt(e){return Hi(e)?{fid:e.fid,registrationStatus:0}:e}function Hi(e){return e.registrationStatus===1&&e.registrationTime+Ct<Date.now()}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function zi({appConfig:e,heartbeatServiceProvider:t},n){const r=qi(e,n),i=Si(e,n),a=t.getImmediate({optional:!0});if(a){const l=await a.getHeartbeatsHeader();l&&i.append("x-firebase-client",l)}const s={installation:{sdkVersion:Dt,appId:e.appId}},o={method:"POST",headers:i,body:JSON.stringify(s)},c=await $t(()=>fetch(r,o));if(c.ok){const l=await c.json();return Ot(l)}else throw await Pt("Generate Auth Token",c)}function qi(e,{fid:t}){return`${Nt(e)}/${t}/authTokens:generate`}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Pe(e,t=!1){let n;const r=await Y(e.appConfig,a=>{if(!Vt(a))throw B.create("not-registered");const s=a.authToken;if(!t&&Ki(s))return a;if(s.requestStatus===1)return n=Wi(e,t),a;{if(!navigator.onLine)throw B.create("app-offline");const o=Yi(a);return n=Gi(e,o),o}});return n?await n:r.authToken}async function Wi(e,t){let n=await Je(e.appConfig);for(;n.authToken.requestStatus===1;)await kt(100),n=await Je(e.appConfig);const r=n.authToken;return r.requestStatus===0?Pe(e,t):r}function Je(e){return Y(e,t=>{if(!Vt(t))throw B.create("not-registered");const n=t.authToken;return Ji(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function Gi(e,t){try{const n=await zi(e,t),r=Object.assign(Object.assign({},t),{authToken:n});return await W(e.appConfig,r),n}catch(n){if(Mt(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await xt(e.appConfig);else{const r=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await W(e.appConfig,r)}throw n}}function Vt(e){return e!==void 0&&e.registrationStatus===2}function Ki(e){return e.requestStatus===2&&!Xi(e)}function Xi(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+wi}function Yi(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function Ji(e){return e.requestStatus===1&&e.requestTime+Ct<Date.now()}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Qi(e){const t=e,{installationEntry:n,registrationPromise:r}=await Oe(t);return r?r.catch(console.error):Pe(t).catch(console.error),n.fid}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Zi(e,t=!1){const n=e;return await ea(n),(await Pe(n,t)).token}async function ea(e){const{registrationPromise:t}=await Oe(e);t&&await t}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function ta(e){if(!e||!e.options)throw se("App Configuration");if(!e.name)throw se("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw se(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function se(e){return B.create("missing-app-config-values",{valueName:e})}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ht="installations",na="installations-internal",ra=e=>{const t=e.getProvider("app").getImmediate(),n=ta(t),r=V(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:r,_delete:()=>Promise.resolve()}},ia=e=>{const t=e.getProvider("app").getImmediate(),n=V(t,Ht).getImmediate();return{getId:()=>Qi(n),getToken:i=>Zi(n,i)}};function aa(){R(new v(Ht,ra,"PUBLIC")),R(new v(na,ia,"PRIVATE"))}aa();E(St,Me);E(St,Me,"esm2017");/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const G="analytics",sa="firebase_id",oa="origin",ca=60*1e3,la="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",Be="https://www.googletagmanager.com/gtag/js";/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const m=new Ce("@firebase/analytics");/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const ua={["already-exists"]:"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.",["already-initialized"]:"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.",["already-initialized-settings"]:"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.",["interop-component-reg-failed"]:"Firebase Analytics Interop Component failed to instantiate: {$reason}",["invalid-analytics-context"]:"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}",["indexeddb-unavailable"]:"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}",["fetch-throttle"]:"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.",["config-fetch-failed"]:"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}",["no-api-key"]:'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',["no-app-id"]:'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',["no-client-id"]:'The "client_id" field is empty.',["invalid-gtag-resource"]:"Trusted Types detected an invalid gtag resource: {$gtagURL}."},y=new j("analytics","Analytics",ua);/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function da(e){if(!e.startsWith(Be)){const t=y.create("invalid-gtag-resource",{gtagURL:e});return m.warn(t.message),""}return e}function zt(e){return Promise.all(e.map(t=>t.catch(n=>n)))}function fa(e,t){let n;return window.trustedTypes&&(n=window.trustedTypes.createPolicy(e,t)),n}function ha(e,t){const n=fa("firebase-js-sdk-policy",{createScriptURL:da}),r=document.createElement("script"),i=`${Be}?l=${e}&id=${t}`;r.src=n?n==null?void 0:n.createScriptURL(i):i,r.async=!0,document.head.appendChild(r)}function pa(e){let t=[];return Array.isArray(window[e])?t=window[e]:window[e]=t,t}async function ma(e,t,n,r,i,a){const s=r[i];try{if(s)await t[s];else{const c=(await zt(n)).find(l=>l.measurementId===i);c&&await t[c.appId]}}catch(o){m.error(o)}e("config",i,a)}async function ga(e,t,n,r,i){try{let a=[];if(i&&i.send_to){let s=i.send_to;Array.isArray(s)||(s=[s]);const o=await zt(n);for(const c of s){const l=o.find(h=>h.measurementId===c),d=l&&t[l.appId];if(d)a.push(d);else{a=[];break}}}a.length===0&&(a=Object.values(t)),await Promise.all(a),e("event",r,i||{})}catch(a){m.error(a)}}function ba(e,t,n,r){async function i(a,...s){try{if(a==="event"){const[o,c]=s;await ga(e,t,n,o,c)}else if(a==="config"){const[o,c]=s;await ma(e,t,n,r,o,c)}else if(a==="consent"){const[o]=s;e("consent","update",o)}else if(a==="get"){const[o,c,l]=s;e("get",o,c,l)}else if(a==="set"){const[o]=s;e("set",o)}else e(a,...s)}catch(o){m.error(o)}}return i}function Ia(e,t,n,r,i){let a=function(...s){window[r].push(arguments)};return window[i]&&typeof window[i]=="function"&&(a=window[i]),window[i]=ba(a,e,t,n),{gtagCore:a,wrappedGtag:window[i]}}function ya(e){const t=window.document.getElementsByTagName("script");for(const n of Object.values(t))if(n.src&&n.src.includes(Be)&&n.src.includes(e))return n;return null}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const _a=30,Ea=1e3;class wa{constructor(t={},n=Ea){this.throttleMetadata=t,this.intervalMillis=n}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,n){this.throttleMetadata[t]=n}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}}const qt=new wa;function Ta(e){return new Headers({Accept:"application/json","x-goog-api-key":e})}async function va(e){var t;const{appId:n,apiKey:r}=e,i={method:"GET",headers:Ta(r)},a=la.replace("{app-id}",n),s=await fetch(a,i);if(s.status!==200&&s.status!==304){let o="";try{const c=await s.json();!((t=c.error)===null||t===void 0)&&t.message&&(o=c.error.message)}catch{}throw y.create("config-fetch-failed",{httpStatus:s.status,responseMessage:o})}return s.json()}async function Aa(e,t=qt,n){const{appId:r,apiKey:i,measurementId:a}=e.options;if(!r)throw y.create("no-app-id");if(!i){if(a)return{measurementId:a,appId:r};throw y.create("no-api-key")}const s=t.getThrottleMetadata(r)||{backoffCount:0,throttleEndTimeMillis:Date.now()},o=new Da;return setTimeout(async()=>{o.abort()},n!==void 0?n:ca),Wt({appId:r,apiKey:i,measurementId:a},s,o,t)}async function Wt(e,{throttleEndTimeMillis:t,backoffCount:n},r,i=qt){var a;const{appId:s,measurementId:o}=e;try{await Sa(r,t)}catch(c){if(o)return m.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${o} provided in the "measurementId" field in the local Firebase config. [${c==null?void 0:c.message}]`),{appId:s,measurementId:o};throw c}try{const c=await va(e);return i.deleteThrottleMetadata(s),c}catch(c){const l=c;if(!Ca(l)){if(i.deleteThrottleMetadata(s),o)return m.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${o} provided in the "measurementId" field in the local Firebase config. [${l==null?void 0:l.message}]`),{appId:s,measurementId:o};throw c}const d=Number((a=l==null?void 0:l.customData)===null||a===void 0?void 0:a.httpStatus)===503?Ue(n,i.intervalMillis,_a):Ue(n,i.intervalMillis),h={throttleEndTimeMillis:Date.now()+d,backoffCount:n+1};return i.setThrottleMetadata(s,h),m.debug(`Calling attemptFetch again in ${d} millis`),Wt(e,h,r,i)}}function Sa(e,t){return new Promise((n,r)=>{const i=Math.max(t-Date.now(),0),a=setTimeout(n,i);e.addEventListener(()=>{clearTimeout(a),r(y.create("fetch-throttle",{throttleEndTimeMillis:t}))})})}function Ca(e){if(!(e instanceof k)||!e.customData)return!1;const t=Number(e.customData.httpStatus);return t===429||t===500||t===503||t===504}class Da{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach(t=>t())}}async function Ra(e,t,n,r,i){if(i&&i.global){e("event",n,r);return}else{const a=await t,s=Object.assign(Object.assign({},r),{send_to:a});e("event",n,s)}}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/async function Ma(){if(ve())try{await Ae()}catch(e){return m.warn(y.create("indexeddb-unavailable",{errorInfo:e==null?void 0:e.toString()}).message),!1}else return m.warn(y.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;return!0}async function Na(e,t,n,r,i,a,s){var o;const c=Aa(e);c.then(b=>{n[b.measurementId]=b.appId,e.options.measurementId&&b.measurementId!==e.options.measurementId&&m.warn(`The measurement ID in the local Firebase config (${e.options.measurementId}) does not match the measurement ID fetched from the server (${b.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(b=>m.error(b)),t.push(c);const l=Ma().then(b=>{if(b)return r.getId()}),[d,h]=await Promise.all([c,l]);ya(a)||ha(a,d.measurementId),i("js",new Date);const g=(o=s==null?void 0:s.config)!==null&&o!==void 0?o:{};return g[oa]="firebase",g.update=!0,h!=null&&(g[sa]=h),i("config",d.measurementId,g),d.measurementId}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class Oa{constructor(t){this.app=t}_delete(){return delete U[this.app.options.appId],Promise.resolve()}}let U={},Qe=[];const Ze={};let oe="dataLayer",Pa="gtag",et,Gt,tt=!1;function Ba(){const e=[];if(Yn()&&e.push("This is a browser extension environment."),bt()||e.push("Cookies are not available."),e.length>0){const t=e.map((r,i)=>`(${i+1}) ${r}`).join(" "),n=y.create("invalid-analytics-context",{errorInfo:t});m.warn(n.message)}}function $a(e,t,n){Ba();const r=e.options.appId;if(!r)throw y.create("no-app-id");if(!e.options.apiKey)if(e.options.measurementId)m.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${e.options.measurementId} provided in the "measurementId" field in the local Firebase config.`);else throw y.create("no-api-key");if(U[r]!=null)throw y.create("already-exists",{id:r});if(!tt){pa(oe);const{wrappedGtag:a,gtagCore:s}=Ia(U,Qe,Ze,oe,Pa);Gt=a,et=s,tt=!0}return U[r]=Na(e,Qe,Ze,t,et,oe,n),new Oa(e)}function ka(e=Et()){e=Se(e);const t=V(e,G);return t.isInitialized()?t.getImmediate():Fa(e)}function Fa(e,t={}){const n=V(e,G);if(n.isInitialized()){const i=n.getImmediate();if(z(t,n.getOptions()))return i;throw y.create("already-initialized")}return n.initialize({options:t})}function La(e,t,n,r){e=Se(e),Ra(Gt,U[e.app.options.appId],t,n,r).catch(i=>m.error(i))}const nt="@firebase/analytics",rt="0.10.0";function Ua(){R(new v(G,(t,{options:n})=>{const r=t.getProvider("app").getImmediate(),i=t.getProvider("installations-internal").getImmediate();return $a(r,i,n)},"PUBLIC")),R(new v("analytics-internal",e,"PRIVATE")),E(nt,rt),E(nt,rt,"esm2017");function e(t){try{const n=t.getProvider(G).getImmediate();return{logEvent:(r,i,a)=>La(n,r,i,a)}}catch(n){throw y.create("interop-component-reg-failed",{reason:n})}}}Ua();const it="@firebase/performance",we="0.6.4";/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Kt=we,xa="FB-PERF-TRACE-START",ja="FB-PERF-TRACE-STOP",Te="FB-PERF-TRACE-MEASURE",Xt="_wt_",Yt="_fp",Jt="_fcp",Qt="_fid",Zt="@firebase/performance/config",en="@firebase/performance/configexpire",Va="performance",tn="Performance";/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ha={["trace started"]:"Trace {$traceName} was started before.",["trace stopped"]:"Trace {$traceName} is not running.",["nonpositive trace startTime"]:"Trace {$traceName} startTime should be positive.",["nonpositive trace duration"]:"Trace {$traceName} duration should be positive.",["no window"]:"Window is not available.",["no app id"]:"App id is not available.",["no project id"]:"Project id is not available.",["no api key"]:"Api key is not available.",["invalid cc log"]:"Attempted to queue invalid cc event",["FB not default"]:"Performance can only start when Firebase app instance is the default one.",["RC response not ok"]:"RC response is not ok",["invalid attribute name"]:"Attribute name {$attributeName} is invalid.",["invalid attribute value"]:"Attribute value {$attributeValue} is invalid.",["invalid custom metric name"]:"Custom metric name {$customMetricName} is invalid",["invalid String merger input"]:"Input for String merger is invalid, contact support team to resolve.",["already initialized"]:"initializePerformance() has already been called with different options. To avoid this error, call initializePerformance() with the same options as when it was originally called, or call getPerformance() to return the already initialized instance."},p=new j(Va,tn,Ha);/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const w=new Ce(tn);w.logLevel=u.INFO;/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/let ce,nn;class f{constructor(t){if(this.window=t,!t)throw p.create("no window");this.performance=t.performance,this.PerformanceObserver=t.PerformanceObserver,this.windowLocation=t.location,this.navigator=t.navigator,this.document=t.document,this.navigator&&this.navigator.cookieEnabled&&(this.localStorage=t.localStorage),t.perfMetrics&&t.perfMetrics.onFirstInputDelay&&(this.onFirstInputDelay=t.perfMetrics.onFirstInputDelay)}getUrl(){return this.windowLocation.href.split("?")[0]}mark(t){!this.performance||!this.performance.mark||this.performance.mark(t)}measure(t,n,r){!this.performance||!this.performance.measure||this.performance.measure(t,n,r)}getEntriesByType(t){return!this.performance||!this.performance.getEntriesByType?[]:this.performance.getEntriesByType(t)}getEntriesByName(t){return!this.performance||!this.performance.getEntriesByName?[]:this.performance.getEntriesByName(t)}getTimeOrigin(){return this.performance&&(this.performance.timeOrigin||this.performance.timing.navigationStart)}requiredApisAvailable(){return!fetch||!Promise||!bt()?(w.info("Firebase Performance cannot start if browser does not support fetch and Promise or cookie is disabled."),!1):ve()?!0:(w.info("IndexedDB is not supported by current browswer"),!1)}setupObserver(t,n){if(!this.PerformanceObserver)return;new this.PerformanceObserver(i=>{for(const a of i.getEntries())n(a)}).observe({entryTypes:[t]})}static getInstance(){return ce===void 0&&(ce=new f(nn)),ce}}function za(e){nn=e}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/let rn;function qa(e){const t=e.getId();return t.then(n=>{rn=n}),t}function $e(){return rn}function Wa(e){const t=e.getToken();return t.then(n=>{}),t}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function at(e,t){const n=e.length-t.length;if(n<0||n>1)throw p.create("invalid String merger input");const r=[];for(let i=0;i<e.length;i++)r.push(e.charAt(i)),t.length>i&&r.push(t.charAt(i));return r.join("")}/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/let le;class I{constructor(){this.instrumentationEnabled=!0,this.dataCollectionEnabled=!0,this.loggingEnabled=!1,this.tracesSamplingRate=1,this.networkRequestsSamplingRate=1,this.logEndPointUrl="https://firebaselogging.googleapis.com/v0cc/log?format=json_proto",this.flTransportEndpointUrl=at("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),this.transportKey=at("AzSC8r6ReiGqFMyfvgow","Iayx0u-XT3vksVM-pIV"),this.logSource=462,this.logTraceAfterSampling=!1,this.logNetworkAfterSampling=!1,this.configTimeToLive=12}getFlTransportFullUrl(){return this.flTransportEndpointUrl.concat("?key=",this.transportKey)}static getInstance(){return le===void 0&&(le=new I),le}}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var F;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.VISIBLE=1]="VISIBLE",e[e.HIDDEN=2]="HIDDEN"})(F||(F={}));const Ga=["firebase_","google_","ga_"],Ka=new RegExp("^[a-zA-Z]\\w*$"),Xa=40,Ya=100;function Ja(){const e=f.getInstance().navigator;return e!=null&&e.serviceWorker?e.serviceWorker.controller?2:3:1}function an(){switch(f.getInstance().document.visibilityState){case"visible":return F.VISIBLE;case"hidden":return F.HIDDEN;default:return F.UNKNOWN}}function Qa(){const t=f.getInstance().navigator.connection;switch(t&&t.effectiveType){case"slow-2g":return 1;case"2g":return 2;case"3g":return 3;case"4g":return 4;default:return 0}}function Za(e){return e.length===0||e.length>Xa?!1:!Ga.some(n=>e.startsWith(n))&&!!e.match(Ka)}function es(e){return e.length!==0&&e.length<=Ya}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function sn(e){var t;const n=(t=e.options)===null||t===void 0?void 0:t.appId;if(!n)throw p.create("no app id");return n}function ts(e){var t;const n=(t=e.options)===null||t===void 0?void 0:t.projectId;if(!n)throw p.create("no project id");return n}function ns(e){var t;const n=(t=e.options)===null||t===void 0?void 0:t.apiKey;if(!n)throw p.create("no api key");return n}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const rs="0.0.1",_={loggingEnabled:!0},is="FIREBASE_INSTALLATIONS_AUTH";function as(e,t){const n=ss();return n?(st(n),Promise.resolve()):ls(e,t).then(st).then(r=>os(r),()=>{})}function ss(){const e=f.getInstance().localStorage;if(!e)return;const t=e.getItem(en);if(!t||!us(t))return;const n=e.getItem(Zt);if(n)try{return JSON.parse(n)}catch{return}}function os(e){const t=f.getInstance().localStorage;!e||!t||(t.setItem(Zt,JSON.stringify(e)),t.setItem(en,String(Date.now()+I.getInstance().configTimeToLive*60*60*1e3)))}const cs="Could not fetch config, will use default configs";function ls(e,t){return Wa(e.installations).then(n=>{const r=ts(e.app),i=ns(e.app),a=`https://firebaseremoteconfig.googleapis.com/v1/projects/${r}/namespaces/fireperf:fetch?key=${i}`,s=new Request(a,{method:"POST",headers:{Authorization:`${is} ${n}`},body:JSON.stringify({app_instance_id:t,app_instance_id_token:n,app_id:sn(e.app),app_version:Kt,sdk_version:rs})});return fetch(s).then(o=>{if(o.ok)return o.json();throw p.create("RC response not ok")})}).catch(()=>{w.info(cs)})}function st(e){if(!e)return e;const t=I.getInstance(),n=e.entries||{};return n.fpr_enabled!==void 0?t.loggingEnabled=String(n.fpr_enabled)==="true":t.loggingEnabled=_.loggingEnabled,n.fpr_log_source?t.logSource=Number(n.fpr_log_source):_.logSource&&(t.logSource=_.logSource),n.fpr_log_endpoint_url?t.logEndPointUrl=n.fpr_log_endpoint_url:_.logEndPointUrl&&(t.logEndPointUrl=_.logEndPointUrl),n.fpr_log_transport_key?t.transportKey=n.fpr_log_transport_key:_.transportKey&&(t.transportKey=_.transportKey),n.fpr_vc_network_request_sampling_rate!==void 0?t.networkRequestsSamplingRate=Number(n.fpr_vc_network_request_sampling_rate):_.networkRequestsSamplingRate!==void 0&&(t.networkRequestsSamplingRate=_.networkRequestsSamplingRate),n.fpr_vc_trace_sampling_rate!==void 0?t.tracesSamplingRate=Number(n.fpr_vc_trace_sampling_rate):_.tracesSamplingRate!==void 0&&(t.tracesSamplingRate=_.tracesSamplingRate),t.logTraceAfterSampling=ot(t.tracesSamplingRate),t.logNetworkAfterSampling=ot(t.networkRequestsSamplingRate),e}function us(e){return Number(e)>Date.now()}function ot(e){return Math.random()<=e}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/let ke=1,ue;function on(e){return ke=2,ue=ue||fs(e),ue}function ds(){return ke===3}function fs(e){return hs().then(()=>qa(e.installations)).then(t=>as(e,t)).then(()=>ct(),()=>ct())}function hs(){const e=f.getInstance().document;return new Promise(t=>{if(e&&e.readyState!=="complete"){const n=()=>{e.readyState==="complete"&&(e.removeEventListener("readystatechange",n),t())};e.addEventListener("readystatechange",n)}else t()})}function ct(){ke=3}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Fe=10*1e3,ps=5.5*1e3,cn=3,ms=1e3;let K=cn,D=[],lt=!1;function gs(){lt||(J(ps),lt=!0)}function J(e){setTimeout(()=>{if(K!==0){if(!D.length)return J(Fe);bs()}},e)}function bs(){const e=D.splice(0,ms),t=e.map(r=>({source_extension_json_proto3:r.message,event_time_ms:String(r.eventTime)})),n={request_time_ms:String(Date.now()),client_info:{client_type:1,js_client_info:{}},log_source:I.getInstance().logSource,log_event:t};Is(n,e).catch(()=>{D=[...e,...D],K--,w.info(`Tries left: ${K}.`),J(Fe)})}function Is(e,t){return ys(e).then(n=>(n.ok||w.info("Call to Firebase backend failed."),n.json())).then(n=>{const r=Number(n.nextRequestWaitMillis);let i=Fe;isNaN(r)||(i=Math.max(r,i));const a=n.logResponseDetails;Array.isArray(a)&&a.length>0&&a[0].responseAction==="RETRY_REQUEST_LATER"&&(D=[...t,...D],w.info("Retry transport request later.")),K=cn,J(i)})}function ys(e){const t=I.getInstance().getFlTransportFullUrl();return fetch(t,{method:"POST",body:JSON.stringify(e)})}function _s(e){if(!e.eventTime||!e.message)throw p.create("invalid cc log");D=[...D,e]}function Es(e){return(...t)=>{const n=e(...t);_s({message:n,eventTime:Date.now()})}}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/let de;function ln(e,t){de||(de=Es(Ts)),de(e,t)}function H(e){const t=I.getInstance();!t.instrumentationEnabled&&e.isAuto||!t.dataCollectionEnabled&&!e.isAuto||f.getInstance().requiredApisAvailable()&&(e.isAuto&&an()!==F.VISIBLE||(ds()?fe(e):on(e.performanceController).then(()=>fe(e),()=>fe(e))))}function fe(e){if(!$e())return;const t=I.getInstance();!t.loggingEnabled||!t.logTraceAfterSampling||setTimeout(()=>ln(e,1),0)}function ws(e){const t=I.getInstance();if(!t.instrumentationEnabled)return;const n=e.url,r=t.logEndPointUrl.split("?")[0],i=t.flTransportEndpointUrl.split("?")[0];n===r||n===i||!t.loggingEnabled||!t.logNetworkAfterSampling||setTimeout(()=>ln(e,0),0)}function Ts(e,t){return t===0?vs(e):As(e)}function vs(e){const t={url:e.url,http_method:e.httpMethod||0,http_response_code:200,response_payload_bytes:e.responsePayloadBytes,client_start_time_us:e.startTimeUs,time_to_response_initiated_us:e.timeToResponseInitiatedUs,time_to_response_completed_us:e.timeToResponseCompletedUs},n={application_info:un(e.performanceController.app),network_request_metric:t};return JSON.stringify(n)}function As(e){const t={name:e.name,is_auto:e.isAuto,client_start_time_us:e.startTimeUs,duration_us:e.durationUs};Object.keys(e.counters).length!==0&&(t.counters=e.counters);const n=e.getAttributes();Object.keys(n).length!==0&&(t.custom_attributes=n);const r={application_info:un(e.performanceController.app),trace_metric:t};return JSON.stringify(r)}function un(e){return{google_app_id:sn(e),app_instance_id:$e(),web_app_info:{sdk_version:Kt,page_url:f.getInstance().getUrl(),service_worker_status:Ja(),visibility_state:an(),effective_connection_type:Qa()},application_process_state:0}}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ss=100,Cs="_",Ds=[Yt,Jt,Qt];function Rs(e,t){return e.length===0||e.length>Ss?!1:t&&t.startsWith(Xt)&&Ds.indexOf(e)>-1||!e.startsWith(Cs)}function Ms(e){const t=Math.floor(e);return t<e&&w.info(`Metric value should be an Integer, setting the value as : ${t}.`),t}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class O{constructor(t,n,r=!1,i){this.performanceController=t,this.name=n,this.isAuto=r,this.state=1,this.customAttributes={},this.counters={},this.api=f.getInstance(),this.randomId=Math.floor(Math.random()*1e6),this.isAuto||(this.traceStartMark=`${xa}-${this.randomId}-${this.name}`,this.traceStopMark=`${ja}-${this.randomId}-${this.name}`,this.traceMeasure=i||`${Te}-${this.randomId}-${this.name}`,i&&this.calculateTraceMetrics())}start(){if(this.state!==1)throw p.create("trace started",{traceName:this.name});this.api.mark(this.traceStartMark),this.state=2}stop(){if(this.state!==2)throw p.create("trace stopped",{traceName:this.name});this.state=3,this.api.mark(this.traceStopMark),this.api.measure(this.traceMeasure,this.traceStartMark,this.traceStopMark),this.calculateTraceMetrics(),H(this)}record(t,n,r){if(t<=0)throw p.create("nonpositive trace startTime",{traceName:this.name});if(n<=0)throw p.create("nonpositive trace duration",{traceName:this.name});if(this.durationUs=Math.floor(n*1e3),this.startTimeUs=Math.floor(t*1e3),r&&r.attributes&&(this.customAttributes=Object.assign({},r.attributes)),r&&r.metrics)for(const i of Object.keys(r.metrics))isNaN(Number(r.metrics[i]))||(this.counters[i]=Math.floor(Number(r.metrics[i])));H(this)}incrementMetric(t,n=1){this.counters[t]===void 0?this.putMetric(t,n):this.putMetric(t,this.counters[t]+n)}putMetric(t,n){if(Rs(t,this.name))this.counters[t]=Ms(n??0);else throw p.create("invalid custom metric name",{customMetricName:t})}getMetric(t){return this.counters[t]||0}putAttribute(t,n){const r=Za(t),i=es(n);if(r&&i){this.customAttributes[t]=n;return}if(!r)throw p.create("invalid attribute name",{attributeName:t});if(!i)throw p.create("invalid attribute value",{attributeValue:n})}getAttribute(t){return this.customAttributes[t]}removeAttribute(t){this.customAttributes[t]!==void 0&&delete this.customAttributes[t]}getAttributes(){return Object.assign({},this.customAttributes)}setStartTime(t){this.startTimeUs=t}setDuration(t){this.durationUs=t}calculateTraceMetrics(){const t=this.api.getEntriesByName(this.traceMeasure),n=t&&t[0];n&&(this.durationUs=Math.floor(n.duration*1e3),this.startTimeUs=Math.floor((n.startTime+this.api.getTimeOrigin())*1e3))}static createOobTrace(t,n,r,i){const a=f.getInstance().getUrl();if(!a)return;const s=new O(t,Xt+a,!0),o=Math.floor(f.getInstance().getTimeOrigin()*1e3);s.setStartTime(o),n&&n[0]&&(s.setDuration(Math.floor(n[0].duration*1e3)),s.putMetric("domInteractive",Math.floor(n[0].domInteractive*1e3)),s.putMetric("domContentLoadedEventEnd",Math.floor(n[0].domContentLoadedEventEnd*1e3)),s.putMetric("loadEventEnd",Math.floor(n[0].loadEventEnd*1e3)));const c="first-paint",l="first-contentful-paint";if(r){const d=r.find(g=>g.name===c);d&&d.startTime&&s.putMetric(Yt,Math.floor(d.startTime*1e3));const h=r.find(g=>g.name===l);h&&h.startTime&&s.putMetric(Jt,Math.floor(h.startTime*1e3)),i&&s.putMetric(Qt,Math.floor(i*1e3))}H(s)}static createUserTimingTrace(t,n){const r=new O(t,n,!1,n);H(r)}}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/function ut(e,t){const n=t;if(!n||n.responseStart===void 0)return;const r=f.getInstance().getTimeOrigin(),i=Math.floor((n.startTime+r)*1e3),a=n.responseStart?Math.floor((n.responseStart-n.startTime)*1e3):void 0,s=Math.floor((n.responseEnd-n.startTime)*1e3),o=n.name&&n.name.split("?")[0],c={performanceController:e,url:o,responsePayloadBytes:n.transferSize,startTimeUs:i,timeToResponseInitiatedUs:a,timeToResponseCompletedUs:s};ws(c)}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/const Ns=5e3;function dt(e){$e()&&(setTimeout(()=>Ps(e),0),setTimeout(()=>Os(e),0),setTimeout(()=>Bs(e),0))}function Os(e){const t=f.getInstance(),n=t.getEntriesByType("resource");for(const r of n)ut(e,r);t.setupObserver("resource",r=>ut(e,r))}function Ps(e){const t=f.getInstance(),n=t.getEntriesByType("navigation"),r=t.getEntriesByType("paint");if(t.onFirstInputDelay){let i=setTimeout(()=>{O.createOobTrace(e,n,r),i=void 0},Ns);t.onFirstInputDelay(a=>{i&&(clearTimeout(i),O.createOobTrace(e,n,r,a))})}else O.createOobTrace(e,n,r)}function Bs(e){const t=f.getInstance(),n=t.getEntriesByType("measure");for(const r of n)ft(e,r);t.setupObserver("measure",r=>ft(e,r))}function ft(e,t){const n=t.name;n.substring(0,Te.length)!==Te&&O.createUserTimingTrace(e,n)}/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/class $s{constructor(t,n){this.app=t,this.installations=n,this.initialized=!1}_init(t){this.initialized||((t==null?void 0:t.dataCollectionEnabled)!==void 0&&(this.dataCollectionEnabled=t.dataCollectionEnabled),(t==null?void 0:t.instrumentationEnabled)!==void 0&&(this.instrumentationEnabled=t.instrumentationEnabled),f.getInstance().requiredApisAvailable()?Ae().then(n=>{n&&(gs(),on(this).then(()=>dt(this),()=>dt(this)),this.initialized=!0)}).catch(n=>{w.info(`Environment doesn't support IndexedDB: ${n}`)}):w.info('Firebase Performance cannot start if the browser does not support "Fetch" and "Promise", or cookies are disabled.'))}set instrumentationEnabled(t){I.getInstance().instrumentationEnabled=t}get instrumentationEnabled(){return I.getInstance().instrumentationEnabled}set dataCollectionEnabled(t){I.getInstance().dataCollectionEnabled=t}get dataCollectionEnabled(){return I.getInstance().dataCollectionEnabled}}const ks="[DEFAULT]";function Fs(e=Et()){return e=Se(e),V(e,"performance").getImmediate()}const Ls=(e,{options:t})=>{const n=e.getProvider("app").getImmediate(),r=e.getProvider("installations-internal").getImmediate();if(n.name!==ks)throw p.create("FB not default");if(typeof window>"u")throw p.create("no window");za(window);const i=new $s(n,r);return i._init(t),i};function Us(){R(new v("performance",Ls,"PUBLIC")),E(it,we),E(it,we,"esm2017")}Us();const xs=e=>(In("data-v-fd8ce0a8"),e=e(),yn(),e),js=xs(()=>T("div",{"data-v-98ddab3d":"","data-v-8f7cd5e4":"",class:"VPContent",id:"VPContent"},[T("div",{"data-v-6c4a3ffe":"","data-v-98ddab3d":"",class:"NotFound"},[T("img",{src:"https://rust.coldmint.top/ftp/ling/cdnpng/logo.png",alt:"",class:"notfound-img"}),T("p",{"data-v-6c4a3ffe":"",class:"code"},"404"),T("h1",{"data-v-6c4a3ffe":"",class:"title"}," 你干嘛~,这里什么都没有! "),T("div",{"data-v-6c4a3ffe":"",class:"divider"}),T("blockquote",{"data-v-6c4a3ffe":"",class:"quote"}," 你寻找的页面可能不存在或被迁移…… "),T("div",{"data-v-6c4a3ffe":"",class:"action"},[T("a",{"data-v-6c4a3ffe":"",class:"link",href:"/","aria-label":"go to home"}," 返回主页 ")])])],-1)),Vs={__name:"NotFound",setup(e){const{Layout:t}=ht;return(n,r)=>(pn(),mn(bn(t),null,{"not-found":gn(()=>[js]),_:1}))}},Hs=hn(Vs,[["__scopeId","data-v-fd8ce0a8"]]),zs=()=>{const t=_t({apiKey:"AIzaSyANVvapu0ihi1cM8ZzuXTkwjx9lM_J1RyQ",authDomain:"rw-api-code-d0779.firebaseapp.com",projectId:"rw-api-code-d0779",storageBucket:"rw-api-code-d0779.appspot.com",messagingSenderId:"363611843335",appId:"1:363611843335:web:f15aef7ab427f52b4033a2",measurementId:"G-XJH5TKP5VL"});return ka(t),Fs(t),"Firebase initialized successfully"};(async function(){try{const e=await zs();console.log(e)}catch(e){console.error(e)}})();function qs(e){return new Promise(t=>setTimeout(t,e))}async function Ws(){try{await navigator.permissions.query({name:"clipboard-write"})}catch(e){console.error(e)}}async function Gs(){try{await qs(1e3);const e=document.getElementsByClassName("copy");for(let t=0;t<e.length;t++){const n=e[t];n.addEventListener("touchend",async()=>{await Ws();const a=[...n.parentNode.querySelector("code").querySelectorAll("span")],s=[...new Set(a.map(o=>o.textContent))].join("");try{await navigator.clipboard.writeText(s)}catch{const c=document.createElement("textarea");c.value=s,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c)}})}}catch(e){console.error(e)}}Gs();const Ks={...ht,Layout:Hs};function dn(e){if(e.extends){const t=dn(e.extends);return{...t,...e,async enhanceApp(n){t.enhanceApp&&await t.enhanceApp(n),e.enhanceApp&&await e.enhanceApp(n)}}}return e}const L=dn(Ks),Xs=_n({name:"VitePressApp",setup(){const{site:e}=wn();return Tn(()=>{vn(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),An(),Sn(),Cn(),L.setup&&L.setup(),()=>Dn(L.Layout)}});async function Ys(){const e=Qs(),t=Js();t.provide(Rn,e);const n=Mn(e.route);return t.provide(Nn,n),t.component("Content",On),t.component("ClientOnly",Pn),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return n.frontmatter.value}},$params:{get(){return n.page.value.params}}}),L.enhanceApp&&await L.enhanceApp({app:t,router:e,siteData:Bn}),{app:t,router:e,data:n}}function Js(){return $n(Xs)}function Qs(){let e=he,t;return kn(n=>{let r=Fn(n);return e&&(t=r),(e||t===r)&&(r=r.replace(/\.js$/,".lean.js")),he&&(e=!1),Ln(()=>import(r),[])},L.NotFound)}he&&Ys().then(({app:e,router:t,data:n})=>{t.go().then(()=>{En(t.route,n.site),e.mount("#app")})});export{Ys 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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as t,c as a,o as s,V as r}from"./chunks/framework.fcc0bf38.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"cos.md","filePath":"cos.md"}'),e={name:"cos.md"},b=r('<h3 id="站点开发贡献者-截止到2023-8-22" tabindex="-1">站点开发贡献者-截止到2023-8-22 <a class="header-anchor" href="#站点开发贡献者-截止到2023-8-22" aria-label="Permalink to &quot;站点开发贡献者-截止到2023-8-22&quot;"></a></h3><table><tr><td align="center"><a href="https://github.com/shishanyue"><img src="https://avatars.githubusercontent.com/u/62888460?v=4" width="100;" alt="shishanyue"><br><sub><b>Shishanyue</b></sub><br>RWE作者 <br>第一深度 </a></td><td align="center"><a href="https://github.com/LingASDJ"><img src="https://avatars.githubusercontent.com/u/70191651?v=4" width="100;" alt="LingASDJ"><br><sub><b>JDSA Ling</b></sub><br>站长 </a></td><td align="center"><a href="https://github.com/tobby3600"><img src="https://avatars.githubusercontent.com/u/79432329?v=4" width="100;" alt="tobby3600"><br><sub><b>Tobby</b></sub><br>逻辑组 </a></td><td align="center"><a href="https://github.com/mason369"><img src="https://avatars.githubusercontent.com/u/93964390?v=4" width="100;" alt="mason369"><br><sub><b>Mason</b></sub><br>技术支持 <br>副站长 </a></td><td align="center"><a href="https://github.com/liusxs"><img src="https://avatars.githubusercontent.com/u/101164913?v=4" width="100;" alt="liusxs"><br><sub><b>Liuliu</b></sub><br>布局优化 <br>副站长 </a></td><td align="center"><a href="https://github.com/allureluoli"><img src="https://avatars.githubusercontent.com/u/106828088?v=4" width="100;" alt="allureluoli"><br><sub><b>二月</b></sub><br>图像组 <br>二月可爱捏 </a></td></tr><tr><td align="center"><a href="https://github.com/WisenextTime"><img src="https://avatars.githubusercontent.com/u/141509640?v=4" width="100;" alt="WisenextTime"><br><sub><b>作业中毒</b></sub><br>刷兵运动组 <br>催逝员 </a></td><td align="center"><a href="https://github.com/Thisisafox"><img src="https://avatars.githubusercontent.com/u/141534430?v=4" width="100;" alt="Thisisafox"><br><sub><b>屑狐狸</b></sub><br>附属攻击组 <br>大聪明 </a></td><td align="center"><a href="#"><img src="https://avatars.githubusercontent.com/in/29110?s=64&amp;v=4" width="100;" alt="Thisisafox"><br><sub><b>???</b></sub><br>更多贡献者 <br>等待你的到来 </a></td></tr></table>',2),i=[b];function h(u,c,n,o,l,d){return s(),a("div",null,i)}const p=t(e,[["render",h]]);export{g as __pageData,p as default};

View File

@ -0,0 +1 @@
import{_ as t,c as a,o as s,V as r}from"./chunks/framework.fcc0bf38.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"cos.md","filePath":"cos.md"}'),e={name:"cos.md"},b=r("",2),i=[b];function h(u,c,n,o,l,d){return s(),a("div",null,i)}const p=t(e,[["render",h]]);export{g as __pageData,p as default};

View File

@ -0,0 +1 @@
import{_ as t,c as e,o as n}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","action":null,"hero":{"name":"铁锈战争-API-Code","text":"轻松编码,轻松学习","tagline":"学习Mod,制作Mod,创新Mod","image":{"src":"https://rust.coldmint.top/ftp/ling/cdnpng/logo.png","alt":"RW-API-Code"},"actions":[{"theme":"alt","text":"编写指南","link":"/api-dev"},{"theme":"brand","text":"Github","link":"https://github.com/LingASDJ/RW-API-Code"}]},"features":[{"title":"单位代码表","details":"学习最基础的铁锈单位API-Code","link":"/src/Unit/core","linkText":"让我们立刻开始吧!"},{"title":"地图代码表","details":"学习铁锈的地图TMX代码表","linkText":"让我们立刻开始吧![开发中]"},{"title":"调试代码表","details":"学习铁锈的高级调试代码表(仅Android)","linkText":"让我们立刻开始吧![开发中]"},{"title":"RW-Engine指南","details":"学习铁锈Mod RW-Engine的使用(仅Android)","link":"/src/RW-Engine/quick-start","linkText":"让我们立刻开始吧![开发中]"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(a,d,l,r,s,c){return n(),e("div")}const x=t(i,[["render",o]]);export{m as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as t,c as e,o as n}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","action":null,"hero":{"name":"铁锈战争-API-Code","text":"轻松编码,轻松学习","tagline":"学习Mod,制作Mod,创新Mod","image":{"src":"https://rust.coldmint.top/ftp/ling/cdnpng/logo.png","alt":"RW-API-Code"},"actions":[{"theme":"alt","text":"编写指南","link":"/api-dev"},{"theme":"brand","text":"Github","link":"https://github.com/LingASDJ/RW-API-Code"}]},"features":[{"title":"单位代码表","details":"学习最基础的铁锈单位API-Code","link":"/src/Unit/core","linkText":"让我们立刻开始吧!"},{"title":"地图代码表","details":"学习铁锈的地图TMX代码表","linkText":"让我们立刻开始吧![开发中]"},{"title":"调试代码表","details":"学习铁锈的高级调试代码表(仅Android)","linkText":"让我们立刻开始吧![开发中]"},{"title":"RW-Engine指南","details":"学习铁锈Mod RW-Engine的使用(仅Android)","link":"/src/RW-Engine/quick-start","linkText":"让我们立刻开始吧![开发中]"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(a,d,l,r,s,c){return n(),e("div")}const x=t(i,[["render",o]]);export{m as __pageData,x as default};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

View File

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

View File

@ -0,0 +1 @@
import{_ as a,c as t,o as e}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Map/tsada.md","filePath":"src/Map/tsada.md"}'),s={name:"src/Map/tsada.md"};function r(c,o,n,d,p,_){return e(),t("div")}const f=a(s,[["render",r]]);export{m as __pageData,f as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,o as e}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"src/Map/tsada.md","filePath":"src/Map/tsada.md"}'),s={name:"src/Map/tsada.md"};function r(c,o,n,d,p,_){return e(),t("div")}const f=a(s,[["render",r]]);export{m as __pageData,f as default};

View File

@ -0,0 +1,31 @@
import{_ as n,c as e,o as s,V as a}from"./chunks/framework.fcc0bf38.js";const q=JSON.parse('{"title":"QuickStart","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/RW-Engine/quick-start.md","filePath":"src/RW-Engine/quick-start.md"}'),t={name:"src/RW-Engine/quick-start.md"},o=a(`<h1 id="quickstart" tabindex="-1"><strong>QuickStart</strong> <a class="header-anchor" href="#quickstart" aria-label="Permalink to &quot;**QuickStart**&quot;"></a></h1><h2 id="一-安装rw-engine" tabindex="-1">一.安装RW-Engine <a class="header-anchor" href="#一-安装rw-engine" aria-label="Permalink to &quot;一.安装RW-Engine&quot;"></a></h2><h3 id="下载rw-engine" tabindex="-1">下载RW-Engine <a class="header-anchor" href="#下载rw-engine" aria-label="Permalink to &quot;下载RW-Engine&quot;"></a></h3><pre><code>蓝奏云:
</code></pre><h3 id="rw-engine" tabindex="-1">RW-Engine <a class="header-anchor" href="#rw-engine" aria-label="Permalink to &quot;RW-Engine&quot;"></a></h3><pre><code>ZIPRW_Enginemod
文件结构
---units
---你的mod1
---RW_Engine
---mod-info.txt
---.........
---你的mod2
</code></pre><h2 id="-使rw-engine" tabindex="-1">.使RW-Engine <a class="header-anchor" href="#-使rw-engine" aria-label="Permalink to &quot;.使RW-Engine&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>commonCallBack</p></div><h3 id="linetextview-" tabindex="-1">LineTextView- <a class="header-anchor" href="#linetextview-" aria-label="Permalink to &quot;LineTextView-&quot;"></a></h3><div class="info custom-block"><p class="custom-block-title">INFO</p><p> 1.setText <br> Data: (&quot;text&quot;,type=&quot;string&quot;) <br> <br> 2.setTextMax <br> Data: (&quot;textMax&quot;,type=&quot;number&quot;) <br> <br> 3.setTextColor <br> Data: (&quot;commonHeadLength&quot;,type=&quot;number&quot;) (&quot;indexStart&quot;,type=&quot;number&quot;) (&quot;indexEnd&quot;,type=&quot;number&quot;) (&quot;color&quot;,type=&quot;number&quot;) <br> <br> 4.setTextScale <br> Data: (&quot;textScale&quot;,type=&quot;number&quot;) <br> </p></div><h3 id="linetextview-使" tabindex="-1">LineTextView-使 <a class="header-anchor" href="#linetextview-使" aria-label="Permalink to &quot;LineTextView-使&quot;"></a></h3><p>LineTextViewRW-Engine <br> ini <br> 使LineTextView <br> spawnUnitsLineTextView <br> LineTextView <br> copyFormini <br></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p></p></div><br><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;">@memory LTVSystem:unit</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[hiddenAction_created]</span></span>
<span class="line"><span style="color:#A6ACCD;">autoTriggerOnEvent:created</span></span>
<span class="line"><span style="color:#A6ACCD;">resetCustomTimer:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#创建文本框</span></span>
<span class="line"><span style="color:#A6ACCD;">spawnUnits:LineTextViewSystem</span></span>
<span class="line"></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#文本框会自动发送tag为addLTVSystemToEpoll给该单位</span></span>
<span class="line"><span style="color:#89DDFF;">[hiddenAction_addLTVSystemToEpoll]</span></span>
<span class="line"><span style="color:#A6ACCD;">autoTriggerOnEvent:newMessage(</span><span style="color:#F07178;">withTag</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">addLTVSystemToEpoll</span><span style="color:#89DDFF;">&quot;</span><span style="color:#A6ACCD;">)</span></span>
<span class="line"><span style="color:#A6ACCD;">setUnitMemory:</span><span style="color:#F07178;">LTVSystem</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;"> eventSource</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[action_setTextTest]</span></span>
<span class="line"><span style="color:#A6ACCD;">text:setText</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisible:true</span></span>
<span class="line"><span style="color:#A6ACCD;">sendMessageTo:memory.LTVSystem</span></span>
<span class="line"><span style="color:#A6ACCD;">sendMessageWithTags:setText</span></span>
<span class="line"><span style="color:#A6ACCD;">sendMessageWithData:</span><span style="color:#F07178;">text</span><span style="color:#89DDFF;">=</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">B</span><span style="color:#89DDFF;">&quot;</span></span></code></pre></div>`,15),l=[o];function i(r,p,c,u,d,y){return s(),e("div",null,l)}const h=n(t,[["render",i]]);export{q as __pageData,h as default};

View File

@ -0,0 +1 @@
import{_ as n,c as e,o as s,V as a}from"./chunks/framework.fcc0bf38.js";const q=JSON.parse('{"title":"QuickStart","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/RW-Engine/quick-start.md","filePath":"src/RW-Engine/quick-start.md"}'),t={name:"src/RW-Engine/quick-start.md"},o=a("",15),l=[o];function i(r,p,c,u,d,y){return s(),e("div",null,l)}const h=n(t,[["render",i]]);export{q as __pageData,h as default};

View File

@ -0,0 +1,37 @@
import{_ as a,c as e,o as t,V as n}from"./chunks/framework.fcc0bf38.js";const b=JSON.parse('{"title":"[attachment]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attachment.md","filePath":"src/Unit/attachment.md"}'),i={name:"src/Unit/attachment.md"},o=n(`<h1 id="attachment-组" tabindex="-1"><strong>[attachment]组</strong> <a class="header-anchor" href="#attachment-组" aria-label="Permalink to &quot;**[attachment]组**&quot;"></a></h1><h2 id="第一类-附属代码组" tabindex="-1">第一类-附属代码组 <a class="header-anchor" href="#第一类-附属代码组" aria-label="Permalink to &quot;第一类-附属代码组&quot;"></a></h2><h3 id="x-y" tabindex="-1">x/y <a class="header-anchor" href="#x-y" aria-label="Permalink to &quot;x/y&quot;"></a></h3><h4 id="x-y-代码简介" tabindex="-1">x/y-代码简介 <a class="header-anchor" href="#x-y-代码简介" aria-label="Permalink to &quot;x/y-代码简介&quot;"></a></h4><p>代码:x/y 中文释义:x坐标/y坐标 类型:逻辑布尔值LogicBoolean 隶属于:附属代码组</p><h4 id="x-y-要点指示" tabindex="-1">x/y-要点指示 <a class="header-anchor" href="#x-y-要点指示" aria-label="Permalink to &quot;x/y-要点指示&quot;"></a></h4><p>相对主体单位的x偏移坐标/y偏移坐标</p><h4 id="x-y-演示例子" tabindex="-1">x/y-演示例子 <a class="header-anchor" href="#x-y-演示例子" aria-label="Permalink to &quot;x/y-演示例子&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">x:10</span></span>
<span class="line"><span style="color:#A6ACCD;">y:10</span></span></code></pre></div><hr><h3 id="height" tabindex="-1">height <a class="header-anchor" href="#height" aria-label="Permalink to &quot;height&quot;"></a></h3><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&quot;"></a></h4><p>:height : :float :</p><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&quot;"></a></h4><p></p><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">height:10.5</span></span></code></pre></div><hr><h3 id="idledir" tabindex="-1">idleDir <a class="header-anchor" href="#idledir" aria-label="Permalink to &quot;idleDir&quot;"></a></h3><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&quot;"></a></h4><p>:idleDir : :float :</p><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&quot;"></a></h4><p></p><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleDir:45</span></span></code></pre></div><hr><h3 id="idledirreversing" tabindex="-1">idleDirReversing <a class="header-anchor" href="#idledirreversing" aria-label="Permalink to &quot;idleDirReversing&quot;"></a></h3><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&quot;"></a></h4><p>:idleDirReversing : :bool :</p><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&quot;"></a></h4><p></p><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleDirReversing:true</span></span></code></pre></div><hr><h3 id="isvisible" tabindex="-1">isVisible <a class="header-anchor" href="#isvisible" aria-label="Permalink to &quot;isVisible&quot;"></a></h3><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p>:isVisible : :LogicBoolean :</p><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p>false</p><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisible:if self.hp&gt;=100</span></span></code></pre></div><hr><h3 id="hidden" tabindex="-1">hidden <a class="header-anchor" href="#hidden" aria-label="Permalink to &quot;hidden&quot;"></a></h3><h4 id="hidden-" tabindex="-1">hidden- <a class="header-anchor" href="#hidden-" aria-label="Permalink to &quot;hidden-&quot;"></a></h4><p>:hidden : :bool :</p><h4 id="hidden-" tabindex="-1">hidden- <a class="header-anchor" href="#hidden-" aria-label="Permalink to &quot;hidden-&quot;"></a></h4><p></p><h4 id="hidden-" tabindex="-1">hidden- <a class="header-anchor" href="#hidden-" aria-label="Permalink to &quot;hidden-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">hidden:true</span></span></code></pre></div><hr><h3 id="oncreatespawnunitof" tabindex="-1">onCreateSpawnUnitOf <a class="header-anchor" href="#oncreatespawnunitof" aria-label="Permalink to &quot;onCreateSpawnUnitOf&quot;"></a></h3><h4 id="oncreatespawnunitof-" tabindex="-1">onCreateSpawnUnitOf- <a class="header-anchor" href="#oncreatespawnunitof-" aria-label="Permalink to &quot;onCreateSpawnUnitOf-&quot;"></a></h4><p>:onCreateSpawnUnitOf : :unit :</p><h4 id="oncreatespawnunitof-" tabindex="-1">onCreateSpawnUnitOf- <a class="header-anchor" href="#oncreatespawnunitof-" aria-label="Permalink to &quot;onCreateSpawnUnitOf-&quot;"></a></h4><p></p><h4 id="oncreatespawnunitof-" tabindex="-1">onCreateSpawnUnitOf- <a class="header-anchor" href="#oncreatespawnunitof-" aria-label="Permalink to &quot;onCreateSpawnUnitOf-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onCreateSpawnUnitOf:tank</span></span></code></pre></div><hr><h3 id="canbeattackedanddamaged" tabindex="-1">canBeAttackedAndDamaged <a class="header-anchor" href="#canbeattackedanddamaged" aria-label="Permalink to &quot;canBeAttackedAndDamaged&quot;"></a></h3><h4 id="canbeattackedanddamaged-" tabindex="-1">canBeAttackedAndDamaged- <a class="header-anchor" href="#canbeattackedanddamaged-" aria-label="Permalink to &quot;canBeAttackedAndDamaged-&quot;"></a></h4><p>:canBeAttackedAndDamaged : :bool :</p><h4 id="canbeattackedanddamaged-" tabindex="-1">canBeAttackedAndDamaged- <a class="header-anchor" href="#canbeattackedanddamaged-" aria-label="Permalink to &quot;canBeAttackedAndDamaged-&quot;"></a></h4><p></p><h4 id="canbeattackedanddamaged-" tabindex="-1">canBeAttackedAndDamaged- <a class="header-anchor" href="#canbeattackedanddamaged-" aria-label="Permalink to &quot;canBeAttackedAndDamaged-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canBeAttackedAndDamaged:true</span></span></code></pre></div><hr><h3 id="isunselectable" tabindex="-1">isUnselectable <a class="header-anchor" href="#isunselectable" aria-label="Permalink to &quot;isUnselectable&quot;"></a></h3><h4 id="isunselectable-" tabindex="-1">isUnselectable- <a class="header-anchor" href="#isunselectable-" aria-label="Permalink to &quot;isUnselectable-&quot;"></a></h4><p>:isUnselectable : :bool :</p><h4 id="isunselectable-" tabindex="-1">isUnselectable- <a class="header-anchor" href="#isunselectable-" aria-label="Permalink to &quot;isUnselectable-&quot;"></a></h4><p></p><h4 id="isunselectable-" tabindex="-1">isUnselectable- <a class="header-anchor" href="#isunselectable-" aria-label="Permalink to &quot;isUnselectable-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">isUnselectable:true</span></span></code></pre></div><hr><h3 id="isunselectableastarget" tabindex="-1">isUnselectableAsTarget <a class="header-anchor" href="#isunselectableastarget" aria-label="Permalink to &quot;isUnselectableAsTarget&quot;"></a></h3><h4 id="isunselectableastarget-" tabindex="-1">isUnselectableAsTarget- <a class="header-anchor" href="#isunselectableastarget-" aria-label="Permalink to &quot;isUnselectableAsTarget-&quot;"></a></h4><p>:isUnselectableAsTarget : :bool :</p><h4 id="isunselectableastarget-" tabindex="-1">isUnselectableAsTarget- <a class="header-anchor" href="#isunselectableastarget-" aria-label="Permalink to &quot;isUnselectableAsTarget-&quot;"></a></h4><p></p><h4 id="isunselectableastarget-" tabindex="-1">isUnselectableAsTarget- <a class="header-anchor" href="#isunselectableastarget-" aria-label="Permalink to &quot;isUnselectableAsTarget-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">isUnselectableAsTarget:true</span></span></code></pre></div><hr><h3 id="locklegmovement" tabindex="-1">lockLegMovement <a class="header-anchor" href="#locklegmovement" aria-label="Permalink to &quot;lockLegMovement&quot;"></a></h3><h4 id="locklegmovement-" tabindex="-1">lockLegMovement- <a class="header-anchor" href="#locklegmovement-" aria-label="Permalink to &quot;lockLegMovement-&quot;"></a></h4><p>:lockLegMovement : :bool :</p><h4 id="locklegmovement-" tabindex="-1">lockLegMovement- <a class="header-anchor" href="#locklegmovement-" aria-label="Permalink to &quot;lockLegMovement-&quot;"></a></h4><p></p><h4 id="locklegmovement-" tabindex="-1">lockLegMovement- <a class="header-anchor" href="#locklegmovement-" aria-label="Permalink to &quot;lockLegMovement-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">lockLegMovement:true</span></span></code></pre></div><hr><h3 id="freezelegmovement" tabindex="-1">freezeLegMovement <a class="header-anchor" href="#freezelegmovement" aria-label="Permalink to &quot;freezeLegMovement&quot;"></a></h3><h4 id="freezelegmovement-" tabindex="-1">freezeLegMovement- <a class="header-anchor" href="#freezelegmovement-" aria-label="Permalink to &quot;freezeLegMovement-&quot;"></a></h4><p>:freezeLegMovement : :bool :</p><h4 id="freezelegmovement-" tabindex="-1">freezeLegMovement- <a class="header-anchor" href="#freezelegmovement-" aria-label="Permalink to &quot;freezeLegMovement-&quot;"></a></h4><p></p><h4 id="freezelegmovement-" tabindex="-1">freezeLegMovement- <a class="header-anchor" href="#freezelegmovement-" aria-label="Permalink to &quot;freezeLegMovement-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">freezeLegMovement:true</span></span></code></pre></div><hr><h3 id="hidehp" tabindex="-1">hideHp <a class="header-anchor" href="#hidehp" aria-label="Permalink to &quot;hideHp&quot;"></a></h3><h4 id="hidehp-" tabindex="-1">hideHp- <a class="header-anchor" href="#hidehp-" aria-label="Permalink to &quot;hideHp-&quot;"></a></h4><p>:hideHp : :bool :</p><h4 id="hidehp-" tabindex="-1">hideHp- <a class="header-anchor" href="#hidehp-" aria-label="Permalink to &quot;hideHp-&quot;"></a></h4><p></p><h4 id="hidehp-" tabindex="-1">hideHp- <a class="header-anchor" href="#hidehp-" aria-label="Permalink to &quot;hideHp-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">hideHp:true</span></span></code></pre></div><hr><h3 id="showminihp" tabindex="-1">showMiniHp <a class="header-anchor" href="#showminihp" aria-label="Permalink to &quot;showMiniHp&quot;"></a></h3><h4 id="showminihp-" tabindex="-1">showMiniHp- <a class="header-anchor" href="#showminihp-" aria-label="Permalink to &quot;showMiniHp-&quot;"></a></h4><p>:showMiniHp : :bool :</p><h4 id="showminihp-" tabindex="-1">showMiniHp- <a class="header-anchor" href="#showminihp-" aria-label="Permalink to &quot;showMiniHp-&quot;"></a></h4><p> hideHp:truefalse</p><h4 id="showminihp-" tabindex="-1">showMiniHp- <a class="header-anchor" href="#showminihp-" aria-label="Permalink to &quot;showMiniHp-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">showMiniHp:true</span></span></code></pre></div><hr><h3 id="keepalivewhenparentdies" tabindex="-1">keepAliveWhenParentDies <a class="header-anchor" href="#keepalivewhenparentdies" aria-label="Permalink to &quot;keepAliveWhenParentDies&quot;"></a></h3><h4 id="keepalivewhenparentdies-" tabindex="-1">keepAliveWhenParentDies- <a class="header-anchor" href="#keepalivewhenparentdies-" aria-label="Permalink to &quot;keepAliveWhenParentDies-&quot;"></a></h4><p>:keepAliveWhenParentDies : :bool :</p><h4 id="keepalivewhenparentdies-" tabindex="-1">keepAliveWhenParentDies- <a class="header-anchor" href="#keepalivewhenparentdies-" aria-label="Permalink to &quot;keepAliveWhenParentDies-&quot;"></a></h4><p></p><h4 id="keepalivewhenparentdies-" tabindex="-1">keepAliveWhenParentDies- <a class="header-anchor" href="#keepalivewhenparentdies-" aria-label="Permalink to &quot;keepAliveWhenParentDies-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">keepAliveWhenParentDies:true</span></span></code></pre></div><hr><h3 id="setdrawlayerontop" tabindex="-1">setDrawLayerOnTop <a class="header-anchor" href="#setdrawlayerontop" aria-label="Permalink to &quot;setDrawLayerOnTop&quot;"></a></h3><h4 id="setdrawlayerontop-" tabindex="-1">setDrawLayerOnTop- <a class="header-anchor" href="#setdrawlayerontop-" aria-label="Permalink to &quot;setDrawLayerOnTop-&quot;"></a></h4><p>:setDrawLayerOnTop : :bool :</p><h4 id="setdrawlayerontop-" tabindex="-1">setDrawLayerOnTop- <a class="header-anchor" href="#setdrawlayerontop-" aria-label="Permalink to &quot;setDrawLayerOnTop-&quot;"></a></h4><p></p><h4 id="setdrawlayerontop-" tabindex="-1">setDrawLayerOnTop- <a class="header-anchor" href="#setdrawlayerontop-" aria-label="Permalink to &quot;setDrawLayerOnTop-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">setDrawLayerOnTop:true</span></span></code></pre></div><hr><h3 id="setdrawlayeronbottom" tabindex="-1">setDrawLayerOnBottom <a class="header-anchor" href="#setdrawlayeronbottom" aria-label="Permalink to &quot;setDrawLayerOnBottom&quot;"></a></h3><h4 id="setdrawlayeronbottom-" tabindex="-1">setDrawLayerOnBottom- <a class="header-anchor" href="#setdrawlayeronbottom-" aria-label="Permalink to &quot;setDrawLayerOnBottom-&quot;"></a></h4><p>:setDrawLayerOnBottom : :bool :</p><h4 id="setdrawlayeronbottom-" tabindex="-1">setDrawLayerOnBottom- <a class="header-anchor" href="#setdrawlayeronbottom-" aria-label="Permalink to &quot;setDrawLayerOnBottom-&quot;"></a></h4><p></p><h4 id="setdrawlayeronbottom-" tabindex="-1">setDrawLayerOnBottom- <a class="header-anchor" href="#setdrawlayeronbottom-" aria-label="Permalink to &quot;setDrawLayerOnBottom-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">setDrawLayerOnBottom:true</span></span></code></pre></div><hr><h3 id="addtransportedunits" tabindex="-1">addTransportedUnits <a class="header-anchor" href="#addtransportedunits" aria-label="Permalink to &quot;addTransportedUnits&quot;"></a></h3><h4 id="addtransportedunits-" tabindex="-1">addTransportedUnits- <a class="header-anchor" href="#addtransportedunits-" aria-label="Permalink to &quot;addTransportedUnits-&quot;"></a></h4><p>:addTransportedUnits : :bool :</p><h4 id="addtransportedunits-" tabindex="-1">addTransportedUnits- <a class="header-anchor" href="#addtransportedunits-" aria-label="Permalink to &quot;addTransportedUnits-&quot;"></a></h4><p></p><h4 id="addtransportedunits-" tabindex="-1">addTransportedUnits- <a class="header-anchor" href="#addtransportedunits-" aria-label="Permalink to &quot;addTransportedUnits-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">addTransportedUnits:true</span></span></code></pre></div><hr><h3 id="lockrotation" tabindex="-1">lockRotation <a class="header-anchor" href="#lockrotation" aria-label="Permalink to &quot;lockRotation&quot;"></a></h3><h4 id="lockrotation-" tabindex="-1">lockRotation- <a class="header-anchor" href="#lockrotation-" aria-label="Permalink to &quot;lockRotation-&quot;"></a></h4><p>:lockRotation : :bool :</p><h4 id="lockrotation-" tabindex="-1">lockRotation- <a class="header-anchor" href="#lockrotation-" aria-label="Permalink to &quot;lockRotation-&quot;"></a></h4><p></p><h4 id="lockrotation-" tabindex="-1">lockRotation- <a class="header-anchor" href="#lockrotation-" aria-label="Permalink to &quot;lockRotation-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">lockRotation:true</span></span></code></pre></div><hr><h3 id="rotatewithparent" tabindex="-1">rotateWithParent <a class="header-anchor" href="#rotatewithparent" aria-label="Permalink to &quot;rotateWithParent&quot;"></a></h3><h4 id="rotatewithparent-" tabindex="-1">rotateWithParent- <a class="header-anchor" href="#rotatewithparent-" aria-label="Permalink to &quot;rotateWithParent-&quot;"></a></h4><p>:rotateWithParent : :bool :</p><h4 id="rotatewithparent-" tabindex="-1">rotateWithParent- <a class="header-anchor" href="#rotatewithparent-" aria-label="Permalink to &quot;rotateWithParent-&quot;"></a></h4><p></p><h4 id="rotatewithparent-" tabindex="-1">rotateWithParent- <a class="header-anchor" href="#rotatewithparent-" aria-label="Permalink to &quot;rotateWithParent-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">rotateWithParent:true</span></span></code></pre></div><hr><h3 id="resetrotationwhennotattacking" tabindex="-1">resetRotationWhenNotAttacking <a class="header-anchor" href="#resetrotationwhennotattacking" aria-label="Permalink to &quot;resetRotationWhenNotAttacking&quot;"></a></h3><h4 id="resetrotationwhennotattacking-" tabindex="-1">resetRotationWhenNotAttacking- <a class="header-anchor" href="#resetrotationwhennotattacking-" aria-label="Permalink to &quot;resetRotationWhenNotAttacking-&quot;"></a></h4><p>:resetRotationWhenNotAttacking : :bool :</p><h4 id="resetrotationwhennotattacking-" tabindex="-1">resetRotationWhenNotAttacking- <a class="header-anchor" href="#resetrotationwhennotattacking-" aria-label="Permalink to &quot;resetRotationWhenNotAttacking-&quot;"></a></h4><p></p><h4 id="resetrotationwhennotattacking-" tabindex="-1">resetRotationWhenNotAttacking- <a class="header-anchor" href="#resetrotationwhennotattacking-" aria-label="Permalink to &quot;resetRotationWhenNotAttacking-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">resetRotationWhenNotAttacking:true</span></span></code></pre></div><hr><h3 id="deattachifwantingtomove" tabindex="-1">deattachIfWantingToMove <a class="header-anchor" href="#deattachifwantingtomove" aria-label="Permalink to &quot;deattachIfWantingToMove&quot;"></a></h3><h4 id="deattachifwantingtomove-" tabindex="-1">deattachIfWantingToMove- <a class="header-anchor" href="#deattachifwantingtomove-" aria-label="Permalink to &quot;deattachIfWantingToMove-&quot;"></a></h4><p>:deattachIfWantingToMove : :bool :</p><h4 id="deattachifwantingtomove-" tabindex="-1">deattachIfWantingToMove- <a class="header-anchor" href="#deattachifwantingtomove-" aria-label="Permalink to &quot;deattachIfWantingToMove-&quot;"></a></h4><p></p><h4 id="deattachifwantingtomove-" tabindex="-1">deattachIfWantingToMove- <a class="header-anchor" href="#deattachifwantingtomove-" aria-label="Permalink to &quot;deattachIfWantingToMove-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">deattachIfWantingToMove:true</span></span></code></pre></div><hr><h3 id="prioritizeparentsmaintarget" tabindex="-1">prioritizeParentsMainTarget <a class="header-anchor" href="#prioritizeparentsmaintarget" aria-label="Permalink to &quot;prioritizeParentsMainTarget&quot;"></a></h3><h4 id="prioritizeparentsmaintarget-" tabindex="-1">prioritizeParentsMainTarget- <a class="header-anchor" href="#prioritizeparentsmaintarget-" aria-label="Permalink to &quot;prioritizeParentsMainTarget-&quot;"></a></h4><p>:prioritizeParentsMainTarget : :bool :</p><h4 id="prioritizeparentsmaintarget-" tabindex="-1">prioritizeParentsMainTarget- <a class="header-anchor" href="#prioritizeparentsmaintarget-" aria-label="Permalink to &quot;prioritizeParentsMainTarget-&quot;"></a></h4><p></p><h4 id="prioritizeparentsmaintarget-" tabindex="-1">prioritizeParentsMainTarget- <a class="header-anchor" href="#prioritizeparentsmaintarget-" aria-label="Permalink to &quot;prioritizeParentsMainTarget-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">prioritizeParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="alwaysallowedtoattackparentsmaintarget" tabindex="-1">alwaysAllowedToAttackParentsMainTarget <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget" aria-label="Permalink to &quot;alwaysAllowedToAttackParentsMainTarget&quot;"></a></h3><h4 id="alwaysallowedtoattackparentsmaintarget-" tabindex="-1">alwaysAllowedToAttackParentsMainTarget- <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-" aria-label="Permalink to &quot;alwaysAllowedToAttackParentsMainTarget-&quot;"></a></h4><p>:alwaysAllowedToAttackParentsMainTarget : :bool :</p><h4 id="alwaysallowedtoattackparentsmaintarget-" tabindex="-1">alwaysAllowedToAttackParentsMainTarget- <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-" aria-label="Permalink to &quot;alwaysAllowedToAttackParentsMainTarget-&quot;"></a></h4><p></p><h4 id="alwaysallowedtoattackparentsmaintarget-" tabindex="-1">alwaysAllowedToAttackParentsMainTarget- <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-" aria-label="Permalink to &quot;alwaysAllowedToAttackParentsMainTarget-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">alwaysAllowedToAttackParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="onlyattackparentsmaintarget" tabindex="-1">onlyAttackParentsMainTarget <a class="header-anchor" href="#onlyattackparentsmaintarget" aria-label="Permalink to &quot;onlyAttackParentsMainTarget&quot;"></a></h3><h4 id="onlyattackparentsmaintarget-" tabindex="-1">onlyAttackParentsMainTarget- <a class="header-anchor" href="#onlyattackparentsmaintarget-" aria-label="Permalink to &quot;onlyAttackParentsMainTarget-&quot;"></a></h4><p>:lockRotation : :bool :</p><h4 id="onlyattackparentsmaintarget-" tabindex="-1">onlyAttackParentsMainTarget- <a class="header-anchor" href="#onlyattackparentsmaintarget-" aria-label="Permalink to &quot;onlyAttackParentsMainTarget-&quot;"></a></h4><p> </p><h4 id="onlyattackparentsmaintarget-" tabindex="-1">onlyAttackParentsMainTarget- <a class="header-anchor" href="#onlyattackparentsmaintarget-" aria-label="Permalink to &quot;onlyAttackParentsMainTarget-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onlyAttackParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="onparentteamchangekeepcurrentteam" tabindex="-1">onParentTeamChangeKeepCurrentTeam <a class="header-anchor" href="#onparentteamchangekeepcurrentteam" aria-label="Permalink to &quot;onParentTeamChangeKeepCurrentTeam&quot;"></a></h3><h4 id="onparentteamchangekeepcurrentteam-" tabindex="-1">onParentTeamChangeKeepCurrentTeam- <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-" aria-label="Permalink to &quot;onParentTeamChangeKeepCurrentTeam-&quot;"></a></h4><p>:onParentTeamChangeKeepCurrentTeam : :bool :</p><h4 id="onparentteamchangekeepcurrentteam-" tabindex="-1">onParentTeamChangeKeepCurrentTeam- <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-" aria-label="Permalink to &quot;onParentTeamChangeKeepCurrentTeam-&quot;"></a></h4><p></p><h4 id="onparentteamchangekeepcurrentteam-" tabindex="-1">onParentTeamChangeKeepCurrentTeam- <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-" aria-label="Permalink to &quot;onParentTeamChangeKeepCurrentTeam-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onParentTeamChangeKeepCurrentTeam:true</span></span></code></pre></div><hr><h3 id="smoothlyblendpositionwhenexistingunitadded" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded" aria-label="Permalink to &quot;smoothlyBlendPositionWhenExistingUnitAdded&quot;"></a></h3><h4 id="smoothlyblendpositionwhenexistingunitadded-" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded- <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-" aria-label="Permalink to &quot;smoothlyBlendPositionWhenExistingUnitAdded-&quot;"></a></h4><p>:smoothlyBlendPositionWhenExistingUnitAdded : :bool :</p><h4 id="smoothlyblendpositionwhenexistingunitadded-" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded- <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-" aria-label="Permalink to &quot;smoothlyBlendPositionWhenExistingUnitAdded-&quot;"></a></h4><p></p><h4 id="smoothlyblendpositionwhenexistingunitadded-" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded- <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-" aria-label="Permalink to &quot;smoothlyBlendPositionWhenExistingUnitAdded-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">smoothlyBlendPositionWhenExistingUnitAdded:true</span></span></code></pre></div><hr><h3 id="keepwaypointsneedingmovement" tabindex="-1">keepWaypointsNeedingMovement <a class="header-anchor" href="#keepwaypointsneedingmovement" aria-label="Permalink to &quot;keepWaypointsNeedingMovement&quot;"></a></h3><h4 id="keepwaypointsneedingmovement-" tabindex="-1">keepWaypointsNeedingMovement- <a class="header-anchor" href="#keepwaypointsneedingmovement-" aria-label="Permalink to &quot;keepWaypointsNeedingMovement-&quot;"></a></h4><p>:keepWaypointsNeedingMovement : :bool :</p><h4 id="keepwaypointsneedingmovement-" tabindex="-1">keepWaypointsNeedingMovement- <a class="header-anchor" href="#keepwaypointsneedingmovement-" aria-label="Permalink to &quot;keepWaypointsNeedingMovement-&quot;"></a></h4><p>falsefalse</p><h4 id="keepwaypointsneedingmovement-" tabindex="-1">keepWaypointsNeedingMovement- <a class="header-anchor" href="#keepwaypointsneedingmovement-" aria-label="Permalink to &quot;keepWaypointsNeedingMovement-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">keepWaypointsNeedingMovement:true</span></span></code></pre></div><hr><h3 id="showallactionsfrom" tabindex="-1">showAllActionsFrom <a class="header-anchor" href="#showallactionsfrom" aria-label="Permalink to &quot;showAllActionsFrom&quot;"></a></h3><h4 id="showallactionsfrom-" tabindex="-1">showAllActionsFrom- <a class="header-anchor" href="#showallactionsfrom-" aria-label="Permalink to &quot;showAllActionsFrom-&quot;"></a></h4><p>:showAllActionsFrom : :LogicBoolean :</p><h4 id="showallactionsfrom-" tabindex="-1">showAllActionsFrom- <a class="header-anchor" href="#showallactionsfrom-" aria-label="Permalink to &quot;showAllActionsFrom-&quot;"></a></h4><p></p><h4 id="showallactionsfrom-" tabindex="-1">showAllActionsFrom- <a class="header-anchor" href="#showallactionsfrom-" aria-label="Permalink to &quot;showAllActionsFrom-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">showAllActionsFrom:if </span><span style="color:#F07178;">self.ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">=1</span></span></code></pre></div><hr><h3 id="createincompleteifparentis" tabindex="-1">createIncompleteIfParentIs <a class="header-anchor" href="#createincompleteifparentis" aria-label="Permalink to &quot;createIncompleteIfParentIs&quot;"></a></h3><h4 id="createincompleteifparentis-" tabindex="-1">createIncompleteIfParentIs- <a class="header-anchor" href="#createincompleteifparentis-" aria-label="Permalink to &quot;createIncompleteIfParentIs-&quot;"></a></h4><p>:createIncompleteIfParentIs : :bool :</p><h4 id="createincompleteifparentis-" tabindex="-1">createIncompleteIfParentIs- <a class="header-anchor" href="#createincompleteifparentis-" aria-label="Permalink to &quot;createIncompleteIfParentIs-&quot;"></a></h4><p> </p><h4 id="createincompleteifparentis-" tabindex="-1">createIncompleteIfParentIs- <a class="header-anchor" href="#createincompleteifparentis-" aria-label="Permalink to &quot;createIncompleteIfParentIs-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">createIncompleteIfParentIs:true</span></span></code></pre></div><hr><h3 id="redirectdamagetoparent" tabindex="-1">redirectDamageToParent <a class="header-anchor" href="#redirectdamagetoparent" aria-label="Permalink to &quot;redirectDamageToParent&quot;"></a></h3><h4 id="redirectdamagetoparent-" tabindex="-1">redirectDamageToParent- <a class="header-anchor" href="#redirectdamagetoparent-" aria-label="Permalink to &quot;redirectDamageToParent-&quot;"></a></h4><p>:redirectDamageToParent : :bool :</p><h4 id="redirectdamagetoparent-" tabindex="-1">redirectDamageToParent- <a class="header-anchor" href="#redirectdamagetoparent-" aria-label="Permalink to &quot;redirectDamageToParent-&quot;"></a></h4><p></p><h4 id="redirectdamagetoparent-" tabindex="-1">redirectDamageToParent- <a class="header-anchor" href="#redirectdamagetoparent-" aria-label="Permalink to &quot;redirectDamageToParent-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">redirectDamageToParent:true</span></span></code></pre></div><hr><h3 id="redirectdamagetoparent-shieldonly" tabindex="-1">redirectDamageToParent_shieldOnly <a class="header-anchor" href="#redirectdamagetoparent-shieldonly" aria-label="Permalink to &quot;redirectDamageToParent_shieldOnly&quot;"></a></h3><h4 id="redirectdamagetoparent-shieldonly-" tabindex="-1">redirectDamageToParent_shieldOnly- <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-" aria-label="Permalink to &quot;redirectDamageToParent_shieldOnly-&quot;"></a></h4><p>:redirectDamageToParent_shieldOnly : :bool :</p><h4 id="redirectdamagetoparent-shieldonly-" tabindex="-1">redirectDamageToParent_shieldOnly- <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-" aria-label="Permalink to &quot;redirectDamageToParent_shieldOnly-&quot;"></a></h4><p> </p><h4 id="redirectdamagetoparent-shieldonly-" tabindex="-1">redirectDamageToParent_shieldOnly- <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-" aria-label="Permalink to &quot;redirectDamageToParent_shieldOnly-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">redirectDamageToParent_shieldOnly:true</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="lockdir" tabindex="-1">lockDir <a class="header-anchor" href="#lockdir" aria-label="Permalink to &quot;lockDir&quot;"></a></h3><h4 id="lockdir-" tabindex="-1">lockDir- <a class="header-anchor" href="#lockdir-" aria-label="Permalink to &quot;lockDir-&quot;"></a></h4><p>:lockDir : :bool :</p><h4 id="lockdir-" tabindex="-1">lockDir- <a class="header-anchor" href="#lockdir-" aria-label="Permalink to &quot;lockDir-&quot;"></a></h4><p></p><h4 id="lockdir-" tabindex="-1">lockDir- <a class="header-anchor" href="#lockdir-" aria-label="Permalink to &quot;lockDir-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">lockDir:true</span></span></code></pre></div><hr><h3 id="unloadincurrentposition" tabindex="-1">unloadInCurrentPosition <a class="header-anchor" href="#unloadincurrentposition" aria-label="Permalink to &quot;unloadInCurrentPosition&quot;"></a></h3><h4 id="unloadincurrentposition-" tabindex="-1">unloadInCurrentPosition- <a class="header-anchor" href="#unloadincurrentposition-" aria-label="Permalink to &quot;unloadInCurrentPosition-&quot;"></a></h4><p>:lockRotation : :bool :</p><h4 id="unloadincurrentposition-" tabindex="-1">unloadInCurrentPosition- <a class="header-anchor" href="#unloadincurrentposition-" aria-label="Permalink to &quot;unloadInCurrentPosition-&quot;"></a></h4><p></p><h4 id="unloadincurrentposition-" tabindex="-1">unloadInCurrentPosition- <a class="header-anchor" href="#unloadincurrentposition-" aria-label="Permalink to &quot;unloadInCurrentPosition-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">unloadInCurrentPosition:true</span></span></code></pre></div><hr><h3 id="onconvertkeepexistingunitinsameslot" tabindex="-1">onConvertKeepExistingUnitInSameSlot <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot" aria-label="Permalink to &quot;onConvertKeepExistingUnitInSameSlot&quot;"></a></h3><h4 id="onconvertkeepexistingunitinsameslot-" tabindex="-1">onConvertKeepExistingUnitInSameSlot- <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-" aria-label="Permalink to &quot;onConvertKeepExistingUnitInSameSlot-&quot;"></a></h4><p>:onConvertKeepExistingUnitInSameSlot : :bool :</p><h4 id="onconvertkeepexistingunitinsameslot-" tabindex="-1">onConvertKeepExistingUnitInSameSlot- <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-" aria-label="Permalink to &quot;onConvertKeepExistingUnitInSameSlot-&quot;"></a></h4><p></p><h4 id="onconvertkeepexistingunitinsameslot-" tabindex="-1">onConvertKeepExistingUnitInSameSlot- <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-" aria-label="Permalink to &quot;onConvertKeepExistingUnitInSameSlot-&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;">[attachment_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onConvertKeepExistingUnitInSameSlot:true</span></span></code></pre></div><hr>`,283),s=[o];function r(l,h,d,c,p,m){return t(),e("div",null,s)}const g=a(i,[["render",r]]);export{b as __pageData,g as default};

View File

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

View File

@ -0,0 +1,27 @@
import{_ as a,c as t,o as e,V as n}from"./chunks/framework.fcc0bf38.js";const k=JSON.parse('{"title":"[attack]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attack.md","filePath":"src/Unit/attack.md"}'),i={name:"src/Unit/attack.md"},s=n(`<h1 id="attack-组" tabindex="-1"><strong>[attack]组</strong> <a class="header-anchor" href="#attack-组" aria-label="Permalink to &quot;**[attack]组**&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><div class="info custom-block"><p class="custom-block-title">INFO</p><p>此处攻击代码均可以在炮塔节进行覆盖</p></div><h3 id="canattack" tabindex="-1">canAttack <a class="header-anchor" href="#canattack" aria-label="Permalink to &quot;canAttack&quot;"></a></h3><h4 id="canattack-代码简介" tabindex="-1">canAttack-代码简介 <a class="header-anchor" href="#canattack-代码简介" aria-label="Permalink to &quot;canAttack-代码简介&quot;"></a></h4><p>代码:canAttack 中文释义:可攻击 类型:布尔值bool 隶属于:基础攻击代码组</p><h4 id="canattack-要点指示" tabindex="-1">canAttack-要点指示 <a class="header-anchor" href="#canattack-要点指示" aria-label="Permalink to &quot;canAttack-要点指示&quot;"></a></h4><p>设置单位是否能攻击</p><h4 id="canattack-演示例子" tabindex="-1">canAttack-演示例子 <a class="header-anchor" href="#canattack-演示例子" aria-label="Permalink to &quot;canAttack-演示例子&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttack:true</span></span></code></pre></div><hr><h3 id="canattacklandunits" tabindex="-1">canAttackLandUnits <a class="header-anchor" href="#canattacklandunits" aria-label="Permalink to &quot;canAttackLandUnits&quot;"></a></h3><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p>:canAttackLandUnits : :LogicBoolean :</p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p></p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackLandUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackflyingunits" tabindex="-1">canAttackFlyingUnits <a class="header-anchor" href="#canattackflyingunits" aria-label="Permalink to &quot;canAttackFlyingUnits&quot;"></a></h3><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p>:canAttackFlyingUnits : :LogicBoolean :</p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p></p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackFlyingUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackunderwaterunits" tabindex="-1">canAttackUnderwaterUnits <a class="header-anchor" href="#canattackunderwaterunits" aria-label="Permalink to &quot;canAttackUnderwaterUnits&quot;"></a></h3><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p>:canAttackUnderwaterUnits : :LogicBoolean :</p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p></p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackUnderwaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattacknottouchingwaterunits" tabindex="-1">canAttackNotTouchingWaterUnits <a class="header-anchor" href="#canattacknottouchingwaterunits" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits&quot;"></a></h3><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p>:canAttackNotTouchingWaterUnits : :LogicBoolean :</p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p></p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackNotTouchingWaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><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>使</p></div><h3 id="canonlyattackunitswithtags" tabindex="-1">canOnlyAttackUnitsWithTags <a class="header-anchor" href="#canonlyattackunitswithtags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithTags : :tag :</p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canOnlyAttackUnitsWithTags:标签</span></span></code></pre></div><hr><h3 id="canonlyattackunitswithouttags" tabindex="-1">canOnlyAttackUnitsWithoutTags <a class="header-anchor" href="#canonlyattackunitswithouttags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags--1" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags--1" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithoutTags : :tag :</p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">canOnlyAttackUnitsWithoutTags:标签</span></span></code></pre></div><hr><h3 id="turretmultitargeting" tabindex="-1">turretMultiTargeting <a class="header-anchor" href="#turretmultitargeting" aria-label="Permalink to &quot;turretMultiTargeting&quot;"></a></h3><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>:turretMultiTargeting : :bool :</p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>, </p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretMultiTargeting:true</span></span></code></pre></div><hr><h3 id="dieonattack-removeonattack" tabindex="-1">dieOnAttack/removeOnAttack <a class="header-anchor" href="#dieonattack-removeonattack" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack&quot;"></a></h3><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p>:dieOnAttack/removeOnAttack:/ :bool :</p><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p></p><h4 id="removeonattack-" tabindex="-1">removeOnAttack- <a class="header-anchor" href="#removeonattack-" aria-label="Permalink to &quot;removeOnAttack-&quot;"></a></h4><p></p><h4 id="dieonattack-removeonattack-" tabindex="-1">dieOnAttack/removeOnAttack- <a class="header-anchor" href="#dieonattack-removeonattack-" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">dieOnAttack:true</span></span>
<span class="line"><span style="color:#A6ACCD;">removeOnAttack:true</span></span></code></pre></div><hr><h3 id="isfixedfiring" tabindex="-1">isFixedFiring <a class="header-anchor" href="#isfixedfiring" aria-label="Permalink to &quot;isFixedFiring&quot;"></a></h3><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p>:isFixedFiring : :bool :</p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p></p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">isFixedFiring:true</span></span></code></pre></div><hr><h3 id="stoptargetingafterfiring" tabindex="-1">stopTargetingAfterFiring <a class="header-anchor" href="#stoptargetingafterfiring" aria-label="Permalink to &quot;stopTargetingAfterFiring&quot;"></a></h3><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p>:stopTargetingAfterFiring : :bool :</p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p></p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">stopTargetingAfterFiring:true</span></span></code></pre></div><hr><h3 id="disablepassivetargeting" tabindex="-1">disablePassiveTargeting <a class="header-anchor" href="#disablepassivetargeting" aria-label="Permalink to &quot;disablePassiveTargeting&quot;"></a></h3><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>:disablePassiveTargeting : :bool :</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>,attack,</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">disablePassiveTargeting:true</span></span></code></pre></div><hr><h3 id="ismelee" tabindex="-1">isMelee <a class="header-anchor" href="#ismelee" aria-label="Permalink to &quot;isMelee&quot;"></a></h3><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>:isMelee : :bool :</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>,,,</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">isMelee:true</span></span></code></pre></div><hr><h3 id="meleeengangementdistance" tabindex="-1">meleeEngangementDistance <a class="header-anchor" href="#meleeengangementdistance" aria-label="Permalink to &quot;meleeEngangementDistance&quot;"></a></h3><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>:meleeEngangementDistance : :int :</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>,isMelee使,1500</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">meleeEngangementDistance:1500</span></span></code></pre></div><hr><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>,使</p></div><h3 id="turretsize" tabindex="-1">turretSize <a class="header-anchor" href="#turretsize" aria-label="Permalink to &quot;turretSize&quot;"></a></h3><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>:turretSize : :float :</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>使size</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretSize:20</span></span></code></pre></div><hr><h3 id="turretturnspeed" tabindex="-1">turretTurnSpeed <a class="header-anchor" href="#turretturnspeed" aria-label="Permalink to &quot;turretTurnSpeed&quot;"></a></h3><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>:turretTurnSpeed : :float :</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>601160使turnSpeed</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretTurnSpeed:2</span></span></code></pre></div><hr><h3 id="shootdelay" tabindex="-1">shootDelay <a class="header-anchor" href="#shootdelay" aria-label="Permalink to &quot;shootDelay&quot;"></a></h3><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>:shootDelay : :float :</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>601s使delay</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">shootDelay:60</span></span></code></pre></div><hr><h3 id="maxattackrange" tabindex="-1">maxAttackRange <a class="header-anchor" href="#maxattackrange" aria-label="Permalink to &quot;maxAttackRange&quot;"></a></h3><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>:maxAttackRange : :int :</p><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>使limitingRange</p><details class="details custom-block"><summary>Details</summary><p>limitingRangemaxAttackRange使limitingRangemaxAttackRange</p></details><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">maxAttackRange:1000</span></span></code></pre></div><hr><h3 id="aimoffsetspread" tabindex="-1">aimOffsetSpread <a class="header-anchor" href="#aimoffsetspread" aria-label="Permalink to &quot;aimOffsetSpread&quot;"></a></h3><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>:aimOffsetSpread : :float :</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>0</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">aimOffsetSpread:0.6</span></span></code></pre></div><hr><h3 id="shootdelaymultiplier-shootdamagemultiplier" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier&quot;"></a></h3><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></a></h4><p>:shootDelayMultiplier/shootDamageMultiplier :/ : :</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></a></h4><p>使setUnitStats</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&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;">[action_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">setUnitStats:</span><span style="color:#F07178;">shootDelayMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">0.8,</span><span style="color:#F07178;">shootDamageMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1.4</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-HjEPZ" id="tab-5ijSeq3" checked="checked"><label for="tab-5ijSeq3"></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 style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;"></span><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">,</span></span>
<span class="line"><span style="color:#FFCB6B;">对于部分有对应需求的单位来说这部分较为有用</span></span></code></pre></div></div></div><h3 id="setmainturretas" tabindex="-1">setMainTurretAs <a class="header-anchor" href="#setmainturretas" aria-label="Permalink to &quot;setMainTurretAs&quot;"></a></h3><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p>:setMainTurretAs : :turret ref :</p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p></p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">setMainTurretAs:31</span></span></code></pre></div><hr><h3 id="turretrotatewithbody" tabindex="-1">turretRotateWithBody <a class="header-anchor" href="#turretrotatewithbody" aria-label="Permalink to &quot;turretRotateWithBody&quot;"></a></h3><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p>:turretRotateWithBody : :bool :</p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p></p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretRotateWithBody:true</span></span></code></pre></div><hr><h3 id="attackmovement" tabindex="-1">attackMovement <a class="header-anchor" href="#attackmovement" aria-label="Permalink to &quot;attackMovement&quot;"></a></h3><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></a></h4><p>:attackMovement : :string :</p><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p><table><thead><tr><th></th><th>normal</th><th>bomber</th><th>moveaway</th><th>strafing</th></tr></thead><tbody><tr><td></td><td></td><td></td><td></td><td></td></tr></tbody></table></div><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">attackMovement:bomber</span></span></code></pre></div><hr><h3 id="showrangeuiguide" tabindex="-1">showRangeUIGuide <a class="header-anchor" href="#showrangeuiguide" aria-label="Permalink to &quot;showRangeUIGuide&quot;"></a></h3><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>:showRangeUIGuide :UI :bool :</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>UItrue</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&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;">[attack]</span></span>
<span class="line"><span style="color:#A6ACCD;">showRangeUIGuide:true</span></span></code></pre></div><hr>`,206),l=[s];function r(o,c,h,d,p,u){return e(),t("div",null,l)}const m=a(i,[["render",r]]);export{k as __pageData,m as default};

View File

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

View File

@ -0,0 +1,33 @@
import{_ as n,c as i,C as s,a,I as o,E as c,V as e,J as t,o as p}from"./chunks/framework.fcc0bf38.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-8tBz-" id="tab-oLGhYuX" checked="checked"><label for="tab-oLGhYuX">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>
<span class="line"><span style="color:#89DDFF;">[canBuild_%TK]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_P P]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_/(ㄒoㄒ)/~~]</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;">#emoji</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></code></pre></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><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>namename:<br> name:NONE</p></div><h4 id="name-" tabindex="-1">name- <a class="header-anchor" href="#name-" aria-label="Permalink to &quot;name-&quot;"></a></h4><p>name[core] name, </p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p> name<br> </p></div><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:#89DDFF;">[canBuild_SmallTank]</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">name: SmallTank</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">name: 小坦克</span></span></code></pre></div><h3 id="pos" tabindex="-1">pos <a class="header-anchor" href="#pos" aria-label="Permalink to &quot;pos&quot;"></a></h3><h4 id="pos-" tabindex="-1">pos- <a class="header-anchor" href="#pos-" aria-label="Permalink to &quot;pos-&quot;"></a></h4><p>:pos :position : :</p><h4 id="pos-" tabindex="-1">pos- <a class="header-anchor" href="#pos-" aria-label="Permalink to &quot;pos-&quot;"></a></h4><p>pos:</p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>pos1<br> </p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p></p></div><h4 id="pos-" tabindex="-1">pos- <a class="header-anchor" href="#pos-" aria-label="Permalink to &quot;pos-&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>
<span class="line"><span style="color:#A6ACCD;">pos:0.1</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">pos:-2</span></span></code></pre></div><h3 id="tech" tabindex="-1">tech <a class="header-anchor" href="#tech" aria-label="Permalink to &quot;tech&quot;"></a></h3><h4 id="tech-" tabindex="-1">tech- <a class="header-anchor" href="#tech-" aria-label="Permalink to &quot;tech-&quot;"></a></h4><p>:tech :technology : :</p><h4 id="tech-" tabindex="-1">tech- <a class="header-anchor" href="#tech-" aria-label="Permalink to &quot;tech-&quot;"></a></h4><p>31GUI绿23</p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>[core]3<br> </p></div><h4 id="tech-" tabindex="-1">tech- <a class="header-anchor" href="#tech-" aria-label="Permalink to &quot;tech-&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>
<span class="line"><span style="color:#A6ACCD;">tech: -1</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">tech: 2</span></span></code></pre></div><h3 id="forcenano" tabindex="-1">forceNano <a class="header-anchor" href="#forcenano" aria-label="Permalink to &quot;forceNano&quot;"></a></h3><h4 id="forcenano-" tabindex="-1">forceNano- <a class="header-anchor" href="#forcenano-" aria-label="Permalink to &quot;forceNano-&quot;"></a></h4><p>:forceNano : : </p><h4 id="forcenano-" tabindex="-1">forceNano- <a class="header-anchor" href="#forcenano-" aria-label="Permalink to &quot;forceNano-&quot;"></a></h4><p>true 使</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p> false<br> </p></div><h4 id="forcenano-" tabindex="-1">forceNano- <a class="header-anchor" href="#forcenano-" aria-label="Permalink to &quot;forceNano-&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>
<span class="line"><span style="color:#A6ACCD;">forceNano: true</span></span></code></pre></div><h3 id="isvisible" tabindex="-1">isVisible <a class="header-anchor" href="#isvisible" aria-label="Permalink to &quot;isVisible&quot;"></a></h3><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p>:isVisible : : </p><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p>true使</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> <br> true</p></div><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&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>
<span class="line"><span style="color:#A6ACCD;">isVisible: if self.hp() &gt; 50</span></span></code></pre></div><h3 id="islocked" tabindex="-1">isLocked <a class="header-anchor" href="#islocked" aria-label="Permalink to &quot;isLocked&quot;"></a></h3><h4 id="islocked-" tabindex="-1">isLocked- <a class="header-anchor" href="#islocked-" aria-label="Permalink to &quot;isLocked-&quot;"></a></h4><p>:isLocked : : </p><h4 id="islocked-" tabindex="-1">isLocked- <a class="header-anchor" href="#islocked-" aria-label="Permalink to &quot;isLocked-&quot;"></a></h4><p>true使</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> 使<br> false</p></div><h4 id="islocked-" tabindex="-1">isLocked- <a class="header-anchor" href="#islocked-" aria-label="Permalink to &quot;isLocked-&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>
<span class="line"><span style="color:#A6ACCD;">isLocked: if self.hp() &lt; 50</span></span></code></pre></div><h3 id="islockedmessage" tabindex="-1">isLockedMessage <a class="header-anchor" href="#islockedmessage" aria-label="Permalink to &quot;isLockedMessage&quot;"></a></h3><h4 id="islockedmessage-" tabindex="-1">isLockedMessage- <a class="header-anchor" href="#islockedmessage-" aria-label="Permalink to &quot;isLockedMessage-&quot;"></a></h4><p>:isLockedMessage : : </p><h4 id="islockedmessage-" tabindex="-1">isLockedMessage- <a class="header-anchor" href="#islockedmessage-" aria-label="Permalink to &quot;isLockedMessage-&quot;"></a></h4><p></p>`,64),h={class:"tip custom-block"},u=s("p",{class:"custom-block-title"},"TIP",-1),k=s("br",null,null,-1),b=e(`<h4 id="islockedmessage-" tabindex="-1">isLockedMessage- <a class="header-anchor" href="#islockedmessage-" aria-label="Permalink to &quot;isLockedMessage-&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>
<span class="line"><span style="color:#A6ACCD;">isLockedMessage: 因为你太菜这个单位不给你用嗷\\n 想用的话就努力变强吧</span></span></code></pre></div><h3 id="islockedmessage-lang" tabindex="-1">isLockedMessage_{LANG} <br> <a class="header-anchor" href="#islockedmessage-lang" aria-label="Permalink to &quot;isLockedMessage_{LANG} &lt;br&gt;&quot;"></a></h3><h4 id="islockedmessage-lang-" tabindex="-1">isLockedMessage-{LANG} <a class="header-anchor" href="#islockedmessage-lang-" aria-label="Permalink to &quot;isLockedMessage-{LANG}&quot;"></a></h4><p>:isLockedMessage : : isLockedMessage</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>{LANG}<br> zh es</p></div><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>
<span class="line"><span style="color:#A6ACCD;">isLockedMessage_es: You are BAKA! \\n if think use it ,go get stronger.</span></span></code></pre></div><h3 id="islockedalt" tabindex="-1">isLockedAlt <a class="header-anchor" href="#islockedalt" aria-label="Permalink to &quot;isLockedAlt&quot;"></a></h3><h4 id="islockedalt-" tabindex="-1">isLockedAlt- <a class="header-anchor" href="#islockedalt-" aria-label="Permalink to &quot;isLockedAlt-&quot;"></a></h4><p>:isLockedAlt : : </p><h4 id="islockedalt-" tabindex="-1">isLockedAlt- <a class="header-anchor" href="#islockedalt-" aria-label="Permalink to &quot;isLockedAlt-&quot;"></a></h4><p>isLocked</p><h4 id="islockedalt-" tabindex="-1">isLockedAlt- <a class="header-anchor" href="#islockedalt-" aria-label="Permalink to &quot;isLockedAlt-&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>
<span class="line"><span style="color:#A6ACCD;">isLockedAlt: if self.energy(</span><span style="color:#F07178;">greaterThan</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">90)</span></span></code></pre></div><h3 id="islockedaltmessage" tabindex="-1">isLockedAltMessage <a class="header-anchor" href="#islockedaltmessage" aria-label="Permalink to &quot;isLockedAltMessage&quot;"></a></h3><h4 id="islockedaltmessage-" tabindex="-1">isLockedAltMessage- <a class="header-anchor" href="#islockedaltmessage-" aria-label="Permalink to &quot;isLockedAltMessage-&quot;"></a></h4><p>:isLockedAltMessage : : </p><h4 id="islockedaltmessage-" tabindex="-1">isLockedAltMessage- <a class="header-anchor" href="#islockedaltmessage-" aria-label="Permalink to &quot;isLockedAltMessage-&quot;"></a></h4><p>isLockedMessage isLockedAlt</p><h4 id="islockedaltmessage-" tabindex="-1">isLockedAltMessage- <a class="header-anchor" href="#islockedaltmessage-" aria-label="Permalink to &quot;isLockedAltMessage-&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>
<span class="line"><span style="color:#A6ACCD;">isLockedAltMessage: 还有因为这个单位丑拒</span></span></code></pre></div><h3 id="islockedalt2" tabindex="-1">isLockedAlt2 <a class="header-anchor" href="#islockedalt2" aria-label="Permalink to &quot;isLockedAlt2&quot;"></a></h3><h4 id="islockedalt2-" tabindex="-1">isLockedAlt2- <a class="header-anchor" href="#islockedalt2-" aria-label="Permalink to &quot;isLockedAlt2-&quot;"></a></h4><p>:isLockedAlt2 : 2 : </p><h4 id="islockedalt2-" tabindex="-1">isLockedAlt2- <a class="header-anchor" href="#islockedalt2-" aria-label="Permalink to &quot;isLockedAlt2-&quot;"></a></h4><p>isLocked</p><h4 id="islockedalt2-" tabindex="-1">isLockedAlt2- <a class="header-anchor" href="#islockedalt2-" aria-label="Permalink to &quot;isLockedAlt2-&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>
<span class="line"><span style="color:#A6ACCD;">isLockedAlt2: if self.energy() &lt; 100</span></span></code></pre></div><h3 id="islockedalt2message" tabindex="-1">isLockedAlt2Message <a class="header-anchor" href="#islockedalt2message" aria-label="Permalink to &quot;isLockedAlt2Message&quot;"></a></h3><h4 id="islockedalt2message-" tabindex="-1">isLockedAlt2Message- <a class="header-anchor" href="#islockedalt2message-" aria-label="Permalink to &quot;isLockedAlt2Message-&quot;"></a></h4><p>:isLockedAlt2Message : 2 : </p><h4 id="islockedalt2message-" tabindex="-1">isLockedAlt2Message- <a class="header-anchor" href="#islockedalt2message-" aria-label="Permalink to &quot;isLockedAlt2Message-&quot;"></a></h4><p>isLockedMessage isLockedAlt2</p><h4 id="islockedalt2message-" tabindex="-1">isLockedAlt2Message- <a class="header-anchor" href="#islockedalt2message-" aria-label="Permalink to &quot;isLockedAlt2Message-&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>
<span class="line"><span style="color:#A6ACCD;">isLockedAlt2Message: 第三个原因是我觉得你应该把雪糕分我一半吃</span></span></code></pre></div><h3 id="addresources" tabindex="-1">addResources <a class="header-anchor" href="#addresources" aria-label="Permalink to &quot;addResources&quot;"></a></h3><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p>:addResources : : </p><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>使</p></div><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&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>
<span class="line"><span style="color:#A6ACCD;">addResources: </span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5, </span><span style="color:#F07178;">setFlag</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1</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="tip custom-block"><p class="custom-block-title">TIP</p><p>,600,1400,2000,1400,600,HX</p></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;">[canBuild_SmallTank]</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">price: 5000,</span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5</span></span></code></pre></div><h3 id="isguiblinking" tabindex="-1">isGuiBlinking <a class="header-anchor" href="#isguiblinking" aria-label="Permalink to &quot;isGuiBlinking&quot;"></a></h3><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>:isGuiBlinking : : </p><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>trueUI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> UI</p></div><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&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>
<span class="line"><span style="color:#A6ACCD;">isGuiBlinking:true</span></span></code></pre></div>`,59);function m(g,A,y,C,q,D){const l=t("font");return p(),i("div",null,[d,s("div",h,[u,s("p",null,[a(""),k,a(" "),o(l,{color:"red"},{default:c(()=>[a("\\n")]),_:1}),a(" ")])]),b])}const v=n(r,[["render",m]]);export{_ as __pageData,v as default};

View File

@ -0,0 +1 @@
import{_ as n,c as i,C as s,a,I as o,E as c,V as e,J as t,o as p}from"./chunks/framework.fcc0bf38.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("",64),h={class:"tip custom-block"},u=s("p",{class:"custom-block-title"},"TIP",-1),k=s("br",null,null,-1),b=e("",59);function m(g,A,y,C,q,D){const l=t("font");return p(),i("div",null,[d,s("div",h,[u,s("p",null,[a("可以用来告知玩家被锁定原因。"),k,a(" 能够通过转义字符 "),o(l,{color:"red"},{default:c(()=>[a("\\n")]),_:1}),a(" 实现文本换行。")])]),b])}const v=n(r,[["render",m]]);export{_ as __pageData,v as default};

View File

@ -0,0 +1,119 @@
import{_ as t,c as o,C as e,a,I as n,E as l,V as i,J as r,o as c}from"./chunks/framework.fcc0bf38.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-e-uDq" id="tab-XZcKgk9" checked="checked"><label for="tab-XZcKgk9">JDSALing</label><input type="radio" name="group-e-uDq" id="tab-U59wtpM"><label for="tab-U59wtpM">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>
<span class="line"><span style="color:#FFCB6B;">那么它也将作为单位的显示名称</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"></span>
<span class="line"><span style="color:#FFCB6B;">具体描述文件位置(内部</span><span style="color:#A6ACCD;">):</span></span>
<span class="line"><span style="color:#FFCB6B;">1.assets/translationsStrings_zh.properties</span></span>
<span class="line"><span style="color:#FFCB6B;">格式:units.单位名称.name</span><span style="color:#A6ACCD;">=</span></span>
<span class="line"><span style="color:#FFCB6B;">units.单位名称.description</span><span style="color:#A6ACCD;">= [[]]</span></span></code></pre></div><div class="language-bash"><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;">ini(-</span><span style="color:#A6ACCD;">):</span></span>
<span class="line"><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#FFCB6B;">2.displayText:</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">-</span></span>
<span class="line"><span style="color:#FFCB6B;">displayDescription:</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">-</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:#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><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-fB83f" id="tab-lQo786S" checked="checked"><label for="tab-lQo786S">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-J3IDl" id="tab-uIACUF_" checked="checked"><label for="tab-uIACUF_">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>
<span class="line"><span style="color:#A6ACCD;">maxHp:600</span></span></code></pre></div><h3 id="altnames" tabindex="-1">altNames <a class="header-anchor" href="#altnames" aria-label="Permalink to &quot;altNames&quot;"></a></h3><h4 id="altnames-" tabindex="-1">altNames- <a class="header-anchor" href="#altnames-" aria-label="Permalink to &quot;altNames-&quot;"></a></h4><p>:altNames :/ : :</p><h4 id="altnames-" tabindex="-1">altNames- <a class="header-anchor" href="#altnames-" aria-label="Permalink to &quot;altNames-&quot;"></a></h4><p>altNames:</p><h4 id="jdsaling" tabindex="-1"><strong>JDSALing</strong> <a class="header-anchor" href="#jdsaling" aria-label="Permalink to &quot;**JDSALing**&quot;"></a></h4>`,51),h=e("br",null,null,-1),u=i(`<h4 id="altnames-" tabindex="-1">altNames- <a class="header-anchor" href="#altnames-" aria-label="Permalink to &quot;altNames-&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;">altNames:ling,tobby3600,coldmint</span></span></code></pre></div><hr><h3 id="class" tabindex="-1">class <a class="header-anchor" href="#class" aria-label="Permalink to &quot;class&quot;"></a></h3><h4 id="class-" tabindex="-1">class- <a class="header-anchor" href="#class-" aria-label="Permalink to &quot;class-&quot;"></a></h4><p>:class : : :</p><p><br> Luke使<code>CustomUnitMetadata</code><br> </p><h4 id="class-" tabindex="-1">class- <a class="header-anchor" href="#class-" aria-label="Permalink to &quot;class-&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;">class:CustomUnitMetadata</span></span></code></pre></div><hr><h3 id="strictlevel" tabindex="-1">strictLevel <a class="header-anchor" href="#strictlevel" aria-label="Permalink to &quot;strictLevel&quot;"></a></h3><h4 id="strictlevel-" tabindex="-1">strictLevel- <a class="header-anchor" href="#strictlevel-" aria-label="Permalink to &quot;strictLevel-&quot;"></a></h4><p>:strictLevel : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>&quot;all-units.template&quot;,<br> 01</p></div><h4 id="strictlevel-" tabindex="-1">strictLevel- <a class="header-anchor" href="#strictlevel-" aria-label="Permalink to &quot;strictLevel-&quot;"></a></h4><div class="language-all-units.template,ini"><button title="Copy Code" class="copy"></button><span class="lang">all-units.template,ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">strictLevel:1</span></span></code></pre></div><hr><h3 id="techlevel" tabindex="-1">techLevel <a class="header-anchor" href="#techlevel" aria-label="Permalink to &quot;techLevel&quot;"></a></h3><h4 id="techlevel-" tabindex="-1">techLevel- <a class="header-anchor" href="#techlevel-" aria-label="Permalink to &quot;techLevel-&quot;"></a></h4><p>:techLevel : : :</p>`,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(`<h4 id="techlevel-" tabindex="-1">techLevel- <a class="header-anchor" href="#techlevel-" aria-label="Permalink to &quot;techLevel-&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;">techLevel:2</span></span></code></pre></div><hr><h3 id="buildspeed" tabindex="-1">buildSpeed <a class="header-anchor" href="#buildspeed" aria-label="Permalink to &quot;buildSpeed&quot;"></a></h3><h4 id="buildspeed-" tabindex="-1">buildSpeed- <a class="header-anchor" href="#buildspeed-" aria-label="Permalink to &quot;buildSpeed-&quot;"></a></h4><p>:buildSpeed : :/ :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> =1÷(60x)</p></div><h4 id="buildspeed-" tabindex="-1">buildSpeed- <a class="header-anchor" href="#buildspeed-" aria-label="Permalink to &quot;buildSpeed-&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;">buildSpeed:30s</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#或者</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">## 下方可能有误差</span></span>
<span class="line"><span style="color:#A6ACCD;">buildSpeed:0.0006</span></span></code></pre></div><hr><h3 id="isbio" tabindex="-1">isBio <a class="header-anchor" href="#isbio" aria-label="Permalink to &quot;isBio&quot;"></a></h3><h4 id="isbio-" tabindex="-1">isBio- <a class="header-anchor" href="#isbio-" aria-label="Permalink to &quot;isBio-&quot;"></a></h4><p>:isBio : : :</p>`,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(`<h4 id="isbio-" tabindex="-1">isBio- <a class="header-anchor" href="#isbio-" aria-label="Permalink to &quot;isBio-&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;">isBio:true</span></span></code></pre></div><hr><h3 id="isbug" tabindex="-1">isBug <a class="header-anchor" href="#isbug" aria-label="Permalink to &quot;isBug&quot;"></a></h3><h4 id="isbug-" tabindex="-1">isBug- <a class="header-anchor" href="#isbug-" aria-label="Permalink to &quot;isBug-&quot;"></a></h4><p>:isBug : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>true,</p></div><h4 id="isbug-" tabindex="-1">isBug- <a class="header-anchor" href="#isbug-" aria-label="Permalink to &quot;isBug-&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;">isBug:true</span></span></code></pre></div><hr><h3 id="isbuilder" tabindex="-1">isBuilder <a class="header-anchor" href="#isbuilder" aria-label="Permalink to &quot;isBuilder&quot;"></a></h3><h4 id="isbuilder-" tabindex="-1">isBuilder- <a class="header-anchor" href="#isbuilder-" aria-label="Permalink to &quot;isBuilder-&quot;"></a></h4><p>:isBuilder : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>true, [ai] useAsBuilder</p></div><h4 id="isbuilder-" tabindex="-1">isBuilder- <a class="header-anchor" href="#isbuilder-" aria-label="Permalink to &quot;isBuilder-&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;">isBuilder:true</span></span></code></pre></div><hr><h3 id="streamingcost" tabindex="-1">streamingCost <a class="header-anchor" href="#streamingcost" aria-label="Permalink to &quot;streamingCost&quot;"></a></h3><h4 id="streamingcost-" tabindex="-1">streamingCost- <a class="header-anchor" href="#streamingcost-" aria-label="Permalink to &quot;streamingCost-&quot;"></a></h4><p>:streamingCost : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> <br> 使</p></div><h4 id="streamingcost-" tabindex="-1">streamingCost- <a class="header-anchor" href="#streamingcost-" aria-label="Permalink to &quot;streamingCost-&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;">streamingCost:1145</span></span></code></pre></div><hr><h3 id="switchpricewithstreamingcost" tabindex="-1">switchPriceWithStreamingCost <a class="header-anchor" href="#switchpricewithstreamingcost" aria-label="Permalink to &quot;switchPriceWithStreamingCost&quot;"></a></h3><h4 id="switchpricewithstreamingcost-" tabindex="-1">switchPriceWithStreamingCost- <a class="header-anchor" href="#switchpricewithstreamingcost-" aria-label="Permalink to &quot;switchPriceWithStreamingCost-&quot;"></a></h4><p>:switchPriceWithStreamingCost(S.P.S.C.)<br> : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p> 使 all-units.template.</p></div><h4 id="switchpricewithstreamingcost-" tabindex="-1">switchPriceWithStreamingCost- <a class="header-anchor" href="#switchpricewithstreamingcost-" aria-label="Permalink to &quot;switchPriceWithStreamingCost-&quot;"></a></h4><div class="language-ini,all-units.template"><button title="Copy Code" class="copy"></button><span class="lang">ini,all-units.template</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">switchPriceWithStreamingCost:true</span></span></code></pre></div><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>使</p></div><h3 id="selfregenrate" tabindex="-1">selfRegenRate <a class="header-anchor" href="#selfregenrate" aria-label="Permalink to &quot;selfRegenRate&quot;"></a></h3><h4 id="selfregenrate-" tabindex="-1">selfRegenRate- <a class="header-anchor" href="#selfregenrate-" aria-label="Permalink to &quot;selfRegenRate-&quot;"></a></h4><p>:selfRegenRate : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>60FPS6030</p></div><h4 id="selfregenrate-" tabindex="-1">selfRegenRate- <a class="header-anchor" href="#selfregenrate-" aria-label="Permalink to &quot;selfRegenRate-&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;">maxHp:500</span></span>
<span class="line"><span style="color:#A6ACCD;">selfRegenRate:0.5</span></span></code></pre></div><hr><h3 id="maxshield" tabindex="-1">maxShield <a class="header-anchor" href="#maxshield" aria-label="Permalink to &quot;maxShield&quot;"></a></h3><h4 id="maxshield-" tabindex="-1">maxShield- <a class="header-anchor" href="#maxshield-" aria-label="Permalink to &quot;maxShield-&quot;"></a></h4><p>:maxShield : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>startShieldAtZero:true0.</p></div><h4 id="maxshield-" tabindex="-1">maxShield- <a class="header-anchor" href="#maxshield-" aria-label="Permalink to &quot;maxShield-&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;">maxShield:3000</span></span></code></pre></div><hr><h3 id="startshieldatzero" tabindex="-1">startShieldAtZero <a class="header-anchor" href="#startshieldatzero" aria-label="Permalink to &quot;startShieldAtZero&quot;"></a></h3><h4 id="startshieldatzero-" tabindex="-1">startShieldAtZero- <a class="header-anchor" href="#startshieldatzero-" aria-label="Permalink to &quot;startShieldAtZero-&quot;"></a></h4><p>:startShieldAtZero :0 : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>true0</p></div><h4 id="startshieldatzero-" tabindex="-1">startShieldAtZero- <a class="header-anchor" href="#startshieldatzero-" aria-label="Permalink to &quot;startShieldAtZero-&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;">maxShield:3000</span></span>
<span class="line"><span style="color:#A6ACCD;">startShieldAtZero:true</span></span></code></pre></div><hr><h3 id="shieldregen" tabindex="-1">shieldRegen <a class="header-anchor" href="#shieldregen" aria-label="Permalink to &quot;shieldRegen&quot;"></a></h3><h4 id="shieldregen-" tabindex="-1">shieldRegen- <a class="header-anchor" href="#shieldregen-" aria-label="Permalink to &quot;shieldRegen-&quot;"></a></h4><p>:shieldRegen : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>60</p></div><h4 id="shieldregen-" tabindex="-1">shieldRegen- <a class="header-anchor" href="#shieldregen-" aria-label="Permalink to &quot;shieldRegen-&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;">maxShield:3000</span></span>
<span class="line"><span style="color:#A6ACCD;">shieldRegen:0.5</span></span></code></pre></div><hr><h3 id="energymax" tabindex="-1">energyMax <a class="header-anchor" href="#energymax" aria-label="Permalink to &quot;energyMax&quot;"></a></h3><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&quot;"></a></h4><p>:energyMax : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0</p></div><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&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;">energyMax:5</span></span></code></pre></div><hr><h3 id="energyregen" tabindex="-1">energyRegen <a class="header-anchor" href="#energyregen" aria-label="Permalink to &quot;energyRegen&quot;"></a></h3><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&quot;"></a></h4><p>:energyRegen : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>60</p></div><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&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;">energyRegen:0.4</span></span></code></pre></div><hr><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to &quot;energyRegenWhenRecharging&quot;"></a></h3><h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></a></h4><p>:energyRegenWhenRecharging : : :</p>`,77),D={class:"tip custom-block"},A=e("p",{class:"custom-block-title"},"TIP",-1),P=i(`<h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&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;">energyMax:1</span></span>
<span class="line"><span style="color:#A6ACCD;">energyRegenWhenRecharging:0.4</span></span></code></pre></div><hr><h3 id="energyneedstorechargetofull" tabindex="-1">energyNeedsToRechargeToFull <a class="header-anchor" href="#energyneedstorechargetofull" aria-label="Permalink to &quot;energyNeedsToRechargeToFull&quot;"></a></h3><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&quot;"></a></h4><p>:energyNeedsToRechargeToFull : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&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;">energyMax:4</span></span>
<span class="line"><span style="color:#A6ACCD;">energyNeedsToRechargeToFull:true</span></span></code></pre></div><hr><h3 id="armour" tabindex="-1">armour <a class="header-anchor" href="#armour" aria-label="Permalink to &quot;armour&quot;"></a></h3><h4 id="armour-" tabindex="-1">armour- <a class="header-anchor" href="#armour-" aria-label="Permalink to &quot;armour-&quot;"></a></h4><p>:armour : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="armour-" tabindex="-1">armour- <a class="header-anchor" href="#armour-" aria-label="Permalink to &quot;armour-&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;">armour:40</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以上的常规攻击则进行抵消反之返回1伤害点</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#例如45伤害40护甲那么将获得5点伤害</span></span></code></pre></div><hr><h3 id="armourmindamagetokeep" tabindex="-1">armourMinDamageToKeep <a class="header-anchor" href="#armourmindamagetokeep" aria-label="Permalink to &quot;armourMinDamageToKeep&quot;"></a></h3><h4 id="armourmindamagetokeep-" tabindex="-1">armourMinDamageToKeep- <a class="header-anchor" href="#armourmindamagetokeep-" aria-label="Permalink to &quot;armourMinDamageToKeep-&quot;"></a></h4><p>:armourMinDamageToKeep : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>1.</p></div><h4 id="armourmindamagetokeep-" tabindex="-1">armourMinDamageToKeep- <a class="header-anchor" href="#armourmindamagetokeep-" aria-label="Permalink to &quot;armourMinDamageToKeep-&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;">armour:40</span></span>
<span class="line"><span style="color:#A6ACCD;">armourMinDamageToKeep:2</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击则进行最低伤害判定</span></span></code></pre></div><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-2yvIb" id="tab-iB97klY" checked="checked"><label for="tab-iB97klY"></label><input type="radio" name="group-2yvIb" id="tab-6ns0Ecz"><label for="tab-6ns0Ecz"></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>
<span class="line"><span style="color:#89DDFF;">(</span><span style="color:#FFCB6B;"></span><span style="color:#89DDFF;">|</span><span style="color:#FFCB6B;"></span><span style="color:#89DDFF;">)</span></span></code></pre></div><div class="language-bash"><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:#676E95;font-style:italic;">#</span></span>
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">core</span><span style="color:#89DDFF;">]</span></span>
<span class="line"><span style="color:#FFCB6B;">borrowResourcesWhileAlive:5000</span></span>
<span class="line"><span style="color:#FFCB6B;">energyMax:1</span></span>
<span class="line"><span style="color:#FFCB6B;">energyRegen:-0.4</span></span>
<span class="line"><span style="color:#FFCB6B;">dieOnZeroEnergy:true</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#原理是通过能量为0单位死亡并通过这个代码还钱</span></span>
<span class="line"><span style="color:#FFCB6B;">是很简陋的贷款思路当然在后续会有更加高级的思路</span></span></code></pre></div></div></div><hr><h3 id="generation-resources" tabindex="-1">generation_resources <a class="header-anchor" href="#generation-resources" aria-label="Permalink to &quot;generation_resources&quot;"></a></h3><h4 id="generation-resources-" tabindex="-1">generation_resources- <a class="header-anchor" href="#generation-resources-" aria-label="Permalink to &quot;generation_resources-&quot;"></a></h4><p>:generation_resources : :Price :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="generation-resources-" tabindex="-1">generation_resources- <a class="header-anchor" href="#generation-resources-" aria-label="Permalink to &quot;generation_resources-&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;">generation_resources:10</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#or</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_resources:</span><span style="color:#F07178;">credits</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">10</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#常规产出10credits/1s游戏资金</span></span>
<span class="line"><span style="color:#A6ACCD;">-----------我是分界线----------</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#自定义资源写法</span></span>
<span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_resources:金属=5</span></span></code></pre></div><hr><h3 id="generation-active" tabindex="-1">generation_active <a class="header-anchor" href="#generation-active" aria-label="Permalink to &quot;generation_active&quot;"></a></h3><h4 id="generation-active-" tabindex="-1">generation_active- <a class="header-anchor" href="#generation-active-" aria-label="Permalink to &quot;generation_active-&quot;"></a></h4><p>:generation_active : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="generation-active-" tabindex="-1">generation_active- <a class="header-anchor" href="#generation-active-" aria-label="Permalink to &quot;generation_active-&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:#676E95;font-style:italic;">#1.14写法</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_resources:金属=5</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_active: if not self.hp(</span><span style="color:#F07178;">lessThan</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">100)</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#1.15写法</span></span>
<span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_resources:金属=5</span></span>
<span class="line"><span style="color:#A6ACCD;">generation_active: if not self.hp&lt;100</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#效果单位低于1000血量可以产出资源</span></span></code></pre></div><hr><h3 id="generation-credits" tabindex="-1">generation_credits <a class="header-anchor" href="#generation-credits" aria-label="Permalink to &quot;generation_credits&quot;"></a></h3><h4 id="generation-credits-" tabindex="-1">generation_credits- <a class="header-anchor" href="#generation-credits-" aria-label="Permalink to &quot;generation_credits-&quot;"></a></h4><p>:generation_credits : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="generation-credits-" tabindex="-1">generation_credits- <a class="header-anchor" href="#generation-credits-" aria-label="Permalink to &quot;generation_credits-&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:#F07178;">generation_credits</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5</span></span></code></pre></div><h3 id="generation-delay" tabindex="-1">generation_delay <a class="header-anchor" href="#generation-delay" aria-label="Permalink to &quot;generation_delay&quot;"></a></h3><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>Luke使</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>使40Bug 使3036</p></div><hr><h4 id="generation-delay-" tabindex="-1">generation_delay- <a class="header-anchor" href="#generation-delay-" aria-label="Permalink to &quot;generation_delay-&quot;"></a></h4><p>:generation_delay : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>(generation_credits) 4060</p></div><h4 id="generation-delay-" tabindex="-1">generation_delay- <a class="header-anchor" href="#generation-delay-" aria-label="Permalink to &quot;generation_delay-&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:#F07178;">generation_delay</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">40</span></span></code></pre></div><h2 id="-ui" tabindex="-1">-UI <a class="header-anchor" href="#-ui" aria-label="Permalink to &quot;-UI&quot;"></a></h2><h3 id="showineditor" tabindex="-1">showInEditor <a class="header-anchor" href="#showineditor" aria-label="Permalink to &quot;showInEditor&quot;"></a></h3><h4 id="showineditor-" tabindex="-1">showInEditor- <a class="header-anchor" href="#showineditor-" aria-label="Permalink to &quot;showInEditor-&quot;"></a></h4><p>:showInEditor : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>false(true)</p></div><h4 id="showineditor-" tabindex="-1">showInEditor- <a class="header-anchor" href="#showineditor-" aria-label="Permalink to &quot;showInEditor-&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;">showInEditor:false</span></span></code></pre></div><h3 id="displaytext-lang" tabindex="-1">displayText_LANG <a class="header-anchor" href="#displaytext-lang" aria-label="Permalink to &quot;displayText_LANG&quot;"></a></h3><h4 id="displaytext-lang-" tabindex="-1">displayText_{LANG}- <a class="header-anchor" href="#displaytext-lang-" aria-label="Permalink to &quot;displayText_{LANG}-&quot;"></a></h4><p>:displayText_{LANG} : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>便Luke</p></div><table><thead><tr><th style="text-align:center;"></th><th style="text-align:center;">/</th><th style="text-align:center;"></th><th style="text-align:center;">/</th></tr></thead><tbody><tr><td style="text-align:center;">zh</td><td style="text-align:center;">()</td><td style="text-align:center;">en()</td><td style="text-align:center;">()</td></tr><tr><td style="text-align:center;">zh-cn</td><td style="text-align:center;">()</td><td style="text-align:center;">ru</td><td style="text-align:center;">()</td></tr><tr><td style="text-align:center;">zh-tw</td><td style="text-align:center;">()</td><td style="text-align:center;">ja</td><td style="text-align:center;">()</td></tr><tr><td style="text-align:center;">zh-hk</td><td style="text-align:center;">()</td><td style="text-align:center;">es-ES</td><td style="text-align:center;">西</td></tr><tr><td style="text-align:center;">de</td><td style="text-align:center;"></td><td style="text-align:center;">fr-FR</td><td style="text-align:center;"></td></tr></tbody></table><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>()<code>en</code>,<code>en</code>,</p></div><p><code>displayText:</code><code>displayText_zh:</code><code>displayText_zh:</code><br><code>displayText:Tank</code>,<code></code><code>mod</code>使Modder</p><h4 id="displaytext-lang-" tabindex="-1">displayText_{LANG}- <a class="header-anchor" href="#displaytext-lang-" aria-label="Permalink to &quot;displayText_{LANG}-&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:#676E95;font-style:italic;">#English</span></span>
<span class="line"><span style="color:#A6ACCD;">displayText:Tank</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#Chinese</span></span>
<span class="line"><span style="color:#A6ACCD;">displayText_zh:坦克</span></span></code></pre></div><hr><h3 id="displaydescription-lang" tabindex="-1">displayDescription_LANG <a class="header-anchor" href="#displaydescription-lang" aria-label="Permalink to &quot;displayDescription_LANG&quot;"></a></h3><h4 id="displaydescription-" tabindex="-1">displayDescription- <a class="header-anchor" href="#displaydescription-" aria-label="Permalink to &quot;displayDescription-&quot;"></a></h4><p>:displayDescription_{LANG} : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>,使,使<code>displayText</code></p></div><h4 id="displaydescription-" tabindex="-1">displayDescription- <a class="header-anchor" href="#displaydescription-" aria-label="Permalink to &quot;displayDescription-&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;">displayText:坦克</span></span>
<span class="line"><span style="color:#A6ACCD;">displayDescription:只能对地弱输出只能在地上行走</span></span></code></pre></div><hr><h3 id="displaylocalekey" tabindex="-1">displayLocaleKey <a class="header-anchor" href="#displaylocalekey" aria-label="Permalink to &quot;displayLocaleKey&quot;"></a></h3><h4 id="displaylocalekey-" tabindex="-1">displayLocaleKey- <a class="header-anchor" href="#displaylocalekey-" aria-label="Permalink to &quot;displayLocaleKey-&quot;"></a></h4><p>:displayLocaleKey : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><code></code></p></div><h4 id="displaylocalekey-" tabindex="-1">displayLocaleKey- <a class="header-anchor" href="#displaylocalekey-" aria-label="Permalink to &quot;displayLocaleKey-&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;">displayLocaleKey: units.mechArtillery</span></span></code></pre></div><hr><h3 id="displayradius" tabindex="-1">displayRadius <a class="header-anchor" href="#displayradius" aria-label="Permalink to &quot;displayRadius&quot;"></a></h3><h4 id="displayradius-" tabindex="-1">displayRadius- <a class="header-anchor" href="#displayradius-" aria-label="Permalink to &quot;displayRadius-&quot;"></a></h4><p>:displayRadius : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>绿(radius)</p></div><h4 id="displayradius-" tabindex="-1">displayRadius- <a class="header-anchor" href="#displayradius-" aria-label="Permalink to &quot;displayRadius-&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;">displayRadius:25</span></span></code></pre></div><hr><h3 id="uitargetradius" tabindex="-1">uiTargetRadius <a class="header-anchor" href="#uitargetradius" aria-label="Permalink to &quot;uiTargetRadius&quot;"></a></h3><h4 id="uitargetradius-" tabindex="-1">uiTargetRadius- <a class="header-anchor" href="#uitargetradius-" aria-label="Permalink to &quot;uiTargetRadius-&quot;"></a></h4><p>:uiTargetRadius : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>//使</p></div><h4 id="uitargetradius-" tabindex="-1">uiTargetRadius- <a class="header-anchor" href="#uitargetradius-" aria-label="Permalink to &quot;uiTargetRadius-&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;">uiTargetRadius:25</span></span></code></pre></div><hr><h3 id="shieldrenderradius" tabindex="-1">shieldRenderRadius <a class="header-anchor" href="#shieldrenderradius" aria-label="Permalink to &quot;shieldRenderRadius&quot;"></a></h3><h4 id="shieldrenderradius-" tabindex="-1">shieldRenderRadius- <a class="header-anchor" href="#shieldrenderradius-" aria-label="Permalink to &quot;shieldRenderRadius-&quot;"></a></h4><p>:shieldRenderRadius : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p> </p></div><h4 id="shieldrenderradius-" tabindex="-1">shieldRenderRadius- <a class="header-anchor" href="#shieldrenderradius-" aria-label="Permalink to &quot;shieldRenderRadius-&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;">shieldRenderRadius:20</span></span></code></pre></div><hr><h3 id="shielddisplayonlydeflection" tabindex="-1">shieldDisplayOnlyDeflection <a class="header-anchor" href="#shielddisplayonlydeflection" aria-label="Permalink to &quot;shieldDisplayOnlyDeflection&quot;"></a></h3><h4 id="shielddisplayonlydeflection-" tabindex="-1">shieldDisplayOnlyDeflection- <a class="header-anchor" href="#shielddisplayonlydeflection-" aria-label="Permalink to &quot;shieldDisplayOnlyDeflection-&quot;"></a></h4><p>:shieldDisplayOnlyDeflection : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="shielddisplayonlydeflection-" tabindex="-1">shieldDisplayOnlyDeflection- <a class="header-anchor" href="#shielddisplayonlydeflection-" aria-label="Permalink to &quot;shieldDisplayOnlyDeflection-&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;">shieldDisplayOnlyDeflection:true</span></span></code></pre></div><hr><h3 id="shielddeflectiondisplayrate" tabindex="-1">shieldDeflectionDisplayRate <a class="header-anchor" href="#shielddeflectiondisplayrate" aria-label="Permalink to &quot;shieldDeflectionDisplayRate&quot;"></a></h3><h4 id="shielddeflectiondisplayrate-" tabindex="-1">shieldDeflectionDisplayRate- <a class="header-anchor" href="#shielddeflectiondisplayrate-" aria-label="Permalink to &quot;shieldDeflectionDisplayRate-&quot;"></a></h4><p>:shieldDeflectionDisplayRate : : :UI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>4</p></div><h4 id="shielddeflectiondisplayrate-" tabindex="-1">shieldDeflectionDisplayRate- <a class="header-anchor" href="#shielddeflectiondisplayrate-" aria-label="Permalink to &quot;shieldDeflectionDisplayRate-&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;">shieldDeflectionDisplayRate:3</span></span></code></pre></div><hr><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>:showOnMinimap : : :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><hr><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><hr><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><h3 id="isbuilding" tabindex="-1">isBuilding <a class="header-anchor" href="#isbuilding" aria-label="Permalink to &quot;isBuilding&quot;"></a></h3><h4 id="isbuilding-" tabindex="-1">isBuilding- <a class="header-anchor" href="#isbuilding-" aria-label="Permalink to &quot;isBuilding-&quot;"></a></h4><p>:isBuilding : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>true</p></div><h4 id="isbuilding-" tabindex="-1">isBuilding- <a class="header-anchor" href="#isbuilding-" aria-label="Permalink to &quot;isBuilding-&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;">isBuilding:true</span></span></code></pre></div><hr><h3 id="footprint" tabindex="-1">footprint <a class="header-anchor" href="#footprint" aria-label="Permalink to &quot;footprint&quot;"></a></h3><h4 id="footprint-" tabindex="-1">footprint- <a class="header-anchor" href="#footprint-" aria-label="Permalink to &quot;footprint-&quot;"></a></h4><p>:footprint : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>() 使radius</p></div><h4 id="footprint-" tabindex="-1">footprint- <a class="header-anchor" href="#footprint-" aria-label="Permalink to &quot;footprint-&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:#676E95;font-style:italic;">##1x1</span></span>
<span class="line"><span style="color:#A6ACCD;">footprint: 0,0,0,0</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">##2X2</span></span>
<span class="line"><span style="color:#A6ACCD;">footprint: 0,0,1,1</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">##3X3</span></span>
<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=r("font");return c(),o("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

@ -0,0 +1 @@
import{_ as t,c as o,C as e,a,I as n,E as l,V as i,J as r,o as c}from"./chunks/framework.fcc0bf38.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=r("font");return c(),o("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

@ -0,0 +1,170 @@
import{_ as a,c as e,o as s,V as n}from"./chunks/framework.fcc0bf38.js";const f=JSON.parse('{"title":"[graphics]图像组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/graphics.md","filePath":"src/Unit/graphics.md"}'),l={name:"src/Unit/graphics.md"},t=n(`<h1 id="graphics-图像组" tabindex="-1"><strong>[graphics]图像组</strong> <a class="header-anchor" href="#graphics-图像组" aria-label="Permalink to &quot;**[graphics]图像组**&quot;"></a></h1><h3 id="image" tabindex="-1">image <a class="header-anchor" href="#image" aria-label="Permalink to &quot;image&quot;"></a></h3><h4 id="image-代码简介" tabindex="-1">image-代码简介 <a class="header-anchor" href="#image-代码简介" aria-label="Permalink to &quot;image-代码简介&quot;"></a></h4><p>代码:image 中文释义:图像 类型:字符型</p><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>如果需要隐藏单位的图像请使用空白透明的图像替代。<br> 请勿直接忽略此项,会直接报错导致此单位代码无法加载,从而报错。</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>铁锈战争支持多种图片格式jpg,png,bmp...等但也有一部分的格式并不支持如webp这种的。<br> 尽量使用png格式的图片也许不失为一个好的选择。</p></div><h4 id="image-用法" tabindex="-1">image-用法 <a class="header-anchor" href="#image-用法" aria-label="Permalink to &quot;image-用法&quot;"></a></h4><p>填写图片文件或图片文件的路径,图片文件将作为单位的主体图像。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>路径可使用相对路径或绝对路径。<br> 绝对路径中的根目录是以模组包内的首层目录为根目录的。<br> 相对路径则是以ini代码文件的目录为起始目录。<br> 图片和代码在同一目录下直接填写路径的用法相当于使用了相对路径。<br> 此方法基本适用于[graphics]组内所有需要引用图像文件的地方。</p></div><h4 id="image-示例" tabindex="-1">image-示例 <a class="header-anchor" href="#image-示例" aria-label="Permalink to &quot;image-示例&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image: ROOT:\\124\\255\\tank.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image: \\124\\255\\tank.png </span><span style="color:#676E95;font-style:italic;"># </span></span></code></pre></div><h3 id="image-back" tabindex="-1">image_back <a class="header-anchor" href="#image-back" aria-label="Permalink to &quot;image_back&quot;"></a></h3><h4 id="image-back-" tabindex="-1">image_back- <a class="header-anchor" href="#image-back-" aria-label="Permalink to &quot;image_back-&quot;"></a></h4><p>:image_back : :</p><h4 id="image-back-" tabindex="-1">image_back- <a class="header-anchor" href="#image-back-" aria-label="Permalink to &quot;image_back-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> 使</p></div><h4 id="image-back-" tabindex="-1">image_back- <a class="header-anchor" href="#image-back-" aria-label="Permalink to &quot;image_back-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_back: ROOT:\\124\\255\\background.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_back: \\124\\255\\background.png </span><span style="color:#676E95;font-style:italic;"># </span></span></code></pre></div><h3 id="image-wreak" tabindex="-1">image_wreak <a class="header-anchor" href="#image-wreak" aria-label="Permalink to &quot;image_wreak&quot;"></a></h3><h4 id="image-wreak-" tabindex="-1">image_wreak- <a class="header-anchor" href="#image-wreak-" aria-label="Permalink to &quot;image_wreak-&quot;"></a></h4><p>:image_wreak : :</p><h4 id="image-wreak-" tabindex="-1">image_wreak- <a class="header-anchor" href="#image-wreak-" aria-label="Permalink to &quot;image_wreak-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> 使NONE</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>使</p></div><h4 id="image-wreak-" tabindex="-1">image_wreak- <a class="header-anchor" href="#image-wreak-" aria-label="Permalink to &quot;image_wreak-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_wreak: ROOT:\\124\\255\\image_wreak.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_wreak: \\124\\255\\image_wreak.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_wreak: NONE</span></span></code></pre></div><h3 id="image-shield" tabindex="-1">image_shield <a class="header-anchor" href="#image-shield" aria-label="Permalink to &quot;image_shield&quot;"></a></h3><h4 id="image-shield-" tabindex="-1">image_shield- <a class="header-anchor" href="#image-shield-" aria-label="Permalink to &quot;image_shield-&quot;"></a></h4><p>:image_shield : :</p><h4 id="image-shield-" tabindex="-1">image_shield- <a class="header-anchor" href="#image-shield-" aria-label="Permalink to &quot;image_shield-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> 使使<br> 使NONE</p></div><h4 id="image-shield-" tabindex="-1">image_shield- <a class="header-anchor" href="#image-shield-" aria-label="Permalink to &quot;image_shield-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shield: ROOT:\\124\\255\\image_shield.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shield: \\124\\255\\image_shield.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shield: NONE</span></span></code></pre></div><h3 id="image-offsetx" tabindex="-1">image_offsetX <a class="header-anchor" href="#image-offsetx" aria-label="Permalink to &quot;image_offsetX&quot;"></a></h3><h4 id="image-offsetx-" tabindex="-1">image_offsetX- <a class="header-anchor" href="#image-offsetx-" aria-label="Permalink to &quot;image_offsetX-&quot;"></a></h4><p>:image_offsetX :X :</p><h4 id="image-offsetx-" tabindex="-1">image_offsetX- <a class="header-anchor" href="#image-offsetx-" aria-label="Permalink to &quot;image_offsetX-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>X<br> XX</p></div><h4 id="image-offsetx-" tabindex="-1">image_offsetX- <a class="header-anchor" href="#image-offsetx-" aria-label="Permalink to &quot;image_offsetX-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_offsetX:1 </span><span style="color:#676E95;font-style:italic;"># 1</span></span></code></pre></div><h3 id="image-offsety" tabindex="-1">image_offsetY <a class="header-anchor" href="#image-offsety" aria-label="Permalink to &quot;image_offsetY&quot;"></a></h3><h4 id="image-offsety-" tabindex="-1">image_offsetY- <a class="header-anchor" href="#image-offsety-" aria-label="Permalink to &quot;image_offsetY-&quot;"></a></h4><p>:image_offsetY :Y :</p><h4 id="image-offsety-" tabindex="-1">image_offsetY- <a class="header-anchor" href="#image-offsety-" aria-label="Permalink to &quot;image_offsetY-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>Y<br> XY</p></div><h4 id="image-offsety-" tabindex="-1">image_offsetY- <a class="header-anchor" href="#image-offsety-" aria-label="Permalink to &quot;image_offsetY-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_offsetY:1 </span><span style="color:#676E95;font-style:italic;"># 1</span></span></code></pre></div><h3 id="isvisible" tabindex="-1">isVisible <a class="header-anchor" href="#isvisible" aria-label="Permalink to &quot;isVisible&quot;"></a></h3><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p>:isVisible : :</p><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>true<br> 使</p></div><h4 id="isvisible-" tabindex="-1">isVisible- <a class="header-anchor" href="#isvisible-" aria-label="Permalink to &quot;isVisible-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisible:false </span><span style="color:#676E95;font-style:italic;"># 使</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisible:if self.hp() &gt; 200 </span><span style="color:#676E95;font-style:italic;"># 使</span></span></code></pre></div><h3 id="isvisibletoenemies" tabindex="-1">isVisibleToEnemies <a class="header-anchor" href="#isvisibletoenemies" aria-label="Permalink to &quot;isVisibleToEnemies&quot;"></a></h3><h4 id="isvisibletoenemies-" tabindex="-1">isVisibleToEnemies- <a class="header-anchor" href="#isvisibletoenemies-" aria-label="Permalink to &quot;isVisibleToEnemies-&quot;"></a></h4><p>:isVisibleToEnemies : :</p><h4 id="isvisibletoenemies-" tabindex="-1">isVisibleToEnemies- <a class="header-anchor" href="#isvisibletoenemies-" aria-label="Permalink to &quot;isVisibleToEnemies-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>showOnMinimapToEnemies,canOnlyBeAttackedByUnitsWithTags使<br> HX</p></div><h4 id="isvisibletoenemies-" tabindex="-1">isVisibleToEnemies- <a class="header-anchor" href="#isvisibletoenemies-" aria-label="Permalink to &quot;isVisibleToEnemies-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisibleToEnemies:false </span><span style="color:#676E95;font-style:italic;"># 使</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">isVisibleToEnemies:if self.hp() &gt; 200 </span><span style="color:#676E95;font-style:italic;"># 使</span></span></code></pre></div><h3 id="teamcolorsusehue" tabindex="-1">teamColorsUseHue <a class="header-anchor" href="#teamcolorsusehue" aria-label="Permalink to &quot;teamColorsUseHue&quot;"></a></h3><h4 id="teamcolorsusehue-" tabindex="-1">teamColorsUseHue- <a class="header-anchor" href="#teamcolorsusehue-" aria-label="Permalink to &quot;teamColorsUseHue-&quot;"></a></h4><p>:teamColorsUseHue : :</p><h4 id="teamcolorsusehue-" tabindex="-1">teamColorsUseHue- <a class="header-anchor" href="#teamcolorsusehue-" aria-label="Permalink to &quot;teamColorsUseHue-&quot;"></a></h4><p>使</p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="teamcolorsusehue-" tabindex="-1">teamColorsUseHue- <a class="header-anchor" href="#teamcolorsusehue-" aria-label="Permalink to &quot;teamColorsUseHue-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColorsUseHue:true </span><span style="color:#676E95;font-style:italic;"># 使</span></span></code></pre></div><h3 id="teamcoloringmode" tabindex="-1">teamColoringMode <a class="header-anchor" href="#teamcoloringmode" aria-label="Permalink to &quot;teamColoringMode&quot;"></a></h3><h4 id="teamcoloringmode-" tabindex="-1">teamColoringMode- <a class="header-anchor" href="#teamcoloringmode-" aria-label="Permalink to &quot;teamColoringMode-&quot;"></a></h4><p>:teamColoringMode : :</p><h4 id="teamcolorsusehue--1" tabindex="-1">teamColorsUseHue- <a class="header-anchor" href="#teamcolorsusehue--1" aria-label="Permalink to &quot;teamColorsUseHue-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>绿pureGreen<br> disabledhueShifthueAddpureGreen<br> 便绿</p></div><h4 id="teamcoloringmode-" tabindex="-1">teamColoringMode- <a class="header-anchor" href="#teamcoloringmode-" aria-label="Permalink to &quot;teamColoringMode-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColoringMode:disabled </span><span style="color:#676E95;font-style:italic;"># 使使</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColoringMode:hueShift </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColoringMode:hueShift </span><span style="color:#676E95;font-style:italic;"># 使teamColorsUseHue</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColoringMode:pureGreen </span><span style="color:#676E95;font-style:italic;"># 绿 </span></span></code></pre></div><h3 id="scaleimagesto" tabindex="-1">scaleImagesTo <a class="header-anchor" href="#scaleimagesto" aria-label="Permalink to &quot;scaleImagesTo&quot;"></a></h3><h4 id="scaleimagesto-" tabindex="-1">scaleImagesTo- <a class="header-anchor" href="#scaleimagesto-" aria-label="Permalink to &quot;scaleImagesTo-&quot;"></a></h4><p>:scaleImagesTo : :</p><h4 id="scaleimagesto-" tabindex="-1">scaleImagesTo- <a class="header-anchor" href="#scaleimagesto-" aria-label="Permalink to &quot;scaleImagesTo-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> 12242</p></div><h4 id="scaleimagesto-" tabindex="-1">scaleImagesTo- <a class="header-anchor" href="#scaleimagesto-" aria-label="Permalink to &quot;scaleImagesTo-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">scaleImagesTo:12.5</span></span></code></pre></div><h3 id="imagescale" tabindex="-1">imageScale <a class="header-anchor" href="#imagescale" aria-label="Permalink to &quot;imageScale&quot;"></a></h3><h4 id="imagescale-" tabindex="-1">imageScale- <a class="header-anchor" href="#imagescale-" aria-label="Permalink to &quot;imageScale-&quot;"></a></h4><p>:imageScale : :</p><h4 id="imagescale-" tabindex="-1">imageScale- <a class="header-anchor" href="#imagescale-" aria-label="Permalink to &quot;imageScale-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>scaleImagesTo<br> 1100%</p></div><h4 id="imagescale-" tabindex="-1">imageScale- <a class="header-anchor" href="#imagescale-" aria-label="Permalink to &quot;imageScale-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">imageScale:12.5</span></span></code></pre></div><h3 id="drawlayer" tabindex="-1">drawLayer <a class="header-anchor" href="#drawlayer" aria-label="Permalink to &quot;drawLayer&quot;"></a></h3><h4 id="drawlayer-" tabindex="-1">drawLayer- <a class="header-anchor" href="#drawlayer-" aria-label="Permalink to &quot;drawLayer-&quot;"></a></h4><p>:drawLayer : :</p><h4 id="drawlayer-" tabindex="-1">drawLayer- <a class="header-anchor" href="#drawlayer-" aria-label="Permalink to &quot;drawLayer-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>8<br> 便groundground2便ground2</p></div><h4 id="drawlayer-" tabindex="-1">drawLayer- <a class="header-anchor" href="#drawlayer-" aria-label="Permalink to &quot;drawLayer-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:ground</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:ground2</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:wreaks</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:underwater</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:bottom</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:experimentals</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:air</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">drawLayer:top</span></span></code></pre></div><h3 id="whenbeingbuiltmaketransparenttill" tabindex="-1">whenBeingBuiltMakeTransparentTill <a class="header-anchor" href="#whenbeingbuiltmaketransparenttill" aria-label="Permalink to &quot;whenBeingBuiltMakeTransparentTill&quot;"></a></h3><h4 id="whenbeingbuiltmaketransparenttill-" tabindex="-1">whenBeingBuiltMakeTransparentTill- <a class="header-anchor" href="#whenbeingbuiltmaketransparenttill-" aria-label="Permalink to &quot;whenBeingBuiltMakeTransparentTill-&quot;"></a></h4><p>:whenBeingBuiltMakeTransparentTill : :</p><h4 id="whenbeingbuiltmaketransparenttill-" tabindex="-1">whenBeingBuiltMakeTransparentTill- <a class="header-anchor" href="#whenbeingbuiltmaketransparenttill-" aria-label="Permalink to &quot;whenBeingBuiltMakeTransparentTill-&quot;"></a></h4><p>0-1</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>00<br> 1<br> </p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>0-10%100%100%</p></div><h4 id="whenbeingbuiltmaketransparenttill-" tabindex="-1">whenBeingBuiltMakeTransparentTill- <a class="header-anchor" href="#whenbeingbuiltmaketransparenttill-" aria-label="Permalink to &quot;whenBeingBuiltMakeTransparentTill-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">whenBeingBuiltMakeTransparentTill:0</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">whenBeingBuiltMakeTransparentTill:0.5</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">whenBeingBuiltMakeTransparentTill:1</span></span></code></pre></div><h3 id="icon-zoomed-out" tabindex="-1">icon_zoomed_out <a class="header-anchor" href="#icon-zoomed-out" aria-label="Permalink to &quot;icon_zoomed_out&quot;"></a></h3><h4 id="icon-zoomed-out-" tabindex="-1">icon_zoomed_out- <a class="header-anchor" href="#icon-zoomed-out-" aria-label="Permalink to &quot;icon_zoomed_out-&quot;"></a></h4><p>:icon_zoomed_out : :</p><h4 id="icon-zoomed-out-" tabindex="-1">icon_zoomed_out- <a class="header-anchor" href="#icon-zoomed-out-" aria-label="Permalink to &quot;icon_zoomed_out-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>image<br> 使</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p><br> <br> \\res\\drawable\\</p></div><h4 id="icon-zoomed-out-" tabindex="-1">icon_zoomed_out- <a class="header-anchor" href="#icon-zoomed-out-" aria-label="Permalink to &quot;icon_zoomed_out-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">icon_zoomed_out:mytubiao.png</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">icon_zoomed_out:tank_icon.png</span></span></code></pre></div><h3 id="icon-zoomed-out-nevershow" tabindex="-1">icon_zoomed_out_neverShow <a class="header-anchor" href="#icon-zoomed-out-nevershow" aria-label="Permalink to &quot;icon_zoomed_out_neverShow&quot;"></a></h3><h4 id="icon-zoomed-out-nevershow-" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow-" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&quot;"></a></h4><p>:icon_zoomed_out_neverShow : :</p><h4 id="icon-zoomed-out-nevershow-" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow-" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="icon-zoomed-out-nevershow-" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow-" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">icon_zoomed_out_neverShow:false</span></span>
<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><h3 id="icon-zoomed-out-nevershow-1" tabindex="-1">icon_zoomed_out_neverShow <a class="header-anchor" href="#icon-zoomed-out-nevershow-1" aria-label="Permalink to &quot;icon_zoomed_out_neverShow&quot;"></a></h3><h4 id="icon-zoomed-out-nevershow--1" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow--1" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&quot;"></a></h4><p>:icon_zoomed_out_neverShow : :</p><h4 id="icon-zoomed-out-nevershow--1" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow--1" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="icon-zoomed-out-nevershow--1" tabindex="-1">icon_zoomed_out_neverShow- <a class="header-anchor" href="#icon-zoomed-out-nevershow--1" aria-label="Permalink to &quot;icon_zoomed_out_neverShow-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">icon_zoomed_out_neverShow:false</span></span>
<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><h3 id="showselectionindicator" tabindex="-1">showSelectionIndicator <a class="header-anchor" href="#showselectionindicator" aria-label="Permalink to &quot;showSelectionIndicator&quot;"></a></h3><h4 id="showselectionindicator-" tabindex="-1">showSelectionIndicator- <a class="header-anchor" href="#showselectionindicator-" aria-label="Permalink to &quot;showSelectionIndicator-&quot;"></a></h4><p>:showSelectionIndicator : :</p><h4 id="showselectionindicator-" tabindex="-1">showSelectionIndicator- <a class="header-anchor" href="#showselectionindicator-" aria-label="Permalink to &quot;showSelectionIndicator-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>true</p></div><h4 id="showselectionindicator-" tabindex="-1">showSelectionIndicator- <a class="header-anchor" href="#showselectionindicator-" aria-label="Permalink to &quot;showSelectionIndicator-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">showSelectionIndicator:false</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">showSelectionIndicator:true</span></span></code></pre></div><h3 id="image-offseth" tabindex="-1">image_offsetH <a class="header-anchor" href="#image-offseth" aria-label="Permalink to &quot;image_offsetH&quot;"></a></h3><h4 id="image-offseth-" tabindex="-1">image_offsetH- <a class="header-anchor" href="#image-offseth-" aria-label="Permalink to &quot;image_offsetH-&quot;"></a></h4><p>:image_offsetH : :</p><h4 id="image-offseth-" tabindex="-1">image_offsetH- <a class="header-anchor" href="#image-offseth-" aria-label="Permalink to &quot;image_offsetH-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>true</p></div><h4 id="image-offseth-" tabindex="-1">image_offsetH- <a class="header-anchor" href="#image-offseth-" aria-label="Permalink to &quot;image_offsetH-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_offsetH:1</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_offsetH:1.2</span></span></code></pre></div><h3 id="image-turret" tabindex="-1">image_turret <a class="header-anchor" href="#image-turret" aria-label="Permalink to &quot;image_turret&quot;"></a></h3><h4 id="image-turret-" tabindex="-1">image_turret- <a class="header-anchor" href="#image-turret-" aria-label="Permalink to &quot;image_turret-&quot;"></a></h4><p>:image_turret : :</p><h4 id="image-turret-" tabindex="-1">image_turret- <a class="header-anchor" href="#image-turret-" aria-label="Permalink to &quot;image_turret-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p></p></div><h4 id="image-turret-" tabindex="-1">image_turret- <a class="header-anchor" href="#image-turret-" aria-label="Permalink to &quot;image_turret-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_turret:ROOT:\\124\\255\\image_shield.png </span><span style="color:#676E95;font-style:italic;"># </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_turret:\\124\\255\\image_shield.png </span><span style="color:#676E95;font-style:italic;"># </span></span></code></pre></div><h3 id="turretimagescale" tabindex="-1">turretImageScale <a class="header-anchor" href="#turretimagescale" aria-label="Permalink to &quot;turretImageScale&quot;"></a></h3><h4 id="turretimagescale-" tabindex="-1">turretImageScale- <a class="header-anchor" href="#turretimagescale-" aria-label="Permalink to &quot;turretImageScale-&quot;"></a></h4><p>:turretImageScale : :</p><h4 id="turretimagescale-" tabindex="-1">turretImageScale- <a class="header-anchor" href="#turretimagescale-" aria-label="Permalink to &quot;turretImageScale-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>imageScale</p></div><h4 id="turretimagescale-" tabindex="-1">turretImageScale- <a class="header-anchor" href="#turretimagescale-" aria-label="Permalink to &quot;turretImageScale-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretImageScale:0.1</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">turretImageScale:2</span></span></code></pre></div><h3 id="scaleturretimagesto" tabindex="-1">scaleTurretImagesTo <a class="header-anchor" href="#scaleturretimagesto" aria-label="Permalink to &quot;scaleTurretImagesTo&quot;"></a></h3><h4 id="scaleturretimagesto-" tabindex="-1">scaleTurretImagesTo- <a class="header-anchor" href="#scaleturretimagesto-" aria-label="Permalink to &quot;scaleTurretImagesTo-&quot;"></a></h4><p>:scaleTurretImagesTo : :</p><h4 id="scaleturretimagesto-" tabindex="-1">scaleTurretImagesTo- <a class="header-anchor" href="#scaleturretimagesto-" aria-label="Permalink to &quot;scaleTurretImagesTo-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p></p></div><h4 id="scaleturretimagesto-" tabindex="-1">scaleTurretImagesTo- <a class="header-anchor" href="#scaleturretimagesto-" aria-label="Permalink to &quot;scaleTurretImagesTo-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">scaleTurretImagesTo:11.2</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">scaleTurretImagesTo:33</span></span></code></pre></div><h3 id="teamcolorsonturret" tabindex="-1">teamColorsOnTurret <a class="header-anchor" href="#teamcolorsonturret" aria-label="Permalink to &quot;teamColorsOnTurret&quot;"></a></h3><h4 id="teamcolorsonturret-" tabindex="-1">teamColorsOnTurret- <a class="header-anchor" href="#teamcolorsonturret-" aria-label="Permalink to &quot;teamColorsOnTurret-&quot;"></a></h4><p>:teamColorsOnTurret :使 :</p><h4 id="teamcolorsonturret-" tabindex="-1">teamColorsOnTurret- <a class="header-anchor" href="#teamcolorsonturret-" aria-label="Permalink to &quot;teamColorsOnTurret-&quot;"></a></h4><p>使</p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="teamcolorsonturret-" tabindex="-1">teamColorsOnTurret- <a class="header-anchor" href="#teamcolorsonturret-" aria-label="Permalink to &quot;teamColorsOnTurret-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColorsOnTurret:true </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">teamColorsOnTurret:false</span></span></code></pre></div><h3 id="lock-body-rotation-with-main-turret" tabindex="-1">lock_body_rotation_with_main_turret <a class="header-anchor" href="#lock-body-rotation-with-main-turret" aria-label="Permalink to &quot;lock_body_rotation_with_main_turret&quot;"></a></h3><h4 id="lock-body-rotation-with-main-turret-" tabindex="-1">lock_body_rotation_with_main_turret- <a class="header-anchor" href="#lock-body-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_body_rotation_with_main_turret-&quot;"></a></h4><p>:lock_body_rotation_with_main_turret : :</p><h4 id="lock-body-rotation-with-main-turret-" tabindex="-1">lock_body_rotation_with_main_turret- <a class="header-anchor" href="#lock-body-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_body_rotation_with_main_turret-&quot;"></a></h4><p></p><h4 id="lock-body-rotation-with-main-turret-" tabindex="-1">lock_body_rotation_with_main_turret- <a class="header-anchor" href="#lock-body-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_body_rotation_with_main_turret-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_body_rotation_with_main_turret:true </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_body_rotation_with_main_turret:false</span></span></code></pre></div><h3 id="lock-leg-rotation-with-main-turret" tabindex="-1">lock_leg_rotation_with_main_turret <a class="header-anchor" href="#lock-leg-rotation-with-main-turret" aria-label="Permalink to &quot;lock_leg_rotation_with_main_turret&quot;"></a></h3><h4 id="lock-leg-rotation-with-main-turret-" tabindex="-1">lock_leg_rotation_with_main_turret- <a class="header-anchor" href="#lock-leg-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_leg_rotation_with_main_turret-&quot;"></a></h4><p>:lock_leg_rotation_with_main_turret : :</p><h4 id="lock-leg-rotation-with-main-turret-" tabindex="-1">lock_leg_rotation_with_main_turret- <a class="header-anchor" href="#lock-leg-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_leg_rotation_with_main_turret-&quot;"></a></h4><p></p><h4 id="lock-leg-rotation-with-main-turret-" tabindex="-1">lock_leg_rotation_with_main_turret- <a class="header-anchor" href="#lock-leg-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_leg_rotation_with_main_turret-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_leg_rotation_with_main_turret:true </span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_leg_rotation_with_main_turret:false</span></span></code></pre></div><h3 id="image-shadow" tabindex="-1">image_shadow <a class="header-anchor" href="#image-shadow" aria-label="Permalink to &quot;image_shadow&quot;"></a></h3><h4 id="image-shadow-" tabindex="-1">image_shadow- <a class="header-anchor" href="#image-shadow-" aria-label="Permalink to &quot;image_shadow-&quot;"></a></h4><p>:image_shadow : :</p><h4 id="image-shadow-" tabindex="-1">image_shadow- <a class="header-anchor" href="#image-shadow-" aria-label="Permalink to &quot;image_shadow-&quot;"></a></h4><p>NONEAUTO,使</p><h4 id="image-shadow-" tabindex="-1">image_shadow- <a class="header-anchor" href="#image-shadow-" aria-label="Permalink to &quot;image_shadow-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shadow:NONE </span><span style="color:#676E95;font-style:italic;">#使</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shadow:AUTO </span><span style="color:#676E95;font-style:italic;">#使</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shadow:./shadow/shadowA.png </span><span style="color:#676E95;font-style:italic;">#使</span></span></code></pre></div><h3 id="shadowoffsetx" tabindex="-1">shadowOffsetX <a class="header-anchor" href="#shadowoffsetx" aria-label="Permalink to &quot;shadowOffsetX&quot;"></a></h3><h4 id="shadowoffsetx-" tabindex="-1">shadowOffsetX- <a class="header-anchor" href="#shadowoffsetx-" aria-label="Permalink to &quot;shadowOffsetX-&quot;"></a></h4><p>:shadowOffsetX :X :</p><h4 id="shadowoffsetx-" tabindex="-1">shadowOffsetX- <a class="header-anchor" href="#shadowoffsetx-" aria-label="Permalink to &quot;shadowOffsetX-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>X<br> XX</p></div><h4 id="shadowoffsetx-" tabindex="-1">shadowOffsetX- <a class="header-anchor" href="#shadowoffsetx-" aria-label="Permalink to &quot;shadowOffsetX-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">shadowOffsetX:14</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">shadowOffsetX:-14.5</span></span></code></pre></div><h3 id="shadowoffsety" tabindex="-1">shadowOffsetY <a class="header-anchor" href="#shadowoffsety" aria-label="Permalink to &quot;shadowOffsetY&quot;"></a></h3><h4 id="shadowoffsety-" tabindex="-1">shadowOffsetY- <a class="header-anchor" href="#shadowoffsety-" aria-label="Permalink to &quot;shadowOffsetY-&quot;"></a></h4><p>:shadowOffsetY :Y :</p><h4 id="shadowoffsety-" tabindex="-1">shadowOffsetY- <a class="header-anchor" href="#shadowoffsety-" aria-label="Permalink to &quot;shadowOffsetY-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>Y<br> YY</p></div><h4 id="shadowoffsety-" tabindex="-1">shadowOffsetY- <a class="header-anchor" href="#shadowoffsety-" aria-label="Permalink to &quot;shadowOffsetY-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">shadowOffsetY:14</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">shadowOffsetY:-14.5</span></span></code></pre></div><h3 id="image-shadow-frames" tabindex="-1">image_shadow_frames <a class="header-anchor" href="#image-shadow-frames" aria-label="Permalink to &quot;image_shadow_frames&quot;"></a></h3><h4 id="image-shadow-frames-" tabindex="-1">image_shadow_frames- <a class="header-anchor" href="#image-shadow-frames-" aria-label="Permalink to &quot;image_shadow_frames-&quot;"></a></h4><p>:image_shadow_frames : :</p><h4 id="image-shadow-frames-" tabindex="-1">image_shadow_frames- <a class="header-anchor" href="#image-shadow-frames-" aria-label="Permalink to &quot;image_shadow_frames-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>true</p></div><h4 id="image-shadow-frames-" tabindex="-1">image_shadow_frames- <a class="header-anchor" href="#image-shadow-frames-" aria-label="Permalink to &quot;image_shadow_frames-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shadow_frames:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_shadow_frames:false</span></span></code></pre></div><h3 id="lock-shadow-rotation-with-main-turret" tabindex="-1">lock_shadow_rotation_with_main_turret <a class="header-anchor" href="#lock-shadow-rotation-with-main-turret" aria-label="Permalink to &quot;lock_shadow_rotation_with_main_turret&quot;"></a></h3><h4 id="lock-shadow-rotation-with-main-turret-" tabindex="-1">lock_shadow_rotation_with_main_turret- <a class="header-anchor" href="#lock-shadow-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_shadow_rotation_with_main_turret-&quot;"></a></h4><p>:lock_shadow_rotation_with_main_turret : :</p><h4 id="lock-shadow-rotation-with-main-turret-" tabindex="-1">lock_shadow_rotation_with_main_turret- <a class="header-anchor" href="#lock-shadow-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_shadow_rotation_with_main_turret-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>true</p></div><h4 id="lock-shadow-rotation-with-main-turret-" tabindex="-1">lock_shadow_rotation_with_main_turret- <a class="header-anchor" href="#lock-shadow-rotation-with-main-turret-" aria-label="Permalink to &quot;lock_shadow_rotation_with_main_turret-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_shadow_rotation_with_main_turret:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">lock_shadow_rotation_with_main_turret:false</span></span></code></pre></div><h3 id="total-frames" tabindex="-1">total_frames <a class="header-anchor" href="#total-frames" aria-label="Permalink to &quot;total_frames&quot;"></a></h3><h4 id="total-frames-" tabindex="-1">total_frames- <a class="header-anchor" href="#total-frames-" aria-label="Permalink to &quot;total_frames-&quot;"></a></h4><p>:total_frames : :</p><h4 id="total-frames-" tabindex="-1">total_frames- <a class="header-anchor" href="#total-frames-" aria-label="Permalink to &quot;total_frames-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>10</p></div><h4 id="total-frames-" tabindex="-1">total_frames- <a class="header-anchor" href="#total-frames-" aria-label="Permalink to &quot;total_frames-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">total_frames:5</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">total_frames:3</span></span></code></pre></div><h3 id="frame-width" tabindex="-1">frame_width <a class="header-anchor" href="#frame-width" aria-label="Permalink to &quot;frame_width&quot;"></a></h3><h4 id="frame-width-" tabindex="-1">frame_width- <a class="header-anchor" href="#frame-width-" aria-label="Permalink to &quot;frame_width-&quot;"></a></h4><p>:frame_width : :</p><h4 id="frame-width-" tabindex="-1">frame_width- <a class="header-anchor" href="#frame-width-" aria-label="Permalink to &quot;frame_width-&quot;"></a></h4><p></p><h4 id="frame-width-" tabindex="-1">frame_width- <a class="header-anchor" href="#frame-width-" aria-label="Permalink to &quot;frame_width-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">frame_width:23</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">frame_width:23</span></span></code></pre></div><h3 id="frame-height" tabindex="-1">frame_height <a class="header-anchor" href="#frame-height" aria-label="Permalink to &quot;frame_height&quot;"></a></h3><h4 id="frame-height-" tabindex="-1">frame_height- <a class="header-anchor" href="#frame-height-" aria-label="Permalink to &quot;frame_height-&quot;"></a></h4><p>:frame_height : :</p><h4 id="frame-height-" tabindex="-1">frame_height- <a class="header-anchor" href="#frame-height-" aria-label="Permalink to &quot;frame_height-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p></p></div><h4 id="frame-height-" tabindex="-1">frame_height- <a class="header-anchor" href="#frame-height-" aria-label="Permalink to &quot;frame_height-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">frame_height:23</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">frame_height:23</span></span></code></pre></div><h3 id="splasteffect" tabindex="-1">splastEffect <a class="header-anchor" href="#splasteffect" aria-label="Permalink to &quot;splastEffect&quot;"></a></h3><h4 id="splasteffect-" tabindex="-1">splastEffect- <a class="header-anchor" href="#splasteffect-" aria-label="Permalink to &quot;splastEffect-&quot;"></a></h4><p>:splastEffect : :</p><h4 id="splasteffect-" tabindex="-1">splastEffect- <a class="header-anchor" href="#splasteffect-" aria-label="Permalink to &quot;splastEffect-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="splasteffect-" tabindex="-1">splastEffect- <a class="header-anchor" href="#splasteffect-" aria-label="Permalink to &quot;splastEffect-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">splastEffect:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">splastEffect:false</span></span></code></pre></div><h3 id="dusteffect" tabindex="-1">dustEffect <a class="header-anchor" href="#dusteffect" aria-label="Permalink to &quot;dustEffect&quot;"></a></h3><h4 id="dusteffect-" tabindex="-1">dustEffect- <a class="header-anchor" href="#dusteffect-" aria-label="Permalink to &quot;dustEffect-&quot;"></a></h4><p>:dustEffect : :</p><h4 id="dusteffect-" tabindex="-1">dustEffect- <a class="header-anchor" href="#dusteffect-" aria-label="Permalink to &quot;dustEffect-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="dusteffect-" tabindex="-1">dustEffect- <a class="header-anchor" href="#dusteffect-" aria-label="Permalink to &quot;dustEffect-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">dustEffect:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">dustEffect:false</span></span></code></pre></div><h3 id="splasteffectreverse" tabindex="-1">splastEffectReverse <a class="header-anchor" href="#splasteffectreverse" aria-label="Permalink to &quot;splastEffectReverse&quot;"></a></h3><h4 id="splasteffectreverse-" tabindex="-1">splastEffectReverse- <a class="header-anchor" href="#splasteffectreverse-" aria-label="Permalink to &quot;splastEffectReverse-&quot;"></a></h4><p>:splastEffectReverse : :</p><h4 id="splasteffectreverse-" tabindex="-1">splastEffectReverse- <a class="header-anchor" href="#splasteffectreverse-" aria-label="Permalink to &quot;splastEffectReverse-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="splasteffectreverse-" tabindex="-1">splastEffectReverse- <a class="header-anchor" href="#splasteffectreverse-" aria-label="Permalink to &quot;splastEffectReverse-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">splastEffectReverse:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">splastEffectReverse:false</span></span></code></pre></div><h3 id="dusteffectreverse" tabindex="-1">dustEffectReverse <a class="header-anchor" href="#dusteffectreverse" aria-label="Permalink to &quot;dustEffectReverse&quot;"></a></h3><h4 id="dusteffectreverse-" tabindex="-1">dustEffectReverse- <a class="header-anchor" href="#dusteffectreverse-" aria-label="Permalink to &quot;dustEffectReverse-&quot;"></a></h4><p>:dustEffectReverse : :</p><h4 id="dusteffectreverse-" tabindex="-1">dustEffectReverse- <a class="header-anchor" href="#dusteffectreverse-" aria-label="Permalink to &quot;dustEffectReverse-&quot;"></a></h4><p></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>false</p></div><h4 id="dusteffectreverse-" tabindex="-1">dustEffectReverse- <a class="header-anchor" href="#dusteffectreverse-" aria-label="Permalink to &quot;dustEffectReverse-&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;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">dustEffectReverse:true</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">dustEffectReverse:false</span></span></code></pre></div>`,298),o=[t];function i(r,c,p,h,d,m){return s(),e("div",null,o)}const g=a(l,[["render",i]]);export{f as __pageData,g as default};

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,33 @@
import{_ as e,c as a,o as t,V as n}from"./chunks/framework.fcc0bf38.js";const u=JSON.parse('{"title":"[movement]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/movement.md","filePath":"src/Unit/movement.md"}'),o={name:"src/Unit/movement.md"},l=n(`<h1 id="movement-组" tabindex="-1"><strong>[movement]组</strong> <a class="header-anchor" href="#movement-组" aria-label="Permalink to &quot;**[movement]组**&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="movementtype" tabindex="-1">movementType <a class="header-anchor" href="#movementtype" aria-label="Permalink to &quot;movementType&quot;"></a></h3><h4 id="movementtype-代码简介" tabindex="-1">movementType-代码简介 <a class="header-anchor" href="#movementtype-代码简介" aria-label="Permalink to &quot;movementType-代码简介&quot;"></a></h4><p>代码:movementType 中文释义:运动类型 类型:字符串 隶属于:通用代码组</p><h4 id="string-要点指示" tabindex="-1">string-要点指示 <a class="header-anchor" href="#string-要点指示" aria-label="Permalink to &quot;string-要点指示&quot;"></a></h4><p>定义单位的运动类型判定单位是否可在某种地形上运动可用值为NONE、LAND、BUILDING、AIR、WATER、HOVER、OVER_CLIFF、OVER_CLIFF_WATER。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>不同的运动类型特点如下</p><table><thead><tr><th>类型</th><th>可跨陆地</th><th>可跨悬崖</th><th>可跨水</th><th>可跨岩浆</th></tr></thead><tbody><tr><td>NONE</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr><tr><td>LAND</td><td>✓</td><td>×</td><td>×</td><td>×</td></tr><tr><td>BUILDING</td><td>✓</td><td>×</td><td>×</td><td>×</td></tr><tr><td>AIR</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr><tr><td>WATER</td><td>×</td><td>×</td><td>✓</td><td>×</td></tr><tr><td>HOVER</td><td>✓</td><td>×</td><td>✓</td><td>×</td></tr><tr><td>OVER_CLIFF</td><td>✓</td><td>✓</td><td>×</td><td>×</td></tr><tr><td>OVER_CLIFF_WATER</td><td>✓</td><td>✓</td><td>✓</td><td>×</td></tr></tbody></table></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>类型NONE虽然说移动无视地形但是只能在LAND类型地块进行放置</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>NONE移动类型在多选单位进行移动时会有卡寻路的问题 BUILDING移动类型似乎已经废弃和LAND没有任何区别</p></div><h4 id="movementtype-演示例子" tabindex="-1">movementType-演示例子 <a class="header-anchor" href="#movementtype-演示例子" aria-label="Permalink to &quot;movementType-演示例子&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">movementType:LAND</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="movespeed" tabindex="-1">moveSpeed <a class="header-anchor" href="#movespeed" aria-label="Permalink to &quot;moveSpeed&quot;"></a></h3><h4 id="movespeed-" tabindex="-1">moveSpeed- <a class="header-anchor" href="#movespeed-" aria-label="Permalink to &quot;moveSpeed-&quot;"></a></h4><p>:moveSpeed : : :</p><h4 id="movespeed-" tabindex="-1">moveSpeed- <a class="header-anchor" href="#movespeed-" aria-label="Permalink to &quot;moveSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>/</strong>20x20601</p></div><h4 id="movespeed-" tabindex="-1">moveSpeed- <a class="header-anchor" href="#movespeed-" aria-label="Permalink to &quot;moveSpeed-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSpeed:0.5</span></span></code></pre></div><hr><h3 id="moveaccelerationspeed" tabindex="-1">moveAccelerationSpeed <a class="header-anchor" href="#moveaccelerationspeed" aria-label="Permalink to &quot;moveAccelerationSpeed&quot;"></a></h3><h4 id="moveaccelerationspeed-" tabindex="-1">moveAccelerationSpeed- <a class="header-anchor" href="#moveaccelerationspeed-" aria-label="Permalink to &quot;moveAccelerationSpeed-&quot;"></a></h4><p>:moveAccelerationSpeed : : :</p><h4 id="moveaccelerationspeed-" tabindex="-1">moveAccelerationSpeed- <a class="header-anchor" href="#moveaccelerationspeed-" aria-label="Permalink to &quot;moveAccelerationSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="moveaccelerationspeed-" tabindex="-1">moveAccelerationSpeed- <a class="header-anchor" href="#moveaccelerationspeed-" aria-label="Permalink to &quot;moveAccelerationSpeed-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSpeed:1</span></span>
<span class="line"><span style="color:#A6ACCD;">moveAccelerationSpeed:0.01</span></span></code></pre></div><hr><h3 id="movedecelerationspeed" tabindex="-1">moveDecelerationSpeed <a class="header-anchor" href="#movedecelerationspeed" aria-label="Permalink to &quot;moveDecelerationSpeed&quot;"></a></h3><h4 id="movedecelerationspeed-" tabindex="-1">moveDecelerationSpeed- <a class="header-anchor" href="#movedecelerationspeed-" aria-label="Permalink to &quot;moveDecelerationSpeed-&quot;"></a></h4><p>:moveDecelerationSpeed : : :</p><h4 id="movedecelerationspeed-" tabindex="-1">moveDecelerationSpeed- <a class="header-anchor" href="#movedecelerationspeed-" aria-label="Permalink to &quot;moveDecelerationSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="movedecelerationspeed-" tabindex="-1">moveDecelerationSpeed- <a class="header-anchor" href="#movedecelerationspeed-" aria-label="Permalink to &quot;moveDecelerationSpeed-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSpeed:1</span></span>
<span class="line"><span style="color:#A6ACCD;">moveDecelerationSpeed:0.01</span></span></code></pre></div><hr><h3 id="reversespeedpercentage" tabindex="-1">reverseSpeedPercentage <a class="header-anchor" href="#reversespeedpercentage" aria-label="Permalink to &quot;reverseSpeedPercentage&quot;"></a></h3><h4 id="reversespeedpercentageed-" tabindex="-1">reverseSpeedPercentageed- <a class="header-anchor" href="#reversespeedpercentageed-" aria-label="Permalink to &quot;reverseSpeedPercentageed-&quot;"></a></h4><p>:reverseSpeedPercentage : : :</p><h4 id="reversespeedpercentage-" tabindex="-1">reverseSpeedPercentage- <a class="header-anchor" href="#reversespeedpercentage-" aria-label="Permalink to &quot;reverseSpeedPercentage-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.6 0 01 1</p></div><h4 id="reversespeedpercentagepeed-" tabindex="-1">reverseSpeedPercentagepeed- <a class="header-anchor" href="#reversespeedpercentagepeed-" aria-label="Permalink to &quot;reverseSpeedPercentagepeed-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSpeed:1</span></span>
<span class="line"><span style="color:#A6ACCD;">reverseSpeedPercentage:0.4</span></span></code></pre></div><hr><h3 id="maxturnspeed" tabindex="-1">maxTurnSpeed <a class="header-anchor" href="#maxturnspeed" aria-label="Permalink to &quot;maxTurnSpeed&quot;"></a></h3><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p>:maxTurnSpeed : : :</p><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>/</strong>160</p></div><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">maxTurnSpeed:1.5</span></span></code></pre></div><hr><h3 id="turnacceleration" tabindex="-1">turnAcceleration <a class="header-anchor" href="#turnacceleration" aria-label="Permalink to &quot;turnAcceleration&quot;"></a></h3><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p>:turnAcceleration : : :</p><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">maxTurnSpeed:1.5</span></span>
<span class="line"><span style="color:#A6ACCD;">turnAcceleration:0.01</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to &quot;targetHeight&quot;"></a></h3><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>:targetHeight : : :</p><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>0</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeight20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-aHhzY" id="tab-eWGv7o2" checked="checked"><label for="tab-eWGv7o2">time</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:#FFCB6B;">如果高度位于0到10之间可以被对表面攻击命中</span></span>
<span class="line"><span style="color:#FFCB6B;">如果高度大于10可以被对空攻击命中</span></span>
<span class="line"></span>
<span class="line"><span style="color:#FFCB6B;">如果高度不为0的地面悬浮单位对地的范围攻击(比如火炮</span><span style="color:#A6ACCD;">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#FFCB6B;">建筑高度大于等于0是只能被对表面攻击命中</span></span></code></pre></div></div></div><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">targetHeight:10</span></span></code></pre></div><hr><h3 id="targetheightdrift" tabindex="-1">targetHeightDrift <a class="header-anchor" href="#targetheightdrift" aria-label="Permalink to &quot;targetHeightDrift&quot;"></a></h3><h4 id="targetheightdrift-" tabindex="-1">targetHeightDrift- <a class="header-anchor" href="#targetheightdrift-" aria-label="Permalink to &quot;targetHeightDrift-&quot;"></a></h4><p>:targetHeightDrift : : :</p><h4 id="targetheight--1" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight--1" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeightDrift2.5</p></div><h4 id="targetheightdrift-" tabindex="-1">targetHeightDrift- <a class="header-anchor" href="#targetheightdrift-" aria-label="Permalink to &quot;targetHeightDrift-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">targetHeight:10</span></span>
<span class="line"><span style="color:#A6ACCD;">targetHeightDrift:1</span></span></code></pre></div><hr><h3 id="landonground" tabindex="-1">landOnGround <a class="header-anchor" href="#landonground" aria-label="Permalink to &quot;landOnGround&quot;"></a></h3><h4 id="landonground-" tabindex="-1">landOnGround- <a class="header-anchor" href="#landonground-" aria-label="Permalink to &quot;landOnGround-&quot;"></a></h4><p>:landOnGround : : :</p><h4 id="landonground-" tabindex="-1">landOnGround- <a class="header-anchor" href="#landonground-" aria-label="Permalink to &quot;landOnGround-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="landonground-" tabindex="-1">landOnGround- <a class="header-anchor" href="#landonground-" aria-label="Permalink to &quot;landOnGround-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">landOnGround:true</span></span></code></pre></div><hr><h3 id="fallingacceleration" tabindex="-1">fallingAcceleration <a class="header-anchor" href="#fallingacceleration" aria-label="Permalink to &quot;fallingAcceleration&quot;"></a></h3><h4 id="fallingacceleration-" tabindex="-1">fallingAcceleration- <a class="header-anchor" href="#fallingacceleration-" aria-label="Permalink to &quot;fallingAcceleration-&quot;"></a></h4><p>:fallingAcceleration : : :</p><h4 id="fallingacceleration-" tabindex="-1">fallingAcceleration- <a class="header-anchor" href="#fallingacceleration-" aria-label="Permalink to &quot;fallingAcceleration-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="fallingacceleration-" tabindex="-1">fallingAcceleration- <a class="header-anchor" href="#fallingacceleration-" aria-label="Permalink to &quot;fallingAcceleration-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">fallingAcceleration:0.01</span></span></code></pre></div><hr><h3 id="slowdeathfall" tabindex="-1">slowDeathFall <a class="header-anchor" href="#slowdeathfall" aria-label="Permalink to &quot;slowDeathFall&quot;"></a></h3><h4 id="slowdeathfall-" tabindex="-1">slowDeathFall- <a class="header-anchor" href="#slowdeathfall-" aria-label="Permalink to &quot;slowDeathFall-&quot;"></a></h4><p>:slowDeathFall : : :</p><h4 id="slowdeathfall-" tabindex="-1">slowDeathFall- <a class="header-anchor" href="#slowdeathfall-" aria-label="Permalink to &quot;slowDeathFall-&quot;"></a></h4><p></p><h4 id="targetheightdrift--1" tabindex="-1">targetHeightDrift- <a class="header-anchor" href="#targetheightdrift--1" aria-label="Permalink to &quot;targetHeightDrift-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">slowDeathFall:true</span></span></code></pre></div><hr><h3 id="fallingaccelerationdead" tabindex="-1">fallingAccelerationDead <a class="header-anchor" href="#fallingaccelerationdead" aria-label="Permalink to &quot;fallingAccelerationDead&quot;"></a></h3><h4 id="fallingaccelerationdead-" tabindex="-1">fallingAccelerationDead- <a class="header-anchor" href="#fallingaccelerationdead-" aria-label="Permalink to &quot;fallingAccelerationDead-&quot;"></a></h4><p>:fallingAccelerationDead : : :</p><h4 id="fallingaccelerationdead-" tabindex="-1">fallingAccelerationDead- <a class="header-anchor" href="#fallingaccelerationdead-" aria-label="Permalink to &quot;fallingAccelerationDead-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="fallingaccelerationdead-" tabindex="-1">fallingAccelerationDead- <a class="header-anchor" href="#fallingaccelerationdead-" aria-label="Permalink to &quot;fallingAccelerationDead-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">fallingAccelerationDead:0.01</span></span></code></pre></div><hr><h3 id="heightchangerate" tabindex="-1">heightChangeRate <a class="header-anchor" href="#heightchangerate" aria-label="Permalink to &quot;heightChangeRate&quot;"></a></h3><h4 id="heightchangerate-" tabindex="-1">heightChangeRate- <a class="header-anchor" href="#heightchangerate-" aria-label="Permalink to &quot;heightChangeRate-&quot;"></a></h4><p>:heightChangeRate : : :</p><h4 id="heightchangerate-" tabindex="-1">heightChangeRate- <a class="header-anchor" href="#heightchangerate-" aria-label="Permalink to &quot;heightChangeRate-&quot;"></a></h4><p></p><h4 id="heightchangerate-" tabindex="-1">heightChangeRate- <a class="header-anchor" href="#heightchangerate-" aria-label="Permalink to &quot;heightChangeRate-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">heightChangeRate:0.4</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="moveignoringbody" tabindex="-1">moveIgnoringBody <a class="header-anchor" href="#moveignoringbody" aria-label="Permalink to &quot;moveIgnoringBody&quot;"></a></h3><h4 id="moveignoringbody-" tabindex="-1">moveIgnoringBody- <a class="header-anchor" href="#moveignoringbody-" aria-label="Permalink to &quot;moveIgnoringBody-&quot;"></a></h4><p>:moveIgnoringBody : : :</p><h4 id="moveignoringbody-" tabindex="-1">moveIgnoringBody- <a class="header-anchor" href="#moveignoringbody-" aria-label="Permalink to &quot;moveIgnoringBody-&quot;"></a></h4><p></p><h4 id="moveignoringbody-" tabindex="-1">moveIgnoringBody- <a class="header-anchor" href="#moveignoringbody-" aria-label="Permalink to &quot;moveIgnoringBody-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveIgnoringBody:true</span></span></code></pre></div><hr><h3 id="moveslidingmode" tabindex="-1">moveSlidingMode <a class="header-anchor" href="#moveslidingmode" aria-label="Permalink to &quot;moveSlidingMode&quot;"></a></h3><h4 id="moveslidingmode-" tabindex="-1">moveSlidingMode- <a class="header-anchor" href="#moveslidingmode-" aria-label="Permalink to &quot;moveSlidingMode-&quot;"></a></h4><p>:moveSlidingMode : : :</p><h4 id="moveslidingmode-" tabindex="-1">moveSlidingMode- <a class="header-anchor" href="#moveslidingmode-" aria-label="Permalink to &quot;moveSlidingMode-&quot;"></a></h4><p></p><h4 id="moveslidingmode-" tabindex="-1">moveSlidingMode- <a class="header-anchor" href="#moveslidingmode-" aria-label="Permalink to &quot;moveSlidingMode-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSlidingMode:true</span></span></code></pre></div><hr><h3 id="moveslidingdir" tabindex="-1">moveSlidingDir <a class="header-anchor" href="#moveslidingdir" aria-label="Permalink to &quot;moveSlidingDir&quot;"></a></h3><h4 id="moveslidingdir-" tabindex="-1">moveSlidingDir- <a class="header-anchor" href="#moveslidingdir-" aria-label="Permalink to &quot;moveSlidingDir-&quot;"></a></h4><p>:moveSlidingDir : : :</p><h4 id="moveslidingdir-" tabindex="-1">moveSlidingDir- <a class="header-anchor" href="#moveslidingdir-" aria-label="Permalink to &quot;moveSlidingDir-&quot;"></a></h4><p></p><h4 id="moveslidingdir-" tabindex="-1">moveSlidingDir- <a class="header-anchor" href="#moveslidingdir-" aria-label="Permalink to &quot;moveSlidingDir-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSlidingDir:-1</span></span></code></pre></div><hr><h3 id="joinsgroupformations" tabindex="-1">joinsGroupFormations <a class="header-anchor" href="#joinsgroupformations" aria-label="Permalink to &quot;joinsGroupFormations&quot;"></a></h3><h4 id="joinsgroupformations-" tabindex="-1">joinsGroupFormations- <a class="header-anchor" href="#joinsgroupformations-" aria-label="Permalink to &quot;joinsGroupFormations-&quot;"></a></h4><p>:joinsGroupFormations : : :</p><h4 id="joinsgroupformations-" tabindex="-1">joinsGroupFormations- <a class="header-anchor" href="#joinsgroupformations-" aria-label="Permalink to &quot;joinsGroupFormations-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>true使使aoe使 false使</p></div><h4 id="joinsgroupformations-" tabindex="-1">joinsGroupFormations- <a class="header-anchor" href="#joinsgroupformations-" aria-label="Permalink to &quot;joinsGroupFormations-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">joinsGroupFormations:true</span></span></code></pre></div><hr><h3 id="ignoremoveorders" tabindex="-1">ignoreMoveOrders <a class="header-anchor" href="#ignoremoveorders" aria-label="Permalink to &quot;ignoreMoveOrders&quot;"></a></h3><h4 id="ignoremoveorders-" tabindex="-1">ignoreMoveOrders- <a class="header-anchor" href="#ignoremoveorders-" aria-label="Permalink to &quot;ignoreMoveOrders-&quot;"></a></h4><p>:ignoreMoveOrders :: :</p><h4 id="ignoremoveorders-" tabindex="-1">ignoreMoveOrders- <a class="header-anchor" href="#ignoremoveorders-" aria-label="Permalink to &quot;ignoreMoveOrders-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>moveSpeed:0</strong>使setUnitStats</p></div><h4 id="ignoremoveorders-" tabindex="-1">ignoreMoveOrders- <a class="header-anchor" href="#ignoremoveorders-" aria-label="Permalink to &quot;ignoreMoveOrders-&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;">[movement]</span></span>
<span class="line"><span style="color:#A6ACCD;">ignoreMoveOrders:true</span></span>
<span class="line"><span style="color:#A6ACCD;">moveSpeed:0</span></span></code></pre></div><hr>`,175),i=[l];function s(r,d,c,p,h,m){return t(),a("div",null,i)}const v=e(o,[["render",s]]);export{u as __pageData,v as default};

View File

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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as a,c as e,o as s,V as t}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"spawnUnits&spawnProjectiles","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/spawnunit_spawnprojectile.md","filePath":"src/Unit/spawnunit_spawnprojectile.md"}'),o={name:"src/Unit/spawnunit_spawnprojectile.md"},n=t("",169),r=[n];function i(l,p,c,d,h,f){return s(),e("div",null,r)}const b=a(o,[["render",i]]);export{m as __pageData,b as default};

View File

@ -0,0 +1,77 @@
import{_ as a,c as e,o as t,V as n}from"./chunks/framework.fcc0bf38.js";const m=JSON.parse('{"title":"[turret]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/turret.md","filePath":"src/Unit/turret.md"}'),i={name:"src/Unit/turret.md"},r=n(`<h1 id="turret-组" tabindex="-1"><strong>[turret]组</strong> <a class="header-anchor" href="#turret-组" aria-label="Permalink to &quot;**[turret]组**&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><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>炮塔上限为31个显示顺序为ini顺序递增</p></div><h3 id="canshoot" tabindex="-1">canShoot <a class="header-anchor" href="#canshoot" aria-label="Permalink to &quot;canShoot&quot;"></a></h3><h4 id="canshoot-代码简介" tabindex="-1">canShoot-代码简介 <a class="header-anchor" href="#canshoot-代码简介" aria-label="Permalink to &quot;canShoot-代码简介&quot;"></a></h4><p>代码:canShoot 中文释义:可攻击 类型:布尔值bool 隶属于:重复代码组</p><h4 id="canshoot-要点指示" tabindex="-1">canShoot-要点指示 <a class="header-anchor" href="#canshoot-要点指示" aria-label="Permalink to &quot;canShoot-要点指示&quot;"></a></h4><p>设置该炮塔是否能攻击</p><h4 id="canshoot-演示例子" tabindex="-1">canShoot-演示例子 <a class="header-anchor" href="#canshoot-演示例子" aria-label="Permalink to &quot;canShoot-演示例子&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canShoot:true</span></span></code></pre></div><hr><h3 id="canattacklandunits" tabindex="-1">canAttackLandUnits <a class="header-anchor" href="#canattacklandunits" aria-label="Permalink to &quot;canAttackLandUnits&quot;"></a></h3><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p>:canAttackLandUnits : :LogicBoolean :</p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p></p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackLandUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackflyingunits" tabindex="-1">canAttackFlyingUnits <a class="header-anchor" href="#canattackflyingunits" aria-label="Permalink to &quot;canAttackFlyingUnits&quot;"></a></h3><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p>:canAttackFlyingUnits : :LogicBoolean :</p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p></p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackFlyingUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackunderwaterunits" tabindex="-1">canAttackUnderwaterUnits <a class="header-anchor" href="#canattackunderwaterunits" aria-label="Permalink to &quot;canAttackUnderwaterUnits&quot;"></a></h3><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p>:canAttackUnderwaterUnits : :LogicBoolean :</p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p></p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackUnderwaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattacknottouchingwaterunits" tabindex="-1">canAttackNotTouchingWaterUnits <a class="header-anchor" href="#canattacknottouchingwaterunits" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits&quot;"></a></h3><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p>:canAttackNotTouchingWaterUnits : :LogicBoolean :</p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p></p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackNotTouchingWaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="limitingrange" tabindex="-1">limitingRange <a class="header-anchor" href="#limitingrange" aria-label="Permalink to &quot;limitingRange&quot;"></a></h3><h4 id="limitingrange-" tabindex="-1">limitingRange- <a class="header-anchor" href="#limitingrange-" aria-label="Permalink to &quot;limitingRange-&quot;"></a></h4><p>:limitingRange : :int :</p><h4 id="limitingrange-" tabindex="-1">limitingRange- <a class="header-anchor" href="#limitingrange-" aria-label="Permalink to &quot;limitingRange-&quot;"></a></h4><p>maxAttackRange</p><h4 id="limitingrange-" tabindex="-1">limitingRange- <a class="header-anchor" href="#limitingrange-" aria-label="Permalink to &quot;limitingRange-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">limitingRange:1000</span></span></code></pre></div><hr><h3 id="aimoffsetspread" tabindex="-1">aimOffsetSpread <a class="header-anchor" href="#aimoffsetspread" aria-label="Permalink to &quot;aimOffsetSpread&quot;"></a></h3><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>:aimOffsetSpread : :float :</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>0</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">aimOffsetSpread:0.6</span></span></code></pre></div><hr><h3 id="delay" tabindex="-1">delay <a class="header-anchor" href="#delay" aria-label="Permalink to &quot;delay&quot;"></a></h3><h4 id="delay-" tabindex="-1">delay- <a class="header-anchor" href="#delay-" aria-label="Permalink to &quot;delay-&quot;"></a></h4><p>:limitingRange : :float :</p><h4 id="delay-" tabindex="-1">delay- <a class="header-anchor" href="#delay-" aria-label="Permalink to &quot;delay-&quot;"></a></h4><p>601</p><h4 id="delay-" tabindex="-1">delay- <a class="header-anchor" href="#delay-" aria-label="Permalink to &quot;delay-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">delay:60</span></span></code></pre></div><hr><h3 id="size" tabindex="-1">size <a class="header-anchor" href="#size" aria-label="Permalink to &quot;size&quot;"></a></h3><h4 id="size-" tabindex="-1">size- <a class="header-anchor" href="#size-" aria-label="Permalink to &quot;size-&quot;"></a></h4><p>:size : :float :</p><h4 id="size-" tabindex="-1">size- <a class="header-anchor" href="#size-" aria-label="Permalink to &quot;size-&quot;"></a></h4><p>ybarrelY使</p><h4 id="size-" tabindex="-1">size- <a class="header-anchor" href="#size-" aria-label="Permalink to &quot;size-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">size:20</span></span></code></pre></div><hr><h3 id="turnspeed" tabindex="-1">turnSpeed <a class="header-anchor" href="#turnspeed" aria-label="Permalink to &quot;turnSpeed&quot;"></a></h3><h4 id="turnspeed-" tabindex="-1">turnSpeed- <a class="header-anchor" href="#turnspeed-" aria-label="Permalink to &quot;turnSpeed-&quot;"></a></h4><p>:turnSpeed : :float :</p><h4 id="turnspeed-" tabindex="-1">turnSpeed- <a class="header-anchor" href="#turnspeed-" aria-label="Permalink to &quot;turnSpeed-&quot;"></a></h4><p>1160</p><h4 id="turnspeed-" tabindex="-1">turnSpeed- <a class="header-anchor" href="#turnspeed-" aria-label="Permalink to &quot;turnSpeed-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">turnSpeed:1</span></span></code></pre></div><hr><h3 id="showrangeuiguide" tabindex="-1">showRangeUIGuide <a class="header-anchor" href="#showrangeuiguide" aria-label="Permalink to &quot;showRangeUIGuide&quot;"></a></h3><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>:turnSpeed : :bool :</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p></p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">showRangeUIGuide:true</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="x-y" tabindex="-1">x y <a class="header-anchor" href="#x-y" aria-label="Permalink to &quot;x y&quot;"></a></h3><h4 id="x-y-" tabindex="-1">x y- <a class="header-anchor" href="#x-y-" aria-label="Permalink to &quot;x y-&quot;"></a></h4><p>:x y :X Y :float :</p><h4 id="x-y-" tabindex="-1">x y- <a class="header-anchor" href="#x-y-" aria-label="Permalink to &quot;x y-&quot;"></a></h4><p></p><h4 id="x-y-" tabindex="-1">x y- <a class="header-anchor" href="#x-y-" aria-label="Permalink to &quot;x y-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">x:10</span></span>
<span class="line"><span style="color:#A6ACCD;">y:10</span></span></code></pre></div><hr><h3 id="height" tabindex="-1">height <a class="header-anchor" href="#height" aria-label="Permalink to &quot;height&quot;"></a></h3><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&quot;"></a></h4><p>:height : :float :</p><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&quot;"></a></h4><p></p><h4 id="height-" tabindex="-1">height- <a class="header-anchor" href="#height-" aria-label="Permalink to &quot;height-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">height:10</span></span></code></pre></div><hr><h3 id="copyfrom" tabindex="-1">copyFrom <a class="header-anchor" href="#copyfrom" aria-label="Permalink to &quot;copyFrom&quot;"></a></h3><h4 id="copyfrom-" tabindex="-1">copyFrom- <a class="header-anchor" href="#copyfrom-" aria-label="Permalink to &quot;copyFrom-&quot;"></a></h4><p>:copyFrom : :turret :</p><h4 id="copyfrom-" tabindex="-1">copyFrom- <a class="header-anchor" href="#copyfrom-" aria-label="Permalink to &quot;copyFrom-&quot;"></a></h4><p>使</p><h4 id="copyfrom-" tabindex="-1">copyFrom- <a class="header-anchor" href="#copyfrom-" aria-label="Permalink to &quot;copyFrom-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">copyFrom:2</span></span></code></pre></div><hr><h3 id="projectile" tabindex="-1">projectile <a class="header-anchor" href="#projectile" aria-label="Permalink to &quot;projectile&quot;"></a></h3><h4 id="projectile-" tabindex="-1">projectile- <a class="header-anchor" href="#projectile-" aria-label="Permalink to &quot;projectile-&quot;"></a></h4><p>:projectile : :projectile :</p><h4 id="projectile-" tabindex="-1">projectile- <a class="header-anchor" href="#projectile-" aria-label="Permalink to &quot;projectile-&quot;"></a></h4><p>使使</p><h4 id="projectile-" tabindex="-1">projectile- <a class="header-anchor" href="#projectile-" aria-label="Permalink to &quot;projectile-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">projectile:1</span></span></code></pre></div><hr><h3 id="altprojectile" tabindex="-1">altProjectile <a class="header-anchor" href="#altprojectile" aria-label="Permalink to &quot;altProjectile&quot;"></a></h3><h4 id="altprojectile-" tabindex="-1">altProjectile- <a class="header-anchor" href="#altprojectile-" aria-label="Permalink to &quot;altProjectile-&quot;"></a></h4><p>:altProjectile : :projectile :</p><h4 id="altprojectile-" tabindex="-1">altProjectile- <a class="header-anchor" href="#altprojectile-" aria-label="Permalink to &quot;altProjectile-&quot;"></a></h4><p>altProjectileConditiontrue使使projectile</p><h4 id="altprojectile-" tabindex="-1">altProjectile- <a class="header-anchor" href="#altprojectile-" aria-label="Permalink to &quot;altProjectile-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">altProjectile:2</span></span></code></pre></div><hr><h3 id="altprojectilecondition" tabindex="-1">altProjectileCondition <a class="header-anchor" href="#altprojectilecondition" aria-label="Permalink to &quot;altProjectileCondition&quot;"></a></h3><h4 id="altprojectilecondition-" tabindex="-1">altProjectileCondition- <a class="header-anchor" href="#altprojectilecondition-" aria-label="Permalink to &quot;altProjectileCondition-&quot;"></a></h4><p>:altProjectileCondition : :LogicBoolean :</p><h4 id="altprojectilecondition-" tabindex="-1">altProjectileCondition- <a class="header-anchor" href="#altprojectilecondition-" aria-label="Permalink to &quot;altProjectileCondition-&quot;"></a></h4><p>true使altProjectile使projectile</p><h4 id="altprojectilecondition-" tabindex="-1">altProjectileCondition- <a class="header-anchor" href="#altprojectilecondition-" aria-label="Permalink to &quot;altProjectileCondition-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">altProjectileCondition:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="barrelx-barrely" tabindex="-1">barrelX barrelY <a class="header-anchor" href="#barrelx-barrely" aria-label="Permalink to &quot;barrelX barrelY&quot;"></a></h3><h4 id="barrelx-barrely-" tabindex="-1">barrelX barrelY- <a class="header-anchor" href="#barrelx-barrely-" aria-label="Permalink to &quot;barrelX barrelY-&quot;"></a></h4><p>:barrelX barrelY : :float :</p><h4 id="barrelx-barrely-" tabindex="-1">barrelX barrelY- <a class="header-anchor" href="#barrelx-barrely-" aria-label="Permalink to &quot;barrelX barrelY-&quot;"></a></h4><p>X Y barrelYsize使</p><h4 id="barrelx-barrelytion-" tabindex="-1">barrelX barrelYtion- <a class="header-anchor" href="#barrelx-barrelytion-" aria-label="Permalink to &quot;barrelX barrelYtion-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">barrelX:10</span></span>
<span class="line"><span style="color:#A6ACCD;">barrelY:10</span></span></code></pre></div><hr><h3 id="barrelheight" tabindex="-1">barrelHeight <a class="header-anchor" href="#barrelheight" aria-label="Permalink to &quot;barrelHeight&quot;"></a></h3><h4 id="barrelheight-" tabindex="-1">barrelHeight- <a class="header-anchor" href="#barrelheight-" aria-label="Permalink to &quot;barrelHeight-&quot;"></a></h4><p>:barrelHeight : :float :</p><h4 id="barrelheight-" tabindex="-1">barrelHeight- <a class="header-anchor" href="#barrelheight-" aria-label="Permalink to &quot;barrelHeight-&quot;"></a></h4><p></p><h4 id="barrelheight-" tabindex="-1">barrelHeight- <a class="header-anchor" href="#barrelheight-" aria-label="Permalink to &quot;barrelHeight-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">barrelHeight:20</span></span></code></pre></div><hr><h3 id="turnspeedacceleration-turnspeeddeceleration" tabindex="-1">turnSpeedAcceleration turnSpeedDeceleration <a class="header-anchor" href="#turnspeedacceleration-turnspeeddeceleration" aria-label="Permalink to &quot;turnSpeedAcceleration turnSpeedDeceleration&quot;"></a></h3><h4 id="turnspeedacceleration-turnspeeddeceleration-" tabindex="-1">turnSpeedAcceleration turnSpeedDeceleration- <a class="header-anchor" href="#turnspeedacceleration-turnspeeddeceleration-" aria-label="Permalink to &quot;turnSpeedAcceleration turnSpeedDeceleration-&quot;"></a></h4><p>:turnSpeedAcceleration :/ :float :</p><h4 id="turnspeedacceleration-turnspeeddeceleration-" tabindex="-1">turnSpeedAcceleration turnSpeedDeceleration- <a class="header-anchor" href="#turnspeedacceleration-turnspeeddeceleration-" aria-label="Permalink to &quot;turnSpeedAcceleration turnSpeedDeceleration-&quot;"></a></h4><p>//</p><h4 id="turnspeedacceleration-turnspeeddeceleration-" tabindex="-1">turnSpeedAcceleration turnSpeedDeceleration- <a class="header-anchor" href="#turnspeedacceleration-turnspeeddeceleration-" aria-label="Permalink to &quot;turnSpeedAcceleration turnSpeedDeceleration-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">turnSpeedAcceleration:1</span></span>
<span class="line"><span style="color:#A6ACCD;">turnSpeedDeceleration:1</span></span></code></pre></div><hr><h3 id="idledir" tabindex="-1">idleDir <a class="header-anchor" href="#idledir" aria-label="Permalink to &quot;idleDir&quot;"></a></h3><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&quot;"></a></h4><p>:idleDir : :float :</p><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&quot;"></a></h4><p></p><h4 id="idledir-" tabindex="-1">idleDir- <a class="header-anchor" href="#idledir-" aria-label="Permalink to &quot;idleDir-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleDir:20</span></span></code></pre></div><hr><h3 id="idledirreversing" tabindex="-1">idleDirReversing <a class="header-anchor" href="#idledirreversing" aria-label="Permalink to &quot;idleDirReversing&quot;"></a></h3><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&quot;"></a></h4><p>:idleDirReversing : :bool :</p><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&quot;"></a></h4><p></p><h4 id="idledirreversing-" tabindex="-1">idleDirReversing- <a class="header-anchor" href="#idledirreversing-" aria-label="Permalink to &quot;idleDirReversing-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleDirReversing:true</span></span></code></pre></div><hr><h3 id="shouldresetturret" tabindex="-1">shouldResetTurret <a class="header-anchor" href="#shouldresetturret" aria-label="Permalink to &quot;shouldResetTurret&quot;"></a></h3><h4 id="shouldresetturret-" tabindex="-1">shouldResetTurret- <a class="header-anchor" href="#shouldresetturret-" aria-label="Permalink to &quot;shouldResetTurret-&quot;"></a></h4><p>:shouldResetTurret : :bool :</p><h4 id="shouldresetturret-" tabindex="-1">shouldResetTurret- <a class="header-anchor" href="#shouldresetturret-" aria-label="Permalink to &quot;shouldResetTurret-&quot;"></a></h4><p></p><h4 id="shouldresetturret-" tabindex="-1">shouldResetTurret- <a class="header-anchor" href="#shouldresetturret-" aria-label="Permalink to &quot;shouldResetTurret-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">shouldResetTurret:true</span></span></code></pre></div><hr><h3 id="idlesweepangle" tabindex="-1">idleSweepAngle <a class="header-anchor" href="#idlesweepangle" aria-label="Permalink to &quot;idleSweepAngle&quot;"></a></h3><h4 id="idlesweepangle-" tabindex="-1">idleSweepAngle- <a class="header-anchor" href="#idlesweepangle-" aria-label="Permalink to &quot;idleSweepAngle-&quot;"></a></h4><p>:idleSweepAngle : :float :</p><h4 id="idlesweepangle-" tabindex="-1">idleSweepAngle- <a class="header-anchor" href="#idlesweepangle-" aria-label="Permalink to &quot;idleSweepAngle-&quot;"></a></h4><p></p><h4 id="idlesweepangle-" tabindex="-1">idleSweepAngle- <a class="header-anchor" href="#idlesweepangle-" aria-label="Permalink to &quot;idleSweepAngle-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepAngle:60</span></span></code></pre></div><hr><h3 id="idlesweepdelay" tabindex="-1">idleSweepDelay <a class="header-anchor" href="#idlesweepdelay" aria-label="Permalink to &quot;idleSweepDelay&quot;"></a></h3><h4 id="idlesweepdelay-" tabindex="-1">idleSweepDelay- <a class="header-anchor" href="#idlesweepdelay-" aria-label="Permalink to &quot;idleSweepDelay-&quot;"></a></h4><p>:idleSweepAngle : :float :</p><h4 id="idlesweepdelay-" tabindex="-1">idleSweepDelay- <a class="header-anchor" href="#idlesweepdelay-" aria-label="Permalink to &quot;idleSweepDelay-&quot;"></a></h4><p></p><h4 id="idlesweepdelay-" tabindex="-1">idleSweepDelay- <a class="header-anchor" href="#idlesweepdelay-" aria-label="Permalink to &quot;idleSweepDelay-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepDelay:60</span></span></code></pre></div><hr><h3 id="idlesweepspeed" tabindex="-1">idleSweepSpeed <a class="header-anchor" href="#idlesweepspeed" aria-label="Permalink to &quot;idleSweepSpeed&quot;"></a></h3><h4 id="idlesweepspeed-" tabindex="-1">idleSweepSpeed- <a class="header-anchor" href="#idlesweepspeed-" aria-label="Permalink to &quot;idleSweepSpeed-&quot;"></a></h4><p>:idleSweepSpeed : :float :</p><h4 id="idlesweepspeed-" tabindex="-1">idleSweepSpeed- <a class="header-anchor" href="#idlesweepspeed-" aria-label="Permalink to &quot;idleSweepSpeed-&quot;"></a></h4><p></p><h4 id="idlesweepspeed-" tabindex="-1">idleSweepSpeed- <a class="header-anchor" href="#idlesweepspeed-" aria-label="Permalink to &quot;idleSweepSpeed-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepSpeed:1</span></span></code></pre></div><hr><h3 id="idlesweepcondition" tabindex="-1">idleSweepCondition <a class="header-anchor" href="#idlesweepcondition" aria-label="Permalink to &quot;idleSweepCondition&quot;"></a></h3><h4 id="idlesweepcondition-" tabindex="-1">idleSweepCondition- <a class="header-anchor" href="#idlesweepcondition-" aria-label="Permalink to &quot;idleSweepCondition-&quot;"></a></h4><p>:idleSweepCondition : :LogicBoolean :</p><h4 id="altprojectilecondition--1" tabindex="-1">altProjectileCondition- <a class="header-anchor" href="#altprojectilecondition--1" aria-label="Permalink to &quot;altProjectileCondition-&quot;"></a></h4><p></p><h4 id="idlesweepcondition-" tabindex="-1">idleSweepCondition- <a class="header-anchor" href="#idlesweepcondition-" aria-label="Permalink to &quot;idleSweepCondition-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepCondition:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="idlesweepaddrandomangle" tabindex="-1">idleSweepAddRandomAngle <a class="header-anchor" href="#idlesweepaddrandomangle" aria-label="Permalink to &quot;idleSweepAddRandomAngle&quot;"></a></h3><h4 id="idlesweepaddrandomangle-" tabindex="-1">idleSweepAddRandomAngle- <a class="header-anchor" href="#idlesweepaddrandomangle-" aria-label="Permalink to &quot;idleSweepAddRandomAngle-&quot;"></a></h4><p>:idleSweepAddRandomAngle : :float :</p><h4 id="idlesweepaddrandomangle-" tabindex="-1">idleSweepAddRandomAngle- <a class="header-anchor" href="#idlesweepaddrandomangle-" aria-label="Permalink to &quot;idleSweepAddRandomAngle-&quot;"></a></h4><p></p><h4 id="idlesweepaddrandomangle-" tabindex="-1">idleSweepAddRandomAngle- <a class="header-anchor" href="#idlesweepaddrandomangle-" aria-label="Permalink to &quot;idleSweepAddRandomAngle-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepAddRandomAngle:60</span></span></code></pre></div><hr><h3 id="idlesweepaddrandomdelay" tabindex="-1">idleSweepAddRandomDelay <a class="header-anchor" href="#idlesweepaddrandomdelay" aria-label="Permalink to &quot;idleSweepAddRandomDelay&quot;"></a></h3><h4 id="idlesweepaddrandomdelay-" tabindex="-1">idleSweepAddRandomDelay- <a class="header-anchor" href="#idlesweepaddrandomdelay-" aria-label="Permalink to &quot;idleSweepAddRandomDelay-&quot;"></a></h4><p>:idleSweepAddRandomDelay : :float :</p><h4 id="idlesweepaddrandomdelay-" tabindex="-1">idleSweepAddRandomDelay- <a class="header-anchor" href="#idlesweepaddrandomdelay-" aria-label="Permalink to &quot;idleSweepAddRandomDelay-&quot;"></a></h4><p></p><h4 id="idlesweepaddrandomdelay-" tabindex="-1">idleSweepAddRandomDelay- <a class="header-anchor" href="#idlesweepaddrandomdelay-" aria-label="Permalink to &quot;idleSweepAddRandomDelay-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSweepAddRandomDelay:60</span></span></code></pre></div><hr><h3 id="attachedto" tabindex="-1">attachedTo <a class="header-anchor" href="#attachedto" aria-label="Permalink to &quot;attachedTo&quot;"></a></h3><h4 id="attachedto-" tabindex="-1">attachedTo- <a class="header-anchor" href="#attachedto-" aria-label="Permalink to &quot;attachedTo-&quot;"></a></h4><p>:attachedTo : :turret :</p><h4 id="attachedto-" tabindex="-1">attachedTo- <a class="header-anchor" href="#attachedto-" aria-label="Permalink to &quot;attachedTo-&quot;"></a></h4><p></p><h4 id="attachedto-" tabindex="-1">attachedTo- <a class="header-anchor" href="#attachedto-" aria-label="Permalink to &quot;attachedTo-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">attachedTo:1</span></span></code></pre></div><hr><h3 id="slave" tabindex="-1">slave <a class="header-anchor" href="#slave" aria-label="Permalink to &quot;slave&quot;"></a></h3><h4 id="slave-" tabindex="-1">slave- <a class="header-anchor" href="#slave-" aria-label="Permalink to &quot;slave-&quot;"></a></h4><p>:slave : :bool :</p><h4 id="slave-" tabindex="-1">slave- <a class="header-anchor" href="#slave-" aria-label="Permalink to &quot;slave-&quot;"></a></h4><p>attachedTo使</p><h4 id="slave-" tabindex="-1">slave- <a class="header-anchor" href="#slave-" aria-label="Permalink to &quot;slave-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">slave:true</span></span></code></pre></div><hr><h3 id="ismainnanoturret" tabindex="-1">isMainNanoTurret <a class="header-anchor" href="#ismainnanoturret" aria-label="Permalink to &quot;isMainNanoTurret&quot;"></a></h3><h4 id="ismainnanoturret-" tabindex="-1">isMainNanoTurret- <a class="header-anchor" href="#ismainnanoturret-" aria-label="Permalink to &quot;isMainNanoTurret-&quot;"></a></h4><p>:isMainNanoTurret : :bool :</p><h4 id="ismainnanoturret-" tabindex="-1">isMainNanoTurret- <a class="header-anchor" href="#ismainnanoturret-" aria-label="Permalink to &quot;isMainNanoTurret-&quot;"></a></h4><p>/ </p><h4 id="ismainnanoturret-" tabindex="-1">isMainNanoTurret- <a class="header-anchor" href="#ismainnanoturret-" aria-label="Permalink to &quot;isMainNanoTurret-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">isMainNanoTurret:true</span></span></code></pre></div><hr><h3 id="energyusage" tabindex="-1">energyUsage <a class="header-anchor" href="#energyusage" aria-label="Permalink to &quot;energyUsage&quot;"></a></h3><h4 id="energyusage-" tabindex="-1">energyUsage- <a class="header-anchor" href="#energyusage-" aria-label="Permalink to &quot;energyUsage-&quot;"></a></h4><p>:energyUsage : :float :</p><h4 id="energyusage-" tabindex="-1">energyUsage- <a class="header-anchor" href="#energyusage-" aria-label="Permalink to &quot;energyUsage-&quot;"></a></h4><p></p><h4 id="energyusage-" tabindex="-1">energyUsage- <a class="header-anchor" href="#energyusage-" aria-label="Permalink to &quot;energyUsage-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">energyUsage:60</span></span></code></pre></div><hr><h3 id="resourceusage" tabindex="-1">resourceUsage <a class="header-anchor" href="#resourceusage" aria-label="Permalink to &quot;resourceUsage&quot;"></a></h3><h4 id="resourceusage-" tabindex="-1">resourceUsage- <a class="header-anchor" href="#resourceusage-" aria-label="Permalink to &quot;resourceUsage-&quot;"></a></h4><p>:resourceUsage : :resource :</p><h4 id="resourceusage-" tabindex="-1">resourceUsage- <a class="header-anchor" href="#resourceusage-" aria-label="Permalink to &quot;resourceUsage-&quot;"></a></h4><p>使</p><h4 id="resourceusage-" tabindex="-1">resourceUsage- <a class="header-anchor" href="#resourceusage-" aria-label="Permalink to &quot;resourceUsage-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">resourceUsage:资源=60,</span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">60</span></span></code></pre></div><hr><h3 id="linkdelaywithturret" tabindex="-1">linkDelayWithTurret <a class="header-anchor" href="#linkdelaywithturret" aria-label="Permalink to &quot;linkDelayWithTurret&quot;"></a></h3><h4 id="linkdelaywithturret-" tabindex="-1">linkDelayWithTurret- <a class="header-anchor" href="#linkdelaywithturret-" aria-label="Permalink to &quot;linkDelayWithTurret-&quot;"></a></h4><p>:linkDelayWithTurret : :turret :</p><h4 id="linkdelaywithturret-" tabindex="-1">linkDelayWithTurret- <a class="header-anchor" href="#linkdelaywithturret-" aria-label="Permalink to &quot;linkDelayWithTurret-&quot;"></a></h4><p>使</p><h4 id="linkdelaywithturret-" tabindex="-1">linkDelayWithTurret- <a class="header-anchor" href="#linkdelaywithturret-" aria-label="Permalink to &quot;linkDelayWithTurret-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">linkDelayWithTurret:1</span></span></code></pre></div><hr><h3 id="warmup" tabindex="-1">warmup <a class="header-anchor" href="#warmup" aria-label="Permalink to &quot;warmup&quot;"></a></h3><h4 id="warmup-" tabindex="-1">warmup- <a class="header-anchor" href="#warmup-" aria-label="Permalink to &quot;warmup-&quot;"></a></h4><p>:warmup : :float :</p><h4 id="warmup-" tabindex="-1">warmup- <a class="header-anchor" href="#warmup-" aria-label="Permalink to &quot;warmup-&quot;"></a></h4><p></p><h4 id="warmup-" tabindex="-1">warmup- <a class="header-anchor" href="#warmup-" aria-label="Permalink to &quot;warmup-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">warmup:60</span></span></code></pre></div><hr><h3 id="warmupcalldownrate" tabindex="-1">warmupCallDownRate <a class="header-anchor" href="#warmupcalldownrate" aria-label="Permalink to &quot;warmupCallDownRate&quot;"></a></h3><h4 id="warmupcalldownrate-" tabindex="-1">warmupCallDownRate- <a class="header-anchor" href="#warmupcalldownrate-" aria-label="Permalink to &quot;warmupCallDownRate-&quot;"></a></h4><p>:warmupCallDownRate : :float :</p><h4 id="warmupcalldownrate-" tabindex="-1">warmupCallDownRate- <a class="header-anchor" href="#warmupcalldownrate-" aria-label="Permalink to &quot;warmupCallDownRate-&quot;"></a></h4><p> warmupNoReset:true</p><h4 id="warmupcalldownrate-" tabindex="-1">warmupCallDownRate- <a class="header-anchor" href="#warmupcalldownrate-" aria-label="Permalink to &quot;warmupCallDownRate-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">warmupCallDownRate:1</span></span></code></pre></div><hr><h3 id="warmupnoreset" tabindex="-1">warmupNoReset <a class="header-anchor" href="#warmupnoreset" aria-label="Permalink to &quot;warmupNoReset&quot;"></a></h3><h4 id="warmupnoreset-" tabindex="-1">warmupNoReset- <a class="header-anchor" href="#warmupnoreset-" aria-label="Permalink to &quot;warmupNoReset-&quot;"></a></h4><p>:warmupNoReset : :bool :</p><h4 id="warmupnoreset-" tabindex="-1">warmupNoReset- <a class="header-anchor" href="#warmupnoreset-" aria-label="Permalink to &quot;warmupNoReset-&quot;"></a></h4><p>false truewarmupCallDownRate</p><h4 id="warmupnoreset-" tabindex="-1">warmupNoReset- <a class="header-anchor" href="#warmupnoreset-" aria-label="Permalink to &quot;warmupNoReset-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">warmupNoReset:true</span></span></code></pre></div><hr><h3 id="warmupshootdelaytransfer" tabindex="-1">warmupShootDelayTransfer <a class="header-anchor" href="#warmupshootdelaytransfer" aria-label="Permalink to &quot;warmupShootDelayTransfer&quot;"></a></h3><h4 id="warmupshootdelaytransfer-" tabindex="-1">warmupShootDelayTransfer- <a class="header-anchor" href="#warmupshootdelaytransfer-" aria-label="Permalink to &quot;warmupShootDelayTransfer-&quot;"></a></h4><p>:warmupShootDelayTransfer : :float :</p><h4 id="warmupshootdelaytransfer-" tabindex="-1">warmupShootDelayTransfer- <a class="header-anchor" href="#warmupshootdelaytransfer-" aria-label="Permalink to &quot;warmupShootDelayTransfer-&quot;"></a></h4><p> </p><h4 id="warmupshootdelaytransfer-" tabindex="-1">warmupShootDelayTransfer- <a class="header-anchor" href="#warmupshootdelaytransfer-" aria-label="Permalink to &quot;warmupShootDelayTransfer-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">warmupShootDelayTransfer:60</span></span></code></pre></div><details class="details custom-block"><summary>Details</summary><p>delay:30-0.5 warmupShootDelayTransfer:120-2 -1.5-1.5</p></details><hr><h3 id="onshoot-freezebodymovementfor" tabindex="-1">onShoot_freezeBodyMovementFor <a class="header-anchor" href="#onshoot-freezebodymovementfor" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor&quot;"></a></h3><h4 id="onshoot-freezebodymovementfor-" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor-" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&quot;"></a></h4><p>:onShoot_freezeBodyMovementFor : :float :</p><h4 id="onshoot-freezebodymovementfor-" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor-" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&quot;"></a></h4><p></p><h4 id="onshoot-freezebodymovementfor-" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor-" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onShoot_freezeBodyMovementFor:60</span></span></code></pre></div><hr><h3 id="barreloffsetx-onoddshots" tabindex="-1">barrelOffsetX_onOddShots <a class="header-anchor" href="#barreloffsetx-onoddshots" aria-label="Permalink to &quot;barrelOffsetX_onOddShots&quot;"></a></h3><h4 id="barreloffsetx-onoddshots-" tabindex="-1">barrelOffsetX_onOddShots- <a class="header-anchor" href="#barreloffsetx-onoddshots-" aria-label="Permalink to &quot;barrelOffsetX_onOddShots-&quot;"></a></h4><p>:barrelOffsetX_onOddShots : :float :</p><h4 id="barreloffsetx-onoddshots-" tabindex="-1">barrelOffsetX_onOddShots- <a class="header-anchor" href="#barreloffsetx-onoddshots-" aria-label="Permalink to &quot;barrelOffsetX_onOddShots-&quot;"></a></h4><p>使 T2T3</p><h4 id="barreloffsetx-onoddshots-" tabindex="-1">barrelOffsetX_onOddShots- <a class="header-anchor" href="#barreloffsetx-onoddshots-" aria-label="Permalink to &quot;barrelOffsetX_onOddShots-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">barrelOffsetX_onOddShots:10</span></span></code></pre></div><hr><h3 id="canattackcondition" tabindex="-1">canAttackCondition <a class="header-anchor" href="#canattackcondition" aria-label="Permalink to &quot;canAttackCondition&quot;"></a></h3><h4 id="canattackcondition-" tabindex="-1">canAttackCondition- <a class="header-anchor" href="#canattackcondition-" aria-label="Permalink to &quot;canAttackCondition-&quot;"></a></h4><p>:canAttackCondition : :LogicBoolean :</p><h4 id="canattackcondition-" tabindex="-1">canAttackCondition- <a class="header-anchor" href="#canattackcondition-" aria-label="Permalink to &quot;canAttackCondition-&quot;"></a></h4><p> false</p><h4 id="canattackcondition-" tabindex="-1">canAttackCondition- <a class="header-anchor" href="#canattackcondition-" aria-label="Permalink to &quot;canAttackCondition-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackCondition:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="clearturrettargetafterfiring" tabindex="-1">clearTurretTargetAfterFiring <a class="header-anchor" href="#clearturrettargetafterfiring" aria-label="Permalink to &quot;clearTurretTargetAfterFiring&quot;"></a></h3><h4 id="clearturrettargetafterfiring-" tabindex="-1">clearTurretTargetAfterFiring- <a class="header-anchor" href="#clearturrettargetafterfiring-" aria-label="Permalink to &quot;clearTurretTargetAfterFiring-&quot;"></a></h4><p>:clearTurretTargetAfterFiring : :bool :</p><h4 id="clearturrettargetafterfiring-" tabindex="-1">clearTurretTargetAfterFiring- <a class="header-anchor" href="#clearturrettargetafterfiring-" aria-label="Permalink to &quot;clearTurretTargetAfterFiring-&quot;"></a></h4><p></p><h4 id="clearturrettargetafterfiring-" tabindex="-1">clearTurretTargetAfterFiring- <a class="header-anchor" href="#clearturrettargetafterfiring-" aria-label="Permalink to &quot;clearTurretTargetAfterFiring-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">clearTurretTargetAfterFiring:true</span></span></code></pre></div><hr><h3 id="limitingangle" tabindex="-1">limitingAngle <a class="header-anchor" href="#limitingangle" aria-label="Permalink to &quot;limitingAngle&quot;"></a></h3><h4 id="limitingangle-" tabindex="-1">limitingAngle- <a class="header-anchor" href="#limitingangle-" aria-label="Permalink to &quot;limitingAngle-&quot;"></a></h4><p>:limitingAngle : :float :</p><h4 id="limitingangle-" tabindex="-1">limitingAngle- <a class="header-anchor" href="#limitingangle-" aria-label="Permalink to &quot;limitingAngle-&quot;"></a></h4><p>idleDir使+/- idleDir:090[-90,90]</p><h4 id="limitingangle-" tabindex="-1">limitingAngle- <a class="header-anchor" href="#limitingangle-" aria-label="Permalink to &quot;limitingAngle-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">limitingAngle:30</span></span></code></pre></div><hr><h3 id="limitingminrange" tabindex="-1">limitingMinRange <a class="header-anchor" href="#limitingminrange" aria-label="Permalink to &quot;limitingMinRange&quot;"></a></h3><h4 id="limitingminrange-" tabindex="-1">limitingMinRange- <a class="header-anchor" href="#limitingminrange-" aria-label="Permalink to &quot;limitingMinRange-&quot;"></a></h4><p>:limitingMinRange : :float :</p><h4 id="limitingminrange-" tabindex="-1">limitingMinRange- <a class="header-anchor" href="#limitingminrange-" aria-label="Permalink to &quot;limitingMinRange-&quot;"></a></h4><p></p><h4 id="limitingminrange-" tabindex="-1">limitingMinRange- <a class="header-anchor" href="#limitingminrange-" aria-label="Permalink to &quot;limitingMinRange-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">limitingMinRange:30</span></span></code></pre></div><hr><h3 id="canattackmaxangle" tabindex="-1">canAttackMaxAngle <a class="header-anchor" href="#canattackmaxangle" aria-label="Permalink to &quot;canAttackMaxAngle&quot;"></a></h3><h4 id="canattackmaxangle-" tabindex="-1">canAttackMaxAngle- <a class="header-anchor" href="#canattackmaxangle-" aria-label="Permalink to &quot;canAttackMaxAngle-&quot;"></a></h4><p>:canAttackMaxAngle : :float :</p><h4 id="canattackmaxangle-" tabindex="-1">canAttackMaxAngle- <a class="header-anchor" href="#canattackmaxangle-" aria-label="Permalink to &quot;canAttackMaxAngle-&quot;"></a></h4><p>15 181</p><h4 id="canattackmaxangle-" tabindex="-1">canAttackMaxAngle- <a class="header-anchor" href="#canattackmaxangle-" aria-label="Permalink to &quot;canAttackMaxAngle-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">canAttackMaxAngle:30</span></span></code></pre></div><hr><h3 id="interceptprojectiles-withtags" tabindex="-1">interceptProjectiles_withTags <a class="header-anchor" href="#interceptprojectiles-withtags" aria-label="Permalink to &quot;interceptProjectiles_withTags&quot;"></a></h3><h4 id="interceptprojectiles-withtags-" tabindex="-1">interceptProjectiles_withTags- <a class="header-anchor" href="#interceptprojectiles-withtags-" aria-label="Permalink to &quot;interceptProjectiles_withTags-&quot;"></a></h4><p>:interceptProjectiles_withTags : :tags :</p><h4 id="interceptprojectiles-withtags-" tabindex="-1">interceptProjectiles_withTags- <a class="header-anchor" href="#interceptprojectiles-withtags-" aria-label="Permalink to &quot;interceptProjectiles_withTags-&quot;"></a></h4><p> </p><h4 id="interceptprojectiles-withtags-" tabindex="-1">interceptProjectiles_withTags- <a class="header-anchor" href="#interceptprojectiles-withtags-" aria-label="Permalink to &quot;interceptProjectiles_withTags-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">interceptProjectiles_withTags:标签</span></span></code></pre></div><hr><h3 id="interceptprojectiles-andtargetinggroundunderdistance" tabindex="-1">interceptProjectiles_andTargetingGroundUnderDistance <a class="header-anchor" href="#interceptprojectiles-andtargetinggroundunderdistance" aria-label="Permalink to &quot;interceptProjectiles_andTargetingGroundUnderDistance&quot;"></a></h3><h4 id="interceptprojectiles-andtargetinggroundunderdistance-" tabindex="-1">interceptProjectiles_andTargetingGroundUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andtargetinggroundunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andTargetingGroundUnderDistance-&quot;"></a></h4><p>:interceptProjectiles_andTargetingGroundUnderDistance : :float :</p><h4 id="interceptprojectiles-andtargetinggroundunderdistance-" tabindex="-1">interceptProjectiles_andTargetingGroundUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andtargetinggroundunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andTargetingGroundUnderDistance-&quot;"></a></h4><p> </p><h4 id="interceptprojectiles-andtargetinggroundunderdistance-" tabindex="-1">interceptProjectiles_andTargetingGroundUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andtargetinggroundunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andTargetingGroundUnderDistance-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">interceptProjectiles_andTargetingGroundUnderDistance:1000</span></span></code></pre></div><hr><h3 id="interceptprojectiles-andunderdistance" tabindex="-1">interceptProjectiles_andUnderDistance <a class="header-anchor" href="#interceptprojectiles-andunderdistance" aria-label="Permalink to &quot;interceptProjectiles_andUnderDistance&quot;"></a></h3><h4 id="interceptprojectiles-andunderdistance-" tabindex="-1">interceptProjectiles_andUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andUnderDistance-&quot;"></a></h4><p>:interceptProjectiles_andUnderDistance : :float :</p><h4 id="interceptprojectiles-andunderdistance-" tabindex="-1">interceptProjectiles_andUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andUnderDistance-&quot;"></a></h4><p> </p><h4 id="interceptprojectiles-andunderdistance-" tabindex="-1">interceptProjectiles_andUnderDistance- <a class="header-anchor" href="#interceptprojectiles-andunderdistance-" aria-label="Permalink to &quot;interceptProjectiles_andUnderDistance-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">interceptProjectiles_andUnderDistance:2000</span></span></code></pre></div><hr><h3 id="interceptprojectiles-andoverheight" tabindex="-1">interceptProjectiles_andOverHeight <a class="header-anchor" href="#interceptprojectiles-andoverheight" aria-label="Permalink to &quot;interceptProjectiles_andOverHeight&quot;"></a></h3><h4 id="interceptprojectiles-andoverheight-" tabindex="-1">interceptProjectiles_andOverHeight- <a class="header-anchor" href="#interceptprojectiles-andoverheight-" aria-label="Permalink to &quot;interceptProjectiles_andOverHeight-&quot;"></a></h4><p>:interceptProjectiles_withTags : :float :</p><h4 id="interceptprojectiles-andoverheight-" tabindex="-1">interceptProjectiles_andOverHeight- <a class="header-anchor" href="#interceptprojectiles-andoverheight-" aria-label="Permalink to &quot;interceptProjectiles_andOverHeight-&quot;"></a></h4><p></p><h4 id="interceptprojectiles-andoverheight-" tabindex="-1">interceptProjectiles_andOverHeight- <a class="header-anchor" href="#interceptprojectiles-andoverheight-" aria-label="Permalink to &quot;interceptProjectiles_andOverHeight-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">interceptProjectiles_andOverHeight:50</span></span></code></pre></div><hr><h3 id="interceptprojectile-removetargetlifeonly" tabindex="-1">interceptProjectile_removeTargetLifeOnly <a class="header-anchor" href="#interceptprojectile-removetargetlifeonly" aria-label="Permalink to &quot;interceptProjectile_removeTargetLifeOnly&quot;"></a></h3><h4 id="interceptprojectile-removetargetlifeonly-" tabindex="-1">interceptProjectile_removeTargetLifeOnly- <a class="header-anchor" href="#interceptprojectile-removetargetlifeonly-" aria-label="Permalink to &quot;interceptProjectile_removeTargetLifeOnly-&quot;"></a></h4><p>:interceptProjectile_removeTargetLifeOnly : :bool :</p><h4 id="interceptprojectile-removetargetlifeonly-" tabindex="-1">interceptProjectile_removeTargetLifeOnly- <a class="header-anchor" href="#interceptprojectile-removetargetlifeonly-" aria-label="Permalink to &quot;interceptProjectile_removeTargetLifeOnly-&quot;"></a></h4><p></p><h4 id="interceptprojectile-removetargetlifeonly-" tabindex="-1">interceptProjectile_removeTargetLifeOnly- <a class="header-anchor" href="#interceptprojectile-removetargetlifeonly-" aria-label="Permalink to &quot;interceptProjectile_removeTargetLifeOnly-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">interceptProjectile_removeTargetLifeOnly:true</span></span></code></pre></div><hr><h3 id="laserdefenceenergyuse" tabindex="-1">laserDefenceEnergyUse <a class="header-anchor" href="#laserdefenceenergyuse" aria-label="Permalink to &quot;laserDefenceEnergyUse&quot;"></a></h3><h4 id="laserdefenceenergyuse-" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse-" aria-label="Permalink to &quot;laserDefenceEnergyUse-&quot;"></a></h4><p>:laserDefenceEnergyUse : :float :</p><h4 id="laserdefenceenergyuse-" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse-" aria-label="Permalink to &quot;laserDefenceEnergyUse-&quot;"></a></h4><p>1</p><h4 id="laserdefenceenergyuse-" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse-" aria-label="Permalink to &quot;laserDefenceEnergyUse-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">laserDefenceEnergyUse:1</span></span></code></pre></div><hr><h3 id="laserdefenceenergyuse-1" tabindex="-1">laserDefenceEnergyUse <a class="header-anchor" href="#laserdefenceenergyuse-1" aria-label="Permalink to &quot;laserDefenceEnergyUse&quot;"></a></h3><h4 id="laserdefenceenergyuse--1" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse--1" aria-label="Permalink to &quot;laserDefenceEnergyUse-&quot;"></a></h4><p>:laserDefenceEnergyUse : :float :</p><h4 id="laserdefenceenergyuse--1" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse--1" aria-label="Permalink to &quot;laserDefenceEnergyUse-&quot;"></a></h4><p>1</p><h4 id="laserdefenceenergyuse--1" tabindex="-1">laserDefenceEnergyUse- <a class="header-anchor" href="#laserdefenceenergyuse--1" aria-label="Permalink to &quot;laserDefenceEnergyUse-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">laserDefenceEnergyUse:1</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="invisible" tabindex="-1">invisible <a class="header-anchor" href="#invisible" aria-label="Permalink to &quot;invisible&quot;"></a></h3><h4 id="invisible-" tabindex="-1">invisible- <a class="header-anchor" href="#invisible-" aria-label="Permalink to &quot;invisible-&quot;"></a></h4><p>:invisible : :LogicBoolean :</p><h4 id="invisible-" tabindex="-1">invisible- <a class="header-anchor" href="#invisible-" aria-label="Permalink to &quot;invisible-&quot;"></a></h4><p></p><h4 id="invisible-" tabindex="-1">invisible- <a class="header-anchor" href="#invisible-" aria-label="Permalink to &quot;invisible-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">invisible:if self.ammo&lt;=2</span></span></code></pre></div><hr><h3 id="image" tabindex="-1">image <a class="header-anchor" href="#image" aria-label="Permalink to &quot;image&quot;"></a></h3><h4 id="image-" tabindex="-1">image- <a class="header-anchor" href="#image-" aria-label="Permalink to &quot;image-&quot;"></a></h4><p>:image : :png :</p><h4 id="image-" tabindex="-1">image- <a class="header-anchor" href="#image-" aria-label="Permalink to &quot;image-&quot;"></a></h4><p></p><h4 id="image-" tabindex="-1">image- <a class="header-anchor" href="#image-" aria-label="Permalink to &quot;image-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">image:png.png</span></span></code></pre></div><hr><h3 id="image-applyteamcolors" tabindex="-1">image_applyTeamColors <a class="header-anchor" href="#image-applyteamcolors" aria-label="Permalink to &quot;image_applyTeamColors&quot;"></a></h3><h4 id="image-applyteamcolors-" tabindex="-1">image_applyTeamColors- <a class="header-anchor" href="#image-applyteamcolors-" aria-label="Permalink to &quot;image_applyTeamColors-&quot;"></a></h4><p>:image_applyTeamColors : :LogicBoolean :</p><h4 id="image-applyteamcolors-" tabindex="-1">image_applyTeamColors- <a class="header-anchor" href="#image-applyteamcolors-" aria-label="Permalink to &quot;image_applyTeamColors-&quot;"></a></h4><p>使</p><h4 id="image-applyteamcolors-" tabindex="-1">image_applyTeamColors- <a class="header-anchor" href="#image-applyteamcolors-" aria-label="Permalink to &quot;image_applyTeamColors-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_applyTeamColors:true</span></span></code></pre></div><hr><h3 id="image-drawoffsetx-image-drawoffsety" tabindex="-1">image_drawOffsetX/image_drawOffsetY <a class="header-anchor" href="#image-drawoffsetx-image-drawoffsety" aria-label="Permalink to &quot;image_drawOffsetX/image_drawOffsetY&quot;"></a></h3><h4 id="image-drawoffsetx-image-drawoffsety-" tabindex="-1">image_drawOffsetX/image_drawOffsetY- <a class="header-anchor" href="#image-drawoffsetx-image-drawoffsety-" aria-label="Permalink to &quot;image_drawOffsetX/image_drawOffsetY-&quot;"></a></h4><p>:image_drawOffsetX/image_drawOffsetY :x/y :float :</p><h4 id="image-drawoffsetx-image-drawoffsety-" tabindex="-1">image_drawOffsetX/image_drawOffsetY- <a class="header-anchor" href="#image-drawoffsetx-image-drawoffsety-" aria-label="Permalink to &quot;image_drawOffsetX/image_drawOffsetY-&quot;"></a></h4><p>xy</p><h4 id="image-drawoffsetx-image-drawoffsety-" tabindex="-1">image_drawOffsetX/image_drawOffsetY- <a class="header-anchor" href="#image-drawoffsetx-image-drawoffsety-" aria-label="Permalink to &quot;image_drawOffsetX/image_drawOffsetY-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">image_drawOffsetX:20</span></span>
<span class="line"><span style="color:#A6ACCD;">image_drawOffsetY:20</span></span></code></pre></div><hr><h3 id="chargeeffectimage" tabindex="-1">chargeEffectImage <a class="header-anchor" href="#chargeeffectimage" aria-label="Permalink to &quot;chargeEffectImage&quot;"></a></h3><h4 id="chargeeffectimage-" tabindex="-1">chargeEffectImage- <a class="header-anchor" href="#chargeeffectimage-" aria-label="Permalink to &quot;chargeEffectImage-&quot;"></a></h4><p>:chargeEffectImage : :png :</p><h4 id="chargeeffectimage-" tabindex="-1">chargeEffectImage- <a class="header-anchor" href="#chargeeffectimage-" aria-label="Permalink to &quot;chargeEffectImage-&quot;"></a></h4><p>warmup使</p><h4 id="chargeeffectimage-" tabindex="-1">chargeEffectImage- <a class="header-anchor" href="#chargeeffectimage-" aria-label="Permalink to &quot;chargeEffectImage-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">chargeEffectImage:png.png</span></span></code></pre></div><hr><h3 id="warmupstarteffect" tabindex="-1">warmupStartEffect <a class="header-anchor" href="#warmupstarteffect" aria-label="Permalink to &quot;warmupStartEffect&quot;"></a></h3><h4 id="warmupstarteffect-" tabindex="-1">warmupStartEffect- <a class="header-anchor" href="#warmupstarteffect-" aria-label="Permalink to &quot;warmupStartEffect-&quot;"></a></h4><p>:warmupStartEffect : :effect :</p><h4 id="warmupstarteffect-" tabindex="-1">warmupStartEffect- <a class="header-anchor" href="#warmupstarteffect-" aria-label="Permalink to &quot;warmupStartEffect-&quot;"></a></h4><p></p><h4 id="warmupstarteffect-" tabindex="-1">warmupStartEffect- <a class="header-anchor" href="#warmupstarteffect-" aria-label="Permalink to &quot;warmupStartEffect-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">warmupStartEffect:CUSTOM:效果</span></span></code></pre></div><hr><h3 id="shoot-sound" tabindex="-1">shoot_sound <a class="header-anchor" href="#shoot-sound" aria-label="Permalink to &quot;shoot_sound&quot;"></a></h3><h4 id="shoot-sound-" tabindex="-1">shoot_sound- <a class="header-anchor" href="#shoot-sound-" aria-label="Permalink to &quot;shoot_sound-&quot;"></a></h4><p>:shoot_sound : :wav/ogg :</p><h4 id="shoot-sound-" tabindex="-1">shoot_sound- <a class="header-anchor" href="#shoot-sound-" aria-label="Permalink to &quot;shoot_sound-&quot;"></a></h4><p></p><h4 id="shoot-sound-" tabindex="-1">shoot_sound- <a class="header-anchor" href="#shoot-sound-" aria-label="Permalink to &quot;shoot_sound-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">shoot_sound:ogg.ogg/wav.wav</span></span></code></pre></div><hr><h3 id="shoot-sound-vol" tabindex="-1">shoot_sound_vol <a class="header-anchor" href="#shoot-sound-vol" aria-label="Permalink to &quot;shoot_sound_vol&quot;"></a></h3><h4 id="shoot-sound-vol-" tabindex="-1">shoot_sound_vol- <a class="header-anchor" href="#shoot-sound-vol-" aria-label="Permalink to &quot;shoot_sound_vol-&quot;"></a></h4><p>:shoot_sound_vol : :float :</p><h4 id="shoot-sound-vol-" tabindex="-1">shoot_sound_vol- <a class="header-anchor" href="#shoot-sound-vol-" aria-label="Permalink to &quot;shoot_sound_vol-&quot;"></a></h4><p></p><h4 id="shoot-sound-vol-" tabindex="-1">shoot_sound_vol- <a class="header-anchor" href="#shoot-sound-vol-" aria-label="Permalink to &quot;shoot_sound_vol-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">shoot_sound_vol:0.1</span></span></code></pre></div><hr><h3 id="shoot-flame" tabindex="-1">shoot_flame <a class="header-anchor" href="#shoot-flame" aria-label="Permalink to &quot;shoot_flame&quot;"></a></h3><h4 id="shoot-flame-" tabindex="-1">shoot_flame- <a class="header-anchor" href="#shoot-flame-" aria-label="Permalink to &quot;shoot_flame-&quot;"></a></h4><p>:shoot_flame : :effect :</p><h4 id="shoot-flame-" tabindex="-1">shoot_flame- <a class="header-anchor" href="#shoot-flame-" aria-label="Permalink to &quot;shoot_flame-&quot;"></a></h4><p></p><h4 id="shoot-flame-" tabindex="-1">shoot_flame- <a class="header-anchor" href="#shoot-flame-" aria-label="Permalink to &quot;shoot_flame-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">shoot_flame:CUSTOM:效果</span></span></code></pre></div><hr><h3 id="shoot-light" tabindex="-1">shoot_light <a class="header-anchor" href="#shoot-light" aria-label="Permalink to &quot;shoot_light&quot;"></a></h3><h4 id="shoot-light-" tabindex="-1">shoot_light- <a class="header-anchor" href="#shoot-light-" aria-label="Permalink to &quot;shoot_light-&quot;"></a></h4><p>:shoot_light : : :</p><h4 id="shoot-light-" tabindex="-1">shoot_light- <a class="header-anchor" href="#shoot-light-" aria-label="Permalink to &quot;shoot_light-&quot;"></a></h4><p>AARRGGBB</p><h4 id="shoot-light-" tabindex="-1">shoot_light- <a class="header-anchor" href="#shoot-light-" aria-label="Permalink to &quot;shoot_light-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">shoot_light:</span><span style="color:#676E95;font-style:italic;">#00000000</span></span></code></pre></div><hr><h3 id="idlespin" tabindex="-1">idleSpin <a class="header-anchor" href="#idlespin" aria-label="Permalink to &quot;idleSpin&quot;"></a></h3><h4 id="idlespin-" tabindex="-1">idleSpin- <a class="header-anchor" href="#idlespin-" aria-label="Permalink to &quot;idleSpin-&quot;"></a></h4><p>:idleSpin : :float :</p><h4 id="idlespin-" tabindex="-1">idleSpin- <a class="header-anchor" href="#idlespin-" aria-label="Permalink to &quot;idleSpin-&quot;"></a></h4><p></p><h4 id="idlespin-" tabindex="-1">idleSpin- <a class="header-anchor" href="#idlespin-" aria-label="Permalink to &quot;idleSpin-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">idleSpin:1</span></span></code></pre></div><hr><h3 id="recoiloffset" tabindex="-1">recoilOffset <a class="header-anchor" href="#recoiloffset" aria-label="Permalink to &quot;recoilOffset&quot;"></a></h3><h4 id="recoiloffset-" tabindex="-1">recoilOffset- <a class="header-anchor" href="#recoiloffset-" aria-label="Permalink to &quot;recoilOffset-&quot;"></a></h4><p>:recoilOffset : :float :</p><h4 id="recoiloffset-" tabindex="-1">recoilOffset- <a class="header-anchor" href="#recoiloffset-" aria-label="Permalink to &quot;recoilOffset-&quot;"></a></h4><p> 退</p><h4 id="recoiloffset-" tabindex="-1">recoilOffset- <a class="header-anchor" href="#recoiloffset-" aria-label="Permalink to &quot;recoilOffset-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">recoilOffset:-5</span></span></code></pre></div><hr><h3 id="recoilouttime" tabindex="-1">recoilOutTime <a class="header-anchor" href="#recoilouttime" aria-label="Permalink to &quot;recoilOutTime&quot;"></a></h3><h4 id="recoilouttime-" tabindex="-1">recoilOutTime- <a class="header-anchor" href="#recoilouttime-" aria-label="Permalink to &quot;recoilOutTime-&quot;"></a></h4><p>:recoilOutTime : :float :</p><h4 id="recoilouttime-" tabindex="-1">recoilOutTime- <a class="header-anchor" href="#recoilouttime-" aria-label="Permalink to &quot;recoilOutTime-&quot;"></a></h4><p> 退/</p><h4 id="recoilouttime-" tabindex="-1">recoilOutTime- <a class="header-anchor" href="#recoilouttime-" aria-label="Permalink to &quot;recoilOutTime-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">recoilOutTime:7.5</span></span></code></pre></div><hr><h3 id="recoilreturntime" tabindex="-1">recoilReturnTime <a class="header-anchor" href="#recoilreturntime" aria-label="Permalink to &quot;recoilReturnTime&quot;"></a></h3><h4 id="recoilreturntime-" tabindex="-1">recoilReturnTime- <a class="header-anchor" href="#recoilreturntime-" aria-label="Permalink to &quot;recoilReturnTime-&quot;"></a></h4><p>:recoilReturnTime : :float :</p><h4 id="recoilreturntime-" tabindex="-1">recoilReturnTime- <a class="header-anchor" href="#recoilreturntime-" aria-label="Permalink to &quot;recoilReturnTime-&quot;"></a></h4><p>退/ </p><h4 id="recoilreturntime-" tabindex="-1">recoilReturnTime- <a class="header-anchor" href="#recoilreturntime-" aria-label="Permalink to &quot;recoilReturnTime-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">recoilReturnTime:15</span></span></code></pre></div><hr><h3 id="yaxisscaling" tabindex="-1">yAxisScaling <a class="header-anchor" href="#yaxisscaling" aria-label="Permalink to &quot;yAxisScaling&quot;"></a></h3><h4 id="yaxisscaling-" tabindex="-1">yAxisScaling- <a class="header-anchor" href="#yaxisscaling-" aria-label="Permalink to &quot;yAxisScaling-&quot;"></a></h4><p>:yAxisScaling :Y :float :</p><h4 id="yaxisscaling-" tabindex="-1">yAxisScaling- <a class="header-anchor" href="#yaxisscaling-" aria-label="Permalink to &quot;yAxisScaling-&quot;"></a></h4><p>2.5D3D</p><h4 id="yaxisscaling-" tabindex="-1">yAxisScaling- <a class="header-anchor" href="#yaxisscaling-" aria-label="Permalink to &quot;yAxisScaling-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">yAxisScaling:25</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><h3 id="onshoot-playanimation" tabindex="-1">onShoot_playAnimation <a class="header-anchor" href="#onshoot-playanimation" aria-label="Permalink to &quot;onShoot_playAnimation&quot;"></a></h3><h4 id="onshoot-playanimation-" tabindex="-1">onShoot_playAnimation- <a class="header-anchor" href="#onshoot-playanimation-" aria-label="Permalink to &quot;onShoot_playAnimation-&quot;"></a></h4><p>:onShoot_playAnimation : :animation :</p><h4 id="onshoot-playanimation-" tabindex="-1">onShoot_playAnimation- <a class="header-anchor" href="#onshoot-playanimation-" aria-label="Permalink to &quot;onShoot_playAnimation-&quot;"></a></h4><p></p><h4 id="onshoot-playanimation-" tabindex="-1">onShoot_playAnimation- <a class="header-anchor" href="#onshoot-playanimation-" aria-label="Permalink to &quot;onShoot_playAnimation-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onShoot_playAnimation:1</span></span></code></pre></div><hr><h3 id="onshoot-freezebodymovementfor-1" tabindex="-1">onShoot_freezeBodyMovementFor <a class="header-anchor" href="#onshoot-freezebodymovementfor-1" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor&quot;"></a></h3><h4 id="onshoot-freezebodymovementfor--1" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor--1" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&quot;"></a></h4><p>:onShoot_freezeBodyMovementFor : :float :</p><h4 id="onshoot-freezebodymovementfor--1" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor--1" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&quot;"></a></h4><p></p><h4 id="onshoot-freezebodymovementfor--1" tabindex="-1">onShoot_freezeBodyMovementFor- <a class="header-anchor" href="#onshoot-freezebodymovementfor--1" aria-label="Permalink to &quot;onShoot_freezeBodyMovementFor-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onShoot_freezeBodyMovementFor:60</span></span></code></pre></div><hr><h3 id="onshoot-triggeractions" tabindex="-1">onShoot_triggerActions <a class="header-anchor" href="#onshoot-triggeractions" aria-label="Permalink to &quot;onShoot_triggerActions&quot;"></a></h3><h4 id="onshoot-triggeractions-" tabindex="-1">onShoot_triggerActions- <a class="header-anchor" href="#onshoot-triggeractions-" aria-label="Permalink to &quot;onShoot_triggerActions-&quot;"></a></h4><p>:onShoot_triggerActions : :action :</p><h4 id="onshoot-triggeractions-" tabindex="-1">onShoot_triggerActions- <a class="header-anchor" href="#onshoot-triggeractions-" aria-label="Permalink to &quot;onShoot_triggerActions-&quot;"></a></h4><p></p><h4 id="onshoot-triggeractions-" tabindex="-1">onShoot_triggerActions- <a class="header-anchor" href="#onshoot-triggeractions-" aria-label="Permalink to &quot;onShoot_triggerActions-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">onShoot_triggerActions:1</span></span></code></pre></div><hr><h3 id="unloaduptoxunitsandgiveattackorder" tabindex="-1">unloadUpToXUnitsAndGiveAttackOrder <a class="header-anchor" href="#unloaduptoxunitsandgiveattackorder" aria-label="Permalink to &quot;unloadUpToXUnitsAndGiveAttackOrder&quot;"></a></h3><h4 id="unloaduptoxunitsandgiveattackorder-" tabindex="-1">unloadUpToXUnitsAndGiveAttackOrder- <a class="header-anchor" href="#unloaduptoxunitsandgiveattackorder-" aria-label="Permalink to &quot;unloadUpToXUnitsAndGiveAttackOrder-&quot;"></a></h4><p>:unloadUpToXUnitsAndGiveAttackOrder :n :int :</p><h4 id="unloaduptoxunitsandgiveattackorder-" tabindex="-1">unloadUpToXUnitsAndGiveAttackOrder- <a class="header-anchor" href="#unloaduptoxunitsandgiveattackorder-" aria-label="Permalink to &quot;unloadUpToXUnitsAndGiveAttackOrder-&quot;"></a></h4><p>n </p><h4 id="unloaduptoxunitsandgiveattackorder-" tabindex="-1">unloadUpToXUnitsAndGiveAttackOrder- <a class="header-anchor" href="#unloaduptoxunitsandgiveattackorder-" aria-label="Permalink to &quot;unloadUpToXUnitsAndGiveAttackOrder-&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;">[turret_1]</span></span>
<span class="line"><span style="color:#A6ACCD;">unloadUpToXUnitsAndGiveAttackOrder:1</span></span></code></pre></div><hr>`,584),l=[r];function o(s,c,h,d,p,u){return t(),e("div",null,l)}const b=a(i,[["render",o]]);export{m as __pageData,b as default};

View File

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

File diff suppressed because one or more lines are too long

22
cos.html Normal file

File diff suppressed because one or more lines are too long

View File

View File

@ -1 +0,0 @@
rustedwarfareapicode.top

View File

@ -1,156 +0,0 @@
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<h1>RTS-Code-API---开发规范</h1>
</div>
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<img src="https://rwapi-code.netlify.app/images/title.png">
</div>
> [!TIP] 0.如果你确定你想<font color=orange>帮忙开发此站点</font>,<br>
就可以点击右上角的Github按钮<font color=orange>Clone我们的库</font><br>
编写代码并进行PR申请我非常感谢你的帮忙感谢各位的支持与帮助。<br>
> 1.确保代码的解释通俗易懂,能让新手迅速入门<br>2.编写的代码应该以以下格式进行:
> <h3>代码的格式编写规范:</h3>1.代码的英文名和附属信息(参考站点已添加的代码例子)<br>
2.代码的简介<br>
3.代码的要点指示<br>
4.代码的演示例子<br>
5.代码的扩展例子(可选)<br>
6.GIF演示/视频演示(可选)
> [!TIP] 使用外部资源时请使用支持HTTPS协议的资源地址传输。<br>
否则在<font color=orange>Google Chrome等一系列以CEF的内核</font>上会因为强制替换HTTPS导致资源无法打开。
> [!WARNING] 不能使用过于高深的说明,严禁出现谜语人话语,无用话语,任何玩梗,
夹带私货等一系列与本站无关的东西,违者将不能通过<font color=green>PR审核</font>
> [!WARNING] 有一些代码或许有一些新的写法,或该写法可能已经废弃,如果遇到这些代码,编写者需要注明,并提供推荐代码。
!> 为了更好的方便一起编写站点的贡献者,本站点提供了以下的<font color=green>扩展MD格式供各位书写</font>
#### MD扩展格式
```bash
!> 注意文本
?> 小提示文本
> [!WARNING] 警告文本
> [!NOTE] 笔记文本
> [!TIP] 重要提示文本
> [!ATTENTION] 不推荐文本
注意以下必须在START-END内进行使用才能生效,
且将chat后面的"*"换为空格:
<!--chat*:start -->
#### **tobby3600**
我是第一个消息文本
#### **JDSALing**
我是第二个消息文本
<!--chat*:end -->
实际生成代码:
<!-- chat:start -->
#### **tobby3600**
我是第一个消息文本
#### **JDSALing**
我是第二个消息文本
<!-- chat:end -->
```
#### 其他说明:
有关于MarkDown的其他书写格式请参考MD书写规范
[MD文档参考--点我立刻学习](https://docs.github.com/zh/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)
#### 附加说明:
```txt
由于插件众多为避免MD格式冲突换行建议最好使用<br>进行换行,
如果要在一些扩展格式渲染演示,请使用<font>标签,
```
#### 部署策略:
!> 1.本地部署
> [!NOTE] 如果要本地测试,请确保设备有<font color=green>Node.js</font>
并在项目根目录使用以下命令:<br>
> npm i docsify-cli -g<br>docsify serve docs
!> 2.Netlify部署
> [!NOTE] 如果你已经发送了PR请求可以通过我的Netlify预览站点进行预览<br>
Netlify会在你的PR请求下面显示你的预览页面地址。<br>
如下图所示,点击<b><font color=orange>😎 Deploy Preview后面的链接</font></b>即可看见效果<br>
由于某些原因TX会拦截Netlify的站点请使用浏览器预览。
<img src="images/example.png">
#### 实际格式演示:
!> 注意文本
?> 小提示文本
> [!WARNING] 警告文本
> [!NOTE] 笔记文本
> [!TIP] 重要提示文本
> [!ATTENTION] 不推荐文本
<!-- chat:start -->
#### **tobby3600**
我是第一个消息文本
#### **JDSALing**
我是第二个消息文本
<!-- chat:end -->
> [!TIP] 如果要添加你的聊天MD头像和名字请发送Issues给我
#### 单位代码文档推荐格式:
```markdown
### xxxx
#### xxxx-代码简介
?> 代码:xxxx 中文释义:xxxx 类型:xxxx 隶属于:xxxx
> [!TIP] xxxxxx
#### 视频/GIF演示---(可选)
#### 聊天气泡[追加内容]---(可选)
#### xxxx代码-演示例子
***ini
xxxx
***
```
#### 表格推荐格式
### 代码演示:
|A|B|C|
|-|-|-
|1|2|3|
### 代码例子:
```markdown
|A|B|C|
|-|-|-
|1|2|3|
```
如果你仍然不会Markdown表格写法这里给你一个链接
<h3><a href="https://tableconvert.com/zh-cn/markdown-to-markdown" target="_blank">TableConvert-MD-点击进入</a></h3>
### 扩展写法(高级)
有一些时候,我们可能需要在已经标记的后面再添加东西,
但Markdown解析方式在标签后面再有一个标签就不会识别了。
所以这里我们必须直接使用原生Html的代码
通过浏览器的检查元素,你应该能迅速找到模块框架,
将它的模块元素区域复制下来,并调用。
<!-- MarkDown表格必须有上方的分割线以告诉浏览器是表格 -->
!> 该文档可能还有很多缺陷如果你有更好的建议请发送Issues或者PR给我。
?> 编写于2023-3-9 RTS-Code-API[第2版-第2次修订]

View File

@ -1,27 +0,0 @@
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<img src="https://rwapi-code.netlify.app/images/logo.png">
</div>
## 铁锈战争代码表1.15-API
## 项目鸣谢人员:
> * Tobby3600--合作编辑LogicBoolean组代码
> * JDSALing--提供网站编写
> * 华夏有衣--提供Excel超级代码表
> * Luke-Hoschke--铁锈战争开发者
> * Cold_Mint--提供资源高速加载
> * 王某人--提供MT基础代码高亮文件
> * 十山月--合作编辑Action组代码
> * 指挥中心--提供LogicBoolean组代码例子
# 站点简介:
> * 本站点主要提供铁锈战争的代码API教程与指导皆在为铁锈带来更好的Mod质量。
> * 本站点提供--地图Mapping代码表单位Unit代码表调试Debug代码表。
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<font size="6px" color="#42b983">RTS-Code-API-1.15-CopyRight-2023</font>
</div>
<!-- 执行命令docsify serve docs -->

View File

@ -1,20 +0,0 @@
![logo](/images/title.png)
<h1 id="anchors">RustedWarfare-API Code<small>0.1 Demo</small> </h1>
<h2><p id='mainx'>Rusted Warfare Code API<p><h2>
<h3 id="anchors">学习Mod,制作Mod,创新Mod</h3>
<h3 id="anchors">Map Code/Unit Code/Debug Code</h3>
<h3 id="anchors">铁锈战争代码API站点--欢迎您!</h3>
[地图代码表](map_code/1.14/code)
[调试代码表](debug_code/1.15/code)
[RTS-Code-API文档指南](/DEV.md)
[单位代码表](unit_code/1.15/code?id=铁锈战争-115-单位代码表-beta1)
[致谢人员表](/README.md)
![](https://rwapi-code.netlify.app/images/back.png)

View File

@ -1,11 +0,0 @@
<!-- docs/_sidebar.md -->
* [铁锈战争-1.15-Code-API](/README.md)
* [单位Mod代码表](unit_code/index.md "学习铁锈战争的单位代码表")
* [Rusted Warfare --- 1.15代码表测试版](unit_code/1.15/code.md?id=铁锈战争-115-单位代码表-beta1 "RTS-1.15的单位代码表")
* [地图Mod代码表](map_code/index.md "学习铁锈战争的地图代码表")
* [1.14地图代码表-Beta版](map_code/1.14/code.md "RTS-1.14的地图代码表")
* [调试Mod代码表](debug_code/index.md "学习高级调试代码的代码表")
* [1.15调试代码表-Beta版](debug_code/1.15/code.md "RTS-1.15的调试代码表")
* [开放型教程中心](/comingsoon.md "敬请期待")
* [RTS-Code-API文档指南](/DEV.md)
* [RW-Engine文档指南](rwEngine_code/code.md)

View File

@ -1 +0,0 @@
AAA

View File

@ -1,55 +0,0 @@
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<h1>RW_1.15-Debug代码表</h1>
</div>
## &nbsp; Zero.前言:
本教程仅适合 Moder 使用,当然一般人也可以看看,
不过别乱调试就行。否则出问题自行重置设置或后果自负。<br>
<font color="red">注:指令不区分大小写!</font>
## &nbsp; One.什么是高级调试Debug?
铁锈战争是一个多语言,有很多元素的一款游戏。
但我们可爱的开发者Luke,设置里面远远没有包含全部游戏设置。
在 1.14 开始,卢克偷偷加了一个 Debug 按钮并且不做任何说明与
提示。
我通过筛查Dex我发现了这个东西并将资料整理出来。
## &nbsp; Two.高级调试的Debug位置:
<img src="https://rwapi-code.netlify.app/images/debug.png">
那么,这里就是高级调试指令按钮了。
当你点了之后,你会看见一个这种界面。
然后现在来到这个界面你就成功一半了,接下来就是如何使用这
个界面。
声明:下列指令全部由我 Apk 拆包分析后得出来的。仅供学习交流,切勿滥用。
<!-- tabs:start -->
# **[Debug-Nomal] 常规调试组**
| 1. | autosave on/off | 启用/关闭自动保存 |
|:------:|:------------------:|:----------------:|
| 2. | reset | 重置所有调试,但是语言不会变回来 |
| 3. | storage reset | 恢复铁锈存储出厂设置 |
| 4. | save logs | 保存游戏常规日志 |
| 5. | opengl view | 启用 opengl 视图 |
| 6. | showhpchanges on | 开启动态血条显示 |
| 7. | showhpchanges off | 关闭动态血条显示 |
# **[Debug-Extra] 扩展调试组**
# **[Debug-Miscs] 杂项调试组**
<!-- | 1. | old map render | 启用旧版地图渲染 |
|:------:|:------------------:|:----------------:|
| 2. | surface view2 | 启用多线程曲面视图 |
| 3. | nonsurface view | 启用非曲面视图 |
| 4. | surface view | 启用表面视图 |
| 6. | watch memory | 启用内存监控 | -->
<!-- tabs:end -->

View File

@ -1,17 +0,0 @@
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<img src="https://rwapi-code.netlify.app/images/title.png">
</div>
<b><font size="5px" color="#000">&nbsp;&nbsp;&nbsp;&nbsp;这是来自于1.15的高级调试器的Beta版本目前该代码表包含了全部1.15调试代码,<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;用户可以根据自己的编码能力进行学习,我建议各位从浅到深慢慢学习,并且一定要动手去试试看,不能一直看着代码表而不去动手。否则可能会事倍功半。<br>
&nbsp;&nbsp;&nbsp;&nbsp;总之RTS-API-CODE欢迎各位的到来。以及本站点仍然处于建设中如有代码遗漏之处<br>
&nbsp;&nbsp;&nbsp;&nbsp;请您指出并批评纠正。</font></b>
<a href="#/debug_code/1.15/code.md">
<h2 style="color:green">点击我,开始熟悉调试代码表!</h2>
</a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 KiB

View File

@ -1,472 +0,0 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>RW-Code-API</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="icon.jpg" type="image/x-icon">
<script src="https://rustedwarfareapicode.top/js/EditMd.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
<div data-app id="main" style="margin: 0 auto;">
<div class="loading">
<h1>正在载入数据中……</h1>
</div>
</div>
<noscript>
<div class="nojs">
<div class="nojs-content">
<h1>⚠️ JavaScript-JS已被禁用</h1>
<p>
很抱歉当你看见这个界面代表你的浏览器可能尚未启用JS,因此我们无法构建<font color="#00cc00">[铁锈战争API-Code]</font>页面。
</p>
<p>
若您确信自己已开启JS技术那么可能是您的浏览器不支持请使用我们为你推荐的浏览器进行使用。
</p>
<hr />
<a class="nojs-btn" href="https://viayoo.com/zh-cn/" target="_blank" rel="noopener">Via-大道至简 (手机端)</a>
<a class="nojs-btn" href="https://www.google.cn/chrome/" target="_blank" rel="noopener">Google Chrome
(PC端)</a>
<br /><br />
<p>
<h1>RTS-API-Code-2023</h1>
</p>
</div>
</div>
</noscript>
<style>
.loading {
-webkit-text-size-adjust: 100%;
font-size: 16px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
box-sizing: inherit;
padding: 0;
margin: 0;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 9999999999;
display: flex;
align-items: center;
justify-content: center;
}
/* JS报错页面优化升级 */
.nojs {
-webkit-text-size-adjust: 100%;
font-size: 16px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
box-sizing: inherit;
padding: 0;
margin: 0;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 9999999999;
background: repeating-linear-gradient(-45deg,
#d7ba01,
#d7ba01 90px,
#1d0d0d 0,
#1d0d0d 180px);
display: flex;
align-items: center;
justify-content: center;
}
.nojs del {
padding: 4px 8px;
background: #1d1d1d;
background: repeating-linear-gradient(-45deg,
#e6c700,
#e6c700 45px,
rgba(0, 0, 0, 0.5) 0,
rgba(0, 0, 0, 0.5) 30px);
color: #cbcbcb;
border-radius: 4px;
}
/* 布局约束调整 */
.sidebar li {
margin: 0;
}
.nojs-content {
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
box-sizing: inherit;
margin: 0;
vertical-align: middle;
width: 70%;
font-weight: 700;
font-size: 18px;
font-family: -apple-system, Noto Sans SC, BlinkMacSystemFont,
Segoe UI, Microsoft YaHei UI, Microsoft Yahei, 微软雅黑,
Helvetica, Arial, sans-serif;
padding: 48px 64px;
word-break: break-word;
text-align: center;
line-height: 2;
border-radius: 16px;
background: rgba(45, 42, 43, 0.8);
backdrop-filter: blur(16px);
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
border: 4px solid #0d0d0d;
color: #beb9b9;
box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5),
inset 0 0 2rem rgba(0, 0, 0, 0.5);
}
.nojs .nojs-btn {
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-weight: 700;
word-break: break-word;
line-height: 2;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-sizing: inherit;
outline-width: 0;
display: inline-block;
border: 2px solid #000;
padding: 8px 24px;
margin: 0 8px;
text-decoration: none;
color: #fff;
font-family: sans-serif;
font-size: 14px;
cursor: pointer;
text-align: center;
transition: background 50ms ease-out, transform 0.15s ease;
background: #368dff;
border-radius: 24px;
transform: scale(1.05);
}
/* 公用样式 */
.nojs .nojs-btn:hover {
background: #0366e8;
transform: scale(1.05);
}
.nojs .nojs-btn:focus {
outline: 1px solid #fff;
outline-offset: -4px;
}
.nojs .nojs-btn:active {
transform: scale(0.99);
}
.nojs del {
padding: 4px 8px;
background: #1d1d1d;
background: repeating-linear-gradient(-45deg,
#995d22,
#995d22 15px,
rgba(0, 0, 0, 0.5) 0,
rgba(0, 0, 0, 0.5) 30px);
color: #cbcbcb;
border-radius: 4px;
}
.markdown-section {
margin: 0 auto;
max-width: 100%;
padding: 30px 15px 40px;
position: relative;
}
.nojs .nojs-link {
background: #0d47a1;
color: #fff;
border: 2px solid #093777;
padding: 4px 6px;
text-decoration: none;
border-radius: 4px;
}
.nojs .nojs-btn:focus,
.nojs .nojs-link:hover {
background: #0f5ad6;
}
.nojs .nojs-link:active {
background: #0d4fba;
}
.rtsqs {
border-radius: 7px;
color: darkblue;
}
</style>
<script>
window.$docsify = {
el: '#main',
loadSidebar: true,
subMaxLevel: 3,
coverpage: true,
name: '铁锈战争API-Code',
plugins: [
EditOnGithubPlugin.create(
'https://github.com/LingASDJ/RW-API-Code/tree/main/docs/',
null,
function (file) {
return '在GitHub上合作编辑RTS-Code-API的文档'
}
)
],
tabs: {
persist: true, // default
sync: true, // default
theme: 'classic', // default
tabComments: true, // default
tabHeadings: true // default
},
'flexible-alerts': {
note: {
label: "随录笔记"
},
tip: {
label: "特别注意"
},
warning: {
label: "警告"
},
attention: {
label: "不推荐"
}
},
// Valine: {
// appId: 'e3Ipwd8kr6LEeNRLk487mmtB-gzGzoHsz',
// appKey: 'gQYoj8j4KehzLWLGvpr5sKeP',
// placeholder: "可以将你的一些见解发表到这里说不定能帮助到其他萌新或者让一些陷入迷途的人豁然开朗呢支持MarkDown语法。",
// avatar: 'hide'
// },
scrollToTop: {
auto: true,
text: 'Top↑',
right: 15,
bottom: 15,
offset: 500
},
timeUpdater: {
text: "> 最后编写更新时间: {docsify-updated}",
formatUpdated: "{YYYY}/{MM}/{DD}",
whereToPlace: "top", // "top" or "bottom", default to "bottom"
},
chat: {
// chat panel title
title: '',
// set avatar url
users: [
{ nickname: 'tobby3600', avatar: 'https://rwapi-code.netlify.app/images/avaters/tobby3600.jpg' },
{ nickname: 'JDSALing', avatar: 'https://rwapi-code.netlify.app/images/avaters/ling.jpg' },
{ nickname: 'shishanyue', avatar: 'https://rwapi-code.netlify.app/images/avaters/shishanyue.jpg' },
],
// myself: 'JDSALing',
animation: 50,
// Panel navigation bar style, supporting "mac" and "windows"
os: 'none',
},
repo: 'https://github.com/LingASDJ/RW-API-Code',
// 完整配置参数
search: {
maxAge: 86400000, // 过期时间单位毫秒1.9分钟
paths: 'auto', // or 'auto'
search: [
'auto', // => /zh-cn/README.md
],
// 支持本地化
placeholder: {
'/': '搜索你需要的!探索你所想的!'
},
// 支持本地化
noData: {
'/': '尚未找到匹配结果……'
},
// 搜索标题的最大层级, 1 - 6
depth: 3,
hideOtherSidebarContent: true, // 是否隐藏其他侧边栏内容
// 避免搜索索引冲突
// 同一域下的多个网站之间
//namespace: 'website-1',
// 使用不同的索引作为路径前缀namespaces
// 注意:仅适用于 paths: 'auto' 模式
//
// 初始化索引时,我们从侧边栏查找第一个路径
// 如果它与列表中的前缀匹配,我们将切换到相应的索引
pathNamespaces: ['/zh-cn', '/ru-ru', '/ru-ru/v1'],
// 您可以提供一个正则表达式来匹配前缀。在这种情况下,
// 匹配到的字符串将被用来识别索引
pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
}
}
</script>
<!-- Docsify v4 -->
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<!-- 插件引入 -->
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-updated/src/time-updater.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify-scroll-to-top/dist/docsify-scroll-to-top.min.js"></script>
<script src="https://rustedwarfareapicode.top/js/RW-ini-1.15.js"></script>
<script src="https://rustedwarfareapicode.top/js/docsify-copy-code.min.js"></script>
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
<script src="//unpkg.com/docsify-valine/dist/docsify-valine.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-chat/lib/docsify-chat.min.js"></script>
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
<style>
/* 主页样式 */
#mainx {
color: #0080ff;
}
#main {
font-size: large;
}
#anchors {
color: #ffffff;
}
section.cover .cover-main>p:last-child a {
border-radius: 2rem;
background: #42b983;
border: 1px solid #42b983;
border-color: var(--theme-color, #42b983);
box-sizing: border-box;
color: fff;
color: #ffffff;
display: inline-block;
font-size: 1.05rem;
letter-spacing: .1rem;
margin: 0.5rem 1rem;
padding: 0.75em 2rem;
text-decoration: none;
transition: all .15s ease;
}
section.cover a,
section.cover a:hover {
text-decoration: none;
}
section.cover a {
color: inherit;
}
* {
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
box-sizing: border-box;
}
/* 公用样式 */
.token.selector {
color: #42b983;
}
.token.punctuation {
color: #42b983;
}
.search .matching-post:hover {
border-bottom: 1px solid #eee;
background: rgba(163, 230, 40, 0.5);
border-radius: 12px;
}
.markdown-section code,
.markdown-section pre {
border-radius: 21px
}
.sidebar ul li.active>a {
border-right: 2px solid;
color: #42b983;
color: #42b983;
font-weight: 600;
background: azure;
border-radius: 5px;
text-decoration: none;
}
section.cover.has-mask .mask {
background-color: #070707;
opacity: .75;
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.sidebar ul li a:hover {
text-decoration: #42b983;
}
.markdown-section a {
color: #42b983;
color: var(--theme-color, #42b983);
font-weight: 600;
text-decoration: none;
}
.markdown-section a:hover {
color: #075632;
color: var(--theme-color, #075632);
font-weight: 600;
}
.markdown-section output:after,
.markdown-section pre:after {
color: #42b983;
font-size: .6rem;
font-weight: 600;
height: 15px;
line-height: 15px;
padding: 5px 10px 0;
position: absolute;
right: 0;
text-align: right;
top: 0;
content: attr(data-lang);
}
</style>
</body>
</html>

View File

@ -1,8 +0,0 @@
/**
* Minified by jsDelivr using Terser v3.14.1.
* Original file: /npm/docsify-edit-on-github@1.0.3/index.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(t){t.EditOnGithubPlugin={},t.EditOnGithubPlugin.create=function(n,i,e){function u(t){return header=['<div style="overflow: auto">','<p style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center"><a style="font-size: 1.5rem; text-decoration: none; cursor: pointer"','onclick="EditOnGithubPlugin.onClick(event)">',t,"</a></p>","</div>"].join("")}return e=e||"Edit on github",i=i||n.replace(/\/blob\//,"/edit/"),t.EditOnGithubPlugin.editDoc=function(t,n){var e=n.route.file;if(e){var u=i+e;return window.open(u),t.preventDefault(),!1}return!0},function(n,i){if(t.EditOnGithubPlugin.onClick=function(t){EditOnGithubPlugin.editDoc(t,i)},(r=e)&&"[object Function]"==={}.toString.call(r))n.afterEach(function(t){return u(e(i.route.file))+t});else{var o=u(e);n.afterEach(function(t){return o+t})}var r}}}(window);
//# sourceMappingURL=/sm/eef821f4877f09e27be373326100cefe923735a9bb303de51b16f9079d063a86.map

View File

@ -1,42 +0,0 @@
Prism.languages.ini = {
/**
* The component mimics the behavior of the Win32 API parser.
*
* @see {@link https://github.com/PrismJS/prism/issues/2775#issuecomment-787477723}
*/
'comment': {
pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m,
lookbehind: true
},
'section': {
pattern: /(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,
lookbehind: true,
inside: {
'section-name': {
pattern: /(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,
lookbehind: true,
alias: 'selector'
},
'punctuation': /\[|\]/
}
},
'key': {
pattern: /(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*:)/m,
lookbehind: true,
alias: 'attr-name'
},
'value': {
pattern: /(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,
lookbehind: true,
alias: 'attr-value',
inside: {
'inner-value': {
pattern: /^("|').+(?=\1$)/,
lookbehind: true
}
}
},
'punctuation': /=/
};

View File

@ -1,9 +0,0 @@
/*!
* docsify-copy-code
* v2.1.1
* https://github.com/jperasmus/docsify-copy-code
* (c) 2017-2020 JP Erasmus <jperasmus11@gmail.com>
* MIT license
*/
!function(){"use strict";function s(o){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}!function(o,e){void 0===e&&(e={});var t=e.insertAt;if(o&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css","top"===t&&n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.styleSheet?c.styleSheet.cssText=o:c.appendChild(document.createTextNode(o))}}(".docsify-copy-code-button,.docsify-copy-code-button span{cursor:pointer;transition:all .25s ease}.docsify-copy-code-button{position:absolute;z-index:1;top:0;right:0;overflow:visible;padding:.65em .8em;border:0;border-radius:0;outline:0;font-size:1em;background:grey;background:var(--theme-color,grey);color:#fff;opacity:0}.docsify-copy-code-button span{border-radius:3px;background:inherit;pointer-events:none}.docsify-copy-code-button .error,.docsify-copy-code-button .success{position:absolute;z-index:-100;top:50%;right:0;padding:.5em .65em;font-size:.825em;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.docsify-copy-code-button.error .error,.docsify-copy-code-button.success .success{right:100%;opacity:1;-webkit-transform:translate(-115%,-50%);transform:translate(-115%,-50%)}.docsify-copy-code-button:focus,pre:hover .docsify-copy-code-button{opacity:1}"),document.querySelector('link[href*="docsify-copy-code"]')&&console.warn("[Deprecation] Link to external docsify-copy-code stylesheet is no longer necessary."),window.DocsifyCopyCodePlugin={init:function(){return function(o,e){o.ready(function(){console.warn("[Deprecation] Manually initializing docsify-copy-code using window.DocsifyCopyCodePlugin.init() is no longer necessary.")})}}},window.$docsify=window.$docsify||{},window.$docsify.plugins=[function(o,r){o.doneEach(function(){var o=Array.apply(null,document.querySelectorAll("pre[data-lang]")),c={buttonText:"复制到剪贴板",errorText:"出现错误",successText:"已复制到剪贴板"};r.config.copyCode&&Object.keys(c).forEach(function(t){var n=r.config.copyCode[t];"string"==typeof n?c[t]=n:"object"===s(n)&&Object.keys(n).some(function(o){var e=-1<location.href.indexOf(o);return c[t]=e?n[o]:c[t],e})});var e=['<button class="docsify-copy-code-button">','<span class="label">'.concat(c.buttonText,"</span>"),'<span class="error">'.concat(c.errorText,"</span>"),'<span class="success">'.concat(c.successText,"</span>"),"</button>"].join("");o.forEach(function(o){o.insertAdjacentHTML("beforeend",e)})}),o.mounted(function(){document.querySelector(".content").addEventListener("click",function(o){if(o.target.classList.contains("docsify-copy-code-button")){var e="BUTTON"===o.target.tagName?o.target:o.target.parentNode,t=document.createRange(),n=e.parentNode.querySelector("code"),c=window.getSelection();t.selectNode(n),c.removeAllRanges(),c.addRange(t);try{document.execCommand("copy")&&(e.classList.add("success"),setTimeout(function(){e.classList.remove("success")},1e3))}catch(o){console.error("docsify-copy-code: ".concat(o)),e.classList.add("error"),setTimeout(function(){e.classList.remove("error")},1e3)}"function"==typeof(c=window.getSelection()).removeRange?c.removeRange(t):"function"==typeof c.removeAllRanges&&c.removeAllRanges()}})})}].concat(window.$docsify.plugins||[])}();
//# sourceMappingURL=docsify-copy-code.min.js.map

View File

@ -1,8 +0,0 @@
dafasfSSFASF
# 遇到困难睡大觉
遇到困难睡大觉
```ini
卡了
```

View File

@ -1 +0,0 @@
132

View File

@ -1,17 +0,0 @@
#
# Page 1
<!-- tabs:start -->
## **开始使用RW-Engine**
### 添加RW-Engine到mod
#### 添加RW-Engine到mod
<!-- chat:start -->
#### **shishanyue**
将RW-Engine.zip解压出来后的RW-Engine的文件夹整个放在你的Mod根目录下
<!-- chat:end -->
<!-- tabs:end -->

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
<img src="https://rwapi-code.netlify.app/images/title.png">
</div>
<b><font size="5px" color="#000">&nbsp;&nbsp;&nbsp;&nbsp;这是来自于1.15的单位代码表Beta版本目前该代码表包含了全部1.15单位代码,<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;用户可以根据自己的编码能力进行学习我建议各位从浅到深慢慢学习并且一定要动手去写Mod,不能一直看着代码表而不去动手。否则可能会事倍功半。<br>
&nbsp;&nbsp;&nbsp;&nbsp;总之RTS-API-CODE欢迎各位的到来。以及本站点仍然处于建设中如有代码遗漏之处<br>
&nbsp;&nbsp;&nbsp;&nbsp;请您指出并批评纠正。</font></b>
<a href="#/unit_code/1.15/code.md">
<h2 style="color:green">点击我,开始熟悉单位代码表!</h2>
</a>

1
hashmap.json Normal file
View File

@ -0,0 +1 @@
{"cos.md":"4cc32180","src_debug_test.md":"501f237e","src_rw-engine_quick-start.md":"a2b4fb07","index.md":"7a8a1ce3","src_map_tsada.md":"95d6f1dd","api-dev.md":"447d3fe1","src_unit_attack.md":"9d57709d","src_unit_canbuild.md":"4f4f1935","src_unit_movement.md":"3ff8232f","src_unit_spawnunit_spawnprojectile.md":"5ab9c365","src_unit_graphics.md":"6e56c4ad","src_unit_attachment.md":"2e3e2a58","src_unit_core.md":"9eb125bd","src_unit_turret.md":"149ab95e","src_unit_loginboolean.md":"33f0931b"}

22
index.html Normal file

File diff suppressed because one or more lines are too long

22
src/Debug/test.html Normal file

File diff suppressed because one or more lines are too long

22
src/Map/tsada.html Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More