This commit is contained in:
Shucks committed 2019-11-17 18:36:12 -06:00
commit 6eb7eda8be
5 files changed
+61 -21

No files matched your search

+24 -10
View File
@@ -7485,7 +7485,7 @@ namespace CalamityMod.CalPlayer
}
if (ZoneAstral)
{
fishList.Add(ModContent.ItemType<TwinklingPollox>());
fishList.Add(ModContent.ItemType<AldebaranAlewife>());
}
if (ZoneSunkenSea)
{
@@ -7532,6 +7532,20 @@ namespace CalamityMod.CalPlayer
if (chanceForRareItems < 6)
chanceForRareItems = 6;
if (lava)
{
if (Main.rand.Next(100) < chanceForCrates)
{
if (Main.rand.NextBool(chanceForRareItems) && enchantedPearl && fishingStation && player.cratePotion)
{
if (ZoneCalamity)
{
caughtType = ModContent.ItemType<BrimstoneCrate>();
}
}
}
}
if (water)
{
if (Main.rand.Next(100) < chanceForCrates)
@@ -7625,10 +7639,6 @@ namespace CalamityMod.CalPlayer
{
biomeCrateList.Add(ModContent.ItemType<SunkenCrate>());
}
if (ZoneCalamity)
{
biomeCrateList.Add(ModContent.ItemType<BrimstoneCrate>());
}
if (player.ZoneCorrupt)
{
biomeCrateList.Add(ItemID.CorruptFishingCrate);
@@ -7704,19 +7714,23 @@ namespace CalamityMod.CalPlayer
{
caughtType = ItemID.ZephyrFish;
}
else if (astralFish >= 75) //25%
else if (astralFish >= 85) //15%
{
caughtType = ModContent.ItemType<ProcyonidPrawn>();
}
else if (astralFish <= 74 && astralFish >= 60) //15%
else if (astralFish <= 84 && astralFish >= 70) //15%
{
caughtType = ModContent.ItemType<ArcturusAstroidean>();
}
else if (player.cratePotion && astralFish <= 9 && astralFish >= 28) //20%
else if (astralFish <= 69 && astralFish >= 55) //15%
{
caughtType = ModContent.ItemType<AldebaranAlewife>();
}
else if (player.cratePotion && astralFish <= 28 && astralFish >= 9) //20%
{
caughtType = ModContent.ItemType<AstralCrate>();
}
else if (!player.cratePotion && astralFish <= 9 && astralFish >= 18) //10%
else if (!player.cratePotion && astralFish <= 18 && astralFish >= 9) //10%
{
caughtType = ModContent.ItemType<AstralCrate>();
}
@@ -7732,7 +7746,7 @@ namespace CalamityMod.CalPlayer
{
caughtType = ModContent.ItemType<PolarisParrotfish>();
}
else //41% w/o crate pot, 31% w/ crate pot
else //31% w/o crate pot, 21% w/ crate pot
{
caughtType = ModContent.ItemType<TwinklingPollox>();
}
@@ -0,0 +1,23 @@
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Items.Fishing.AstralCatches
{
public class AldebaranAlewife : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Aldebaran Alewife");
Tooltip.SetDefault("A star-struck entity in the form of a fish");
}
public override void SetDefaults()
{
item.width = 38;
item.height = 36;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 8);
item.rare = 1;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

+13 -10
View File
@@ -1,4 +1,5 @@
using CalamityMod.Projectiles.Ranged;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
@@ -11,19 +12,21 @@ namespace CalamityMod.Items.Placeables
public override void SetDefaults()
{
item.createTile = ModContent.TileType<Tiles.AstralDesert.AstralSand>();
item.useStyle = 1;
item.useTurn = true;
item.useAnimation = 15;
item.useTime = 10;
item.autoReuse = true;
item.consumable = true;
item.width = 16;
item.height = 16;
item.maxStack = 999;
item.shoot = ModContent.ProjectileType<AstralSandgun>();
item.shootSpeed = 15f;
item.ammo = 169;
//item.ammo = AmmoID.Sand;
//item.shoot = ModContent.ProjectileType<AstralSandgun>();
//item.notAmmo = true;
//item.shootSpeed = 15f;
item.useStyle = 1;
item.useTurn = true;
item.useAnimation = 15;
item.useTime = 10;
item.autoReuse = true;
item.consumable = true;
item.createTile = ModContent.TileType<Tiles.AstralDesert.AstralSand>();
item.noMelee = true;
}
}
}
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.GravitationPotion);
recipe.AddIngredient(ModContent.ItemType<AstralJelly>());
recipe.AddIngredient(ModContent.ItemType<TwinklingPollox>());
recipe.AddIngredient(ModContent.ItemType<AldebaranAlewife>());
recipe.AddTile(TileID.AlchemyTable);
recipe.SetResult(this);
recipe.AddRecipe();