Definition at line 236 of file DeadMansChestBiome.cs.
237 {
239 for (
int i = position.
X;
i < position.X + 2;
i++)
240 {
241 for (
int j = position.
Y - 4;
j <= position.
Y;
j++)
242 {
243 Tile tile = Main.tile[
i,
j];
244 if (tile.active() && !Main.tileFrameImportant[tile.type] && Main.tileSolid[tile.type])
245 {
247 }
249 {
250 return;
251 }
252 }
253 }
254 for (
int k = position.
X - 1;
k < position.X + 2 + 1;
k++)
255 {
256 for (
int l = position.
Y - 4 - 1;
l <= position.Y - 4 + 2;
l++)
257 {
260 {
261 return;
262 }
263 }
264 }
265 int num = 2;
266 int num2 = position.X - num;
267 int num3 = position.Y - 4 - num;
268 int num4 = position.X + num + 1;
269 int num5 = position.Y - 4 + num + 1;
271 {
273 {
276 {
277 return;
278 }
279 }
280 }
283 {
285 {
287 }
288 }
290 }
void Add(TKey key, TValue value)
List< BoulderPlacementAttempt > _boulderPlacementSpots
static bool[] IsAContainer
static bool[] CanBeClearedDuringGeneration
static readonly ushort Count
References Terraria.GameContent.Biomes.DeadMansChestBiome._boulderPlacementSpots, Terraria.Tile.active(), System.Collections.Generic.Dictionary< TKey, TValue >.Add(), Terraria.ID.TileID.Sets.CanBeClearedDuringGeneration, Terraria.ID.TileID.Count, Terraria.ID.TileID.Sets.IsAContainer, Terraria.Main.tile, Terraria.Main.tileFrameImportant, Terraria.Main.tileSolid, Terraria.Tile.type, Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.
Referenced by Terraria.GameContent.Biomes.DeadMansChestBiome.FindBoulderTrapSpot().