Add voice trigger for modular grenades (#11449)

This commit is contained in:
themias
2022-10-16 13:44:50 -04:00
committed by GitHub
parent 6e108bd400
commit b567c34e92
10 changed files with 191 additions and 0 deletions

View File

@@ -319,6 +319,7 @@
- GeneratorPlasmaMachineCircuitboard
- Signaller
- SignalTrigger
- VoiceTrigger
- type: technology
name: technologies-compact-power-technology

View File

@@ -43,3 +43,18 @@
- type: SignalReceiver
- type: StaticPrice
price: 40
- type: entity
parent: BaseItem
id: VoiceTrigger
name: voice trigger
description: Adds a machine link that is triggered by vocal keywords
components:
- type: Sprite
sprite: Objects/Devices/voice.rsi
state: voice
- type: PayloadTrigger
components:
- type: TriggerOnVoice
- type: StaticPrice
price: 40

View File

@@ -217,6 +217,7 @@
- FlashPayload
- Signaller
- SignalTrigger
- VoiceTrigger
- PowerCellSmall
- PowerCellMedium
- PowerCellHigh

View File

@@ -20,6 +20,17 @@
Steel: 300
Plastic: 200
- type: latheRecipe
id: VoiceTrigger
icon:
sprite: Objects/Devices/voice.rsi
state: voice
result: VoiceTrigger
completetime: 2
materials:
Steel: 300
Plastic: 200
- type: latheRecipe
id: ChemicalPayload
icon: