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

◆ MossConversion()

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

Definition at line 65967 of file WorldGen.cs.

65968 {
65970 {
65971 return thisType;
65972 }
65973 if (Main.tileMoss[thisType] && otherType == 1)
65974 {
65975 return thisType;
65976 }
65977 return thisType switch
65978 {
65979 182 => 515,
65980 515 => 182,
65981 180 => 513,
65982 513 => 180,
65983 179 => 512,
65984 512 => 179,
65985 381 => 517,
65986 517 => 381,
65987 534 => 535,
65988 535 => 534,
65989 536 => 537,
65990 537 => 536,
65991 539 => 540,
65992 540 => 539,
65993 625 => 626,
65994 626 => 625,
65995 627 => 628,
65996 628 => 627,
65997 183 => 516,
65998 516 => 183,
65999 181 => 514,
66000 514 => 181,
66001 _ => 0,
66002 };
66003 }
static bool[] tileMossBrick
Definition TileID.cs:286

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