mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
some extra thing
This commit is contained in:
parent
978de836d8
commit
3289a9c5b7
@ -251,7 +251,7 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
}
|
||||
|
||||
private static string GetSlideReelName(ProjectionInfo.SlideReelType model, ProjectionInfo.SlideReelCondition condition)
|
||||
public static string GetSlideReelName(ProjectionInfo.SlideReelType model, ProjectionInfo.SlideReelCondition condition)
|
||||
{
|
||||
switch (model)
|
||||
{
|
||||
@ -267,6 +267,21 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetSlideCount(ProjectionInfo.SlideReelType model)
|
||||
{
|
||||
switch (model)
|
||||
{
|
||||
case ProjectionInfo.SlideReelType.SixSlides:
|
||||
return 6;
|
||||
case ProjectionInfo.SlideReelType.SevenSlides:
|
||||
case ProjectionInfo.SlideReelType.Whole:
|
||||
return 7;
|
||||
case ProjectionInfo.SlideReelType.EightSlides:
|
||||
default:
|
||||
return 8;
|
||||
}
|
||||
}
|
||||
|
||||
public static GameObject MakeAutoProjector(GameObject planetGO, Sector sector, ProjectionInfo info, IModBehaviour mod)
|
||||
{
|
||||
InitPrefabs();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user