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

◆ GetCampfireItemDrop()

static int Terraria.WorldGen.GetCampfireItemDrop ( int style)
inlinestaticprivate

Definition at line 41342 of file WorldGen.cs.

41343 {
41344 switch (style)
41345 {
41346 case 0:
41347 return 966;
41348 case 1:
41349 case 2:
41350 case 3:
41351 case 4:
41352 case 5:
41353 return 3046 + style - 1;
41354 default:
41355 switch (style)
41356 {
41357 case 6:
41358 return 3723;
41359 case 7:
41360 return 3724;
41361 case 8:
41362 case 9:
41363 case 10:
41364 case 11:
41365 case 12:
41366 case 13:
41367 return 4689 + style - 8;
41368 default:
41369 return style switch
41370 {
41371 14 => 5299,
41372 15 => 5357,
41373 _ => 966,
41374 };
41375 }
41376 }
41377 }