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
)
inline
static
private
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
}
Terraria.WorldGen.GetPlayerForTile
static Player GetPlayerForTile(int x, int y)
Definition
WorldGen.cs:58171
References
Terraria.Main.rand
.
Terraria
WorldGen
Generated by
1.10.0