Ejemplo n.º 1
0
        public ShareSuite()
        {
            InitWrap();
            On.RoR2.Console.Awake += (orig, self) =>
            {
                FrogtownInterface.Init(Config);
                orig(self);
            };
            CommandHelper.AddToConsoleWhenReady();

            #region Hook registration

            // Register all the hooks
            GeneralHooks.OverrideBossScaling();
            GeneralHooks.OnPlaceTeleporter();
            GeneralHooks.OnTpInteraction();
            ItemSharingHooks.OnGrantItem();
            ItemSharingHooks.OnShopPurchase();
            ItemSharingHooks.OnPurchaseDrop();
            MoneySharingHooks.SharedMoneyValue = 0;
            MoneySharingHooks.ModifyGoldReward();
            MoneySharingHooks.BrittleCrownHook();
            MoneySharingHooks.SplitTpMoney();
            EquipmentSharingHooks.OnGrantEquipment();

            #endregion
        }
Ejemplo n.º 2
0
 public ShareSuite()
 {
     InitWrap();
     On.RoR2.Console.Awake += (orig, self) =>
     {
         CommandHelper.RegisterCommands(self);
         FrogtownInterface.Init(Config);
         orig(self);
     };
     // Register all the hooks
     Hooks.OnGrantItem();
     Hooks.OnShopPurchase();
     Hooks.OnPurchaseDrop();
     Hooks.DisableInteractablesScaling();
     Hooks.ModifyGoldReward();
     Hooks.SplitTpMoney();
     Hooks.FixBoss();
 }
Ejemplo n.º 3
0
 public ShareSuite()
 {
     InitWrap();
     On.RoR2.Console.Awake += (orig, self) =>
     {
         CommandHelper.RegisterCommands(self);
         FrogtownInterface.Init(Config);
         orig(self);
     };
     // Register all the hooks
     Hooks.OnGrantItem();
     Hooks.OnGrantEquipment();
     Hooks.OnShopPurchase();
     Hooks.OnPurchaseDrop();
     Hooks.OverrideInteractablesScaling();
     Hooks.ModifyGoldReward();
     Hooks.SplitTpMoney();
     Hooks.BrittleCrownHook();
     // Hooks.PickupFix();
     Hooks.OverrideBossScaling();
 }