Refactor disposals to ECS (#4418)
* ECS up disposals Also significantly reduced its CPU usage. * Make update significantly less S L O W * Start units pressurised * Client-side flush lerping * Fix powered not toggling UI * Fix flush button * InteractUsing * Minor optimisations * Fix collisions * Make visual state ECS * Almost done with shared * Most stuff moved * Optimise item sleeping
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
bounds: "-0.4,-0.25,0.4,0.25"
|
||||
mass: 30
|
||||
mask:
|
||||
- SmallImpassable
|
||||
- Impassable
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- SmallImpassable
|
||||
- VaultImpassable
|
||||
- MobImpassable
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
@@ -77,20 +78,3 @@
|
||||
interfaces:
|
||||
- key: enum.DisposalUnitUiKey.Key
|
||||
type: DisposalUnitBoundUserInterface
|
||||
|
||||
# - type: entity
|
||||
# parent: DisposalUnitBase
|
||||
# id: DisposalMailingUnit
|
||||
# name: disposal mailing unit
|
||||
# components:
|
||||
# - type: Configuration
|
||||
# keys:
|
||||
# - Tag
|
||||
# - type: DisposalMailingUnit
|
||||
# flushTime: 2
|
||||
# - type: UserInterface
|
||||
# interfaces:
|
||||
# - key: enum.DisposalMailingUnitUiKey.Key
|
||||
# type: DisposalMailingUnitBoundUserInterface
|
||||
# - key: enum.ConfigurationUiKey.Key
|
||||
# type: ConfigurationBoundUserInterface
|
||||
|
||||
Reference in New Issue
Block a user