Adds explosion when attempting to microwave metal / bugfix (#23887)

This commit is contained in:
TinManTim
2024-01-23 17:59:09 -05:00
committed by GitHub
parent 424d3c8dc6
commit f499dfb63a
8 changed files with 153 additions and 44 deletions

View File

@@ -81,6 +81,33 @@
canArc: true
lightningPrototype: ChargedLightning
- type: entity
name: lightning
id: Spark
parent: BaseLightning
noSpawn: true
components:
- type: Sprite
sprite: /Textures/Effects/lightning.rsi
drawdepth: Effects
layers:
- state: "lightning_1"
shader: unshaded
- type: Electrified
shockDamage: 0
- type: Lightning
lightningPrototype: Spark
- type: PointLight
radius: 0.2
softness: .4
- type: Beam
sound: /Audio/Effects/sparks4.ogg
- type: TimedDespawn
lifetime: .3
- type: Tag
tags:
- HideContextMenu
- type: entity
name: supercharged lightning
id: SuperchargedLightning

View File

@@ -83,6 +83,13 @@
behaviors:
- !type:DoActsBehavior
acts: ["Breakage"]
- type: Explosive
explosionType: Default
maxIntensity: 10
totalIntensity: 5
intensitySlope: 5
canCreateVacuum: false
deleteAfterExplosion: false
- type: ApcPowerReceiver
powerLoad: 400
- type: Machine

View File

@@ -565,10 +565,10 @@
- type: Tag
id: Goat
- type: Tag
id: GPS
- type: Tag
id: Grenade
@@ -797,7 +797,7 @@
id: Matchstick
- type: Tag
id: Mayo
id: Mayo
- type: Tag
id: Meat
@@ -808,12 +808,6 @@
- type: Tag
id: Metal
- type: Tag
id: MicrowaveMachineUnsafe
- type: Tag
id: MicrowaveSelfUnsafe
- type: Tag
id: MindShield