Exemple #1
0
 public override bool OnPickup(Item item, Player player)
 {
     if (ItemAttributeLibraries.IsGrapple(item))
     {
         InboxAPIMirrorsLibraries.SetMessage(
             "GrappletechGrappleChanges",
             "Grappletech: Grappling hooks must now be used on only wood objects.",
             false
             );
     }
     return(base.OnPickup(item, player));
 }
        protected override void OnEnter(bool isCurrentPlayer, object data)
        {
            if (!isCurrentPlayer)
            {
                return;
            }

            if (Main.netMode == NetmodeID.MultiplayerClient)
            {
                ClientCursorData.StartBroadcastingMyCursorPosition();
            }

            InboxAPIMirrorsLibraries.SetMessage(
                "TheMadRangerInfo",
                "Want more control over gun reloading? Be sure to bind a key for reloading. Also see the mod's configs for more options.",
                false
                );
        }