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

◆ LavaCheck()

static void Terraria.Liquid.LavaCheck ( int x,
int y )
inlinestatic

Definition at line 1446 of file Liquid.cs.

1447 {
1448 if (!WorldGen.remixWorldGen && WorldGen.generatingWorld && UndergroundDesertCheck(x, y))
1449 {
1450 for (int i = x - 3; i <= x + 3; i++)
1451 {
1452 for (int j = y - 3; j <= y + 3; j++)
1453 {
1454 Main.tile[i, j].lava(lava: true);
1455 }
1456 }
1457 }
1458 LiquidCheck(x, y, 1);
1459 }
static bool UndergroundDesertCheck(int x, int y)
Definition Liquid.cs:1208
static void LiquidCheck(int x, int y, int thisLiquidType)
Definition Liquid.cs:1224

References Terraria.WorldGen.generatingWorld, Terraria.Liquid.LiquidCheck(), Terraria.WorldGen.remixWorldGen, Terraria.Main.tile, Terraria.Liquid.UndergroundDesertCheck(), Terraria.Liquid.x, and Terraria.Liquid.y.

Referenced by Terraria.Liquid.AttemptToMoveLava(), Terraria.Liquid.DelWater(), and Terraria.Liquid.Update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: