Add reflection for crystals (#16426)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
description: If you can see this you're probably dead!
|
||||
abstract: true
|
||||
components:
|
||||
- type: Reflective
|
||||
- type: FlyBySound
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
@@ -176,6 +177,9 @@
|
||||
parent: BaseBullet
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Reflective
|
||||
reflective:
|
||||
- Energy
|
||||
- type: FlyBySound
|
||||
sound:
|
||||
collection: EnergyMiss
|
||||
@@ -293,6 +297,9 @@
|
||||
noSpawn: true
|
||||
description: Not too bad, but you still don't want to get hit by it.
|
||||
components:
|
||||
- type: Reflective
|
||||
reflective:
|
||||
- NonEnergy
|
||||
- type: Sprite
|
||||
noRot: false
|
||||
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
|
||||
@@ -316,6 +323,9 @@
|
||||
noSpawn: true
|
||||
description: Marks a target for additional damage.
|
||||
components:
|
||||
- type: Reflective
|
||||
reflective:
|
||||
- NonEnergy
|
||||
- type: Sprite
|
||||
noRot: false
|
||||
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
|
||||
|
||||
@@ -53,8 +53,6 @@
|
||||
malus: 0
|
||||
- type: Reflect
|
||||
enabled: false
|
||||
reflectProb: 0.25
|
||||
spread: 45
|
||||
|
||||
- type: entity
|
||||
name: pen
|
||||
|
||||
@@ -7,7 +7,24 @@
|
||||
- type: Sprite
|
||||
sprite: Structures/Decoration/crystal.rsi
|
||||
state: crystal_green
|
||||
netsync: false
|
||||
- type: Reflect
|
||||
reflectProb: 0.5
|
||||
reflects:
|
||||
- Energy
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.45
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
- BulletImpassable
|
||||
- Opaque
|
||||
- type: PointLight
|
||||
radius: 3
|
||||
energy: 3
|
||||
|
||||
Reference in New Issue
Block a user