diff --git a/Items/Placeables/FurnitureMarnite/MarniteLight.cs b/Items/Placeables/FurnitureMarnite/MarniteLight.cs index 2c297eb9c4..6d66bac2f7 100644 --- a/Items/Placeables/FurnitureMarnite/MarniteLight.cs +++ b/Items/Placeables/FurnitureMarnite/MarniteLight.cs @@ -44,12 +44,12 @@ namespace CalamityMod.Items.Placeables.FurnitureMarnite Dust.NewDust(new Vector2(player.itemLocation.X + 16f * player.direction, player.itemLocation.Y - 14f * player.gravDir), 4, 4, DustID.DungeonSpirit); } Vector2 position = player.RotatedRelativePoint(new Vector2(player.itemLocation.X + 12f * player.direction + player.velocity.X, player.itemLocation.Y - 14f + player.velocity.Y), true); - Lighting.AddLight(position, 0.5f, 0.5f, 2f); + Lighting.AddLight(position, (57f / 255f), (246f / 255f), (255f / 255f)); } public override void PostUpdate() { - Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.5f, 0.5f, 2f); + Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), (57f / 255f), (246f / 255f), (255f / 255f)); } public override void AddRecipes() diff --git a/Items/Placeables/FurnitureMarnite/PolishedMarniteBlock.cs b/Items/Placeables/FurnitureMarnite/PolishedMarniteBlock.cs index 8189c1c3c8..adf26384f0 100644 --- a/Items/Placeables/FurnitureMarnite/PolishedMarniteBlock.cs +++ b/Items/Placeables/FurnitureMarnite/PolishedMarniteBlock.cs @@ -34,10 +34,10 @@ namespace CalamityMod.Items.Placeables.FurnitureMarnite AddIngredient(ItemID.Marble, 5). AddTile(TileID.WorkBenches). Register(); - //CreateRecipe(). - // AddIngredient(4). - // AddTile(TileID.WorkBenches). - // Register(); + CreateRecipe(). + AddIngredient(4). + AddTile(TileID.WorkBenches). + Register(); CreateRecipe(). AddIngredient(2). Register(); diff --git a/Items/Placeables/Walls/PolishedMarniteWall.cs b/Items/Placeables/Walls/PolishedMarniteWall.cs new file mode 100644 index 0000000000..22994a9baa --- /dev/null +++ b/Items/Placeables/Walls/PolishedMarniteWall.cs @@ -0,0 +1,38 @@ +using CalamityMod.Items.Placeables.FurnitureMarnite; +using CalamityMod.Walls; +using Terraria.ID; +using Terraria.ModLoader; +using WallTiles = CalamityMod.Walls; +namespace CalamityMod.Items.Placeables.Walls +{ + public class PolishedMarniteWall : 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 = 7; + Item.useStyle = ItemUseStyleID.Swing; + Item.consumable = true; + Item.createWall = ModContent.WallType(); + } + + public override void AddRecipes() + { + CreateRecipe(4). + AddIngredient(). + AddTile(TileID.WorkBenches). + Register(); + } + } +} diff --git a/Items/Placeables/Walls/PolishedMarniteWall.png b/Items/Placeables/Walls/PolishedMarniteWall.png new file mode 100644 index 0000000000..02d96615c0 Binary files /dev/null and b/Items/Placeables/Walls/PolishedMarniteWall.png differ diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index fcd54df327..46779e5b16 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -3683,3 +3683,8 @@ PolishedMarnitePlatform: { DisplayName: Polished Marnite Platform Tooltip: "" } + +PolishedMarniteWall: { + DisplayName: Polished Marnite Wall + Tooltip: "" +} diff --git a/Tiles/FurnitureMarnite/MarniteBathtub.cs b/Tiles/FurnitureMarnite/MarniteBathtub.cs index fe090a8c07..44db427643 100644 --- a/Tiles/FurnitureMarnite/MarniteBathtub.cs +++ b/Tiles/FurnitureMarnite/MarniteBathtub.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteBed.cs b/Tiles/FurnitureMarnite/MarniteBed.cs index a2f7a502d1..39bbcd8dac 100644 --- a/Tiles/FurnitureMarnite/MarniteBed.cs +++ b/Tiles/FurnitureMarnite/MarniteBed.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteBookcase.cs b/Tiles/FurnitureMarnite/MarniteBookcase.cs index af9186ab8d..9d531d434c 100644 --- a/Tiles/FurnitureMarnite/MarniteBookcase.cs +++ b/Tiles/FurnitureMarnite/MarniteBookcase.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteCandelabra.cs b/Tiles/FurnitureMarnite/MarniteCandelabra.cs index 8804d3a147..8a58e30836 100644 --- a/Tiles/FurnitureMarnite/MarniteCandelabra.cs +++ b/Tiles/FurnitureMarnite/MarniteCandelabra.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -24,9 +24,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite { if (Main.tile[i, j].TileFrameX < 18) { - r = 0.8f; - g = 0.9f; - b = 1f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } else { diff --git a/Tiles/FurnitureMarnite/MarniteCandle.cs b/Tiles/FurnitureMarnite/MarniteCandle.cs index 5420290086..59df314c56 100644 --- a/Tiles/FurnitureMarnite/MarniteCandle.cs +++ b/Tiles/FurnitureMarnite/MarniteCandle.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -24,9 +24,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite { if (Main.tile[i, j].TileFrameX < 18) { - r = 0.8f; - g = 0.9f; - b = 1f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } else { diff --git a/Tiles/FurnitureMarnite/MarniteChair.cs b/Tiles/FurnitureMarnite/MarniteChair.cs index fb05e56ada..c12256ef08 100644 --- a/Tiles/FurnitureMarnite/MarniteChair.cs +++ b/Tiles/FurnitureMarnite/MarniteChair.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteChandelier.cs b/Tiles/FurnitureMarnite/MarniteChandelier.cs index 324c298fca..7277e2ead7 100644 --- a/Tiles/FurnitureMarnite/MarniteChandelier.cs +++ b/Tiles/FurnitureMarnite/MarniteChandelier.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -24,9 +24,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite { if (Main.tile[i, j].TileFrameX < 18) { - r = 0.8f; - g = 0.9f; - b = 1f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } else { diff --git a/Tiles/FurnitureMarnite/MarniteChest.cs b/Tiles/FurnitureMarnite/MarniteChest.cs index df7b3344f7..195247b30f 100644 --- a/Tiles/FurnitureMarnite/MarniteChest.cs +++ b/Tiles/FurnitureMarnite/MarniteChest.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } public override bool HasSmartInteract(int i, int j, SmartInteractScanSettings settings) => true; diff --git a/Tiles/FurnitureMarnite/MarniteClock.cs b/Tiles/FurnitureMarnite/MarniteClock.cs index 1b2e6b28bf..5411f92ebb 100644 --- a/Tiles/FurnitureMarnite/MarniteClock.cs +++ b/Tiles/FurnitureMarnite/MarniteClock.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteDoorClosed.cs b/Tiles/FurnitureMarnite/MarniteDoorClosed.cs index d55748296c..d81c9fb928 100644 --- a/Tiles/FurnitureMarnite/MarniteDoorClosed.cs +++ b/Tiles/FurnitureMarnite/MarniteDoorClosed.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteDoorOpen.cs b/Tiles/FurnitureMarnite/MarniteDoorOpen.cs index 19ee1df9fc..e31f15a653 100644 --- a/Tiles/FurnitureMarnite/MarniteDoorOpen.cs +++ b/Tiles/FurnitureMarnite/MarniteDoorOpen.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteDresser.cs b/Tiles/FurnitureMarnite/MarniteDresser.cs index c0f439ee32..1fb0e65101 100644 --- a/Tiles/FurnitureMarnite/MarniteDresser.cs +++ b/Tiles/FurnitureMarnite/MarniteDresser.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } public override bool HasSmartInteract(int i, int j, SmartInteractScanSettings settings) => true; diff --git a/Tiles/FurnitureMarnite/MarniteLamp.cs b/Tiles/FurnitureMarnite/MarniteLamp.cs index b5c6b45dd1..af684fc3d2 100644 --- a/Tiles/FurnitureMarnite/MarniteLamp.cs +++ b/Tiles/FurnitureMarnite/MarniteLamp.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -24,9 +24,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite { if (Main.tile[i, j].TileFrameX < 18) { - r = 0.8f; - g = 0.9f; - b = 1f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } else { diff --git a/Tiles/FurnitureMarnite/MarniteLantern.cs b/Tiles/FurnitureMarnite/MarniteLantern.cs index 26fb339237..53e82d7535 100644 --- a/Tiles/FurnitureMarnite/MarniteLantern.cs +++ b/Tiles/FurnitureMarnite/MarniteLantern.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -25,9 +25,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite { if (Main.tile[i, j].TileFrameX < 18) { - r = 0.8f; - g = 0.9f; - b = 1f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } else { diff --git a/Tiles/FurnitureMarnite/MarniteOrgan.cs b/Tiles/FurnitureMarnite/MarniteOrgan.cs index 485eb8e40c..500abcd9ad 100644 --- a/Tiles/FurnitureMarnite/MarniteOrgan.cs +++ b/Tiles/FurnitureMarnite/MarniteOrgan.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteSink.cs b/Tiles/FurnitureMarnite/MarniteSink.cs index d3714f7846..dd545d17fb 100644 --- a/Tiles/FurnitureMarnite/MarniteSink.cs +++ b/Tiles/FurnitureMarnite/MarniteSink.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteSofa.cs b/Tiles/FurnitureMarnite/MarniteSofa.cs index 9c2527c7fb..d2f3eda4f5 100644 --- a/Tiles/FurnitureMarnite/MarniteSofa.cs +++ b/Tiles/FurnitureMarnite/MarniteSofa.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteTable.cs b/Tiles/FurnitureMarnite/MarniteTable.cs index facb95cd82..c207056744 100644 --- a/Tiles/FurnitureMarnite/MarniteTable.cs +++ b/Tiles/FurnitureMarnite/MarniteTable.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/MarniteTorch.cs b/Tiles/FurnitureMarnite/MarniteTorch.cs index 20e31124be..42a4096f54 100644 --- a/Tiles/FurnitureMarnite/MarniteTorch.cs +++ b/Tiles/FurnitureMarnite/MarniteTorch.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } @@ -35,9 +35,9 @@ namespace CalamityMod.Tiles.FurnitureMarnite Tile tile = Main.tile[i, j]; if (tile.TileFrameX < 66) { - r = 0.6f; - g = 0.6f; - b = 2.3f; + r = 57f / 255f; + g = 246f / 255f; + b = 255f / 255f; } } diff --git a/Tiles/FurnitureMarnite/MarniteWorkBench.cs b/Tiles/FurnitureMarnite/MarniteWorkBench.cs index 21f542ce82..164d79c82a 100644 --- a/Tiles/FurnitureMarnite/MarniteWorkBench.cs +++ b/Tiles/FurnitureMarnite/MarniteWorkBench.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Tiles/FurnitureMarnite/PolishedMarniteBlock.cs b/Tiles/FurnitureMarnite/PolishedMarniteBlock.cs index 4aae52ba0a..412be2e49f 100644 --- a/Tiles/FurnitureMarnite/PolishedMarniteBlock.cs +++ b/Tiles/FurnitureMarnite/PolishedMarniteBlock.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite Main.tileMergeDirt[Type] = true; Main.tileBlockLight[Type] = true; TileID.Sets.HasSlopeFrames[Type] = true; - + Main.tileShine[Type] = 3500; CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeSmoothTiles(Type); CalamityUtils.MergeDecorativeTiles(Type); @@ -22,7 +22,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite HitSound = SoundID.Tink; MineResist = 2.1f; - AddMapEntry(new Color(49, 56, 77)); + AddMapEntry(new Color(50, 46, 104)); } public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak) { @@ -32,7 +32,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } } diff --git a/Tiles/FurnitureMarnite/PolishedMarniteBlock.png b/Tiles/FurnitureMarnite/PolishedMarniteBlock.png index 138fedac2a..b9b5b23628 100644 Binary files a/Tiles/FurnitureMarnite/PolishedMarniteBlock.png and b/Tiles/FurnitureMarnite/PolishedMarniteBlock.png differ diff --git a/Tiles/FurnitureMarnite/PolishedMarnitePlatform.cs b/Tiles/FurnitureMarnite/PolishedMarnitePlatform.cs index fdbf3853eb..abdbd4927e 100644 --- a/Tiles/FurnitureMarnite/PolishedMarnitePlatform.cs +++ b/Tiles/FurnitureMarnite/PolishedMarnitePlatform.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.FurnitureMarnite public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(100, 130, 150), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; } diff --git a/Walls/PolishedMarniteWall.cs b/Walls/PolishedMarniteWall.cs new file mode 100644 index 0000000000..de37e28f65 --- /dev/null +++ b/Walls/PolishedMarniteWall.cs @@ -0,0 +1,26 @@ +using CalamityMod.Items.Placeables.Walls; +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Walls +{ + public class PolishedMarniteWall : ModWall + { + public override void SetStaticDefaults() + { + Main.wallHouse[Type] = true; + HitSound = SoundID.Dig; + AddMapEntry(new Color(14, 9, 28)); + } + + public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3; + + public override bool CreateDust(int i, int j, ref int type) + { + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Granite, 0f, 0f, 1, new Color(255, 255, 255), 1f); + return false; + } + } +} diff --git a/Walls/PolishedMarniteWall.png b/Walls/PolishedMarniteWall.png new file mode 100644 index 0000000000..cdb6f3d4f8 Binary files /dev/null and b/Walls/PolishedMarniteWall.png differ