59 lines
1.2 KiB
INI
59 lines
1.2 KiB
INI
[resource_检测器]
|
|
displayRoundedDown:false
|
|
|
|
[core]
|
|
name:检测器
|
|
class:CustomUnitMetadata
|
|
price:600
|
|
maxHp:150
|
|
mass:250
|
|
techLevel:1
|
|
buildSpeed:1s
|
|
availableInDemo:true
|
|
radius:0
|
|
displayRadius:0
|
|
tags:检测器
|
|
isBio:false
|
|
numBitsOnDeath:0
|
|
explodeOnDeath:false
|
|
fogOfWarSightRange:0
|
|
showInEditor:false
|
|
disableAllUnitCollisions:true
|
|
isUnrepairableUnit:true
|
|
canNotBeDirectlyAttacked:true
|
|
canNotBeGivenOrdersByPlayer:true
|
|
isUnselectable:true
|
|
showOnMinimap:false
|
|
|
|
[graphics]
|
|
rotate_with_direction:false
|
|
total_frames:1
|
|
image:.永眠指定.png
|
|
image_shadow:AUTO
|
|
imageScale:0
|
|
|
|
[attack]
|
|
#teamColorsUseHue:true
|
|
canAttack:false
|
|
|
|
[movement]
|
|
movementType:LAND
|
|
targetHeightDrift:0
|
|
reverseSpeedPercentage:0
|
|
moveSpeed:0
|
|
moveAccelerationSpeed:0
|
|
moveDecelerationSpeed:0
|
|
#body_rotation_with_main_turret means this is not used
|
|
maxTurnSpeed:0
|
|
turnAcceleration:0
|
|
|
|
[hiddenAction_检测]
|
|
autoTrigger:if self.timeAlive(laterThanSeconds=60) and not self.hasParent(withtag='已开火过') and self.resource(type='检测器',equalTo=1)
|
|
addGlobalTeamTags:检测true
|
|
showMessageToPlayer:Why are you reluctant to choose your camp?
|
|
showMessageToPlayer_zh:您为什么迟迟不愿意选择你的阵营呢?
|
|
addResources:检测器=-1
|
|
|
|
[hiddenAction_出]
|
|
autoTriggerOnEvent:created
|
|
addResources:检测器=1 |