Stardust -> Starblight Soot

This commit is contained in:
CongratsIsTrash committed 2024-05-09 16:30:01 -04:00
1 parent d47d892a89
commit 4bf9023deb
40 files changed
+41 -41

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.Accessories
CreateRecipe().
AddIngredient<CrownJewel>().
AddIngredient<AureusCell>(10).
AddIngredient<Stardust>(25).
AddIngredient<StarblightSoot>(25).
AddTile(TileID.MythrilAnvil).
Register();
}
+1 -1
View File
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches
var postAstrumDeus = itemLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus);
// Materials
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 5, 10);
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 5, 10);
itemLoot.Add(ItemID.FallenStar, 1, 5, 10);
itemLoot.Add(ItemID.Meteorite, 5, 10, 20);
itemLoot.Add(ItemID.MeteoriteBar, 10, 1, 3);
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Materials
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Stardust>(3).
AddIngredient<StarblightSoot>(3).
AddIngredient<AstralOre>(2).
AddTile(TileID.LunarCraftingStation).
Register();
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Materials
{
CreateRecipe(3).
AddIngredient<MeldBlob>(6).
AddIngredient<Stardust>(3).
AddIngredient<StarblightSoot>(3).
AddTile(TileID.LunarCraftingStation).
Register();
}
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Materials
{
public class Stardust : ModItem, ILocalizedModType
public class StarblightSoot : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Materials";
public override void SetStaticDefaults()
File renamed without changes.

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

+1 -1
View File
@@ -71,7 +71,7 @@ namespace CalamityMod.Items.PermanentBoosters
CreateRecipe().
AddIngredient(ItemID.MeteoriteBar, 10).
AddIngredient(ItemID.FallenStar, 10).
AddIngredient<Stardust>(50).
AddIngredient<StarblightSoot>(50).
AddTile(TileID.Anvils).
Register();
}
+1 -1
View File
@@ -82,7 +82,7 @@ namespace CalamityMod.Items.Placeables
}
else if (val < 68.03f)
{
resultType = ModContent.ItemType<Stardust>();
resultType = ModContent.ItemType<StarblightSoot>();
resultStack = Main.rand.Next(1, 11);
}
else if (val < 69.03f)
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Furniture
{
CreateRecipe().
AddIngredient<AureusCell>(5).
AddIngredient<Stardust>(20).
AddIngredient<StarblightSoot>(20).
AddIngredient<AstralStone>(30).
AddTile(TileID.LunarCraftingStation).
Register();
+1 -1
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Placeables.Furniture
{
CreateRecipe(3).
AddIngredient(ItemID.Torch, 3).
AddIngredient<Stardust>().
AddIngredient<StarblightSoot>().
Register();
}
}
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.Items.Placeables
}
else if (val < 58.03f)
{
resultType = ModContent.ItemType<Stardust>();
resultType = ModContent.ItemType<StarblightSoot>();
resultStack = Main.rand.Next(1, 21);
}
else if (val < 61.03f)
+1 -1
View File
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Potions
{
CreateRecipe(15).
AddIngredient(ItemID.BottledWater, 15).
AddIngredient<Stardust>(4).
AddIngredient<StarblightSoot>(4).
AddIngredient<AureusCell>().
AddTile(TileID.AlchemyTable).
AddConsumeItemCallback(Recipe.ConsumptionRules.Alchemy).
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.SummonItems
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Stardust>(30).
AddIngredient<StarblightSoot>(30).
AddIngredient(ItemID.FallenStar, 20).
AddTile(TileID.Anvils).
Register();
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.SummonItems
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Stardust>(25).
AddIngredient<StarblightSoot>(25).
AddIngredient<AureusCell>(8).
AddIngredient<AstralBar>(4).
AddTile(TileID.LunarCraftingStation).
+1 -1
View File
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.TreasureBags
// Materials
itemLoot.Add(ModContent.ItemType<AureusCell>(), 1, 12, 16);
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 30, 40);
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 30, 40);
itemLoot.Add(ItemID.FallenStar, 1, 20, 30);
// Weapons
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.Items.TreasureBags
itemLoot.Add(ItemDropRule.CoinsBasedOnNPCValue(ModContent.NPCType<AstrumDeusHead>()));
// Materials
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 60, 90);
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 60, 90);
itemLoot.Add(ItemID.FallenStar, 1, 30, 50);
// Weapons
+1 -1
View File
@@ -388,7 +388,7 @@ namespace CalamityMod.Items.Weapons.Melee
AddIngredient(ItemID.SoulofMight).
AddIngredient(ItemID.SoulofSight).
AddIngredient(ItemID.PixieDust, 2).
AddIngredient<Stardust>(10).
AddIngredient<StarblightSoot>(10).
AddTile(TileID.MythrilAnvil).
Register();
}
+1 -1
View File
@@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Ranged
AddIngredient(ItemID.SniperRifle).
AddIngredient<UelibloomBar>(5).
AddIngredient<AureusCell>(5).
AddIngredient<Stardust>(50).
AddIngredient<StarblightSoot>(50).
AddTile(TileID.LunarCraftingStation).
Register();
}
+1 -1
View File
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Rogue
CreateRecipe().
AddIngredient<Prismalline>().
AddIngredient<AstralBar>(10).
AddIngredient<Stardust>(15).
AddIngredient<StarblightSoot>(15).
AddIngredient(ItemID.FallenStar, 10).
AddTile(TileID.LunarCraftingStation).
Register();
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Typeless
{
CreateRecipe().
AddRecipeGroup("AnyCobaltBar", 10).
AddIngredient<Stardust>(20).
AddIngredient<StarblightSoot>(20).
AddTile(TileID.Anvils).
Register();
}
+1 -1
View File
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Typeless
{
CreateRecipe(10).
AddIngredient(ItemID.BottledWater, 10).
AddIngredient<Stardust>(2).
AddIngredient<StarblightSoot>(2).
AddIngredient<AstralGrassSeeds>().
Register();
}
+1 -1
View File
@@ -128,7 +128,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<StellarKnife>(), 7);
}
}
+1 -1
View File
@@ -338,7 +338,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
}
public override float SpawnChance(NPCSpawnInfo spawnInfo)
+1 -1
View File
@@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AbandonedSlimeStaff>(), 7);
var postDeus = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus);
+2 -2
View File
@@ -155,8 +155,8 @@ namespace CalamityMod.NPCs.Astral
public static void ModifyAstralachneaLoot(NPCLoot npcLoot)
{
npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType<Stardust>(), 2, 2, 3);
npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType<Stardust>(), 1, 1, 4);
npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType<StarblightSoot>(), 2, 2, 3);
npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType<StarblightSoot>(), 1, 1, 4);
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AstralachneaStaff>(), 7);
}
+1 -1
View File
@@ -657,7 +657,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(ModContent.ItemType<TitanHeart>());
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 6, 8, 7, 9));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 6, 8, 7, 9));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<TitanArm>(), 7);
}
}
+1 -1
View File
@@ -322,7 +322,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(ItemID.SharkFin, 8);
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
}
}
}
+1 -1
View File
@@ -221,7 +221,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 3, 1, 4));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 3, 1, 4));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HadarianWings>(), 10);
}
}
+1 -1
View File
@@ -159,7 +159,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 3, 1, 4));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 3, 1, 4));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HivePod>(), 7);
}
}
+1 -1
View File
@@ -250,7 +250,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AstralScythe>(), 7);
}
}
+1 -1
View File
@@ -297,7 +297,7 @@ namespace CalamityMod.NPCs.Astral
var exploded = npcLoot.DefineConditionalDropSet((info) => info.npc.ai[3] <= -10000f);
// 2-3 Stardust (3-4 Expert+)
exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
exploded.OnFailedConditions(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedAstrumAureus), ModContent.ItemType<StellarCannon>(), 7));
// If exploded, then have a chance to drop Glorious End and nothing else
+1 -1
View File
@@ -157,7 +157,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
}
}
}
+1 -1
View File
@@ -186,7 +186,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
}
}
+1 -1
View File
@@ -135,7 +135,7 @@ namespace CalamityMod.NPCs.Astral
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<StarbusterCore>(), 7);
}
}
+2 -2
View File
@@ -229,7 +229,7 @@ namespace CalamityMod.NPCs.AstrumDeus
}
}
public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType<Stardust>();
public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType<StarblightSoot>();
public static bool ShouldNotDropThings(NPC npc) => npc.Calamity().newAI[0] == 0f || ((CalamityWorld.death || BossRushEvent.BossRushActive) && npc.Calamity().newAI[0] != 3f);
@@ -311,7 +311,7 @@ namespace CalamityMod.NPCs.AstrumDeus
// Materials
normalOnly.Add(ItemID.FallenStar, 1, 25, 40);
normalOnly.Add(ModContent.ItemType<Stardust>(), 1, 50, 80);
normalOnly.Add(ModContent.ItemType<StarblightSoot>(), 1, 50, 80);
}
npcLoot.DefineConditionalDropSet(() => true).Add(DropHelper.PerPlayer(ItemID.SuperHealingPotion, 1, 5, 15), hideLootReport: true); // Healing Potions don't show up in the Bestiary
+1 -1
View File
@@ -115,7 +115,7 @@ namespace CalamityMod.Tiles.Astral
else if (Main.rand.NextBool(15))
{
createLeaves = true;
int type = ModContent.ItemType<Stardust>();
int type = ModContent.ItemType<StarblightSoot>();
if (!Main.dayTime && Main.rand.NextBool())
type = ItemID.FallenStar;
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
+1 -1
View File
@@ -101,7 +101,7 @@ namespace CalamityMod.Tiles.AstralDesert
else if (Main.rand.NextBool(15))
{
createLeaves = true;
int type = ModContent.ItemType<Stardust>();
int type = ModContent.ItemType<StarblightSoot>();
if (!Main.dayTime && Main.rand.NextBool())
type = ItemID.FallenStar;
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
+1 -1
View File
@@ -117,7 +117,7 @@ namespace CalamityMod.Tiles.AstralSnow
else if (Main.rand.NextBool(15))
{
createLeaves = true;
int type = ModContent.ItemType<Stardust>();
int type = ModContent.ItemType<StarblightSoot>();
if (!Main.dayTime && Main.rand.NextBool())
type = ItemID.FallenStar;
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
+1 -1
View File
@@ -528,7 +528,7 @@ namespace CalamityMod
// Fallen Stars from Stardust
Recipe.Create(ItemID.FallenStar).
AddIngredient<Stardust>(5).
AddIngredient<StarblightSoot>(5).
AddTile(TileID.Anvils).
Register()
.DisableDecraft();
+1 -1
View File
@@ -77,7 +77,7 @@ namespace CalamityMod.World
// Astral Chest has completely different loot in it
if (type == ModContent.TileType<AstralChestLocked>())
{
PutItemInChest(ref chest, ModContent.ItemType<Stardust>(), 30, 80);
PutItemInChest(ref chest, ModContent.ItemType<StarblightSoot>(), 30, 80);
PutItemInChest(ref chest, ModContent.ItemType<AureusCell>(), 10, 14);
PutItemInChest(ref chest, ModContent.ItemType<ZergPotion>(), 8);
PutItemInChest(ref chest, ModContent.ItemType<ZenPotion>(), 3, 5);