Flash payload (#7587)
This commit is contained in:
@@ -152,6 +152,7 @@
|
||||
- Flash
|
||||
- Handcuffs
|
||||
- Stunbaton
|
||||
- FlashPayload
|
||||
|
||||
- type: technology
|
||||
name: "non-lethal technology"
|
||||
|
||||
@@ -76,3 +76,19 @@
|
||||
enum.ChemicalPayloadFilledSlots.Left: payload-chemical-left
|
||||
enum.ChemicalPayloadFilledSlots.Right: payload-chemical-right
|
||||
enum.ChemicalPayloadFilledSlots.Both: payload-chemical-armed
|
||||
|
||||
- type: entity
|
||||
name: flash payload
|
||||
parent: BasePayload
|
||||
id: FlashPayload
|
||||
description: A single-use flash payload.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Devices/payload.rsi
|
||||
state: payload-flash-armed
|
||||
- type: DeleteOnTrigger
|
||||
- type: FlashOnTrigger
|
||||
range: 6
|
||||
- type: EmitSoundOnTrigger
|
||||
sound:
|
||||
path: "/Audio/Effects/flash_bang.ogg"
|
||||
|
||||
@@ -192,6 +192,7 @@
|
||||
- FlashlightLantern
|
||||
- TimerTrigger
|
||||
- ChemicalPayload
|
||||
- FlashPayload
|
||||
- type: ActivatableUI
|
||||
key: enum.LatheUiKey.Key #Yes only having 1 of them here doesn't break anything
|
||||
- type: ActivatableUIRequiresPower
|
||||
|
||||
@@ -19,3 +19,16 @@
|
||||
materials:
|
||||
Steel: 200
|
||||
Plastic: 300
|
||||
|
||||
- type: latheRecipe
|
||||
id: FlashPayload
|
||||
icon:
|
||||
sprite: Objects/Devices/payload.rsi
|
||||
state: payload-flash-armed
|
||||
result: FlashPayload
|
||||
completetime: 1
|
||||
materials:
|
||||
Steel: 50
|
||||
Plastic: 100
|
||||
Glass: 50
|
||||
#one fourth of what making a flash would cost
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
"name": "payload-explosive-armed",
|
||||
"directions": 1,
|
||||
"delays": [ [ 0.2, 0.2, 0.2 ] ]
|
||||
},
|
||||
{
|
||||
"name": "payload-flash-armed",
|
||||
"directions": 1,
|
||||
"delays": [ [ 0.2, 0.2, 0.2 ] ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user