RNG timers for IEDs + small tweaks (#22099)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
sprite: Objects/Weapons/Bombs/ied.rsi
|
||||
layers:
|
||||
- state: base
|
||||
map: ["enum.TriggerVisualLayers.Base"]
|
||||
- state: fuel
|
||||
- state: wires
|
||||
- type: Item
|
||||
@@ -19,8 +20,12 @@
|
||||
delay: 5
|
||||
examinable: false
|
||||
initialBeepDelay: 0
|
||||
beepSound: /Audio/Effects/lightburn.ogg
|
||||
# TODO: random timer when crafted
|
||||
beepSound:
|
||||
path: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg
|
||||
volume: 1
|
||||
- type: RandomTimerTrigger
|
||||
min: 0
|
||||
max: 60
|
||||
- type: Explosive # Weak explosion in a very small radius. Doesn't break underplating.
|
||||
explosionType: Default
|
||||
totalIntensity: 20
|
||||
@@ -28,6 +33,10 @@
|
||||
maxIntensity: 3
|
||||
canCreateVacuum: false
|
||||
- type: ExplodeOnTrigger
|
||||
- type: Appearance
|
||||
- type: AnimationPlayer
|
||||
- type: TimerTriggerVisuals
|
||||
unprimedSprite: base
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 884 B After Width: | Height: | Size: 913 B |
@@ -18,6 +18,15 @@
|
||||
},
|
||||
{
|
||||
"name": "wires"
|
||||
},
|
||||
{
|
||||
"name": "primed",
|
||||
"delays": [
|
||||
[
|
||||
0.5,
|
||||
0.5
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
BIN
Resources/Textures/Objects/Weapons/Bombs/ied.rsi/primed.png
Normal file
BIN
Resources/Textures/Objects/Weapons/Bombs/ied.rsi/primed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user