Removes obsolete PhysicsComponent from power prototypes (#1542)

* Removes obsolete PhysicsComponent from wire and power prototypes

* Updates anchorable to use CollidableCOmponent

* Map update

* map update again

* Fixes generators starting unanchored

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-08-08 06:41:12 -06:00
committed by GitHub
parent b4f08811eb
commit 7f0ab2e03b
3 changed files with 1 additions and 17 deletions

View File

@@ -102,7 +102,7 @@ namespace Content.Server.GameObjects.Components
public override void Initialize() public override void Initialize()
{ {
base.Initialize(); base.Initialize();
Owner.EnsureComponent<PhysicsComponent>(); Owner.EnsureComponent<CollidableComponent>();
} }
bool IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs) bool IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)

View File

@@ -19,8 +19,6 @@
- type: Destructible - type: Destructible
thresholdvalue: 100 thresholdvalue: 100
- type: SubFloorHide - type: SubFloorHide
- type: Physics
anchored: true
- type: entity - type: entity
parent: WireBase parent: WireBase

View File

@@ -23,8 +23,6 @@
nodeGroupID: HVPower nodeGroupID: HVPower
- type: PowerSupplier - type: PowerSupplier
supplyRate: 3000 supplyRate: 3000
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -55,8 +53,6 @@
- type: Damageable - type: Damageable
- type: Breakable - type: Breakable
thresholdvalue: 100 thresholdvalue: 100
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -85,8 +81,6 @@
nodeGroupID: HVPower nodeGroupID: HVPower
- type: PowerConsumer - type: PowerConsumer
- type: BatteryStorage - type: BatteryStorage
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -115,8 +109,6 @@
nodeGroupID: HVPower nodeGroupID: HVPower
- type: PowerSupplier - type: PowerSupplier
- type: BatteryDischarger - type: BatteryDischarger
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -161,8 +153,6 @@
- type: PowerSupplier - type: PowerSupplier
- type: BatteryDischarger - type: BatteryDischarger
activeSupplyRate: 1000 activeSupplyRate: 1000
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -201,8 +191,6 @@
voltage: Medium voltage: Medium
- type: BatteryDischarger - type: BatteryDischarger
activeSupplyRate: 1000 activeSupplyRate: 1000
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity
@@ -272,8 +260,6 @@
- type: Icon - type: Icon
texture: Constructible/Power/wirelessmachine.png texture: Constructible/Power/wirelessmachine.png
- type: PowerReceiver - type: PowerReceiver
- type: Physics
anchored: true
- type: Anchorable - type: Anchorable
- type: entity - type: entity