2022-12-10 14:23:06 +00:00
2023-01-03 08:57:05 +00:00
2022-12-10 14:23:06 +00:00
2022-12-09 09:58:23 +00:00
[core]
name:模块化炮塔底座
class:CustomUnitMetadata
2023-01-03 08:57:05 +00:00
price:2400
maxHp:1000
2022-12-09 09:58:23 +00:00
mass:9000
#used for placement, and placement of other buildings
techLevel:3
buildSpeed:1s
#availableInDemo:true
radius:35
2023-01-03 08:57:05 +00:00
disableDeathOnZeroHp:true
2022-12-09 09:58:23 +00:00
#displayRadius:25
isBio:false
2022-12-10 14:23:06 +00:00
isUnselectable:false
2022-12-09 09:58:23 +00:00
isBuilding:true
footprint: -1,-1,1,1
#used for placement, and placement of other buildings
constructionFootprint: -1,-1,1,1
displayText: Modular turret base
2023-01-03 08:57:05 +00:00
displayDescription: -When each forces are two defeated, the magic dragon is carrying out the technology revolutionary \n-This modular turret is the latest technology, and the turret can be integrated.\n-Invincible, skip the victory judgment, and you need to destroy it manually.
canNotBeDirectlyAttacked:true
2022-12-09 09:58:23 +00:00
displayText_zh: 模块化炮塔底座
2023-01-03 08:57:05 +00:00
displayDescription_zh: -当各个势力正在两败俱伤时,魔龙正在进行科技大革命\n-这个模块化炮塔底座便是最新科技,可以将炮塔融为一体。\n-无敌,跳过胜利判定,需要自行手动销毁
[action_reclaim]
buildSpeed: 3s
text: Destroy Base
text_zh: 销毁底座
description: -Completely destroy the base and return 50% of the funds.
description_zh: -彻底销毁底座, 返还50%资金。
convertTo: 模块化炮塔底座Z
#和上面那个一样
addResources: ${core.price * 0.5}
#一种新的变量,目前我不知道是否可用于全局资源。
iconExtraImage: SHARED:icon_sell_top.png
iconExtraColor: #AAFFFFFF
2022-12-09 09:58:23 +00:00
[graphics]
total_frames:4
image:ROOT:/assets/magicdragonimg/modconon/音座.png
image_turret:NONE
image_wreak:NONE
#scaleImagesTo:55
#scaleTurretImagesTo:40
#AUTO
image_shadow:AUTO
shadowOffsetX:1
shadowOffsetY:1
animation_idle_start: 0
animation_idle_end: 3
animation_idle_speed: 25
[attack]
canAttack:false
[movement]
movementType:LAND
moveSpeed:0
maxTurnSpeed:5
2023-01-03 08:57:05 +00:00
[template_组装模块]
text: Add
text_zh: 组装
textAddUnitName: ${section.convertTo}
descriptionAddFromUnit: ${section.convertTo}
descriptionAddUnitStats: ${section.convertTo}
isActive: if self.queueSize(empty = true)
setBuilt:0
2022-12-09 09:58:23 +00:00
buildSpeed: 0s
2023-01-03 08:57:05 +00:00
[action_组装碧绿模块核心]
@copyFromSection: template_组装模块
buildSpeed: 4s
convertTo: 碧绿炮塔X
#在这里定义单位
price: 1800
2022-12-20 14:48:31 +00:00
onlyOneUnitAtATime:false
2022-12-09 09:58:23 +00:00
2023-01-03 08:57:05 +00:00
[action_组装音波模块核心]
@copyFromSection: template_组装模块
buildSpeed: 4s
convertTo: 超音波塔X
onlyOneUnitAtATime:false
2022-12-09 09:58:23 +00:00
[turret_1]
x:0
y:0
showRangeUIGuide:true
2022-12-11 06:16:39 +00:00
[ai]
buildPriority: 0.13
noneInBaseExtraPriority: 0.04
noneGlobalExtraPriority: 0.1
2022-12-12 14:26:42 +00:00
maxGlobal: 2