StarRiver-EndlessJourney-RW.../code/magicdragon/模块化中心/核心-[非空白插槽].ini

79 lines
1.8 KiB
INI
Raw Permalink Normal View History

[core]
dont_load:true
class: CustomUnitMetadata
#price: 2
price: 1000
tags: 非空白插槽
#标签和核心3的要一致
showInEditor: false
maxHp: 3000
mass: 10000
techLevel: 1
buildSpeed: 0.0002
radius: 15
displayRadius:12
fogOfWarSightRange:5
transportSlotsNeeded: 1
isBio: false
softCollisionOnAll: 3
showOnMinimap: false
#canNotBeDirectlyAttacked: true
isUnrepairableUnit: true
ignoreInUnitCapCalculation: true
disableDeathOnZeroHp: true
isUnselectable: true
isUnselectableAsTarget: false
selfRegenRate: 1
2023-01-03 08:57:05 +00:00
selfBuildRate: 1
[hiddenAction_convertOnDeath]
autoTriggerOnEvent: tookDamage
requireConditional: if self.hp(lessThan=1)
convertTo: EmptyS
#上方Empty实际上就是核心2-空白插槽。
setBuilt:1
2023-01-30 05:33:52 +00:00
[action_reclaim]
buildSpeed: 3s
2023-01-03 08:57:05 +00:00
text: Destroy
text_zh: 销毁
description: -Completely destroy the base and return 80% of the funds.
description_zh: -彻底销毁返还80%资金。
2023-01-04 14:08:07 +00:00
convertTo: 模块化炮塔底座ZZ
#回收的时候同时释放一个友伤并且只有父类标签的抛射体获得伤害然后新产生的中介单位血量50
#但迅速扣血血量低于1后变成伪单位。
2023-01-03 08:57:05 +00:00
addResources: ${core.price * 0.8}
iconExtraImage: SHARED:icon_sell_top.png
iconExtraColor: #AAFFFFFF
2023-01-30 05:33:52 +00:00
ai_isDisabled:true
2023-03-26 16:11:17 +00:00
isLocked:if self.isControlledByAI()
2023-01-03 08:57:05 +00:00
[graphics]
total_frames: 1
image: SHARED:blank.png
image_wreak: NONE
image_turret: NONE
image_shadow: AUTO
shadowOffsetX:3
shadowOffsetY:3
teamColorsOnTurret: false
teamColoringMode: disabled
icon_zoomed_out_neverShow: true
[attack]
canAttack: true
canAttackFlyingUnits: false
canAttackLandUnits: true
canAttackUnderwaterUnits: false
turretSize: 30
turretTurnSpeed: 2
maxAttackRange: 1
shootDelay: 85
[movement]
movementType: OVER_CLIFF_WATER
moveSpeed: 0
moveAccelerationSpeed: 0
moveDecelerationSpeed: 0
targetHeight: 0
targetHeightDrift: 0
reverseSpeedPercentage:1
maxTurnSpeed: 0
turnAcceleration: 0