Some work on the mess that is this power code.
Jesus. Tons of fixes, refactors and other things. The powernet's code is still awful though.
This commit is contained in:
@@ -68,6 +68,7 @@ namespace Content.Server
|
||||
//Power Components
|
||||
factory.Register<PowerTransferComponent>();
|
||||
factory.Register<PowerProviderComponent>();
|
||||
factory.RegisterReference<PowerProviderComponent, PowerDeviceComponent>();
|
||||
factory.Register<PowerNodeComponent>();
|
||||
factory.Register<PowerStorageComponent>();
|
||||
factory.Register<PowerDeviceComponent>();
|
||||
@@ -87,6 +88,9 @@ namespace Content.Server
|
||||
factory.Register<MeleeWeaponComponent>();
|
||||
|
||||
factory.Register<ServerStorageComponent>();
|
||||
|
||||
factory.Register<PowerDebugTool>();
|
||||
factory.Register<PoweredLightComponent>();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user