[core] name: seaFactoryX class: CustomUnitMetadata price: 2000 maxHp: 1500 mass: 13000 #footprint used for collisions with units (left, up, right, down) footprint: -2,-2,2,2 tags:海军基地 #used for placement, and placement of other buildings constructionFootprint: -2,-2,2,3 overrideAndReplace: seaFactory extraBuildRangeWhenBuildingThis:65 techLevel: 1 buildSpeed: 0.0002 #availableInDemo: true radius: 40 #displayRadius: 25 isBio: false isBuilding: true displayText:Sea Factory displayDescription:-Build T1 Sea units, Which can be upgraded displayText_zh:海军基地 displayDescription_zh:-制造初级海上单位,可升级 exit_x:0 exit_y:-3 exit_moveAwayAmount:80 softCollisionOnAll: 10 canBuild_1_name: setRally canBuild_1_pos: -1 canBuild_2_name: gunBoat,hovercraft,missileShip,battleShip,lightSub,hovercraft,attackSubmarine,missileShip,battleShip #canBuild_2_name: builderShip,动员炮艇,gunBoat,lightSub,hovercraft,attackSubmarine,missileShip,battleShip,白露级,无畏级 canBuild_2_pos: 1 #heavyBattleship,heavySub builtFrom_1_name: builder builtFrom_1_pos: 8 [graphics] total_frames: 1 image: ROOT:/assets/oldsungodimg/seafactory/sea_factory.png #image_back: image_wreak: ROOT:/assets/oldsungodimg/seafactory/sea_factory_dead.png image_offsetY:-20 #scaleImagesTo: 20 #scaleTurretImagesTo: 9 #AUTO image_shadow: AUTO shadowOffsetX:2 shadowOffsetY:-18 [attack] canAttack: false canAttackFlyingUnits: false canAttackLandUnits: false canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] movementType:WATER 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 [action_升级] convertTo: seaFactoryT2 price: 5000 text: i:gui.actions.upgradeT2 displayType: upgrade description:-Upgrade and Unlock more Powerful T2 Sea Units. description_zh:-升级并解锁更强大的T2海军单位 buildSpeed: 20s pos: 0 unitShownInUI: seaFactoryT2 iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF #isLocked:true #[action_外包] #autoTrigger: if not self.resource(type='旧日自动计划',lessThan=1) #convertTo:seaFactoryT2 #isVisible:false