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

◆ RandBonePicture()

static PaintingEntry Terraria.WorldGen.RandBonePicture ( )
inlinestatic

Definition at line 28543 of file WorldGen.cs.

28544 {
28545 int num = genRand.Next(2);
28546 int num2 = 0;
28547 switch (num)
28548 {
28549 case 0:
28550 num = 240;
28551 num2 = genRand.Next(2);
28552 switch (num2)
28553 {
28554 case 0:
28555 num2 = 16;
28556 break;
28557 case 1:
28558 num2 = 17;
28559 break;
28560 }
28561 break;
28562 case 1:
28563 num = 241;
28564 num2 = genRand.Next(9);
28565 break;
28566 }
28567 PaintingEntry result = default(PaintingEntry);
28568 result.tileType = num;
28569 result.style = num2;
28570 return result;
28571 }
static UnifiedRandom genRand
Definition WorldGen.cs:1215