public static void AddComponents(Entity subject) { ItemBase.AddComponents(subject); Equippable.AddTo(subject, null); SlotComponent.AddTo(subject, Slot.Id); BowComponent.AddTo(subject); ItemActivation.AddTo(subject, GetChargeAction); }
public static void AddComponents(Entity subject) { ItemBase.AddComponents(subject); // Item stuff Equippable.AddTo(subject, null); Countable.AddTo(subject); }
public static void AddComponents(Entity subject, IntVector2 relativeDirection, int pierceIncrease) { ItemBase.AddComponents(subject); // Item stuff Equippable.AddTo(subject, ShieldComponent.Hookable); SlotComponent.AddTo(subject, Slot.Id); }
public static void AddComponents(Entity subject) { ItemBase.AddComponents(subject); // Item stuff Equippable.AddTo(subject, null); SlotComponent.AddTo(subject, Slot.Id); ItemActivation.AddTo(subject, GetAction); }