19341 {
19342 ushort num = 151;
19343 if (Main.tile[i,
j].type == 151 || Main.tile[i,
j].wall == 151)
19344 {
19345 return false;
19346 }
19352 {
19354 {
19355 Main.tile[
l,
k].type = num;
19356 Main.tile[
l,
k].active(active:
true);
19357 Main.tile[
l,
k].halfBrick(halfBrick:
false);
19358 Main.tile[
l,
k].slope(0);
19359 }
19361 }
19363 {
19364 for (
int n =
j - 1;
n <=
num5 + 1;
n++)
19365 {
19366 bool flag = true;
19368 {
19370 {
19371 if (Main.tile[
num6,
num7].type != num)
19372 {
19373 flag = false;
19374 }
19375 }
19376 }
19377 if (flag)
19378 {
19379 Main.tile[
m,
n].wall = 34;
19381 }
19382 }
19383 }
19386 {
19388 }
19395 {
19397 bool flag3 =
false;
19399 {
19402 {
19404 }
19406 {
19411 }
19413 {
19418 }
19419 }
19421 }
19424 bool flag5 =
false;
19427 {
19429 {
19432 }
19437 {
19439 }
19441 {
19442 bool flag6 =
false;
19444 {
19452 {
19454 {
19456 {
19458 {
19460 }
19461 }
19463 {
19465 {
19467 }
19468 }
19469 else
19470 {
19472 }
19473 }
19476 }
19481 {
19484 }
19487 {
19489 }
19490 if (Main.tenthAnniversaryWorld &&
num25 == 0)
19491 {
19493 }
19495 {
19496 case 0:
19498 break;
19499 case 1:
19501 break;
19502 case 2:
19504 break;
19505 }
19509 {
19513 }
19519 {
19521 }
19522 }
19524 {
19528 }
19530 {
19532 }
19533 else
19534 {
19537 }
19538 }
19540 {
19542 }
19543 }
19550 {
19552 }
19555 {
19560 {
19563 {
19565 }
19566 else
19567 {
19572 }
19574 {
19576 }
19577 }
19581 {
19584 {
19586 {
19588 }
19589 }
19590 }
19592 {
19595 }
19597 {
19599 }
19600 }
19601 return true;
19602 }
static bool PlaceSmallPile(int i, int j, int X, int Y, ushort type=185)
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)
static UnifiedRandom genRand
static void SquareWallFrame(int i, int j, bool resetFrame=true)
static bool AddBuriedChest(Point point, int contain=0, bool notNearOtherChests=false, int Style=-1)
static bool PlacePot(int x, int y, ushort type=28, int style=0)