124 lines
3.1 KiB
INI
124 lines
3.1 KiB
INI
|
||
|
||
|
||
[core]
|
||
name:模块化炮塔底座
|
||
class:CustomUnitMetadata
|
||
price:2400
|
||
maxHp:700
|
||
mass:9000
|
||
#used for placement, and placement of other buildings
|
||
techLevel:3
|
||
buildSpeed:1s
|
||
#availableInDemo:true
|
||
radius:35
|
||
disableDeathOnZeroHp:true
|
||
#displayRadius:25
|
||
isBio:false
|
||
isUnselectable:true
|
||
isBuilding:true
|
||
footprint: -1,-1,1,1
|
||
#used for placement, and placement of other buildings
|
||
constructionFootprint: -1,-1,1,1
|
||
displayText: Modular turret base
|
||
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:false
|
||
displayText_zh: 模块化炮塔底座
|
||
displayDescription_zh: -当各个势力正在两败俱伤时,魔龙正在进行科技大革命\n-这个模块化炮塔底座便是最新科技,可以将炮塔融为一体。\n
|
||
tags:魔法底座
|
||
|
||
|
||
#如果这个无法选中的血量低于0,那么直接转换为中介单位死亡
|
||
#因为这个单位0血不会死亡
|
||
[hiddenAction_convertOnDeath]
|
||
autoTriggerOnEvent: tookDamage
|
||
requireConditional: if self.hp(lessThan=1)
|
||
convertTo: 模块化炮塔底座ZX
|
||
|
||
[action_reclaim]
|
||
buildSpeed: 3s
|
||
text: Destroy Base
|
||
text_zh: 销毁底座
|
||
description: -Completely destroy the base and return 50% of the funds.
|
||
description_zh: -彻底销毁底座,返还50%资金。
|
||
convertTo: 模块化炮塔底座ZX
|
||
#和上面那个一样
|
||
addResources: ${core.price * 0.5}
|
||
#一种新的变量,目前我不知道是否可用于全局资源。
|
||
iconExtraImage: SHARED:icon_sell_top.png
|
||
iconExtraColor: #AAFFFFFF
|
||
ai_isDisabled:true
|
||
|
||
[attachment_单位插槽1]
|
||
x: 0
|
||
y: 0
|
||
#伪一个一样的单位作为附属,并且让他可以选中,而本单位则无法选中
|
||
#为什么要这样做?
|
||
#因为这样这个单位无法选中则说明是底座,而不是只有炮塔的样子
|
||
onCreateSpawnUnitOf:模块化马猴烧酒
|
||
canBeAttackedAndDamaged:true
|
||
setDrawLayerOnBottom:true
|
||
keepAliveWhenParentDies:false
|
||
isUnselectable:false
|
||
|
||
[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: 7
|
||
|
||
[attack]
|
||
canAttack:false
|
||
|
||
[movement]
|
||
movementType:LAND
|
||
moveSpeed:0
|
||
maxTurnSpeed:5
|
||
|
||
[template_组装模块]
|
||
text: Add
|
||
text_zh: 组装
|
||
textAddUnitName: ${section.convertTo}
|
||
descriptionAddFromUnit: ${section.convertTo}
|
||
descriptionAddUnitStats: ${section.convertTo}
|
||
isActive: if self.queueSize(empty=true)
|
||
setBuilt:0
|
||
buildSpeed: 0s
|
||
[action_组装碧绿模块核心]
|
||
@copyFromSection: template_组装模块
|
||
buildSpeed: 4s
|
||
convertTo: 碧绿炮塔X
|
||
#在这里定义单位
|
||
price: 1800
|
||
onlyOneUnitAtATime:false
|
||
|
||
[action_组装音波模块核心]
|
||
@copyFromSection: template_组装模块
|
||
buildSpeed: 4s
|
||
convertTo: 超音波塔X
|
||
onlyOneUnitAtATime:false
|
||
|
||
[turret_1]
|
||
x:0
|
||
y:0
|
||
showRangeUIGuide:true
|
||
|
||
[ai]
|
||
|
||
buildPriority: 0.13
|
||
|
||
noneInBaseExtraPriority: 0.04
|
||
noneGlobalExtraPriority: 0.1
|
||
|
||
maxGlobal: 2
|