Definition at line 84664 of file NPC.cs.
84665 {
84670 {
84672 {
84675 {
84676 tile = Main.tile[i,
j];
84677 if (!tile.active())
84678 {
84679 tile = Main.tile[i,
j];
84680 tile.type = (ushort)(
WorldGen.crimson ? 347
u : 140
u);
84681 tile = Main.tile[i,
j];
84683 }
84684 }
84685 tile = Main.tile[i,
j];
84686 tile.lava(lava:
false);
84687 tile = Main.tile[i,
j];
84688 tile.liquid = 0;
84689 if (Main.netMode == 2)
84690 {
84691 NetMessage.SendTileSquare(-1, i,
j);
84692 }
84693 else
84694 {
84696 }
84697 }
84698 }
84699 }
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
int height
The height of this Entity's hitbox, in pixels.
References Terraria.Entity.active, Terraria.Tile.active(), Terraria.WorldGen.crimson, Terraria.Entity.height, Terraria.Tile.lava(), Terraria.Main.netMode, Terraria.Entity.position, Terraria.NetMessage.SendTileSquare(), Terraria.WorldGen.SquareTileFrame(), Terraria.Main.tile, and Terraria.Entity.width.
Referenced by Terraria.NPC.DoDeathEvents().