1473    {
 1474        int num = Main.liquid[
l].x;
 
 1475        int num2 = Main.liquid[
l].y;
 
 1476        Tile tile = Main.tile[num - 1, 
num2];
 
 1482        {
 1483            tile4.liquid = 0;
 1484            if (tile.liquid < 
b)
 
 1485            {
 1486                tile.liquid = 0;
 1487            }
 1488            else
 1489            {
 1491            }
 1493            {
 1494                tile2.liquid = 0;
 1495            }
 1496            else
 1497            {
 1499            }
 1500        }
 1501        else if (
tile4.liquid < 20)
 
 1502        {
 1503            if ((tile.liquid < 
tile4.liquid && (!tile.nactive() || !Main.tileSolid[tile.type] || Main.tileSolidTop[tile.type])) || (
tile2.liquid < 
tile4.liquid && (!
tile2.nactive() || !Main.tileSolid[
tile2.type] || Main.tileSolidTop[
tile2.type])) || (
tile3.liquid < 
byte.MaxValue && (!
tile3.nactive() || !Main.tileSolid[
tile3.type] || Main.tileSolidTop[
tile3.type])))
 
 1504            {
 1505                tile4.liquid = 0;
 1506            }
 1507        }
 1508        else if (
tile3.liquid < 
byte.MaxValue && (!
tile3.nactive() || !Main.tileSolid[
tile3.type] || Main.tileSolidTop[
tile3.type]) && !
stuck && (!Main.tile[num, 
num2].nactive() || !Main.tileSolid[Main.tile[num, 
num2].type] || Main.tileSolidTop[Main.tile[num, 
num2].type]))
 
 1509        {
 1510            Main.liquid[
l].kill = 0;
 
 1511            return;
 1512        }
 1513        if (
tile4.liquid < 250 && Main.tile[num, 
num2 - 1].liquid > 0)
 
 1514        {
 1516        }
 1517        if (
tile4.liquid == 0)
 
 1518        {
 1519            tile4.liquidType(0);
 
 1520        }
 1521        else
 1522        {
 1524            {
 1526            }
 1527            if (tile.liquid > 0 && tile.liquid < 250 && (!tile.nactive() || !Main.tileSolid[tile.type] || Main.tileSolidTop[tile.type]) && 
tile4.liquid != tile.liquid)
 
 1528            {
 1530            }
 1532            {
 1534                for (
int i = num - 1; 
i <= num + 1; 
i++)
 
 1535                {
 1537                    {
 1539                        if (!
tile5.active())
 
 1540                        {
 1541                            continue;
 1542                        }
 1544                        {
 1545                            tile5.type = 0;
 1547                            if (Main.netMode == 2)
 1548                            {
 1549                                NetMessage.SendTileSquare(-1, num, 
num2, 3);
 
 1550                            }
 1551                        }
 1553                        {
 1554                            tile5.type = 59;
 1556                            if (Main.netMode == 2)
 1557                            {
 1558                                NetMessage.SendTileSquare(-1, num, 
num2, 3);
 
 1559                            }
 1560                        }
 1561                    }
 1562                }
 1563            }
 1564            else if (
tile4.honey())
 
 1565            {
 1567            }
 1568            else if (
tile4.shimmer())
 
 1569            {
 1571            }
 1572        }
 1573        if (Main.netMode == 2)
 1574        {
 1576        }
 1578        Main.tile[Main.liquid[
l].x, Main.liquid[
l].y].checkingLiquid(checkingLiquid: 
false);
 
 1581        Main.liquid[
l].kill = Main.liquid[
numLiquid].kill;
 
 1582        if (Main.tileAlch[
tile4.type])
 
 1583        {
 1585        }
 1586        else if (
tile4.type == 518)
 
 1587        {
 1589            {
 1591            }
 1592            else if (Main.tile[num, 
num2 + 1].liquid < 
byte.MaxValue || Main.tile[num, 
num2 - 1].liquid > 0)
 
 1593            {
 1595            }
 1596            else
 1597            {
 1599            }
 1600        }
 1601    }
static void ShimmerCheck(int x, int y)
static void HoneyCheck(int x, int y)
static void AddWater(int x, int y)
static void NetSendLiquid(int x, int y)
static void LavaCheck(int x, int y)