From fda3a513f2bef98411e6a5caca893e3239fce6b1 Mon Sep 17 00:00:00 2001 From: deltanedas <@deltanedas:kde.org> Date: Wed, 2 Oct 2024 22:40:18 +0100 Subject: [PATCH 1/3] add dud self destruct item --- .../Entities/Objects/Weapons/Throwable/grenades.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Throwable/grenades.yml diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Throwable/grenades.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Throwable/grenades.yml new file mode 100644 index 00000000000..418b1437082 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Throwable/grenades.yml @@ -0,0 +1,9 @@ +# if you try to use an unfinished martyr module it does next to no damage, but still has a good scare +- type: entity + parent: SelfDestructSeq + id: SelfDestructSeqDud + components: + - type: Explosive + totalIntensity: 1 + canCreateVacuum: false + deleteAfterExplosion: false # prevent borg having an empty hand From 3fbd85835abdd1b1e4fc67fc5fa099dfc94e39d0 Mon Sep 17 00:00:00 2001 From: deltanedas <@deltanedas:kde.org> Date: Wed, 2 Oct 2024 22:40:40 +0100 Subject: [PATCH 2/3] add ExplosivePayload tag to explosive payload --- Resources/Prototypes/DeltaV/tags.yml | 3 +++ Resources/Prototypes/Entities/Objects/Devices/payload.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Resources/Prototypes/DeltaV/tags.yml b/Resources/Prototypes/DeltaV/tags.yml index 473d5866da4..e5ad2dbd471 100644 --- a/Resources/Prototypes/DeltaV/tags.yml +++ b/Resources/Prototypes/DeltaV/tags.yml @@ -51,6 +51,9 @@ - type: Tag id: DockShipyard +- type: Tag + id: ExplosivePayload + - type: Tag id: ForensicBeltEquip diff --git a/Resources/Prototypes/Entities/Objects/Devices/payload.yml b/Resources/Prototypes/Entities/Objects/Devices/payload.yml index 160f0c58e79..44a816a18fa 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/payload.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/payload.yml @@ -48,6 +48,10 @@ behaviors: - !type:DoActsBehavior acts: [ "Destruction" ] + - type: Tag # DeltaV: add ExplosivePayload tag to it + tags: + - ExplosivePayload + - Payload - type: entity name: chemical payload From 1db4c4adbda35b52880842b7002c2a1fe115ac9b Mon Sep 17 00:00:00 2001 From: deltanedas <@deltanedas:kde.org> Date: Wed, 2 Oct 2024 22:40:55 +0100 Subject: [PATCH 3/3] make martyr module disarmable --- .../Specific/Robotics/borg_modules.yml | 14 +++++++++++ .../Graphs/utilities/borg_modules.yml | 23 +++++++++++++++++++ .../Specific/Robotics/borg_modules.yml | 3 +++ 3 files changed, 40 insertions(+) create mode 100644 Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/utilities/borg_modules.yml diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Specific/Robotics/borg_modules.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Specific/Robotics/borg_modules.yml index 9491cc6f329..ce70c9ac4c8 100644 --- a/Resources/Prototypes/DeltaV/Entities/Objects/Specific/Robotics/borg_modules.yml +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Specific/Robotics/borg_modules.yml @@ -94,3 +94,17 @@ - type: ItemBorgModule items: - WeaponEnergyGunMiniRecharging + +# Syndicate modules +- type: entity + parent: BorgModuleMartyr + id: BorgModuleMartyrDud + name: unfinished martyr cyborg module + description: This unfinished module has a large space for an explosive payload, with "boom" helpfully scribbled under it. + components: + - type: ItemBorgModule + items: + - SelfDestructSeqDud + - type: Construction + node: start + defaultTarget: live diff --git a/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/utilities/borg_modules.yml b/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/utilities/borg_modules.yml new file mode 100644 index 00000000000..deb3007a9e7 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Recipes/Construction/Graphs/utilities/borg_modules.yml @@ -0,0 +1,23 @@ +- type: constructionGraph + id: BorgModuleMartyr + start: start + graph: + - node: start + entity: BorgModuleMartyrDud + edges: + - to: live + steps: + - tag: ExplosivePayload + name: explosive payload + - tool: Screwing + doAfter: 2 + - node: live + entity: BorgModuleMartyr + edges: + - to: start + completed: + - !type:GivePrototype + prototype: ExplosivePayload + steps: + - tool: Prying + doAfter: 2 diff --git a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml index 7f34935f40e..dc156f6df83 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml @@ -571,3 +571,6 @@ - type: ItemBorgModule items: - SelfDestructSeq + - type: Construction # DeltaV: construction for adding explosive payload to the dud version + graph: BorgModuleMartyr + node: live