From e70594c15bb4388bf6c61539fc9e09634c322abe Mon Sep 17 00:00:00 2001 From: Ilya246 Date: Mon, 25 May 2026 17:05:31 +0400 Subject: [PATCH] do --- .../Maps/_Mono/Shuttles/World/bracket.yml | 165 ++++++++++++++++-- .../_Mono/Entities/Mobs/NPCs/ai.yml | 21 +++ .../_Mono/NPCs/Shuttle/specific.yml | 41 +++++ 3 files changed, 209 insertions(+), 18 deletions(-) diff --git a/Resources/Maps/_Mono/Shuttles/World/bracket.yml b/Resources/Maps/_Mono/Shuttles/World/bracket.yml index 13bb056f9ba..6bfea8f7d1d 100644 --- a/Resources/Maps/_Mono/Shuttles/World/bracket.yml +++ b/Resources/Maps/_Mono/Shuttles/World/bracket.yml @@ -1,11 +1,11 @@ meta: format: 7 category: Grid - engineVersion: 271.2.0 + engineVersion: 277.0.0 forkId: "" forkVersion: "" - time: 03/25/2026 17:21:49 - entityCount: 134 + time: 05/25/2026 12:49:53 + entityCount: 154 maps: [] grids: - 1 @@ -64,10 +64,10 @@ entities: - type: OccluderTree - type: SpreaderGrid spreadQueues: - Kudzu: [] Smoke: [] MetalFoam: [] Puddle: [] + Kudzu: [] - type: Shuttle dampingModifier: 0.25 - type: GridPathfinding @@ -84,6 +84,9 @@ entities: chunkSize: 4 - type: GasTileOverlay - type: RadiationGridResistance + - type: ThermalSignature + - type: ImplicitRoof + - type: ExplosionAirtightGrid - proto: APCBasic entities: - uid: 62 @@ -237,6 +240,93 @@ entities: - type: Transform pos: 2.5,0.5 parent: 1 +- proto: Catwalk + entities: + - uid: 135 + components: + - type: Transform + pos: -3.5,2.5 + parent: 1 + - uid: 136 + components: + - type: Transform + pos: -3.5,1.5 + parent: 1 + - uid: 137 + components: + - type: Transform + pos: -4.5,0.5 + parent: 1 + - uid: 138 + components: + - type: Transform + pos: -4.5,1.5 + parent: 1 + - uid: 139 + components: + - type: Transform + pos: -4.5,2.5 + parent: 1 + - uid: 140 + components: + - type: Transform + pos: -5.5,1.5 + parent: 1 + - uid: 141 + components: + - type: Transform + pos: -5.5,2.5 + parent: 1 + - uid: 142 + components: + - type: Transform + pos: -2.5,0.5 + parent: 1 + - uid: 143 + components: + - type: Transform + pos: -1.5,-0.5 + parent: 1 + - uid: 144 + components: + - type: Transform + pos: 2.5,-0.5 + parent: 1 + - uid: 145 + components: + - type: Transform + pos: 5.5,0.5 + parent: 1 + - uid: 146 + components: + - type: Transform + pos: 4.5,1.5 + parent: 1 + - uid: 147 + components: + - type: Transform + pos: 4.5,2.5 + parent: 1 + - uid: 148 + components: + - type: Transform + pos: 5.5,1.5 + parent: 1 + - uid: 149 + components: + - type: Transform + pos: 6.5,1.5 + parent: 1 + - uid: 150 + components: + - type: Transform + pos: 5.5,2.5 + parent: 1 + - uid: 151 + components: + - type: Transform + pos: 6.5,2.5 + parent: 1 - proto: ClothingBackpackDroneLootT22 entities: - uid: 98 @@ -271,6 +361,27 @@ entities: - type: Transform pos: 2.5,0.5 parent: 1 +- proto: GreebleAntenna1 + entities: + - uid: 153 + components: + - type: Transform + pos: 3.5,3.5 + parent: 1 +- proto: GreebleAntenna2 + entities: + - uid: 154 + components: + - type: Transform + pos: -2.5,3.5 + parent: 1 +- proto: GreebleElint1 + entities: + - uid: 152 + components: + - type: Transform + pos: -4.5,4.5 + parent: 1 - proto: Grille entities: - uid: 20 @@ -355,60 +466,80 @@ entities: rot: 3.141592653589793 rad pos: -4.5,0.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 88 components: - type: Transform rot: -1.5707963267948966 rad pos: 5.5,1.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 89 components: - type: Transform rot: 3.141592653589793 rad pos: 4.5,1.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 90 components: - type: Transform rot: -1.5707963267948966 rad pos: 5.5,2.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 92 components: - type: Transform rot: 1.5707963267948966 rad pos: -4.5,1.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 93 components: - type: Transform rot: 1.5707963267948966 rad pos: -4.5,2.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 94 components: - type: Transform rot: 3.141592653589793 rad pos: 5.5,0.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 95 components: - type: Transform rot: 3.141592653589793 rad pos: -3.5,1.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 96 components: - type: Transform rot: 1.5707963267948966 rad pos: -2.5,0.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - uid: 97 components: - type: Transform rot: -1.5707963267948966 rad pos: 3.5,0.5 parent: 1 + - type: DeltaPressure + gridUid: 1 - proto: RadarEdgeMarkerCenter entities: - uid: 123 @@ -594,19 +725,7 @@ entities: - type: Transform pos: 0.5,-1.5 parent: 1 -- proto: SmallThruster - entities: - - uid: 28 - components: - - type: Transform - pos: 4.5,2.5 - parent: 1 - - uid: 54 - components: - - type: Transform - pos: -3.5,2.5 - parent: 1 -- proto: SpawnMobAttackerCoreStaticSmart +- proto: SpawnMobDroneAiBracket entities: - uid: 10 components: @@ -629,6 +748,11 @@ entities: parent: 1 - proto: Thruster entities: + - uid: 5 + components: + - type: Transform + pos: -3.5,2.5 + parent: 1 - uid: 12 components: - type: Transform @@ -677,9 +801,14 @@ entities: rot: 3.141592653589793 rad pos: 2.5,-0.5 parent: 1 + - uid: 28 + components: + - type: Transform + pos: 4.5,2.5 + parent: 1 - proto: ThrusterLarge entities: - - uid: 5 + - uid: 54 components: - type: Transform rot: -1.5707963267948966 rad diff --git a/Resources/Prototypes/_Mono/Entities/Mobs/NPCs/ai.yml b/Resources/Prototypes/_Mono/Entities/Mobs/NPCs/ai.yml index 51badaa7c9e..5dd5e957b0d 100644 --- a/Resources/Prototypes/_Mono/Entities/Mobs/NPCs/ai.yml +++ b/Resources/Prototypes/_Mono/Entities/Mobs/NPCs/ai.yml @@ -253,6 +253,17 @@ rootTask: task: DroneCompoundQuake +- type: entity + id: NpcDroneAiBracket + name: attacker core + parent: [NpcStationAiAttackerSmart, BaseFactionGearOtherFactionT3] + description: Shoots at you. + suffix: AI, Drone-Bracket + components: + - type: HTN + rootTask: + task: DroneCompoundBracket + #region Spawners - type: entity @@ -423,3 +434,13 @@ - type: ConditionalSpawner prototypes: - NpcDroneAiQuake + +- type: entity + name: attacker core spawner + id: SpawnMobDroneAiBracket + parent: SpawnMobAttackerCore + suffix: Drone-Bracket + components: + - type: ConditionalSpawner + prototypes: + - NpcDroneAiBracket diff --git a/Resources/Prototypes/_Mono/NPCs/Shuttle/specific.yml b/Resources/Prototypes/_Mono/NPCs/Shuttle/specific.yml index caf3a82e2b6..85ec0979ac5 100644 --- a/Resources/Prototypes/_Mono/NPCs/Shuttle/specific.yml +++ b/Resources/Prototypes/_Mono/NPCs/Shuttle/specific.yml @@ -281,3 +281,44 @@ proto: NearbyShuttleTargetsLongRange key: Target coordinatesKey: TargetCoordinates + +- type: htnCompound + id: DroneCompoundBracket + branches: + - tasks: + - !type:HTNPrimitiveTask + operator: !type:UtilityOperator + proto: NearbyShuttleTargets + - !type:HTNCompoundTask + task: ShuttleAttackDroneCompoundBracket + +- type: htnCompound + id: ShuttleAttackDroneCompoundBracket + branches: + - preconditions: + - !type:KeyExistsPrecondition + key: TargetCoordinates + tasks: + - !type:HTNPrimitiveTask + operator: !type:ShipMoveToOperator + shutdownState: PlanFinished + removeKeyOnFinish: false + alwaysFaceTarget: true + inRangeMaxSpeed: 4 + avoidProjectiles: true + range: 800 + rangeTolerance: 150 + mode: Orbit + targetKey: TargetCoordinates + - !type:HTNPrimitiveTask + operator: !type:ShipFireGunsOperator + shutdownState: TaskFinished + removeKeyOnFinish: false + leadingAccuracy: 0.3 + targetKey: TargetCoordinates + services: + - !type:UtilityService + id: TargetsService + proto: NearbyShuttleTargets + key: Target + coordinatesKey: TargetCoordinates