50773 {
50774
50775
50776 Rectangle
rectangle =
default(Rectangle);
50779 for (
int j = 0;
j < 200;
j++)
50780 {
50783 {
50784 continue;
50785 }
50789 {
50791 }
50793 {
50795 }
50797 {
50799 }
50803 if (
num4 >= 0 && Main.npc[
num4].active)
50804 {
50806 }
50807 else
50808 {
50810 }
50812 {
50813 continue;
50814 }
50817 {
50818 float num5 = (float)Main.rand.Next(50, 76) * 0.01f;
50820 {
50821 num5 += (float)Main.rand.Next(51) * 0.01f;
50822 }
50824 {
50825 num5 += (float)Main.rand.Next(26) * 0.01f;
50826 }
50828 {
50830 }
50833 {
50835 }
50837 {
50839 }
50844 {
50846 }
50847 nPC.extraValue +=
num7;
50848 if (Main.netMode == 0)
50849 {
50851 }
50852 else
50853 {
50855 }
50857 {
50860 }
50861 NetMessage.SendData(21, -1, -1, null, i);
50862 }
50863 }
50864 }
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.
static bool[] CantTakeLunchMoney
If true for a given NPC type (F:Terraria.NPC.type), then that NPC cannot pick up dropped coins in Exp...
int stack
The current stack of the item. F:Terraria.Item.maxStack indicates the max possible stack.
void SetDefaults(int Type=0)
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....