Remove IClientSingularityInstance, move visual effects to SingularityDistortionComponent (#4194)

* Remove IClientSingularityInstance

* In and out 5 minute refactor

* Component states for singularity distortion

* Fix distortion states

* Address reviews
This commit is contained in:
DrSmugleaf
2021-06-24 04:48:11 +02:00
committed by GitHub
parent 34e457b854
commit 716bee0746
16 changed files with 244 additions and 190 deletions

View File

@@ -7,7 +7,8 @@
- type: Physics
bodyType: Dynamic
fixtures:
- shape:
- id: DeleteCircle
shape:
!type:PhysShapeCircle
radius: 0.5
mass: 5
@@ -17,6 +18,7 @@
mask:
- AllMask
- type: Singularity
- type: SingularityDistortion
- type: RadiationPulse
range: 15
decay: false

View File

@@ -606,7 +606,9 @@
- type: Icon
sprite: Objects/Fun/toys.rsi
state: singularitytoy
- type: ToySingularity
- type: SingularityDistortion
intensity: 2
falloff: 7
- type: Item
size: 12
sprite: Objects/Fun/toys.rsi