Attempt dead branch revival by adding a bunch of already existing garbage

This commit is contained in:
Ozzatron committed 2024-06-02 16:55:44 -04:00
1 parent 4b3e244443
commit 689eb16bbf
153 files changed
+2531

No files matched your search

@@ -0,0 +1,7 @@
namespace CalamityMod.Items.Placeables.Banners
{
public class BabyCannonballJellyfishBanner : BaseBanner
{
public override int BannerTileStyle => 128;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

@@ -0,0 +1,7 @@
namespace CalamityMod.Items.Placeables.Banners
{
public class CannonballJellyfishBanner : BaseBanner
{
public override int BannerTileStyle => 127;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

@@ -0,0 +1,10 @@
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Banners
{
[LegacyName("CharredSlimeBanner")]
public class InfernalCongealmentBanner : BaseBanner
{
public override int BannerTileStyle => 93;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

@@ -0,0 +1,10 @@
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Banners
{
[LegacyName("CultistAssassinBanner")]
public class RenegadeWarlockBanner : BaseBanner
{
public override int BannerTileStyle => 95;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

@@ -0,0 +1,10 @@
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Banners
{
[LegacyName("SmallSightseerBanner")]
public class SightseerColliderBanner : BaseBanner
{
public override int BannerTileStyle => 32;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

@@ -0,0 +1,10 @@
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Banners
{
[LegacyName("BigSightseerBanner")]
public class SightseerSpitterBanner : BaseBanner
{
public override int BannerTileStyle => 33;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

@@ -0,0 +1,7 @@
namespace CalamityMod.Items.Placeables.Banners
{
public class SlabCrabBanner : BaseBanner
{
public override int BannerTileStyle => 5;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

+28
View File
@@ -0,0 +1,28 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class Basalt : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.Basalt>();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

+38
View File
@@ -0,0 +1,38 @@
using CalamityMod.Tiles;
using Terraria;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public abstract class BaseBanner : ModItem, ILocalizedModType
{
// As of now, all Calamity banners are nested into one tile with multiple styles.
// We may decide to change this sooner or later. But for now, the only essential value to override is style for generic enemy banners.
public virtual int BannerTileID => ModContent.TileType<MonsterBanner>();
public virtual int BannerTileStyle => 0;
public virtual int BannerKillRequirement => ItemID.Sets.DefaultKillsForBannerNeeded;
// Associated Modded NPC
public virtual int BonusNPCID => MonsterBanner.GetBannerNPC(BannerTileStyle);
public new string LocalizationCategory => "Items.Placeables";
// Override these if there are no NPCs attached to the banner.
public virtual LocalizedText NPCName => NPCLoader.GetNPC(BonusNPCID).DisplayName;
public override LocalizedText DisplayName => CalamityUtils.GetText($"{LocalizationCategory}.FormattedBannerName").WithFormatArgs(NPCName.ToString());
public override LocalizedText Tooltip => CalamityUtils.GetText($"{LocalizationCategory}.FormattedBannerTooltip").WithFormatArgs(NPCName.ToString());
public override void SetStaticDefaults() => ItemID.Sets.KillsToBanner[Type] = BannerKillRequirement;
public override void SetDefaults()
{
Item.DefaultToPlaceableTile(BannerTileID, BannerTileStyle);
// Banners usually have these values.
Item.width = 10;
Item.height = 24;
Item.rare = ItemRarityID.Blue;
Item.value = Item.sellPrice(silver: 2);
}
}
}
+37
View File
@@ -0,0 +1,37 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class BlackPearlPile : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.rare = ItemRarityID.Blue;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.BlackPearlPile>();
}
public override void AddRecipes()
{
CreateRecipe(4).
AddIngredient(ItemID.BlackPearl).
AddTile(TileID.HeavyWorkBench).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class CyanCoral : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.rare = ItemRarityID.Blue;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.CyanCoral>();
}
//public override void AddRecipes()
//{
// CreateRecipe(4).
// AddIngredient(ItemID.PinkPearl).
// AddTile(TileID.HeavyWorkBench).
// Register();
//}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

+42
View File
@@ -0,0 +1,42 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class Driftwood : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Wood;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.Driftwood>();
}
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
{
itemGroup = ContentSamples.CreativeHelper.ItemGroup.Wood;
}
public override void AddRecipes()
{
CreateRecipe(4).
AddIngredient<Items.Placeables.Walls.DriftwoodWall>(4).
AddTile(TileID.WorkBenches).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class EutrophicGlass : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.EutrophicGlass>();
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
}
public override void AddRecipes()
{
CreateRecipe(25).
AddIngredient<EutrophicSand>(2).
AddTile(TileID.Furnaces).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

+66
View File
@@ -0,0 +1,66 @@
using CalamityMod.Dusts;
using CalamityMod.Items.Materials;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture
{
public class AstralTorch : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
ItemID.Sets.Torches[Item.type] = true;
ItemID.Sets.SingleUseInGamepad[Type] = true;
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.ShimmerTorch;
}
public override void SetDefaults()
{
Item.width = 14;
Item.height = 16;
Item.maxStack = 9999;
Item.holdStyle = 1;
Item.noWet = true;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.Astral.AstralTorch>();
Item.flame = true;
Item.value = 500;
}
public override void HoldItem(Player player)
{
bool killTorch = Collision.DrownCollision(player.position, player.width, player.height, player.gravDir) || Item.wet;
if (!killTorch && Main.rand.NextBool(player.itemAnimation > 0 ? 10 : 20))
{
Dust.NewDust(new Vector2(player.itemLocation.X + 16f * player.direction, player.itemLocation.Y - 14f * player.gravDir), 4, 4, ModContent.DustType<AstralOrange>());
}
Vector2 position = player.RotatedRelativePoint(new Vector2(player.itemLocation.X + 12f * player.direction + player.velocity.X, player.itemLocation.Y - 14f + player.velocity.Y), true);
if (!killTorch)
Lighting.AddLight(position, 1.6f, 0.6f, 0.3f);
}
public override void PostUpdate()
{
if (!Item.wet)
Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 1.6f, 0.6f, 0.3f);
}
public override void AddRecipes()
{
CreateRecipe(3).
AddIngredient(ItemID.Torch, 3).
AddIngredient<StarblightSoot>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

@@ -0,0 +1,33 @@
using CalamityMod.Items.Critters;
using CalamityMod.Tiles.Furniture;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture
{
public class BabyCannonballJellyfishBowl : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 34;
Item.height = 32;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<BabyCannonballJellyfishBowlTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BabyCannonballJellyfishItem>().
AddIngredient(ItemID.BottledWater).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

+25
View File
@@ -0,0 +1,25 @@
using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture
{
public class CirrusCouch : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 28;
Item.height = 20;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.value = 0;
Item.createTile = ModContent.TileType<Tiles.Furniture.CirrusCouch>();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

@@ -0,0 +1,39 @@
using CalamityMod.Items.Placeables.FurnitureSilva;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.CraftingStations
{
[LegacyName("SilvaBasin")]
public class EffulgentManipulator : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 28;
Item.height = 20;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.Furniture.CraftingStations.SilvaBasin>();
}
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
{
itemGroup = ContentSamples.CreativeHelper.ItemGroup.CraftingObjects;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<SilvaCrystal>(10).
AddRecipeGroup("AnyGoldBar", 5).
AddTile(TileID.LunarCraftingStation).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

@@ -0,0 +1,27 @@
using CalamityMod.Tiles.Furniture.Fountains;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Fountains
{
public class BrimstoneLavaFountainItem : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 22;
Item.height = 42;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.value = Item.buyPrice(0, 4, 0, 0);
Item.rare = ItemRarityID.Blue;
Item.createTile = ModContent.TileType<BrimstoneLavaFountainTile>();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

@@ -0,0 +1,49 @@
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class AstralProjector : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AstralProjectorTile>();
Item.rare = ItemRarityID.LightRed;
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithAstralShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithAstralShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AstralMonolith>(15).
AddTile(TileID.Anvils).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

@@ -0,0 +1,52 @@
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class BlueDistortedMonolith : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<BlueDistortedMonolithTile>();
Item.rare = ModContent.RarityType<DarkBlue>();
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithDevourerBShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithDevourerBShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CosmiliteBar>(15).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

@@ -0,0 +1,43 @@
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class BossRushMonolith : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<BossRushMonolithTile>();
Item.rare = ModContent.RarityType<HotPink>();
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithBossRushShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithBossRushShader = 30;
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

@@ -0,0 +1,43 @@
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class DeepSeaAnchor : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<DeepSeaAnchorTile>();
Item.rare = ItemRarityID.Lime;
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithLeviathanShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithLeviathanShader = 30;
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

@@ -0,0 +1,52 @@
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class DraconicIncense : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<DraconicIncenseTile>();
Item.rare = ModContent.RarityType<Violet>();
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithYharonShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithYharonShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<YharonSoulFragment>(15).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

@@ -0,0 +1,52 @@
using CalamityMod.Items.Placeables.FurnitureExo;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class ExoObelisk : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<ExoObeliskTile>();
Item.rare = ModContent.RarityType<Violet>();
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithExoShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithExoShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ExoPlating>(15).
AddTile<DraedonsForge>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

@@ -0,0 +1,42 @@
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class FrigidMonolith : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<FrigidMonolithTile>();
Item.rare = ItemRarityID.Pink;
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithCryogenShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithCryogenShader = 30;
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

@@ -0,0 +1,52 @@
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class PlagueHumidifier : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<PlagueHumidifierTile>();
Item.rare = ItemRarityID.Yellow;
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithPlagueShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithPlagueShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<InfectedArmorPlating>(15).
AddTile(TileID.MythrilAnvil).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

@@ -0,0 +1,52 @@
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.Furniture.Monoliths;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Monoliths
{
public class PurpleDistortedMonolith : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 24;
Item.height = 28;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<PurpleDistortedMonolithTile>();
Item.rare = ModContent.RarityType<DarkBlue>();
Item.accessory = true;
Item.vanity = true;
}
public override void UpdateEquip(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithDevourerPShader = 30;
}
}
public override void UpdateVanity(Player player)
{
if (player.whoAmI == Main.myPlayer)
{
player.Calamity().monolithDevourerPShader = 30;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CosmiliteBar>(15).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

@@ -0,0 +1,42 @@
using CalamityMod.Items.Placeables.Ores;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class ActivatedAuricPanel : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<ActivatedAuricPanelTile>();
}
public override void AddRecipes()
{
CreateRecipe(400).
AddRecipeGroup("AnyStoneBlock", 400).
AddIngredient<AuricOre>().
AddTile<CosmicAnvil>().
Register();
/*CreateRecipe().
AddIngredient<ActivatedAuricPanelWallItem>(4).
AddTile(TileID.WorkBenches).
Register();*/
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

@@ -0,0 +1,40 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Ores;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricAbsorber : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricAbsorberTile>();
}
public override void AddRecipes()
{
CreateRecipe(400).
AddRecipeGroup("AnyStoneBlock", 400).
AddIngredient<AuricOre>().
AddIngredient<EndothermicEnergy>().
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

@@ -0,0 +1,34 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricConsole : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricConsoleTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(10).
AddIngredient<DraedonPowerCell>(8).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

@@ -0,0 +1,34 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricDisplay : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricDisplayTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(15).
AddIngredient<DraedonPowerCell>(5).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

@@ -0,0 +1,45 @@
using CalamityMod.Items.Placeables.Ores;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricPanel : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricPanelTile>();
}
public override void AddRecipes()
{
CreateRecipe(400).
AddRecipeGroup("AnyStoneBlock", 400).
AddIngredient<AuricOre>().
AddTile<CosmicAnvil>().
Register();
CreateRecipe().
AddIngredient<AuricPlatform>(2).
Register();
/*CreateRecipe().
AddIngredient<AuricPanelWallItem>(4).
AddTile(TileID.WorkBenches).
Register();*/
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

@@ -0,0 +1,36 @@
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricPlatform : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 200;
}
public override void SetDefaults()
{
Item.width = 8;
Item.height = 10;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricPlatformTile>();
}
public override void AddRecipes()
{
CreateRecipe(2).
AddIngredient<AuricPanel>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

@@ -0,0 +1,35 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricReinforcedCrate : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricReinforcedCrateTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(7).
AddIngredient<DraedonPowerCell>().
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

@@ -0,0 +1,38 @@
using CalamityMod.Items.Materials;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricRepulserPanel : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricRepulserPanelTile>();
}
public override void AddRecipes()
{
CreateRecipe(400).
AddIngredient<ActivatedAuricPanel>(400).
AddIngredient<AscendantSpiritEssence>().
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

@@ -0,0 +1,34 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricScreen : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricScreenTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(10).
AddIngredient<DraedonPowerCell>(3).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

@@ -0,0 +1,34 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricServer : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricServerTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(12).
AddIngredient<DraedonPowerCell>(15).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

@@ -0,0 +1,34 @@
using CalamityMod.Items.DraedonMisc;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricTerminal : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricTerminalTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AuricPanel>(15).
AddIngredient<DraedonPowerCell>(5).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

@@ -0,0 +1,41 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.FurnitureBotanic;
using CalamityMod.Items.Placeables.FurnitureCosmilite;
using CalamityMod.Items.Placeables.FurnitureSilva;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class AuricToilet : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 12;
Item.height = 30;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<AuricToiletTile>();
Item.rare = ModContent.RarityType<Violet>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BotanicChair>().
AddIngredient<CosmiliteChair>().
AddIngredient<SilvaChair>().
AddIngredient<AuricBar>(5).
AddTile<CosmicAnvil>().
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

@@ -0,0 +1,42 @@
using CalamityMod.Items.Materials;
using CalamityMod.Tiles.Furniture.CraftingStations;
using CalamityMod.Tiles.FurnitureAuric;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureAuric
{
public class ExoAuricPanel : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<ExoAuricPanelTile>();
}
public override void AddRecipes()
{
CreateRecipe(400).
AddIngredient<AuricPanel>(400).
AddIngredient<ExoPrism>().
AddTile<DraedonsForge>().
Register();
/*CreateRecipe().
AddIngredient<ExoAuricPanelWallItem>(4).
AddTile(TileID.WorkBenches).
Register();*/
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

+39
View File
@@ -0,0 +1,39 @@
using CalamityMod.Items.Placeables.Walls;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class HardenedEutrophicSand : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
ItemID.Sets.ShimmerTransformToItem[Type] = ModContent.ItemType<EutrophicSand>();
}
public override void SetDefaults()
{
Item.width = 13;
Item.height = 10;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.HardenedEutrophicSand>();
Item.useStyle = ItemUseStyleID.Swing;
Item.useTurn = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.autoReuse = true;
Item.consumable = true;
Item.maxStack = 9999;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<EutrophicSand>().
AddIngredient(ItemID.DirtBlock).
AddTile(TileID.Solidifier).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class LimeCoral : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.rare = ItemRarityID.Blue;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.LimeCoral>();
}
//public override void AddRecipes()
//{
// CreateRecipe(4).
// AddIngredient(ItemID.PinkPearl).
// AddTile(TileID.HeavyWorkBench).
// Register();
//}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

+28
View File
@@ -0,0 +1,28 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class Limestone : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.Limestone>();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class MagentaCoral : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.rare = ItemRarityID.Blue;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.MagentaCoral>();
}
//public override void AddRecipes()
//{
// CreateRecipe(4).
// AddIngredient(ItemID.PinkPearl).
// AddTile(TileID.HeavyWorkBench).
// Register();
//}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

@@ -0,0 +1,19 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.MusicBoxes
{
[LegacyName("DraedonsAmbienceMusicBox")]
public class DraedonExoSelectMusicBox : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
ItemID.Sets.CanGetPrefixes[Type] = false;
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.MusicBox;
}
public override void SetDefaults() => Item.DefaultToMusicBox(ModContent.TileType<Tiles.MusicBoxes.DraedonExoSelectMusicBox>(), 0);
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

@@ -0,0 +1,18 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.MusicBoxes
{
public class DraedonTalkMusicBox : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
ItemID.Sets.CanGetPrefixes[Type] = false;
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.MusicBox;
}
public override void SetDefaults() => Item.DefaultToMusicBox(ModContent.TileType<Tiles.MusicBoxes.DraedonTalkMusicBox>(), 0);
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables
{
public class OrangeCoral : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.rare = ItemRarityID.Blue;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SunkenSea.OrangeCoral>();
}
//public override void AddRecipes()
//{
// CreateRecipe(4).
// AddIngredient(ItemID.PinkPearl).
// AddTile(TileID.HeavyWorkBench).
// Register();
//}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Loaded 100 of 153 files, more files were not shown because too many files have changed in this diff. Show more