Anodized Wulfrum Panels
This commit is contained in:
1 parent
4913f5fcf2
commit
c84aed524f
8 files changed
+102
No files matched your search
@@ -0,0 +1,32 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Walls;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.FurnitureWulfrum
|
||||
{
|
||||
public class AnodizedWulfrumPanels : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Placeables";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 100;
|
||||
}
|
||||
|
||||
public override void SetDefaults() => Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.FurnitureWulfrum.AnodizedWulfrumPanels>());
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(25).
|
||||
AddRecipeGroup("AnyStoneBlock", 25).
|
||||
AddIngredient<AnodizedWulfrumMetal>().
|
||||
AddTile(TileID.HeavyWorkBench).
|
||||
Register();
|
||||
//CreateRecipe().
|
||||
// AddIngredient<WulfrumPlatingWall>(4).
|
||||
// AddTile(TileID.WorkBenches).
|
||||
// DisableDecraft().
|
||||
// Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 335 B |
@@ -4248,3 +4248,33 @@ WulfrumComplexPanelWall: {
|
||||
DisplayName: Wulfrum Complex Panel Wall
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
AnodizedWulfrumPlatform: {
|
||||
DisplayName: Anodized Wulfrum Platform
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
AnodizedWulfrumTrim: {
|
||||
DisplayName: Anodized Wulfrum Trim
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
RoundedAnodizedWulfrumPanels: {
|
||||
DisplayName: Rounded Anodized Wulfrum Panels
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
AnodizedWulfrumTrimWall: {
|
||||
DisplayName: Anodized Wulfrum Trim Wall
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
RoundedAnodizedWulfrumPanelWall: {
|
||||
DisplayName: Rounded Anodized Wulfrum Panel Wall
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
AnodizedWulfrumPanels: {
|
||||
DisplayName: Anodized Wulfrum Panels
|
||||
Tooltip: ""
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class AnodizedWulfrumPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
Main.tileBlockLight[Type] = true;
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
AddMapEntry(new Color(89, 113, 91));
|
||||
}
|
||||
|
||||
public override bool CreateDust(int i, int j, ref int type)
|
||||
{
|
||||
Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.TerraBlade, 0f, 0f, 1, new Color(255, 255, 255), 1f);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
|
||||
{
|
||||
return TileFramingSystem.BetterGemsparkFraming(i, j, resetFrame);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
@@ -653,6 +653,7 @@ namespace CalamityMod
|
||||
SetMerge(type, TileType<WulfrumEnergyBarrier>());
|
||||
SetMerge(type, TileType<RoundedAnodizedWulfrumPanels>());
|
||||
SetMerge(type, TileType<AnodizedWulfrumTrim>());
|
||||
SetMerge(type, TileType<AnodizedWulfrumPanels>());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 17 KiB |
Reference in new issue
Block a user