Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding kennedy space center as a preset and removing silly variant names #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 32 additions & 16 deletions CustomParachuteMessage/ModuleCustomParachuteMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ void ProcessWindow(int windowID)
c6 = 0;
w2 = "E";
}
if (GUILayout.Button("KSC"))
if (GUILayout.Button("KSC 1"))
{
word_1 = "Kerbal";
word_2 = "Space";
Expand All @@ -607,6 +607,22 @@ void ProcessWindow(int windowID)
c6 = 31;
w2 = "W";
}
if (GUILayout.Button("KSC 2"))
{
word_1 = "Kennedy";
word_2 = "Space";
word_3 = "Center";
word_4 = "";
ring4IsCoordinate = true;
c1 = 28;
c2 = 34;
c3 = 24;
w1 = "N";
c4 = 80;
c5 = 39;
c6 = 4;
w2 = "W";
}
if (GUILayout.Button("Rocket Science"))
{
word_1 = "HowHard";
Expand Down Expand Up @@ -691,105 +707,105 @@ void ProcessWindow(int windowID)
data[i] = 1;
}
}
if (GUILayout.Button("Checkerboard"))
if (GUILayout.Button("Checkerboard 1"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 2 == (i / 80 % 2)) ? 1 : 0;
}
}
if (GUILayout.Button("Thick Checkerboard"))
if (GUILayout.Button("Checkerboard 2"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 2) % 4 >= 2) ? 1 : 0;
}
}
if (GUILayout.Button("Slightly Different Thick Checkerboard"))
if (GUILayout.Button("Checkerboard 3"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 2 + 1) % 4 >= 2) ? 1 : 0;
}
}
if (GUILayout.Button("Thicker Checkerboard"))
if (GUILayout.Button("Checkerboard 4"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 4) % 8 >= 4) ? 1 : 0;
}
}
if (GUILayout.Button("Extra Thicc Checkerboard"))
if (GUILayout.Button("Checkerboard 5"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 5) % 10 >= 5) ? 1 : 0;
}
}
if (GUILayout.Button("Even Thicker Checkerboard"))
if (GUILayout.Button("Checkerboard 6"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 10) % 20 >= 10) ? 1 : 0;
}
}
if (GUILayout.Button("Super Thicc Checkerboard"))
if (GUILayout.Button("Checkerboard 7"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 20) % 40 >= 20) ? 1 : 0;
}
}
if (GUILayout.Button("Ultra Thicc Checkerboard"))
if (GUILayout.Button("Checkerboard 8"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = ((i + (i / 80 % 2) * 40) % 80 >= 40) ? 1 : 0;
}
}
if (GUILayout.Button("Strip"))
if (GUILayout.Button("Strip 1"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 2 == 0) ? 1 : 0;
}
}
if (GUILayout.Button("Thick Strip"))
if (GUILayout.Button("Strip 2"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 4 >= 2) ? 1 : 0;
}
}
if (GUILayout.Button("Thicker Strip"))
if (GUILayout.Button("Strip 3"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 8 >= 4) ? 1 : 0;
}
}
if (GUILayout.Button("Extra Thicc Strip"))
if (GUILayout.Button("Strip 4"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 10 >= 5) ? 1 : 0;
}
}
if (GUILayout.Button("Even Thicker Strip"))
if (GUILayout.Button("Strip 5"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 20 >= 10) ? 1 : 0;
}
}
if (GUILayout.Button("Super Thicc Strip"))
if (GUILayout.Button("Strip 6"))
{
for (int i = 0; i < data.Length; i++)
{
data[i] = (i % 40 >= 20) ? 1 : 0;
}
}
if (GUILayout.Button("Not Even Strip Anymore"))
if (GUILayout.Button("Strip 7"))
{
for (int i = 0; i < data.Length; i++)
{
Expand Down