3379 {
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3396 {
3397 spawnparams.gameModeData = Main.GameModeInfo;
3398 }
3399 if (Main.getGoodWorld &&
spawnparams.sizeScaleOverride.HasValue)
3400 {
3401 spawnparams.sizeScaleOverride = (spawnparams.sizeScaleOverride + spawnparams.sizeScaleOverride *
spawnparams.sizeScaleOverride) / 2
f;
3402 }
3403 if (Type < 0)
3404 {
3406 return;
3407 }
3425 {
3427 }
3441 {
3444 }
3448 if (Type >= 0)
3449 {
3451 }
3453 {
3456 }
3458 {
3462 }
3464 {
3467 }
3469 {
3471 }
3473 {
3475 }
3522 color =
default(Color);
3562 {
3564 }
3566 {
3568 }
3570 {
3580 color =
new Color(0, 80, 255, 100);
3582 }
3584 {
3595 }
3597 {
3608 }
3609 else if (
type == 430)
3610 {
3621 }
3622 else if (
type == 431)
3623 {
3634 }
3635 else if (
type == 432)
3636 {
3647 }
3648 else if (
type == 433)
3649 {
3660 }
3661 else if (
type == 434)
3662 {
3673 }
3674 else if (
type == 435)
3675 {
3686 }
3687 else if (
type == 436)
3688 {
3699 }
3701 {
3717 }
3719 {
3730 }
3732 {
3745 if (Main.remixWorld)
3746 {
3752 }
3753 else if (Main.getGoodWorld)
3754 {
3756 }
3757 }
3759 {
3775 if (Main.remixWorld)
3776 {
3782 }
3783 }
3785 {
3801 if (Main.remixWorld)
3802 {
3808 }
3809 }
3811 {
3827 if (Main.remixWorld)
3828 {
3834 }
3835 }
3836 else if (
type == 10)
3837 {
3852 }
3853 else if (
type == 11)
3854 {
3870 }
3871 else if (
type == 12)
3872 {
3888 }
3889 else if (
type == 13)
3890 {
3908 }
3909 else if (
type == 14)
3910 {
3928 }
3929 else if (
type == 15)
3930 {
3948 }
3949 else if (
type == 16)
3950 {
3961 color =
new Color(0, 0, 0, 50);
3965 }
3966 else if (
type == 17)
3967 {
3979 }
3980 else if (
type == 18)
3981 {
3993 }
3994 else if (
type == 19)
3995 {
4007 }
4008 else if (
type == 20)
4009 {
4021 }
4022 else if (
type == 21)
4023 {
4034 }
4035 else if (
type == 22)
4036 {
4048 }
4049 else if (
type == 23)
4050 {
4063 }
4064 else if (
type == 24)
4065 {
4078 }
4079 else if (
type == 25)
4080 {
4093 }
4094 else if (
type == 31)
4095 {
4106 }
4107 else if (
type == 32)
4108 {
4120 }
4121 else if (
type == 33)
4122 {
4135 }
4136 else if (
type == 34)
4137 {
4151 }
4152 else if (
type == 35)
4153 {
4168 }
4169 else if (
type == 36)
4170 {
4182 }
4183 else if (
type == 37)
4184 {
4196 }
4197 else if (
type == 38)
4198 {
4210 }
4211 else if (
type == 39)
4212 {
4228 if (Main.getGoodWorld)
4229 {
4234 if (Main.remixWorld)
4235 {
4239 }
4240 }
4241 }
4242 else if (
type == 40)
4243 {
4259 if (Main.getGoodWorld)
4260 {
4265 if (Main.remixWorld)
4266 {
4270 }
4271 }
4272 }
4273 else if (
type == 41)
4274 {
4290 if (Main.getGoodWorld)
4291 {
4296 if (Main.remixWorld)
4297 {
4301 }
4302 }
4303 }
4304 else if (
type == 42)
4305 {
4317 }
4318 else if (
type == 43)
4319 {
4332 }
4333 else if (
type == 44)
4334 {
4346 }
4347 else if (
type == 45)
4348 {
4360 }
4362 {
4372 }
4373 else if (
type == 47)
4374 {
4384 }
4385 else if (
type == 48)
4386 {
4397 }
4398 else if (
type == 49)
4399 {
4411 }
4412 else if (
type == 50)
4413 {
4429 }
4430 else if (
type == 51)
4431 {
4443 }
4444 else if (
type == 52)
4445 {
4457 }
4458 else if (
type == 53)
4459 {
4471 }
4472 else if (
type == 54)
4473 {
4485 }
4486 else if (
type == 55)
4487 {
4499 }
4500 else if (
type == 56)
4501 {
4514 }
4515 else if (
type == 57)
4516 {
4527 }
4528 else if (
type == 58)
4529 {
4541 }
4542 else if (
type == 59)
4543 {
4556 if (Main.remixWorld)
4557 {
4562 }
4563 }
4564 else if (
type == 60)
4565 {
4579 }
4580 else if (
type == 61)
4581 {
4592 }
4593 else if (
type == 62)
4594 {
4607 }
4608 else if (
type == 63)
4609 {
4621 }
4622 else if (
type == 64)
4623 {
4635 }
4636 else if (
type == 65)
4637 {
4649 }
4650 else if (
type == 66)
4651 {
4665 }
4666 else if (
type == 67)
4667 {
4677 }
4678 else if (
type == 68)
4679 {
4691 }
4692 else if (
type == 69)
4693 {
4705 }
4706 else if (
type == 70)
4707 {
4722 }
4723 else if (
type == 71)
4724 {
4739 }
4740 else if (
type == 72)
4741 {
4757 }
4758 else if (
type == 73)
4759 {
4772 }
4774 {
4785 {
4787 }
4789 {
4791 }
4793 {
4795 }
4797 }
4798 else if (
type == 75)
4799 {
4811 }
4812 else if (
type == 77)
4813 {
4824 }
4825 else if (
type == 78)
4826 {
4837 }
4838 else if (
type == 79)
4839 {
4850 }
4851 else if (
type == 80)
4852 {
4863 }
4864 else if (
type == 81)
4865 {
4877 }
4878 else if (
type == 82)
4879 {
4893 if (Main.remixWorld)
4894 {
4900 }
4901 }
4902 else if (
type == 83)
4903 {
4914 }
4915 else if (
type == 84)
4916 {
4927 }
4928 else if (
type == 85)
4929 {
4941 if (Main.remixWorld && !Main.hardMode)
4942 {
4946 value = Item.buyPrice(0, 2);
4947 }
4948 }
4949 else if (
type == 86)
4950 {
4961 }
4962 else if (
type == 87)
4963 {
4979 }
4980 else if (
type == 88)
4981 {
4997 }
4998 else if (
type == 89)
4999 {
5015 }
5016 else if (
type == 90)
5017 {
5033 }
5034 else if (
type == 91)
5035 {
5051 }
5052 else if (
type == 92)
5053 {
5069 }
5070 else if (
type == 93)
5071 {
5083 }
5084 else if (
type == 94)
5085 {
5098 }
5099 else if (
type == 95)
5100 {
5116 }
5117 else if (
type == 96)
5118 {
5135 }
5136 else if (
type == 97)
5137 {
5154 }
5155 else if (
type == 98)
5156 {
5172 }
5173 else if (
type == 99)
5174 {
5190 }
5191 else if (
type == 100)
5192 {
5208 }
5209 else if (
type == 101)
5210 {
5224 }
5225 else if (
type == 102)
5226 {
5238 }
5239 else if (
type == 103)
5240 {
5252 }
5253 else if (
type == 104)
5254 {
5265 }
5266 else if (
type == 105)
5267 {
5279 }
5280 else if (
type == 106)
5281 {
5293 }
5294 else if (
type == 107)
5295 {
5307 }
5308 else if (
type == 108)
5309 {
5321 }
5322 else if (
type == 109)
5323 {
5335 }
5336 else if (
type == 110)
5337 {
5348 }
5349 else if (
type == 112)
5350 {
5364 }
5365 else if (
type == 113)
5366 {
5383 }
5384 else if (
type == 114)
5385 {
5400 }
5401 else if (
type == 115)
5402 {
5415 }
5416 else if (
type == 116)
5417 {
5427 }
5428 else if (
type == 117)
5429 {
5443 }
5444 else if (
type == 118)
5445 {
5453 if (Main.getGoodWorld)
5454 {
5458 }
5465 }
5466 else if (
type == 119)
5467 {
5481 }
5482 else if (
type == 120)
5483 {
5494 }
5495 else if (
type == 121)
5496 {
5507 }
5508 else if (
type == 122)
5509 {
5521 }
5522 else if (
type == 123)
5523 {
5536 }
5537 else if (
type == 124)
5538 {
5550 }
5551 else if (
type == 125)
5552 {
5568 }
5569 else if (
type == 126)
5570 {
5586 }
5587 else if (
type == 127)
5588 {
5603 }
5604 else if (
type == 128)
5605 {
5618 }
5619 else if (
type == 129)
5620 {
5633 }
5634 else if (
type == 130)
5635 {
5648 }
5649 else if (
type == 131)
5650 {
5663 }
5664 else if (
type == 132)
5665 {
5676 }
5677 else if (
type == 133)
5678 {
5689 }
5690 else if (
type == 134)
5691 {
5710 }
5711 else if (
type == 135)
5712 {
5730 }
5731 else if (
type == 136)
5732 {
5750 }
5751 else if (
type == 139)
5752 {
5765 }
5766 else if (
type == 137)
5767 {
5778 }
5779 else if (
type == 138)
5780 {
5793 }
5794 else if (
type == 140)
5795 {
5806 }
5807 else if (
type == 141)
5808 {
5821 }
5822 else if (
type == 142)
5823 {
5835 }
5836 else if (
type == 143)
5837 {
5849 }
5850 else if (
type == 144)
5851 {
5863 }
5864 else if (
type == 145)
5865 {
5877 }
5878 else if (
type == 147)
5879 {
5891 }
5892 else if (
type == 148)
5893 {
5903 }
5904 else if (
type == 149)
5905 {
5915 }
5916 else if (
type == 150)
5917 {
5930 }
5931 else if (
type == 151)
5932 {
5946 }
5947 else if (
type == 152)
5948 {
5960 }
5961 else if (
type == 153)
5962 {
5975 }
5976 else if (
type == 154)
5977 {
5991 }
5992 else if (
type == 155)
5993 {
6004 }
6005 else if (
type == 156)
6006 {
6019 }
6020 else if (
type == 157)
6021 {
6033 }
6034 else if (
type == 160)
6035 {
6047 }
6048 else if (
type == 161)
6049 {
6060 }
6061 else if (
type == 163)
6062 {
6075 }
6076 else if (
type == 238)
6077 {
6091 }
6092 else if (
type == 164)
6093 {
6106 }
6107 else if (
type == 165)
6108 {
6122 }
6123 else if (
type == 167)
6124 {
6135 }
6136 else if (
type == 168)
6137 {
6147 }
6148 else if (
type == 169)
6149 {
6162 }
6163 else if (
type == 170)
6164 {
6175 }
6176 else if (
type == 171)
6177 {
6188 }
6189 else if (
type == 172)
6190 {
6202 }
6203 else if (
type == 173)
6204 {
6217 if (Main.remixWorld)
6218 {
6224 }
6225 }
6226 else if (
type == 174)
6227 {
6239 }
6240 else if (
type == 175)
6241 {
6254 }
6255 else if (
type == 176)
6256 {
6269 }
6270 else if (
type == 177)
6271 {
6283 }
6284 else if (
type == 178)
6285 {
6297 }
6298 else if (
type == 179)
6299 {
6310 }
6311 else if (
type == 180)
6312 {
6323 }
6324 else if (
type == 181)
6325 {
6336 if (Main.remixWorld)
6337 {
6343 }
6344 }
6345 else if (
type == 182)
6346 {
6360 }
6361 else if (
type == 183)
6362 {
6374 }
6375 else if (
type == 184)
6376 {
6389 }
6390 else if (
type == 185)
6391 {
6403 }
6404 else if (
type == 186)
6405 {
6416 }
6417 else if (
type == 187)
6418 {
6429 }
6430 else if (
type == 188)
6431 {
6442 }
6443 else if (
type == 189)
6444 {
6455 }
6456 else if (
type == 190)
6457 {
6468 }
6469 else if (
type == 191)
6470 {
6481 }
6482 else if (
type == 192)
6483 {
6494 }
6495 else if (
type == 193)
6496 {
6507 }
6508 else if (
type == 194)
6509 {
6520 }
6521 else if (
type == 195)
6522 {
6533 value = Item.buyPrice(0, 2);
6534 }
6535 else if (
type == 196)
6536 {
6546 value = Item.buyPrice(0, 2);
6548 }
6549 else if (
type == 197)
6550 {
6561 }
6562 else if (
type == 198)
6563 {
6574 }
6575 else if (
type == 199)
6576 {
6587 }
6588 else if (
type == 200)
6589 {
6600 }
6601 else if (
type == 201)
6602 {
6613 }
6614 else if (
type == 202)
6615 {
6626 }
6627 else if (
type == 203)
6628 {
6639 }
6640 else if (
type == 204)
6641 {
6653 }
6654 else if (
type == 205)
6655 {
6668 }
6669 else if (
type == 206)
6670 {
6682 }
6683 else if (
type == 207)
6684 {
6696 }
6697 else if (
type == 208)
6698 {
6710 }
6711 else if (
type == 209)
6712 {
6724 }
6725 else if (
type == 210)
6726 {
6737 }
6738 else if (
type == 211)
6739 {
6750 }
6751 else if (
type == 212)
6752 {
6763 }
6764 else if (
type == 213)
6765 {
6776 }
6777 else if (
type == 214)
6778 {
6789 }
6790 else if (
type == 215)
6791 {
6802 }
6803 else if (
type == 216)
6804 {
6816 }
6817 else if (
type == 217)
6818 {
6829 }
6830 else if (
type == 218)
6831 {
6842 }
6843 else if (
type == 219)
6844 {
6855 }
6856 else if (
type == 220)
6857 {
6868 }
6869 else if (
type == 221)
6870 {
6883 }
6884 else if (
type == 222)
6885 {
6901 }
6902 else if (
type == 223)
6903 {
6914 }
6915 else if (
type == 224)
6916 {
6927 }
6929 {
6940 }
6941 else if (
type == 226)
6942 {
6954 }
6955 else if (
type == 227)
6956 {
6968 }
6969 else if (
type == 228)
6970 {
6982 }
6983 else if (
type == 229)
6984 {
6996 }
6997 else if (
type == 230)
6998 {
7008 }
7009 else if (
type == 231)
7010 {
7022 }
7023 else if (
type == 232)
7024 {
7036 }
7037 else if (
type == 233)
7038 {
7050 }
7051 else if (
type == 234)
7052 {
7064 }
7065 else if (
type == 235)
7066 {
7078 }
7079 else if (
type == 236)
7080 {
7093 }
7094 else if (
type == 237)
7095 {
7109 }
7110 else if (
type == 239)
7111 {
7123 }
7124 else if (
type == 240)
7125 {
7138 }
7139 else if (
type == 241)
7140 {
7152 }
7153 else if (
type == 242)
7154 {
7166 }
7167 else if (
type == 243)
7168 {
7178 value = Item.buyPrice(0, 1, 50);
7181 }
7182 else if (
type == 244)
7183 {
7193 value = Item.buyPrice(0, 0, 20);
7196 }
7197 else if (
type == 245)
7198 {
7208 value = Item.buyPrice(0, 15);
7212 }
7213 else if (
type == 246)
7214 {
7226 }
7227 else if (
type == 247 ||
type == 248)
7228 {
7240 }
7241 else if (
type == 249)
7242 {
7254 }
7255 else if (
type == 250)
7256 {
7267 }
7268 else if (
type == 251)
7269 {
7279 value = Item.buyPrice(0, 0, 50);
7281 }
7282 else if (
type == 252)
7283 {
7296 }
7297 else if (
type == 254)
7298 {
7309 }
7310 else if (
type == 255)
7311 {
7322 }
7323 else if (
type == 256)
7324 {
7337 }
7338 else if (
type == 257)
7339 {
7351 }
7352 else if (
type == 258)
7353 {
7365 }
7366 else if (
type == 259)
7367 {
7381 }
7382 else if (
type == 260)
7383 {
7397 }
7398 else if (
type == 261)
7399 {
7412 }
7413 else if (
type == 262)
7414 {
7425 value = Item.buyPrice(0, 15);
7429 }
7430 else if (
type == 263)
7431 {
7443 }
7444 else if (
type == 264)
7445 {
7456 }
7457 else if (
type == 265)
7458 {
7471 }
7472 else if (
type == 266)
7473 {
7490 }
7491 else if (
type == 267)
7492 {
7504 }
7505 else if (
type == 268)
7506 {
7518 }
7519 else if (
type == 269)
7520 {
7531 }
7532 else if (
type == 270)
7533 {
7544 }
7545 else if (
type == 271)
7546 {
7557 }
7558 else if (
type == 272)
7559 {
7570 }
7571 else if (
type == 273)
7572 {
7583 }
7584 else if (
type == 274)
7585 {
7596 }
7597 else if (
type == 275)
7598 {
7609 }
7610 else if (
type == 276)
7611 {
7622 }
7623 else if (
type == 277)
7624 {
7635 }
7636 else if (
type == 278)
7637 {
7648 }
7649 else if (
type == 279)
7650 {
7661 }
7662 else if (
type == 280)
7663 {
7674 }
7675 else if (
type == 281)
7676 {
7688 }
7689 else if (
type == 282)
7690 {
7702 }
7703 else if (
type == 283)
7704 {
7716 }
7717 else if (
type == 284)
7718 {
7730 }
7731 else if (
type == 285)
7732 {
7744 }
7745 else if (
type == 286)
7746 {
7758 }
7759 else if (
type == 287)
7760 {
7772 }
7773 else if (
type == 288)
7774 {
7787 }
7788 else if (
type == 289)
7789 {
7803 }
7804 else if (
type == 290)
7805 {
7817 }
7818 else if (
type == 291)
7819 {
7831 }
7832 else if (
type == 292)
7833 {
7845 }
7846 else if (
type == 293)
7847 {
7859 }
7860 else if (
type == 294)
7861 {
7872 }
7873 else if (
type == 295)
7874 {
7885 }
7886 else if (
type == 296)
7887 {
7898 }
7899 else if (
type == 299)
7900 {
7910 }
7911 else if (
type == 300)
7912 {
7923 }
7924 else if (
type == 301)
7925 {
7936 }
7938 {
7948 }
7949 else if (
type == 304)
7950 {
7963 }
7964 else if (
type >= 305 &&
type <= 314)
7965 {
7974 {
7979 }
7980 else if (
type == 306 ||
type == 311)
7981 {
7987 }
7988 else if (
type == 307 ||
type == 312)
7989 {
7995 }
7996 else if (
type == 308 ||
type == 313)
7997 {
8003 }
8004 else if (
type == 309 ||
type == 314)
8005 {
8011 }
8012 }
8013 else if (
type == 315)
8014 {
8025 }
8026 else if (
type == 316)
8027 {
8041 }
8042 else if (
type == 317)
8043 {
8054 }
8055 else if (
type == 318)
8056 {
8067 }
8068 else if (
type == 319)
8069 {
8081 }
8082 else if (
type == 320)
8083 {
8095 }
8096 else if (
type == 321)
8097 {
8109 }
8110 else if (
type == 322)
8111 {
8122 }
8123 else if (
type == 323)
8124 {
8135 }
8136 else if (
type == 324)
8137 {
8149 }
8150 else if (
type == 325)
8151 {
8163 }
8164 else if (
type == 326)
8165 {
8176 }
8177 else if (
type == 327)
8178 {
8192 }
8193 else if (
type == 328)
8194 {
8209 }
8210 else if (
type == 329)
8211 {
8222 }
8223 else if (
type == 330)
8224 {
8238 }
8239 else if (
type == 331)
8240 {
8251 }
8252 else if (
type == 332)
8253 {
8264 }
8266 {
8276 }
8278 {
8289 }
8291 {
8302 }
8304 {
8315 }
8316 else if (
type >= 338 &&
type <= 340)
8317 {
8326 {
8331 }
8332 else if (
type == 339)
8333 {
8339 }
8340 else if (
type == 340)
8341 {
8347 }
8348 }
8349 else if (
type == 341)
8350 {
8359 value = Item.buyPrice(0, 0, 20);
8361 }
8362 else if (
type == 342)
8363 {
8374 }
8375 else if (
type == 343)
8376 {
8389 }
8390 else if (
type == 344)
8391 {
8403 }
8404 else if (
type == 345)
8405 {
8420 }
8421 else if (
type == 346)
8422 {
8434 }
8435 else if (
type == 347)
8436 {
8450 }
8451 else if (
type == 348)
8452 {
8464 }
8465 else if (
type == 349)
8466 {
8478 }
8479 else if (
type == 350)
8480 {
8491 }
8492 else if (
type == 351)
8493 {
8505 }
8506 else if (
type == 352)
8507 {
8522 }
8523 else if (
type == 353)
8524 {
8536 }
8537 else if (
type == 354)
8538 {
8551 }
8552 else if (
type == 355)
8553 {
8565 }
8566 else if (
type == 356)
8567 {
8579 }
8580 else if (
type == 357)
8581 {
8592 }
8593 else if (
type == 358)
8594 {
8606 }
8607 else if (
type == 359)
8608 {
8620 }
8621 else if (
type == 360)
8622 {
8634 }
8635 else if (
type == 361)
8636 {
8646 }
8647 else if (
type == 362)
8648 {
8658 }
8659 else if (
type == 363)
8660 {
8670 }
8671 else if (
type == 364)
8672 {
8682 }
8683 else if (
type == 365)
8684 {
8694 }
8695 else if (
type == 366 ||
type == 367)
8696 {
8706 }
8707 else if (
type == 368)
8708 {
8720 }
8721 else if (
type == 369)
8722 {
8734 }
8735 else if (
type == 370)
8736 {
8753 }
8754 else if (
type == 371)
8755 {
8768 }
8769 else if (
type == 372)
8770 {
8782 }
8783 else if (
type == 373)
8784 {
8796 }
8797 else if (
type == 374)
8798 {
8811 }
8812 else if (
type == 375)
8813 {
8830 }
8831 else if (
type == 376)
8832 {
8845 }
8846 else if (
type == 377)
8847 {
8858 }
8859 else if (
type == 378)
8860 {
8872 }
8873 else if (
type >= 379 &&
type <= 380)
8874 {
8889 }
8890 else if (
type >= 381 &&
type <= 382)
8891 {
8902 }
8903 else if (
type == 383)
8904 {
8915 }
8916 else if (
type == 384)
8917 {
8928 }
8929 else if (
type == 385)
8930 {
8942 }
8943 else if (
type == 386)
8944 {
8955 }
8956 else if (
type == 387)
8957 {
8968 }
8969 else if (
type == 388)
8970 {
8985 }
8986 else if (
type == 389)
8987 {
8999 }
9000 else if (
type == 390)
9001 {
9012 }
9013 else if (
type == 391)
9014 {
9026 }
9027 else if (
type == 392)
9028 {
9044 }
9045 else if (
type == 393)
9046 {
9061 }
9062 else if (
type == 394)
9063 {
9078 }
9079 else if (
type == 395)
9080 {
9097 }
9098 else if (
type == 399)
9099 {
9116 }
9117 else if (
type == 396)
9118 {
9135 }
9136 else if (
type == 397)
9137 {
9154 }
9155 else if (
type == 398)
9156 {
9175 }
9176 else if (
type == 400)
9177 {
9193 }
9194 else if (
type == 401)
9195 {
9210 }
9211 else if (
type == 437)
9212 {
9229 }
9230 else if (
type == 438)
9231 {
9246 }
9247 else if (
type == 439)
9248 {
9265 }
9266 else if (
type == 440)
9267 {
9283 }
9284 else if (
type == 442)
9285 {
9298 }
9299 else if (
type == 443)
9300 {
9311 }
9312 else if (
type == 444)
9313 {
9326 }
9327 else if (
type == 445)
9328 {
9339 }
9340 else if (
type == 446)
9341 {
9353 }
9354 else if (
type == 447)
9355 {
9367 }
9368 else if (
type == 448)
9369 {
9381 }
9382 else if (
type == 449)
9383 {
9394 }
9395 else if (
type == 450)
9396 {
9407 }
9408 else if (
type == 451)
9409 {
9420 }
9421 else if (
type == 452)
9422 {
9433 }
9434 else if (
type == 453)
9435 {
9448 }
9449 else if (
type == 454)
9450 {
9467 }
9468 else if (
type == 459)
9469 {
9486 }
9488 {
9505 }
9506 else if (
type == 464)
9507 {
9517 }
9518 else if (
type == 465)
9519 {
9530 }
9531 else if (
type == 470)
9532 {
9542 }
9544 {
9556 }
9557 else if (
type == 480)
9558 {
9570 }
9571 else if (
type == 481)
9572 {
9583 }
9584 else if (
type == 482)
9585 {
9596 }
9597 else if (
type == 483)
9598 {
9610 }
9611 else if (
type >= 484 &&
type <= 487)
9612 {
9623 }
9624 else if (
type == 488)
9625 {
9638 }
9639 else if (
type == 489)
9640 {
9651 }
9652 else if (
type == 490)
9653 {
9665 }
9666 else if (
type == 491)
9667 {
9681 }
9682 else if (
type == 492)
9683 {
9699 }
9700 else if (
type >= 494 &&
type <= 495)
9701 {
9711 }
9712 else if (
type >= 496 &&
type <= 497)
9713 {
9724 }
9725 else if (
type >= 498 &&
type <= 506)
9726 {
9737 }
9738 else if (
type == 441)
9739 {
9751 }
9752 else if (
type == 513)
9753 {
9768 }
9769 else if (
type == 514)
9770 {
9787 }
9788 else if (
type == 515)
9789 {
9806 }
9807 else if (
type == 510)
9808 {
9823 }
9824 else if (
type == 511)
9825 {
9842 }
9843 else if (
type == 512)
9844 {
9861 }
9862 else if (
type == 508)
9863 {
9874 }
9875 else if (
type == 509)
9876 {
9887 }
9888 else if (
type == 580)
9889 {
9901 }
9902 else if (
type == 581)
9903 {
9915 }
9916 else if (
type >= 524 &&
type <= 527)
9917 {
9930 {
9931 case 525:
9937 break;
9938 case 526:
9944 break;
9945 case 527:
9951 break;
9952 }
9953 }
9954 else if (
type >= 528 &&
type <= 529)
9955 {
9966 }
9967 else if (
type == 530)
9968 {
9980 }
9981 else if (
type == 531)
9982 {
9995 }
9996 else if (
type == 532)
9997 {
10009 }
10010 else if (
type == 533)
10011 {
10023 }
10024 else if (
type == 493)
10025 {
10039 }
10040 else if (
type == 402)
10041 {
10057 }
10058 else if (
type == 405)
10059 {
10071 }
10072 else if (
type == 406)
10073 {
10084 }
10085 else if (
type == 411)
10086 {
10096 }
10097 else if (
type == 409)
10098 {
10109 }
10110 else if (
type == 410)
10111 {
10122 }
10123 else if (
type == 407)
10124 {
10136 }
10137 else if (
type == 507)
10138 {
10152 }
10153 else if (
type == 423)
10154 {
10165 }
10166 else if (
type == 421)
10167 {
10179 }
10180 else if (
type == 424)
10181 {
10192 }
10193 else if (
type == 420)
10194 {
10207 }
10208 else if (
type == 422)
10209 {
10223 }
10224 else if (
type == 425)
10225 {
10235 }
10236 else if (
type == 429)
10237 {
10248 }
10249 else if (
type == 428)
10250 {
10259 }
10260 else if (
type == 427)
10261 {
10272 }
10273 else if (
type == 426)
10274 {
10284 }
10285 else if (
type == 517)
10286 {
10300 }
10301 else if (
type == 412)
10302 {
10317 }
10318 else if (
type == 413)
10319 {
10335 }
10336 else if (
type == 414)
10337 {
10353 }
10354 else if (
type == 415)
10355 {
10365 }
10366 else if (
type == 416)
10367 {
10377 }
10378 else if (
type == 518)
10379 {
10389 }
10390 else if (
type == 417)
10391 {
10402 }
10403 else if (
type == 418)
10404 {
10416 }
10417 else if (
type == 419)
10418 {
10428 }
10429 else if (
type == 516)
10430 {
10443 }
10444 else if (
type == 519)
10445 {
10458 }
10459 else if (
type == 162)
10460 {
10471 }
10472 else if (
type == 166)
10473 {
10484 }
10485 else if (
type == 253)
10486 {
10500 }
10501 else if (
type == 158)
10502 {
10514 }
10515 else if (
type == 159)
10516 {
10528 }
10529 else if (
type == 460)
10530 {
10541 }
10542 else if (
type == 461)
10543 {
10554 }
10555 else if (
type == 462)
10556 {
10568 }
10569 else if (
type == 463)
10570 {
10581 }
10582 else if (
type == 466)
10583 {
10594 }
10595 else if (
type == 467)
10596 {
10608 }
10609 else if (
type == 469)
10610 {
10621 }
10622 else if (
type == 468)
10623 {
10634 }
10635 else if (
type == 477)
10636 {
10650 }
10651 else if (
type == 478)
10652 {
10664 }
10665 else if (
type == 479)
10666 {
10678 }
10679 else if (
type == 26)
10680 {
10692 }
10693 else if (
type == 27)
10694 {
10706 }
10707 else if (
type == 28)
10708 {
10720 }
10721 else if (
type == 29)
10722 {
10733 }
10734 else if (
type == 30)
10735 {
10748 }
10749 else if (
type == 111)
10750 {
10762 }
10763 else if (
type == 471)
10764 {
10776 }
10777 else if (
type == 472)
10778 {
10790 }
10791 else if (
type == 520)
10792 {
10802 }
10803 else if (
type == 521)
10804 {
10814 }
10815 else if (
type == 522)
10816 {
10829 }
10830 else if (
type == 523)
10831 {
10847 }
10848 else if (
type == 534)
10849 {
10863 }
10864 else if (
type == 535)
10865 {
10877 }
10878 else if (
type == 536)
10879 {
10891 }
10892 else if (
type == 537)
10893 {
10904 color =
new Color(255, 250, 0, 0) * 0.2f;
10907 }
10908 else if (
type == 538)
10909 {
10919 }
10920 else if (
type == 539)
10921 {
10932 }
10933 else if (
type == 541)
10934 {
10944 value = Item.buyPrice(0, 1, 50);
10946 }
10947 else if (
type == 542)
10948 {
10961 }
10962 else if (
type == 543)
10963 {
10976 }
10977 else if (
type == 544)
10978 {
10991 }
10992 else if (
type == 545)
10993 {
11006 }
11007 else if (
type == 546)
11008 {
11019 }
11020 else if (
type == 547)
11021 {
11032 }
11033 else if (
type == 548)
11034 {
11047 {
11050 }
11052 {
11055 }
11056 if (Main.masterMode)
11057 {
11059 }
11060 else if (Main.expertMode)
11061 {
11063 }
11067 }
11068 else if (
type == 549)
11069 {
11088 }
11089 else if (
type == 552)
11090 {
11105 }
11106 else if (
type == 553)
11107 {
11122 }
11123 else if (
type == 554)
11124 {
11139 }
11140 else if (
type == 561)
11141 {
11156 }
11157 else if (
type == 562)
11158 {
11173 }
11174 else if (
type == 563)
11175 {
11190 }
11191 else if (
type == 555)
11192 {
11207 }
11208 else if (
type == 556)
11209 {
11224 }
11225 else if (
type == 557)
11226 {
11241 }
11242 else if (
type == 558)
11243 {
11259 }
11260 else if (
type == 559)
11261 {
11277 }
11278 else if (
type == 560)
11279 {
11295 }
11296 else if (
type == 550)
11297 {
11309 }
11310 else if (
type == 576)
11311 {
11326 }
11327 else if (
type == 577)
11328 {
11343 }
11344 else if (
type == 568)
11345 {
11360 }
11361 else if (
type == 569)
11362 {
11377 }
11378 else if (
type == 566)
11379 {
11394 }
11395 else if (
type == 567)
11396 {
11411 }
11412 else if (
type == 572)
11413 {
11428 }
11429 else if (
type == 573)
11430 {
11445 }
11446 else if (
type == 570)
11447 {
11462 }
11463 else if (
type == 571)
11464 {
11479 }
11480 else if (
type == 564)
11481 {
11497 }
11498 else if (
type == 565)
11499 {
11515 }
11516 else if (
type == 574)
11517 {
11533 }
11534 else if (
type == 575)
11535 {
11551 }
11552 else if (
type == 551)
11553 {
11570 }
11571 else if (
type == 578)
11572 {
11588 }
11589 else if (
type == 579)
11590 {
11603 }
11604 else if (
type == 582)
11605 {
11617 }
11619 {
11629 {
11630 case 583:
11632 break;
11633 case 584:
11635 break;
11636 case 585:
11638 break;
11639 }
11642 }
11643 else if (
type == 586)
11644 {
11657 }
11658 else if (
type == 587)
11659 {
11672 }
11673 else if (
type == 588)
11674 {
11686 }
11687 else if (
type == 589)
11688 {
11700 }
11701 else if (
type == 590 ||
type == 591)
11702 {
11713 }
11714 else if (
type == 592)
11715 {
11728 }
11729 else if (
type == 593)
11730 {
11741 }
11742 else if (
type == 594)
11743 {
11754 }
11755 else if (
type >= 595 &&
type <= 601)
11756 {
11769 {
11771 }
11773 }
11774 else if (
type == 602)
11775 {
11785 }
11786 else if (
type == 603)
11787 {
11797 }
11798 else if (
type == 604 ||
type == 605)
11799 {
11811 {
11813 }
11815 }
11816 else if (
type == 606)
11817 {
11828 }
11829 else if (
type == 607)
11830 {
11842 }
11843 else if (
type == 608)
11844 {
11854 }
11855 else if (
type == 609)
11856 {
11866 }
11867 else if (
type == 610)
11868 {
11879 }
11880 else if (
type == 611)
11881 {
11893 }
11894 else if (
type == 612 ||
type == 613)
11895 {
11906 {
11908 }
11913 }
11914 else if (
type == 614)
11915 {
11925 }
11926 else if (
type == 615)
11927 {
11938 }
11939 else if (
type == 616 ||
type == 617)
11940 {
11951 }
11952 else if (
type == 618)
11953 {
11964 value = Item.buyPrice(0, 2);
11967 }
11968 else if (
type == 619)
11969 {
11983 }
11984 else if (
type == 620)
11985 {
11995 value = Item.buyPrice(0, 0, 75);
12002 }
12003 else if (
type == 621)
12004 {
12018 value = Item.buyPrice(0, 0, 75);
12021 }
12022 else if (
type == 622)
12023 {
12040 }
12041 else if (
type == 623)
12042 {
12059 }
12060 else if (
type == 624)
12061 {
12072 }
12073 else if (
type == 625)
12074 {
12084 }
12085 else if (
type == 626 ||
type == 627)
12086 {
12097 {
12099 }
12102 {
12104 }
12105 }
12106 else if (
type == 628)
12107 {
12118 }
12119 else if (
type == 629)
12120 {
12133 if (Main.remixWorld && !Main.hardMode)
12134 {
12138 value = Item.buyPrice(0, 2);
12139 }
12140 }
12141 else if (
type == 630)
12142 {
12153 }
12154 else if (
type == 631)
12155 {
12167 }
12168 else if (
type == 632)
12169 {
12180 }
12181 else if (
type == 633)
12182 {
12194 }
12195 else if (
type == 634)
12196 {
12208 }
12209 else if (
type == 635)
12210 {
12221 }
12222 else if (
type == 636)
12223 {
12240 }
12241 else if (
type == 637 ||
type == 638)
12242 {
12248 {
12250 }
12259 }
12260 else if (
type >= 639 &&
type <= 645)
12261 {
12271 }
12272 else if (
type >= 646 &&
type <= 652)
12273 {
12283 }
12284 else if (
type == 653)
12285 {
12298 }
12299 else if (
type == 654)
12300 {
12313 }
12314 else if (
type == 655)
12315 {
12328 }
12329 else if (
type == 656)
12330 {
12343 }
12344 else if (
type == 657)
12345 {
12359 }
12360 else if (
type == 658 ||
type == 659)
12361 {
12371 }
12372 else if (
type == 660)
12373 {
12384 }
12385 else if (
type == 661)
12386 {
12400 }
12401 else if (
type == 662)
12402 {
12417 }
12418 else if (
type == 663)
12419 {
12431 }
12432 else if (
type == 664)
12433 {
12436 }
12437 else if (
type == 665)
12438 {
12451 }
12452 else if (
type == 666)
12453 {
12467 }
12468 else if (
type == 667)
12469 {
12479 value = Item.buyPrice(0, 15);
12482 }
12483 else if (
type == 668)
12484 {
12497 value = Item.buyPrice(0, 5);
12500 }
12501 else if (
type == 669)
12502 {
12514 }
12515 else if (
type == 670)
12516 {
12529 }
12530 else if (
type == 671)
12531 {
12543 }
12544 else if (
type == 672)
12545 {
12557 }
12558 else if (
type == 673)
12559 {
12571 }
12572 else if (
type == 674)
12573 {
12585 }
12586 else if (
type == 675)
12587 {
12599 }
12600 else if (
type == 676)
12601 {
12609 value = Item.buyPrice(0, 0, 1, 50);
12612 }
12613 else if (
type == 677)
12614 {
12627 }
12629 {
12642 }
12643 else if (
type == 685)
12644 {
12657 }
12658 else if (
type == 686)
12659 {
12673 }
12674 else if (
type == 687)
12675 {
12686 }
12688 {
12690 }
12692 {
12694 {
12696 {
12698 }
12699 }
12701 {
12703 {
12705 }
12706 }
12707 int i;
12709 {
12712 {
12714 }
12715 }
12717 {
12719 {
12721 }
12722 }
12723 }
12724 else
12725 {
12727 {
12729 {
12731 }
12732 }
12734 {
12736 {
12738 {
12740 break;
12741 }
12742 }
12743 }
12745 {
12747 {
12749 }
12750 }
12751 }
12753 if (Main.dedServ)
12754 {
12755 frame =
default(Rectangle);
12756 }
12758 {
12760 }
12761 else
12762 {
12764 }
12766 {
12769 position.X +=
num2 / 2;
12770 position.Y +=
num3;
12775 {
12777 }
12778 position.X -=
width / 2;
12780 }
12781 else
12782 {
12785 }
12790 if (Main.zenithWorld)
12791 {
12793 }
12794 if (Main.getGoodWorld)
12795 {
12797 }
12798 else if (Main.tenthAnniversaryWorld)
12799 {
12801 }
12803 {
12807 }
12810 }
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
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.
static Asset< Texture2D >[] Npc
static List< int >[] GrantImmunityWith
An NPC will automatically become immune (F:Terraria.NPC.buffImmune) to the indexed buff type if it is...
static bool[] IsATagBuff
If true for a given T:Terraria.ID.BuffID, then that buff is not considered a typical debuff,...
static bool[] ImmuneToAllBuffs
If true, this NPC type (F:Terraria.NPC.type) will be immune to all debuffs and "tag" buffs by default...
static int[] TrailCacheLength
The length of this NPC type's (F:Terraria.NPC.type) F:Terraria.NPC.oldPos and F:Terraria....
static bool[] ImmuneToRegularBuffs
If true, this NPC type (F:Terraria.NPC.type) will be immune to all debuffs except tag debuffs (F:Terr...
static ? bool[][] SpecificDebuffImmunity
Indexed by NPC type and then Buff type. If true, this NPC type (F:Terraria.NPC.type) will be immune (...
static readonly short Count
static readonly SoundStyle NPCHit21
static readonly SoundStyle NPCDeath40
static readonly SoundStyle DD2_OgreDeath
static readonly SoundStyle NPCDeath66
static readonly SoundStyle NPCHit48
static readonly SoundStyle NPCHit29
static readonly SoundStyle NPCHit8
static readonly SoundStyle NPCHit3
static readonly SoundStyle NPCDeath1
static readonly SoundStyle NPCDeath19
static readonly SoundStyle NPCHit46
static readonly SoundStyle NPCDeath52
static readonly SoundStyle DD2_DarkMageHurt
static readonly SoundStyle NPCHit57
static readonly SoundStyle DD2_KoboldFlyerDeath
static readonly SoundStyle NPCDeath22
static readonly SoundStyle NPCDeath62
static readonly SoundStyle NPCDeath39
static readonly SoundStyle DeerclopsHit
static readonly SoundStyle NPCDeath32
static readonly SoundStyle NPCHit24
static readonly SoundStyle NPCDeath34
static readonly SoundStyle DD2_WitherBeastDeath
static readonly SoundStyle NPCDeath45
static readonly SoundStyle NPCDeath59
static readonly SoundStyle NPCHit45
static readonly SoundStyle NPCDeath37
static readonly SoundStyle NPCHit38
static readonly SoundStyle NPCHit41
static readonly SoundStyle NPCDeath53
static readonly SoundStyle NPCDeath41
static readonly SoundStyle NPCDeath46
static readonly SoundStyle NPCHit7
static readonly SoundStyle NPCDeath11
static readonly SoundStyle NPCHit44
static readonly SoundStyle NPCDeath57
static readonly SoundStyle NPCHit40
static readonly SoundStyle NPCDeath7
static readonly SoundStyle NPCHit43
static readonly SoundStyle DD2_GoblinBomberDeath
static readonly SoundStyle NPCDeath42
static readonly SoundStyle NPCDeath60
static readonly SoundStyle DD2_WitherBeastHurt
static readonly SoundStyle NPCDeath54
static readonly SoundStyle DD2_BetsyHurt
static readonly SoundStyle NPCHit19
static readonly SoundStyle NPCDeath38
static readonly SoundStyle NPCDeath24
static readonly SoundStyle NPCDeath65
static readonly SoundStyle NPCHit35
static readonly SoundStyle NPCHit4
static readonly SoundStyle NPCHit23
static readonly SoundStyle NPCDeath48
static readonly SoundStyle NPCDeath35
static readonly SoundStyle NPCDeath36
static readonly SoundStyle NPCDeath51
static readonly SoundStyle DD2_GoblinDeath
static readonly SoundStyle NPCHit53
static readonly SoundStyle NPCHit25
static readonly SoundStyle DD2_DarkMageDeath
static readonly SoundStyle NPCDeath43
static readonly SoundStyle NPCHit34
static readonly SoundStyle NPCDeath9
static readonly SoundStyle NPCDeath23
static readonly SoundStyle DeerclopsDeath
static readonly SoundStyle NPCDeath49
static readonly SoundStyle NPCHit47
static readonly SoundStyle NPCHit15
static readonly SoundStyle NPCHit26
static readonly SoundStyle DD2_KoboldFlyerHurt
static readonly SoundStyle NPCDeath2
static readonly SoundStyle NPCHit30
static readonly SoundStyle NPCHit54
static readonly SoundStyle NPCHit1
static readonly SoundStyle NPCHit5
static readonly SoundStyle NPCHit28
static readonly SoundStyle NPCDeath31
static readonly SoundStyle NPCDeath3
static readonly SoundStyle NPCDeath64
static readonly SoundStyle DD2_WyvernHurt
static readonly SoundStyle NPCDeath6
static readonly SoundStyle NPCHit27
static readonly SoundStyle NPCHit11
static readonly SoundStyle NPCDeath26
static readonly SoundStyle DD2_SkeletonHurt
static readonly SoundStyle NPCHit12
static readonly SoundStyle DD2_JavelinThrowersHurt
static readonly SoundStyle NPCDeath8
static readonly SoundStyle DD2_KoboldHurt
static readonly SoundStyle NPCHit39
static readonly SoundStyle NPCDeath25
static readonly SoundStyle NPCDeath10
static readonly SoundStyle NPCHit32
static readonly SoundStyle NPCHit55
static readonly SoundStyle NPCDeath21
static readonly SoundStyle NPCDeath15
static readonly SoundStyle DD2_GoblinHurt
static readonly SoundStyle NPCDeath55
static readonly SoundStyle NPCDeath29
static readonly SoundStyle NPCDeath44
static readonly SoundStyle DD2_JavelinThrowersDeath
static readonly SoundStyle NPCHit42
static readonly SoundStyle DD2_OgreHurt
static readonly SoundStyle NPCDeath18
static readonly SoundStyle NPCDeath4
static readonly SoundStyle NPCDeath5
static readonly SoundStyle NPCHit13
static readonly SoundStyle DD2_WyvernDeath
static readonly SoundStyle NPCHit9
static readonly SoundStyle DD2_SkeletonDeath
static readonly SoundStyle NPCHit31
static readonly SoundStyle NPCDeath63
static readonly SoundStyle DD2_LightningBugHurt
static readonly SoundStyle NPCHit37
static readonly SoundStyle DD2_GoblinBomberHurt
static readonly SoundStyle DD2_BetsyDeath
static readonly SoundStyle NPCHit18
static readonly SoundStyle NPCHit33
static readonly SoundStyle DD2_LightningBugDeath
static readonly SoundStyle NPCHit51
static readonly SoundStyle DD2_CrystalCartImpact
static readonly SoundStyle NPCDeath47
static readonly SoundStyle DD2_DrakinDeath
static readonly SoundStyle NPCHit14
static readonly SoundStyle NPCHit6
static readonly SoundStyle NPCDeath17
static readonly SoundStyle DD2_KoboldDeath
static readonly SoundStyle NPCDeath56
static readonly SoundStyle NPCDeath20
static readonly SoundStyle NPCHit49
static readonly SoundStyle NPCDeath12
static readonly SoundStyle NPCHit36
static readonly SoundStyle NPCDeath50
static readonly SoundStyle NPCHit50
static readonly SoundStyle NPCHit56
static readonly SoundStyle NPCDeath33
static readonly SoundStyle NPCDeath30
static readonly SoundStyle NPCHit2
static readonly SoundStyle DD2_DrakinHurt
static readonly SoundStyle NPCDeath16
static readonly SoundStyle NPCHit52
static readonly SoundStyle NPCDeath14
static readonly SoundStyle NPCHit20
static readonly SoundStyle NPCDeath27
static readonly SoundStyle NPCDeath28
static readonly SoundStyle NPCHit22
This serves as the central class from which buff-related functions are supported and carried out.
This class serves as a place for you to place all your properties and hooks for each NPC....
static void SetDefaults(NPC npc, bool createModNPC=true)
This serves as the central class from which NPC-related functions are carried out....
bool boss
Set to true if the NPC is a boss. Prevents off-screen despawn. Bosses also need [AutoloadBossHead] an...
void SpawnWithHigherTime(int timeMult)
int defense
How resistant to damage this NPC is. The List of NPCs wiki pagecan be useful for finding appropriat...
int damage
The amount of contact damage this NPC deals. Changing this WILL NOT change the amount of damage done...
int IEntityWithGlobals< GlobalNPC >. Type
float[] localAI
Acts like F:Terraria.NPC.ai, but does not sync to the server. Many vanilla T:Terraria....
static readonly int maxBuffs
int lifeMax
The maximum life of this NPC.
int lifeRegenExpectedLossPerSecond
string GivenName
The GIVEN name of this NPC. Can be set directly. Given names are unique to each NPC,...
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla NPC AI styles are enumerated in the T:Te...
bool coldDamage
Denotes whether or not this NPC counts as dealing cold damage for the purposes of the Warmth Potion....
float takenDamageMultiplier
bool hide
Indicates that this NPC is drawn at a specific layer in the render order. Must use in conjunction wit...
static bool downedMechBossAny
Denotes whether or not ANY Mechanical Boss has been defeated at least once in the current world.
int townNpcVariationIndex
bool CanBeReplacedByOtherNPCs
bool dontTakeDamageFromHostiles
bool noGravity
If true, the npc will not be affected by gravity. Demon Eyes and other floating npc use this....
int defDefense
Stores the value of F:Terraria.NPC.defense at the end of SetDefaults. Useful for scaling defense in A...
bool needsUniqueInfoUpdate
void getGoodAdjustments()
float[] ai
An array with 4 slots used for any sort of data storage, which is occasionally synced from the server...
IBigProgressBar BossBar
Assign a special boss bar, vanilla or modded. Not used by vanilla.
void getZenithSeedAdjustmentsBeforeEverything()
float knockBackResist
How much of the knockback it receives will actually apply. 1f: full knockback; 0f: no knockback....
bool friendly
Indicates that an NPC is friendly to players. If true, a player won't damage the NPC and the NPC won'...
float value
How many copper coins the NPC will drop when killed (100 copper coins = 1 silver coin etc....
void LazySetLiquidMovementDD2()
float scale
Makes the NPC bigger or smaller. Bigger than 1f is bigger. Defaults to 1f.
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
int alpha
0 is opaque, and 255 is transparent. Note that this is the opposite of how alpha is typically express...
bool[] playerInteraction
Tracks which T:Terraria.Players have damaged this NPC. Damaging boss minions or other parts of a boss...
bool GravityIgnoresSpace
Set to disable the effect of being in space on NPC gravity.
bool behindTiles
Indicates that this NPC draws behind solid tiles. See ExampleDrawBehindNPCfor examples of how to us...
SoundStyle? HitSound
The sound that plays when this npc is hit. Set this to an existing T:Terraria.ID.SoundID entry or ass...
float shimmerTransparency
bool GravityIgnoresLiquid
Set to disable the effect of being submerged in liquid on NPC gravity. Note that being submerged in...
bool noTileCollide
If true, the npc does not collide with tiles, making the npc pass through tiles freely....
int defDamage
Stores the value of F:Terraria.NPC.damage at the end of SetDefaults. Useful for scaling damage in AI ...
int catchableNPCTempImmunityCounter
float npcSlots
Represents how much this npc counts towards the npc spawn limit. Small critters like worms or flies h...
int catchItem
The numerical ID of the item that this NPC becomes when caught. Mainly used for critters that can be...
bool HideStrikeDamage
If true, damage combat text will not be shown by M:Terraria.NPC.StrikeNPC(Terraria....
bool[] buffImmune
Contains the NPC buff immunities for this NPC. The default values in this array are populated from F:...
bool catchableNPCOriginallyFriendly
int netID
Similar to F:Terraria.NPC.type, but accounts for negative T:Terraria.ID.NPCID values.
int rarity
How rare the NPC is for the Lifeform Analyzer. For example: 4 is for Tim and Mimics,...
void SetDefaultsFromNetId(int id, NPCSpawnParams spawnparams=default(NPCSpawnParams))
static bool downedGolemBoss
Denotes whether or not Golem has been defeated at least once in the current world.
short releaseOwner
Identifies the player who released this NPC into the world. Used mainly for released critters....
int life
The current life of the NPC. Automatically set to the value of F:Terraria.NPC.lifeMax at the end of S...
void ScaleStats(int? activePlayersCount, GameModeData gameModeData, float? strengthOverride)
SoundStyle? DeathSound
The sound that plays when this npc dies. Set this to an existing T:Terraria.ID.SoundID entry or assig...
void getTenthAnniversaryAdjustments()
int realLife
Stores the index (the F:Terraria.Entity.whoAmI) of a single NPC. This NPC will then share a health po...
bool GravityIgnoresType
Set to disable vanilla type and AI based NPC gravity calculations. Affects types 258,...
int statsAreScaledForThisManyPlayers