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()
{
base.Initialize();
Owner.EnsureComponent<PhysicsComponent>();
Owner.EnsureComponent<CollidableComponent>();
}
bool IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)

View File

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

View File

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