* Power Commit 1 * Commit 2 * Powernet Part2, All components essentially complete * Commit 4 * Commit 5 * Commit 6 Creates prototypes * Finishes powernet code alpha Adds prototypes and logic for powernet updating and regeneration * Adds onremove functionality to all components Without these bits of logic nothing makes any sense! * And this * Fixes a lot of bugs * Fix powernet thinking devices are duplicates * Fix bug and add comments * woop woop thats the sound of the police
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using Content.Client.GameObjects;
|
|
using Content.Client.Interfaces.GameObjects;
|
|
using SS14.Shared.ContentPack;
|
|
using SS14.Shared.Interfaces.GameObjects;
|
|
using SS14.Shared.IoC;
|
|
|
|
namespace Content.Client
|
|
{
|
|
public class EntryPoint : GameClient
|
|
{
|
|
public override void Init()
|
|
{
|
|
var factory = IoCManager.Resolve<IComponentFactory>();
|
|
|
|
factory.RegisterIgnore("Inventory");
|
|
factory.RegisterIgnore("Item");
|
|
factory.RegisterIgnore("Interactable");
|
|
factory.RegisterIgnore("Damageable");
|
|
factory.RegisterIgnore("Destructible");
|
|
factory.RegisterIgnore("Temperature");
|
|
factory.RegisterIgnore("PowerTransfer");
|
|
factory.RegisterIgnore("PowerNode");
|
|
factory.RegisterIgnore("PowerProvider");
|
|
factory.RegisterIgnore("PowerDevice");
|
|
factory.RegisterIgnore("PowerStorage");
|
|
factory.RegisterIgnore("PowerGenerator");
|
|
|
|
factory.Register<HandsComponent>();
|
|
factory.RegisterReference<HandsComponent, IHandsComponent>();
|
|
|
|
factory.Register<ClientDoorComponent>();
|
|
}
|
|
}
|
|
}
|