From 7d5fccd0a956dc012ad86a29f56ca19ef2595250 Mon Sep 17 00:00:00 2001 From: Scribbles0 <91828755+Scribbles0@users.noreply.github.com> Date: Wed, 25 Jan 2023 20:03:31 -0800 Subject: [PATCH] Turret Prototypes (#13707) --- .../Entities/Objects/Weapons/Guns/turrets.yml | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml index 3e70643aef..26a8a3b9ea 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml @@ -1,8 +1,7 @@ - type: entity + parent: BaseStructure id: WeaponTurretSyndicateBroken name: ballistic turret (broken) - suffix: Syndicate - parent: BaseStructure description: A ballistic machine gun auto-turret. components: - type: Clickable @@ -15,15 +14,21 @@ - state: syndie_broken - type: entity - id: WeaponTurretSyndicate + parent: BaseStructure + id: BaseWeaponTurret name: ballistic turret - parent: WeaponTurretSyndicateBroken + abstract: true components: + - type: Clickable + - type: InteractionOutline - type: Actions - type: ContainerContainer containers: ballistic-ammo: !type:Container - type: Sprite + netsync: false + sprite: Objects/Weapons/Guns/turrets.rsi + drawdepth: WallMountedItems layers: - state: syndie_lethal - type: InteractionPopup @@ -72,6 +77,30 @@ blackboard: SoundTargetInLOS: !type:SoundPathSpecifier path: /Audio/Effects/double_beep.ogg + +- type: entity + parent: BaseWeaponTurret + id: WeaponTurretSyndicate + suffix: Syndicate + components: - type: Faction factions: - Syndicate + +- type: entity + parent: BaseWeaponTurret + id: WeaponTurretNanoTrasen + suffix: NanoTrasen + components: + - type: Faction + factions: + - NanoTrasen + +- type: entity + parent: BaseWeaponTurret + id: WeaponTurretHostile + suffix: Hostile + components: + - type: Faction + factions: + - SimpleHostile \ No newline at end of file