47374 {
47376 {
47377 return;
47378 }
47382 num = Main.tile[i,
j].frameX / 18;
47385 {
47388 }
47391 int num6 = Main.tile[i,
j].frameY % 80 / 18;
47393 {
47395 }
47399 {
47401 {
47402 if (Main.tile[
k,
l] ==
null)
47403 {
47404 Main.tile[
k,
l] =
default(
Tile);
47405 }
47406 if (!Main.tile[
k,
l].active() || Main.tile[
k,
l].type != type || Main.tile[
k,
l].frameX != (
k -
num4) * 18 +
num5 || Main.tile[
k,
l].frameY != (
l -
num2) * 18)
47407 {
47409 }
47410 }
47411 }
47413 {
47414 if (Main.tile[
m,
num2 + 5] ==
null)
47415 {
47416 Main.tile[
m,
num2 + 5] =
default(
Tile);
47417 }
47419 {
47421 break;
47422 }
47423 }
47425 {
47426 return;
47427 }
47431 {
47433 {
47434 if (Main.tile[
n,
num7].type == type && Main.tile[
n,
num7].active())
47435 {
47437 }
47438 }
47439 }
47440 using (
new Item.DisableNewItemMethod(!
drop))
47441 {
47442 switch (type)
47443 {
47444 case 547:
47446 break;
47447 case 623:
47449 break;
47450 }
47453 {
47455 {
47457 }
47458 }
47459 }
47460 }
static bool Drop(int i, int j, int type, bool includeLargeObjectDrops=true)
This serves as the central class from which tile-related functions are supported and carried out.
static bool destroyObject
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static void TileFrame(int i, int j, bool resetFrame=false, bool noBreak=false)
static bool SolidTileAllowBottomSlope(int i, int j)
static IEntitySource GetItemSource_FromTileBreak(int x, int y)