Definition at line 50735 of file Item.cs.
50736 {
50737
50738
50739
50741 bool flag2 =
false;
50743 if ((
num == 89 ||
num == 3507) && !
NPC.unlockedSlimeCopperSpawn)
50744 {
50747 }
50749 {
50750 return;
50751 }
50752 bool flag3 =
false;
50754 for (
int j = 0;
j < 200;
j++)
50755 {
50758 {
50760 NPC.TransformCopperSlime(
j);
50761 break;
50762 }
50763 }
50765 {
50768 NetMessage.SendData(21, -1, -1, null, i);
50769 }
50770 }
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
static bool[] CanConvertIntoCopperSlimeTownNPC
If true for a given NPC type (F:Terraria.NPC.type), then that NPC can pick up F:Terraria....
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....
References Terraria.Entity.active, Terraria.ID.NPCID.Sets.CanConvertIntoCopperSlimeTownNPC, Terraria.Main.npc, Terraria.NetMessage.SendData(), Terraria.Item.SetDefaults(), Terraria.NPC.TransformCopperSlime(), Terraria.Item.type, and Terraria.NPC.unlockedSlimeCopperSpawn.
Referenced by Terraria.Item.UpdateItem().