public static string GetShopNameReplacement(string orig)
        {
            if (RemoveStrings.Contains(orig))
            {
                return(" ");
            }
            else if (OpherWeaponDetail.ContainsKey(orig))
            {
                var weapon = OpherWeaponDetail[orig];
                if (!OpherWeaponChatter.ContainsKey(weapon))
                {
                    OpherWeaponChatter[weapon] = Chatter[new Random().Next(Chatter.Count)];
                }
                return(OpherWeaponChatter[weapon]);
            }
            else if (OpherWeaponNames.ContainsKey(orig))
            {
                return(SeedController.OpherWeapon(OpherWeaponNames[orig]).ToString());
            }
            else if (TwillenShardDetail.ContainsKey(orig))
            {
                var shard = TwillenShardDetail[orig];
                if (!TwillenShardChatter.ContainsKey(shard))
                {
                    TwillenShardChatter[shard] = Chatter[new Random().Next(Chatter.Count)];
                }
                return(TwillenShardChatter[shard]);
            }
            else if (TwillenShardNames.ContainsKey(orig))
            {
                return(SeedController.TwillenShard(TwillenShardNames[orig]).ToString());
            }

            return(orig);
        }
        public static void TwillenBuyShard(ShardType slot)
        {
            Sellable item = SeedController.TwillenShard(slot);

            if (SaveController.Data.TwillenSold.Contains(slot))
            {
                Randomizer.Log($"TBS: not enough money or slot already sold ");
                return;
            }
            SaveController.Data.TwillenSold.Add(slot);
            item.Grant();
            return;
        }
 public static string GetShopNameReplacement(string orig)
 {
     if (RemoveStrings.Contains(orig))
     {
         return(" ");
     }
     else if (LupoReplacements.ContainsKey(orig))
     {
         return(LupoReplacements[orig]);
     }
     else if (OpherWeaponDetail.ContainsKey(orig))
     {
         var weapon = OpherWeaponDetail[orig];
         if (!OpherWeaponChatter.ContainsKey(weapon))
         {
             OpherWeaponChatter[weapon] = Chatter[new Random().Next(Chatter.Count)];
         }
         return(OpherWeaponChatter[weapon]);
     }
     else if (OpherWeaponNames.ContainsKey(orig))
     {
         return(SeedController.OpherWeapon(OpherWeaponNames[orig]).ToString());
     }
     else if (TwillenShardDetail.ContainsKey(orig))
     {
         var shard = TwillenShardDetail[orig];
         if (!TwillenShardChatter.ContainsKey(shard))
         {
             if (KSOverride(shard))
             {
                 TwillenShardChatter[shard] = $"Costs more each time you buy it\\nNever logically required";
             }
             else
             {
                 TwillenShardChatter[shard] = Chatter[new Random().Next(Chatter.Count)];
             }
         }
         return(TwillenShardChatter[shard]);
     }
     else if (TwillenShardNames.ContainsKey(orig))
     {
         var shard = TwillenShardNames[orig];
         return(KSOverride(shard) ? "Black Market Keystone" : SeedController.TwillenShard(shard).ToString());
     }
     return(orig);
 }
 public static int TwillenShardCost(ShardType shard)
 {
     return(SeedController.TwillenShard(shard).DefaultCost());
 }