diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml index 67cd5534aa..9fb02f7bed 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml @@ -109,6 +109,8 @@ rootTask: task: TurretCompound blackboard: + RotateSpeed: !type:Single + 3.141 SoundTargetInLOS: !type:SoundPathSpecifier path: /Audio/Effects/double_beep.ogg diff --git a/Resources/Prototypes/NPCs/root.yml b/Resources/Prototypes/NPCs/root.yml index 3d5de0915c..c6d2a8ee26 100644 --- a/Resources/Prototypes/NPCs/root.yml +++ b/Resources/Prototypes/NPCs/root.yml @@ -5,7 +5,10 @@ id: TurretCompound branches: - tasks: - # Shoot target if in range + - !type:HTNPrimitiveTask + operator: !type:UtilityOperator + proto: NearbyGunTargets + - !type:HTNPrimitiveTask preconditions: - !type:KeyExistsPrecondition