Terraria
v1.4.4.9
Terraria 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
56866
of file
WorldGen.cs
.
56867
{
56868
if
(Main.rand.Next(2) == 0)
56869
{
56870
if
(!
GetPlayerForTile
(x, y).HasItem(281))
56871
{
56872
return
GetPlayerForTile
(x, y).HasItem(986);
56873
}
56874
return
true
;
56875
}
56876
return
false
;
56877
}
Terraria.WorldGen.GetPlayerForTile
static Player GetPlayerForTile(int x, int y)
Definition
WorldGen.cs:54548
References
Terraria.Main.rand
.
Terraria
WorldGen
Generated by
1.10.0