예제 #1
0
 private void OutsideInteractableLocker_LockPurchasable(On.RoR2.OutsideInteractableLocker.orig_LockPurchasable orig, OutsideInteractableLocker self, PurchaseInteraction purchaseInteraction)
 {
     if (purchaseInteraction.GetComponent <MoneyPickupMarker>())
     {
         return;
     }
     orig(self, purchaseInteraction);
 }
예제 #2
0
 private void OutsideInteractableLocker_LockPurchasable(On.RoR2.OutsideInteractableLocker.orig_LockPurchasable orig, OutsideInteractableLocker self, PurchaseInteraction purchaseInteraction)
 {
     if (AllowDuringTeleporterCharge.Value)
     {
         if (purchaseInteraction.displayNameToken.Equals("Shrine of Dio") || purchaseInteraction.displayNameToken.Contains("SHRINE_HEALING"))
         {
             return;
         }
     }
     orig(self, purchaseInteraction);
 }