11164 {
11165
11166
11167
11168
11169
11179 bool flag2 =
false;
11180 bool flag3 =
false;
11181 bool flag4 =
false;
11182 bool flag5 =
false;
11183 bool flag6 =
false;
11184 bool flag7 =
false;
11185 bool flag8 =
false;
11186 bool flag9 =
false;
11190 {
11191 Rectangle
rectangle =
default(Rectangle);
11194 Rectangle value = default(Rectangle);
11195 for (int i = 0; i < 200; i++)
11196 {
11197 if (!
npc[i].active)
11198 {
11199 continue;
11200 }
11203 switch (
npc[i].type)
11204 {
11205 case 13:
11206 case 14:
11207 case 15:
11209 break;
11210 case 26:
11211 case 27:
11212 case 28:
11213 case 29:
11214 case 111:
11215 case 471:
11217 break;
11218 case 113:
11219 case 114:
11221 break;
11222 case 125:
11223 case 126:
11225 break;
11226 case 127:
11227 case 134:
11229 break;
11230 case 143:
11231 case 144:
11232 case 145:
11234 break;
11235 case 266:
11237 break;
11238 case 212:
11239 case 213:
11240 case 214:
11241 case 215:
11242 case 216:
11243 case 491:
11245 break;
11246 case 245:
11248 break;
11249 case 222:
11251 break;
11252 case 262:
11253 case 263:
11254 case 264:
11256 break;
11257 case 381:
11258 case 382:
11259 case 383:
11260 case 385:
11261 case 386:
11262 case 388:
11263 case 389:
11264 case 390:
11265 case 391:
11266 case 395:
11267 case 520:
11269 break;
11270 case 398:
11272 break;
11273 case 422:
11274 case 493:
11275 case 507:
11276 case 517:
11278 break;
11279 case 439:
11281 break;
11282 case 438:
11283 if (
npc[i].ai[1] == 1
f)
11284 {
11287 }
11288 break;
11289 case 657:
11291 break;
11292 case 636:
11294 break;
11295 case 370:
11297 break;
11298 case 668:
11300 break;
11301 }
11303 {
11305 }
11307 {
11309 }
11310 if (
num2 == 0 &&
npc[i].boss)
11311 {
11313 }
11315 {
11316 continue;
11317 }
11318 ((Rectangle)(
ref value)).
_002Ector((
int)(
npc[i].position.X + (float)(
npc[i].width / 2)) -
num, (
int)(
npc[i].position.Y + (float)(
npc[i].height / 2)) -
num,
num * 2,
num * 2);
11320 {
11322 {
11325 }
11327 {
11328 case 1:
11330 break;
11331 case 2:
11333 break;
11334 case 3:
11336 break;
11337 case 4:
11339 break;
11340 case 5:
11342 break;
11343 case 6:
11345 break;
11346 case 7:
11348 break;
11349 case 8:
11351 break;
11352 case 9:
11354 break;
11355 case 10:
11357 break;
11358 case 11:
11360 break;
11361 case 12:
11363 break;
11364 case 13:
11366 break;
11367 case 14:
11369 break;
11370 case 15:
11372 break;
11373 case 16:
11375 break;
11376 case 17:
11378 break;
11379 }
11380 }
11381 }
11383 }
11386 {
11388 return;
11389 }
11394 {
11396 }
11398 {
11400 }
11402 {
11404 }
11406 {
11408 }
11410 {
11412 }
11414 {
11416 }
11418 {
11420 }
11422 {
11424 }
11426 {
11428 }
11430 {
11432 }
11434 {
11436 }
11438 {
11440 }
11442 {
11444 }
11446 {
11448 }
11450 {
11452 }
11454 {
11456 }
11458 {
11460 }
11462 {
11464 }
11466 {
11468 }
11470 {
11472 }
11474 {
11476 }
11478 {
11480 }
11482 {
11484 }
11486 {
11488 }
11490 {
11492 }
11494 {
11496 }
11498 {
11500 }
11502 {
11504 }
11506 {
11508 }
11510 {
11512 }
11514 {
11516 }
11517 else if (
num4 < 1
f)
11518 {
11520 }
11522 {
11524 }
11526 {
11528 }
11530 {
11532 }
11534 {
11536 }
11538 {
11540 {
11542 {
11544 }
11545 else
11546 {
11548 }
11549 }
11551 {
11553 }
11554 else
11555 {
11557 }
11558 }
11560 {
11562 {
11564 }
11565 else
11566 {
11568 }
11569 }
11571 {
11573 }
11575 {
11577 }
11579 {
11581 }
11583 {
11585 {
11587 }
11588 else
11589 {
11591 }
11592 }
11594 {
11596 {
11598 {
11600 {
11602 }
11603 else
11604 {
11606 }
11607 }
11608 else
11609 {
11611 }
11612 }
11614 {
11616 }
11617 else
11618 {
11620 }
11621 }
11623 {
11625 }
11627 {
11629 {
11631 {
11633 }
11635 {
11637 }
11639 {
11641 }
11643 {
11645 }
11646 else
11647 {
11649 }
11650 }
11652 {
11654 }
11656 {
11658 }
11659 else
11660 {
11662 }
11663 }
11665 {
11667 {
11669 }
11670 else
11671 {
11673 }
11674 }
11676 {
11678 {
11680 }
11681 else
11682 {
11684 }
11685 }
11687 {
11689 {
11691 }
11692 else
11693 {
11695 }
11696 }
11698 {
11700 }
11702 {
11704 }
11706 {
11708 {
11710 }
11711 else
11712 {
11714 }
11715 }
11717 {
11719 {
11721 }
11723 {
11725 }
11726 else
11727 {
11729 }
11730 }
11732 {
11734 }
11736 {
11738 }
11739 }
static bool IsEventOngoing
static bool[] BelongsToInvasionOldOnesArmy
If true for a given NPC type (F:Terraria.NPC.type), then that NPC belongs to the Old One's Army event...
static SceneMetrics SceneMetrics
static double worldSurface
The y-coordinate of the top of the dirt layer, in tile coordinates. Corresponds to 0' on the Depth Me...
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
static double rockLayer
The y-coordinate of the top of the caverns layer, in tile coordinates.
static bool _shouldUseStormMusic
static Vector2 screenPosition
The position of the top left corner of the screen in world coordinates. Modify in M:Terraria....
static int undergroundBackground
static int maxTilesX
The width of the currently-loaded world in tiles.
static int UnderworldLayer
The y-coordinate of the top of the underworld, in tile coordinates.
int Music
The ID of the music that plays when this NPC is on or near the screen. Defaults to -1,...
This class serves as a place for you to place all your properties and hooks for each NPC....
This serves as the central class from which SceneEffect functions are supported and carried out.
SceneEffectPriority
This enum dictates from low to high which SceneEffect selections take priority. Setting appropriate p...