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

◆ MossConversion()

static int Terraria.WorldGen.MossConversion ( int thisType,
int otherType )
inlinestaticprivate

Definition at line 61867 of file WorldGen.cs.

61868 {
61870 {
61871 return thisType;
61872 }
61873 if (Main.tileMoss[thisType] && otherType == 1)
61874 {
61875 return thisType;
61876 }
61877 return thisType switch
61878 {
61879 182 => 515,
61880 515 => 182,
61881 180 => 513,
61882 513 => 180,
61883 179 => 512,
61884 512 => 179,
61885 381 => 517,
61886 517 => 381,
61887 534 => 535,
61888 535 => 534,
61889 536 => 537,
61890 537 => 536,
61891 539 => 540,
61892 540 => 539,
61893 625 => 626,
61894 626 => 625,
61895 627 => 628,
61896 628 => 627,
61897 183 => 516,
61898 516 => 183,
61899 181 => 514,
61900 514 => 181,
61901 _ => 0,
61902 };
61903 }
static bool[] tileMossBrick
Definition TileID.cs:219

References Terraria.Main.tileMoss, and Terraria.ID.TileID.Sets.tileMossBrick.