StarRiver-EndlessJourney-RW.../code/oldsungod/空军工厂/空军基地.ini
2023-01-05 11:55:33 +08:00

124 lines
2.2 KiB
INI

#[action_外包]
#autoTrigger: if not self.resource(type='旧日自动计划',lessThan=1)
#convertTo:airFactoryT6
#isVisible:false
[core]
name: airFactoryX
class: CustomUnitMetadata
price: 1000
maxHp: 1000
mass: 9000
#generation_credits:1
#generation_delay: 40
#footprint used for collisions with units (left, up, right, down)
footprint: -1,-1,1,1
#nanoFactorySpeed:1.25
#selfRegenRate:0.01
buildingToFootprintOffsetY:10
tags:空军基地,factory,mainBuidings,airFactory
overrideAndReplace:airFactory
#used for placement, and placement of other buildings
constructionFootprint: -1,-1,1,2
displayText_zh: 空军工厂
displayDescription_zh: 生产空中单位,可升级
displayText: Air Factory
displayDescription: Production of air units, upgradeable
techLevel: 1
buildSpeed: 0.0004
#availableInDemo: true
radius: 30
#displayRadius: 30
isBio: false
isBuilding: true
softCollisionOnAll:20
exit_x:0
exit_y:0
canBuild_1_name: setRally
canBuild_1_pos: -1
canBuild_2_name: lightGunship,c_interceptor,c_helicopter,Comet
canBuild_2_pos: 1
[action_up]
text:Upgrade - T2
description:Unlock and create more advanced units.
text_zh:升级至 - T2
description_zh:解锁并制造更加高级的单位
price:1650
buildSpeed:45s
pos:-2
convertTo: airFactoryT2
ai_isHighPriority:if self.hasResources(8000)
displayType:upgrade
unitShownInUI: airFactoryT2
#isLocked:true
#ai_isDisabled: if not self.hasResources(8000)
[graphics]
total_frames: 20
imageScale: 1
image: ROOT:/assets/oldsungodimg/airfactory/空军基地.png
image_wreak: ROOT:/assets/oldsungodimg/airfactory/死亡.png
#scaleImagesTo: 20
#scaleTurretImagesTo: 9
animation_idle_start:0
animation_idle_speed:3
animation_idle_end:19
#AUTO
image_shadow: NONE
shadowOffsetX:2
shadowOffsetY:2
[attack]
canAttack: false
canAttackFlyingUnits: false
canAttackLandUnits: false
canAttackUnderwaterUnits: false
turretSize: 20
turretTurnSpeed: 3
maxAttackRange: 0
shootDelay: 80
[projectile_1]
directDamage: 0
life: 70
speed: 5
[movement]
movementType: BUILDING
moveSpeed: 0
moveAccelerationSpeed: 0.01
moveDecelerationSpeed: 0.01
maxTurnSpeed: 0
turnAcceleration: 0.1
[ai]
buildPriority: 0.25
noneInBaseExtraPriority: 0.35
noneGlobalExtraPriority: 0.12
maxGlobal: 4