Merge remote-tracking branch 'origin/HEAD' into 1.4.4
This commit is contained in:
commit
6641bea855
35 files changed
+328
-167
No files matched your search
@@ -11,9 +11,8 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type, 0);
|
||||
// TODO: Most of these currently don't work
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0);
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0, 1, 2, 3, 4, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureDriftwood;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class DriftwoodScrapsEcho : DriftwoodScraps
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/DriftwoodScraps";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0, 1, 2, 3, 4, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureDriftwood;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class DriftwoodWreckageEcho : DriftwoodWreckage
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/DriftwoodWreckage";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0, 1, 2, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,8 +12,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
// TODO: Currently none of these work
|
||||
//FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
//FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
public class FryCoral3Echo : FryCoral3
|
||||
@@ -34,7 +33,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<OrangeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureDriftwood;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class LargeDriftwoodWreckageEcho : LargeDriftwoodWreckage
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/LargeDriftwoodWreckage";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0, 1, 2, 3, 4, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureDriftwood;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class MediumDriftwoodWreckageEcho : MediumDriftwoodWreckage
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/MediumDriftwoodWreckage";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class MediumDunesandPileEcho : MediumDunesandPile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/MediumDunesandPile";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Dunesand>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Dunesand>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class MediumShorePileEcho : MediumShorePile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/MediumShorePile";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Runestone>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Runestone>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class ShorePileEcho : ShorePile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/ShorePile";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Runestone>(), Type);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Runestone>(), Type, 0, 1, 2, 3, 4, 5, 6, 7, 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class SmallLimestoneCobblePileEcho : SmallLimestoneCobblePile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/SmallLimestoneCobblePile";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Limestone>(), Type);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Limestone>(), Type, 0, 1, 2, 3, 4, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureDriftwood;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class SunkenShipEcho : SunkenShip
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/SunkenShip";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Driftwood>(), Type);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Driftwood>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,53 +1,28 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
|
||||
namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
public class TableCoralEcho : ModTile
|
||||
public class TableCoralEcho : TableCoral
|
||||
{
|
||||
int subsheetHeight = 34;
|
||||
int subsheetWidth = 108;
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/TableCoral";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileNoAttach[Type] = true;
|
||||
Main.tileSolidTop[Type] = true;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
TileObjectData.newTile.StyleMultiplier = 2;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.None, 0, 0);
|
||||
TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile);
|
||||
TileObjectData.newAlternate.AnchorLeft = new AnchorData(AnchorType.SolidTile, 2, 0);
|
||||
TileObjectData.newAlternate.Direction = TileObjectDirection.PlaceRight;
|
||||
TileObjectData.addAlternate(1);
|
||||
TileObjectData.newTile.AnchorRight = new AnchorData(AnchorType.SolidTile, 2, 0);
|
||||
TileObjectData.newTile.Direction = TileObjectDirection.PlaceLeft;
|
||||
TileObjectData.addTile(Type);
|
||||
DustType = 253;
|
||||
AddMapEntry(new Color(54, 69, 72));
|
||||
RegisterItemDrop(ModContent.ItemType<Shellstone>());
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0);
|
||||
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Shellstone>());
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0, 1, 2);
|
||||
}
|
||||
|
||||
public override void NumDust(int i, int j, bool fail, ref int num)
|
||||
}
|
||||
public class TableCoralLeftEcho : TableCoralLeft
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/TableCoralLeft";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
num = fail ? 1 : 3;
|
||||
}
|
||||
public override void AnimateIndividualTile(int type, int i, int j, ref int frameXOffset, ref int frameYOffset)
|
||||
{
|
||||
int xPos = i % 1;
|
||||
int yPos = j % 3;
|
||||
frameXOffset = xPos * subsheetWidth;
|
||||
frameYOffset = yPos * subsheetHeight;
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Shellstone>());
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0, 1, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,8 +23,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
// TODO: Currently the larger Digitate Corals do not work
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
public class TallDigitateCoral3Echo : TallDigitateCoral3
|
||||
@@ -34,7 +33,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
public class TallDigitateCoral4Echo : TallDigitateCoral4
|
||||
@@ -44,7 +43,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<LimeCoral>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,8 +12,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Shellstone>(), Type, 0);
|
||||
// TODO: None of these work
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0, 1, 2, 3);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Shellstone>(), Type, 0);
|
||||
//FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementLarge.AddVariations(ModContent.ItemType<Shellstone>(), Type, 0, 1, 2, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,9 +11,8 @@ namespace CalamityMod.Tiles.Rubblemaker.SunkenSea
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<PolypSand>(), Type, 0);
|
||||
// TODO: Currently none of these work
|
||||
//FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<PolypSand>(), Type, 0);
|
||||
RegisterItemDrop(ModContent.ItemType<PolypSand>(), Type, 0, 1, 2, 3);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<PolypSand>(), Type, 0, 1, 2, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 3;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 3);
|
||||
|
||||
@@ -5,8 +5,6 @@ using Terraria.ObjectData;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Humanizer;
|
||||
|
||||
namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
@@ -17,9 +15,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 2);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -47,9 +46,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 4;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -15,9 +15,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.Width = 3;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 3;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -30,4 +31,4 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
HitSound = SoundID.Dig;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 547 B |
Binary file not shown.
|
Before Width: | Height: | Size: 783 B |
Binary file not shown.
|
Before Width: | Height: | Size: 715 B |
@@ -14,19 +14,16 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x4);
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
|
||||
TileObjectData.newTile.Width = 3;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new(0, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 3);
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 6;
|
||||
TileObjectData.newTile.RandomStyleRange = 6;
|
||||
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
|
||||
@@ -21,11 +21,7 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 2);
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 6;
|
||||
TileObjectData.newTile.RandomStyleRange = 6;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 1);
|
||||
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
|
||||
namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
public class DriftwoodWreckage : ModTile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, };
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 5, 0);
|
||||
TileObjectData.newTile.Origin = new Point16(2, 1);
|
||||
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
AddMapEntry(new Color(146, 123, 127));
|
||||
DustType = DustID.Shadewood_Tree;
|
||||
HitSound = SoundID.Dig;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,15 +15,9 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 2;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
|
||||
TileObjectData.newTile.DrawYOffset = 3;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
AddMapEntry(new Color(79, 196, 149));
|
||||
DustType = DustID.BlueMoss;
|
||||
@@ -45,15 +39,9 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 2;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
|
||||
TileObjectData.newTile.DrawYOffset = 3;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
AddMapEntry(new Color(79, 196, 149));
|
||||
DustType = DustID.BlueMoss;
|
||||
@@ -74,15 +62,11 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
|
||||
TileObjectData.newTile.Width = 4;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.DrawYOffset = 3;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
AddMapEntry(new Color(79, 196, 149));
|
||||
DustType = DustID.BlueMoss;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.Height = 5;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 4);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16, 16 };
|
||||
@@ -37,7 +38,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 };
|
||||
@@ -52,4 +54,4 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
HitSound = SoundID.Dig;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,18 +14,16 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style5x4);
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Width = 5;
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 4);
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 6;
|
||||
TileObjectData.newTile.RandomStyleRange = 6;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 3);
|
||||
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
|
||||
namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
{
|
||||
public class MediumDriftwoodWreckage : ModTile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 2);
|
||||
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
AddMapEntry(new Color(146, 123, 127));
|
||||
DustType = DustID.Shadewood_Tree;
|
||||
HitSound = SoundID.Dig;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -20,13 +17,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileLavaDeath[Type] = true;
|
||||
Main.tileWaterDeath[Type] = false;
|
||||
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 2;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16 };
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 3;
|
||||
@@ -37,6 +29,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
AddMapEntry(new Color(185, 104, 80));
|
||||
DustType = DustID.BlueMoss;
|
||||
HitSound = SoundID.Dig;
|
||||
|
||||
base.SetStaticDefaults();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -20,13 +17,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileLavaDeath[Type] = true;
|
||||
Main.tileWaterDeath[Type] = false;
|
||||
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 2;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16 };
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
|
||||
TileObjectData.newTile.DrawYOffset = 2;
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 3;
|
||||
@@ -37,6 +29,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
AddMapEntry(new Color(158, 129, 177));
|
||||
DustType = DustID.BlueMoss;
|
||||
HitSound = SoundID.Dig;
|
||||
|
||||
base.SetStaticDefaults();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,9 +15,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 3;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 1);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -50,9 +51,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 1);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -85,9 +87,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 4;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
|
||||
@@ -15,9 +15,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -50,9 +51,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.UsesCustomCanPlace = true;
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 3);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -85,9 +87,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2xX);
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 5;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 4);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
@@ -120,9 +123,10 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileSolid[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2xX);
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 6;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 3);
|
||||
TileObjectData.newTile.Origin = new Point16(0, 5);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.StyleWrapLimit = 36;
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
|
||||
@@ -16,23 +16,16 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileSolidTop[Type] = false;
|
||||
Main.tileLighted[Type] = true;
|
||||
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
|
||||
TileObjectData.newTile.Origin = new Point16(1, 1);
|
||||
|
||||
TileObjectData.newTile.AnchorTop = AnchorData.Empty;
|
||||
TileObjectData.newTile.AnchorBottom = AnchorData.Empty;
|
||||
TileObjectData.newTile.AnchorLeft = AnchorData.Empty;
|
||||
TileObjectData.newTile.AnchorRight = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.Direction = TileObjectDirection.PlaceLeft;
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 4;
|
||||
TileObjectData.newTile.RandomStyleRange = 4;
|
||||
TileObjectData.newTile.StyleWrapLimit = 3;
|
||||
TileObjectData.newTile.RandomStyleRange = 3;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 1);
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
TileObjectData.newTile.AnchorBottom = AnchorData.Empty;
|
||||
TileObjectData.newTile.AnchorRight = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.DrawXOffset = 2;
|
||||
|
||||
TileObjectData.addTile(Type);
|
||||
|
||||
DustType = 253;
|
||||
|
||||
@@ -17,14 +17,15 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
Main.tileLighted[Type] = true;
|
||||
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 4;
|
||||
TileObjectData.newTile.RandomStyleRange = 4;
|
||||
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
|
||||
TileObjectData.newTile.StyleWrapLimit = 3;
|
||||
TileObjectData.newTile.RandomStyleRange = 3;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
||||
TileObjectData.newTile.Height = 3;
|
||||
TileObjectData.newTile.Origin = new Point16(1, 1);
|
||||
TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16 };
|
||||
TileObjectData.newTile.AnchorBottom = AnchorData.Empty;
|
||||
TileObjectData.newTile.AnchorLeft = new AnchorData(AnchorType.SolidTile, 2, 0);
|
||||
TileObjectData.newTile.DrawXOffset = -2;
|
||||
|
||||
TileObjectData.newTile.AnchorLeft = new AnchorData(AnchorType.SolidTile, 3, 0);
|
||||
TileObjectData.newTile.DrawXOffset = 2;
|
||||
TileObjectData.addTile(Type);
|
||||
|
||||
DustType = 253;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
@@ -22,14 +20,7 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
|
||||
TileID.Sets.ReplaceTileBreakUp[Type] = true;
|
||||
TileID.Sets.SwaysInWindBasic[Type] = true;
|
||||
|
||||
TileObjectData.newTile.Width = 2;
|
||||
TileObjectData.newTile.Height = 2;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16 };
|
||||
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
||||
TileObjectData.newTile.CoordinateWidth = 16;
|
||||
TileObjectData.newTile.CoordinatePadding = 2;
|
||||
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
|
||||
TileObjectData.newTile.StyleHorizontal = true;
|
||||
TileObjectData.newTile.StyleWrapLimit = 4;
|
||||
TileObjectData.newTile.RandomStyleRange = 4;
|
||||
|
||||
Reference in new issue
Block a user