Skip to content

Commit

Permalink
make martyr module disarmable (DeltaV-Station#1960)
Browse files Browse the repository at this point in the history
* add dud self destruct item

* add ExplosivePayload tag to explosive payload

* make martyr module disarmable

---------

Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
  • Loading branch information
deltanedas authored Oct 24, 2024
1 parent 99d913b commit 2ed25cd
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions Resources/Prototypes/DeltaV/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
- type: Tag
id: DockShipyard

- type: Tag
id: ExplosivePayload

- type: Tag
id: ForensicBeltEquip

Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/payload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,3 +634,6 @@
- SelfDestructSeq
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: syndicate-martyr-module }
- type: Construction # DeltaV: construction for adding explosive payload to the dud version
graph: BorgModuleMartyr
node: live

0 comments on commit 2ed25cd

Please sign in to comment.