Example #1
0
 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);
 }
Example #2
0
        public static void AddComponents(Entity subject)
        {
            ItemBase.AddComponents(subject);

            // Item stuff
            Equippable.AddTo(subject, null);
            Countable.AddTo(subject);
        }
Example #3
0
        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);
        }
Example #4
0
        public static void AddComponents(Entity subject)
        {
            ItemBase.AddComponents(subject);

            // Item stuff
            Equippable.AddTo(subject, null);
            SlotComponent.AddTo(subject, Slot.Id);
            ItemActivation.AddTo(subject, GetAction);
        }