public override void SetDefaults() { Main.tileLavaDeath[Type] = true; TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidWithTop | AnchorType.SolidTile, 3, 0); TileObjectData.newTile.Origin = new Point16(0, 4); QuickBlock.QuickSetFurniture(this, 3, 4, dust, SoundID.Dig, false, color, true); adjTiles = new int[] { TileID.Bookcases }; }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidWithTop | AnchorType.SolidTile, 3, 0); QuickBlock.QuickSetFurniture(this, 3, 2, dust, SoundID.Dig, false, color, true); adjTiles = new int[] { TileID.Tables }; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; Main.tileLighted[Type] = true; TileObjectData.newTile.AnchorTop = new AnchorData(AnchorType.SolidTile, 3, 0); QuickBlock.QuickSetFurniture(this, 3, 3, dust, SoundID.Dig, false, color, Origin: new Point16(1, 1)); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); adjTiles = new int[] { TileID.Chandeliers }; }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidWithTop | AnchorType.SolidTile, 2, 0); TileObjectData.newTile.Origin = new Point16(0, 5); QuickBlock.QuickSetFurniture(this, 2, 5, dust, SoundID.Dig, false, color); TileID.Sets.HasOutlines[Type] = true; disableSmartCursor = true; adjTiles = new int[] { TileID.GrandfatherClocks }; }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; TileObjectData.newTile.CopyFrom(TileObjectData.Style4x2); TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidWithTop | AnchorType.SolidTile, 4, 0); QuickBlock.QuickSetFurniture(this, 4, 2, dust, SoundID.Dig, false, color); TileID.Sets.HasOutlines[Type] = true; disableSmartCursor = true; adjTiles = new int[] { TileID.Beds }; bed = true; }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; TileObjectData.newTile.CopyFrom(TileObjectData.Style2xX); TileObjectData.newTile.AnchorTop = new AnchorData(AnchorType.SolidTile, 1, 0); TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile, 1, 0); TileObjectData.newTile.LavaDeath = true; TileObjectData.newTile.StyleHorizontal = true; TileObjectData.newTile.StyleMultiplier = 2; TileObjectData.newTile.StyleWrapLimit = 2; TileObjectData.newTile.Direction = TileObjectDirection.PlaceRight; TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Origin = new Point16(0, 1); TileObjectData.addAlternate(0); TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Origin = new Point16(0, 2); TileObjectData.addAlternate(0); TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Origin = new Point16(1, 0); TileObjectData.newAlternate.AnchorTop = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.AnchorBottom = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.Direction = TileObjectDirection.PlaceLeft; TileObjectData.addAlternate(1); TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Origin = new Point16(1, 1); TileObjectData.newAlternate.AnchorTop = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.AnchorBottom = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.Direction = TileObjectDirection.PlaceLeft; TileObjectData.addAlternate(1); TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Origin = new Point16(1, 2); TileObjectData.newAlternate.AnchorTop = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.AnchorBottom = new AnchorData(AnchorType.SolidTile, 1, 1); TileObjectData.newAlternate.Direction = TileObjectDirection.PlaceLeft; TileObjectData.addAlternate(1); QuickBlock.QuickSetFurniture(this, 2, 3, dust, SoundID.Dig, false, color, Origin: new Point16(0, 0)); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); TileID.Sets.HousingWalls[Type] = true; TileID.Sets.HasOutlines[Type] = true; disableSmartCursor = true; adjTiles = new int[] { TileID.OpenDoor }; closeDoorID = mod.TileType(name.Replace("Open", "Closed")); }
public override void SetDefaults() { Main.tileLavaDeath[Type] = true; Main.tileNoAttach[Type] = true; TileObjectData.newTile.CopyFrom(TileObjectData.Style1x2); TileObjectData.newTile.CoordinateHeights = new[] { 16, 18 }; TileObjectData.newTile.Direction = TileObjectDirection.PlaceLeft; TileObjectData.newTile.StyleHorizontal = true; TileObjectData.newAlternate.CopyFrom(TileObjectData.newTile); TileObjectData.newAlternate.Direction = TileObjectDirection.PlaceRight; TileObjectData.addAlternate(1); TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidWithTop | AnchorType.SolidTile, 1, 0); QuickBlock.QuickSetFurniture(this, 1, 2, dust, SoundID.Dig, false, color); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsChair); adjTiles = new int[] { TileID.Chairs }; }