TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ KillTile_ShouldDropSeeds()

static bool Terraria.WorldGen.KillTile_ShouldDropSeeds ( int x,
int y )
inlinestaticprivate

Definition at line 60493 of file WorldGen.cs.

60494 {
60495 if (Main.rand.Next(2) == 0)
60496 {
60497 if (!GetPlayerForTile(x, y).HasItem(281))
60498 {
60499 return GetPlayerForTile(x, y).HasItem(986);
60500 }
60501 return true;
60502 }
60503 return false;
60504 }
static Player GetPlayerForTile(int x, int y)

References Terraria.Main.rand.