TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
CheckBoulderChest()
static bool Terraria.WorldGen.CheckBoulderChest
(
int
i
,
int
j
)
inline
static
Definition at line
42159
of file
WorldGen.cs
.
42160
{
42161
int
num
= Main.tile[i,
j
].frameX / 18 * -1;
42162
if
(
num
< -1)
42163
{
42164
num
+= 2;
42165
}
42166
num
+= i;
42167
int
num2
;
42168
for
(
num2
= Main.tile[i,
j
].frameY;
num2
>= 36;
num2
-= 36)
42169
{
42170
}
42171
num2
=
j
-
num2
/ 18;
42172
if
(
IsAContainer
(Main.tile[
num
,
num2
- 1]) ||
IsAContainer
(Main.tile[
num
+ 1,
num2
- 1]))
42173
{
42174
return
true
;
42175
}
42176
return
false
;
42177
}
List
Terraria.WorldGen.IsAContainer
static bool IsAContainer(Tile t)
Definition
WorldGen.cs:42179
References
Terraria.Main.tile
.
Terraria
WorldGen
Generated by
1.10.0