예제 #1
0
		private void StatScrolls(bool initialize)
		{
			m_Symbols = new int[] { 90300, 90301, 90302, 90303, 90304, 90305, 8511, 90306, 5, 3, 2, 8, 25, 35, -1, 12632256, 6, 1000, 36, 1000, 90301 };
			m_Sounds = new int[] { 525, 524, 497, 1202, 1468, -1, -1, -1, 1202 };
			m_jackpotmultiplier = new int[] { 10000, 2500, 1250, 100, 50, 10, 5, 3, 400, 100, 200 };
			m_JackpotText = new string[] { "====>Harrower Defeated!<====", "***True Harrower***", "*Tentacles Strike*", "Faker!", null, null, null, null, "Watch out!" };
			m_FemaleSounds = new int[] { 783, 823, 783, 794, 794, -1, -1, -1, 783 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1066, 1066, -1, -1, -1, 1054 };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 1 };
			m_Bars = new int[] { 90300, 90301, 90302, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.ExtremelyTight;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "The Harrower";
				Hue = 1000;
				m_Cost = 100;
				m_Rewards = JackpotRewardType.RewardOnly;
				m_CreditCashOut = 750000;
				m_CreditATMLimit = 500000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 5000;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
				m_jackpotmultiplier[0] = 0;
			else if (m_Rewards == JackpotRewardType.RewardAndCash)
				m_jackpotmultiplier[0] = 1000;
		}
예제 #2
0
		private void TailorTreats(bool initialize)
		{
			m_Symbols = new int[] { 90200, 90201, 90202, 3997, 2981, 90203, 90204, 3999, 5, 3, 2, 8, 15, 20, -1, 16711935, 6, 22, 2412, 1153, 90210 };
			m_jackpotmultiplier = new int[] { 10000, 2500, 1250, 100, 50, 10, 5, 3, 400, 100, 200 };
			m_JackpotText = new string[] { "====>Barbed Jackpot!<====", "***Horned Jackpot!***", "*Spined Jackpot!*", "Winner", null, null, null, null, "<Good One!>" };
			m_FemaleSounds = new int[] { 783, 823, 783, 794, 794, -1, -1, -1, 783 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1066, 1066, -1, -1, -1, 1054 };
			m_Sounds = new int[] { 492, 61, 1460, 584, 584, -1, -1, -1, 1048 };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 1 };
			m_Bars = new int[] { 90200, 90201, 90202, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Random;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Tailor Treats";
				Hue = 1160; // Utility.RandomList(1153, 1158, 1160, 1165, 1170, 1174);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.RewardOnly;
				m_CreditCashOut = 400000;
				m_CreditATMLimit = 300000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 5000;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
			{
				m_jackpotmultiplier[0] = 0;
				m_jackpotmultiplier[1] = 0;
				m_jackpotmultiplier[2] = 0;
			}
			else if (m_Rewards == JackpotRewardType.RewardAndCash)
			{
				m_jackpotmultiplier[0] = 1000;
				m_jackpotmultiplier[1] = 750;
				m_jackpotmultiplier[2] = 500;
			}
		}
예제 #3
0
		private void Pirates(bool initialize)
		{
			m_Symbols = new int[] { 5363, 2997, 6998, 90250, 5184, 4167, 5365, 5443, 7, 3, 2, 8, 20, 25, 16777215, 1, 6, 1149, 642, 143, 15943 };
			m_jackpotmultiplier = new int[] { 4000, 2000, 1000, 200, 20, 10, 5, 3, 0, -1, 200 };
			m_JackpotText = new string[] { "Arh, there be booty here!", "Walk the plank matey!", "Man the cannons!", "Raise the Jolly Roger!", "Swab the decks!", "yo ho..yo ho...", "yar", null, null };
			m_FemaleSounds = new int[] { 783, 823, 783, 794, 794, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1066, 1066, -1, -1, -1, -1 };
			m_Sounds = new int[] { 519, 61, 1460, 1048, -1, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 3, 1, 0, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Tight;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = false;
				m_PlayerSounds = true;
				m_Rewards = JackpotRewardType.RewardOnly;
				m_CreditCashOut = 125000;
				m_CreditATMLimit = 75000;
				m_CreditATMIncrements = 5000;
				m_DefaultStartProgressive = 5000;
				m_Cost = 10;
				Name = "Pirate's Quest";
				Hue = 694;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
				m_jackpotmultiplier[0] = 0;
		}
예제 #4
0
		private void PowerScrolls(bool initialize)
		{
			m_Symbols = new int[] { 10923, 10924, 10925, 10926, 10928, 10929, 10930, 10931, 7, 3, 2, 8, 50, 30, -1, 64250, 6, 1153, 87, 91, 10974 };
			RandomScrollSymbols();
			m_jackpotmultiplier = new int[] { 10000, 2500, 1250, 100, 50, 10, 5, 3, 400, 100, 200 };
			m_JackpotText = new string[] { "====>Legendary!<====", "***?Elder?***", "*Elder*", "Master", "Adept", "Expert", "Journeyman", "Apprentice", "Grandmaster" };
			m_FemaleSounds = new int[] { 783, 823, 783, 797, 797, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1069, 1069, -1, -1, -1, -1 };
			m_Sounds = new int[] { 1481, 1481, 1481, 1318, 1318, -1, -1, -1, 1486 };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 1 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Tight;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Power Up";
				Hue = 1150;
				m_Cost = 100;
				m_Rewards = JackpotRewardType.RewardOnly;
				m_CreditCashOut = 400000;
				m_CreditATMLimit = 300000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 5000;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
			{
				m_jackpotmultiplier[0] = 0;
				m_jackpotmultiplier[1] = 0;
				m_jackpotmultiplier[2] = 0;
			}
			else if (m_Rewards == JackpotRewardType.RewardAndCash)
			{
				m_jackpotmultiplier[0] = 1000;
				m_jackpotmultiplier[1] = 750;
				m_jackpotmultiplier[2] = 500;
			}
		}
예제 #5
0
		private void ClassicIII(bool initialize)
		{
			m_Symbols = new int[] { 90001, 90002, 90003, 90004, 7186, 3164, 5921, 2512, 5, 6, 3, 8, 0, 0, -1, 16777215, 6, 165, 82, 45, 5402 };
			m_jackpotmultiplier = new int[] { 10000, 2500, 750, 100, 20, 5, 3, 1, 50, 25, 75 };
			m_JackpotText = new string[] { "====>Jackpot!<====", "***Winner***", "*Winner*", "Winner", null, null, null, null, "winner" };
			m_FemaleSounds = new int[] { 783, 823, 783, 794, 794, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1066, 1066, -1, -1, -1, -1 };
			m_Sounds = new int[] { 61, 61, 1460, 1048, -1, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 3, 1, 0, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 90001, 90002, 90003, 90004 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Random;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Classic Slots III";
				Hue = 54; // Utility.RandomList(166, 83, 45);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 500000;
				m_CreditATMLimit = 400000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 25000;
			}
		}
예제 #6
0
		private void Holiday1(bool initialize)
		{
			m_Symbols = new int[] { 9000, 9078, 9002, 9006, 9008, 9009, 9070, 9077, 5, 2, 3, 8, 15, 35, 3381504, 10027008, 6, 167, 137, 92, 9079 };
			m_jackpotmultiplier = new int[] { 7500, 2500, 500, 250, 50, 20, 10, 5, 50, 100, 200 };
			m_JackpotText = new string[] { "====>Jackpot!<====", "***Winner***", "*Winner*", "Winner", null, null, null, null, null };
			m_FemaleSounds = new int[] { 824, 823, 783, 794, 794, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1098, 1097, 1054, 1066, 1066, -1, -1, -1, -1 };
			m_Sounds = new int[] { 61, 914, 915, 915, -1, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 3, 1, 0, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Normal;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = false;
				m_PlayerSounds = true;
				Name = "Christmas Cash";
				Hue = Utility.RandomList(3, 403, 68, 468, 38, 338);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 400000;
				m_CreditATMLimit = 300000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 25000;
			}
		}
예제 #7
0
		private void Classic(bool initialize)
		{
			m_Symbols = new int[] { 7146, 2451, 5921, 3164, 2513, 2512, 0, 0, 5, 1, 0, 6, 0, 0, -1, 16777215, 2, 187, 77, 55, 7150 };
			m_jackpotmultiplier = new int[] { 5000, 1000, 200, 100, 50, 25, -2, -2, -2, 200, 1000 };
			m_JackpotText = new string[] { "====>Jackpot!<====", "***Winner***", "*Winner*", "Winner", null, null, null, null, null };
			m_FemaleSounds = new int[] { 824, 823, 794, -1, -1, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1098, 1097, 1066, -1, -1, -1, -1, -1, -1 };
			m_Sounds = new int[] { 61, 61, 1460, -1, -1, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 3, 1, 0, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 7;
			if (initialize)
			{
				m_PaybackType = PaybackType.Random;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = false;
				m_PlayerSounds = true;
				Name = "Classic Slots";
				Hue = 188; // Utility.RandomList(188, 78, 56);
				m_Cost = 5;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 50000;
				m_CreditATMLimit = 40000;
				m_CreditATMIncrements = 1000;
				m_DefaultStartProgressive = 500;
			}
		}
예제 #8
0
        void OnGUI()
        {
            if (omSkin == null)
            {
                omSkin = Resources.Load("ObjectMaster") as GUISkin;
            }

            scroll = GUILayout.BeginScrollView(scroll);

            GUI.skin = omSkin;

            GUILayout.Label("ObjectMaster 1.4.2");

            #region General

            collapseGeneral = EditorGUILayout.Foldout(collapseGeneral, "General");

            if (collapseGeneral)
            {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Generic Tools");

                if (GUILayout.Button("Group"))
                {
                    Utilities.Group();
                }

                if (GUILayout.Button("Unparent"))
                {
                    Utilities.Unparent();
                }

                if (GUILayout.Button("Ground"))
                {
                    Utilities.Ground();
                }

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Join Nearby"))
                {
                    Utilities.ChangeBuddy(stickRadius);
                    Utilities.Buddy();
                }
                stickRadius = EditorGUILayout.FloatField(stickRadius);
                GUILayout.EndHorizontal();

                if (GUILayout.Button("Wrap in GameObject"))
                {
                    Utilities.WrapObject();
                }

                if (GUILayout.Button("Bring Near / View"))
                {
                    Utilities.BringNear();
                }

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Round To Int"))
                {
                    switch (roundAffect)
                    {
                    case AffectType.Transform:
                        Utilities.Snap();
                        break;

                    case AffectType.Position:
                        Utilities.SnapPosition();
                        break;

                    case AffectType.Rotation:
                        Utilities.SnapRotation();
                        break;

                    case AffectType.Scale:
                        Utilities.SnapScale();
                        break;
                    }
                }
                roundAffect = (AffectType)EditorGUILayout.EnumPopup(roundAffect);
                GUILayout.EndHorizontal();

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Zero Values"))
                {
                    switch (zeroAffect)
                    {
                    case AffectType.Transform:
                        Utilities.ZeroAllTransforms();
                        break;

                    case AffectType.Position:
                        Utilities.ZeroPosition();
                        break;

                    case AffectType.Rotation:
                        Utilities.ZeroRotation();
                        break;

                    case AffectType.Scale:
                        Utilities.ResetScale();
                        break;
                    }
                }
                zeroAffect = (AffectType)EditorGUILayout.EnumPopup(zeroAffect);
                GUILayout.EndHorizontal();

                GUILayout.EndVertical();
            }

            #endregion

            #region Clipboard

            collapseClipboard = EditorGUILayout.Foldout(collapseClipboard, "Attribute Clipboard");

            if (collapseClipboard)
            {
                // BRING CLOSER
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Copy and Paste Attributes");

                if (Utilities.localCoords)
                {
                    localGlobal = "Use Local Coords";
                }
                else
                {
                    localGlobal = "Use Global Coords";
                }

                if (GUILayout.Button(localGlobal))
                {
                    Utilities.ToggleLocalGlobal();
                }

                clipAffect = (AffectType)EditorGUILayout.EnumPopup(clipAffect);

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Copy"))
                {
                    switch (clipAffect)
                    {
                    case AffectType.Transform:
                        Utilities.CopyTransforms();
                        break;

                    case AffectType.Position:
                        Utilities.CopyPosition();
                        break;

                    case AffectType.Rotation:
                        Utilities.CopyRotation();
                        break;

                    case AffectType.Scale:
                        Utilities.CopyScale();
                        break;
                    }
                }
                if (GUILayout.Button("Paste"))
                {
                    switch (clipAffect)
                    {
                    case AffectType.Transform:
                        Utilities.PasteTransforms();
                        break;

                    case AffectType.Position:
                        Utilities.PastePosition();
                        break;

                    case AffectType.Rotation:
                        Utilities.PasteRotation();
                        break;

                    case AffectType.Scale:
                        Utilities.PasteScale();
                        break;
                    }
                }
                GUILayout.EndHorizontal();
                GUILayout.EndVertical();
            }

            #endregion

            #region NameReplace

            collapseFindReplace = EditorGUILayout.Foldout(collapseFindReplace, "Naming and Replacing");

            if (collapseFindReplace)
            {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Naming and Replacing");

                if (GUILayout.Button("Find & Replace Names"))
                {
                    // Get existing open window or if none, make a new one:
                    FindReplaceNames window = (FindReplaceNames)EditorWindow.GetWindow(typeof(FindReplaceNames));
                                        #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Replace Names";
                                        #else
                    window.titleContent = new GUIContent("Replace Names");
                                        #endif
                    window.Show();
                }

                if (GUILayout.Button("Find & Replace Objects"))
                {
                    // Get existing open window or if none, make a new one:
                    FindReplaceObjects window = (FindReplaceObjects)EditorWindow.GetWindow(typeof(FindReplaceObjects));
                                        #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Replace Objects";
                                        #else
                    window.titleContent = new GUIContent("Replace Objects");
                                        #endif
                    window.Show();
                }

                if (GUILayout.Button("Rename Master"))
                {
                    // Get existing open window or if none, make a new one:
                    RenameMaster window = (RenameMaster)EditorWindow.GetWindow(typeof(RenameMaster));
                                        #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Rename";
                                        #else
                    window.titleContent = new GUIContent("Rename");
                                        #endif
                    window.Show();
                }

                GUILayout.EndVertical();
            }

            #endregion

            #region Random

            collapseRandomize = EditorGUILayout.Foldout(collapseRandomize, "Randomize");

            if (collapseRandomize)
            {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Random Rotation or Scale");

                GUILayout.BeginHorizontal();
                GUILayout.Label("X");
                useX = EditorGUILayout.Toggle(useX);
                GUILayout.Label("Y");
                useY = EditorGUILayout.Toggle(useY);
                GUILayout.Label("Z");
                useZ = EditorGUILayout.Toggle(useZ);
                GUILayout.EndHorizontal();

                if (GUILayout.Button("Rotation"))
                {
                    if (useX)
                    {
                        Utilities.RotateRandomX();
                    }
                    if (useY)
                    {
                        Utilities.RotateRandomY();
                    }
                    if (useZ)
                    {
                        Utilities.RotateRandomZ();
                    }
                }
                if (GUILayout.Button("Scale"))
                {
                    Utilities.minScale = minScale;
                    Utilities.maxScale = maxScale;
                    Vector3 scaleRandoms = Vector3.one;
                    if (useX)
                    {
                        scaleRandoms.x = 1;
                    }
                    else
                    {
                        scaleRandoms.x = 0;
                    }
                    if (useY)
                    {
                        scaleRandoms.y = 1;
                    }
                    else
                    {
                        scaleRandoms.y = 0;
                    }
                    if (useZ)
                    {
                        scaleRandoms.z = 1;
                    }
                    else
                    {
                        scaleRandoms.z = 0;
                    }
                    Utilities.ScaleRandomEditor(scaleRandoms);
                }

                minScale = EditorGUILayout.FloatField("Min:", minScale);
                maxScale = EditorGUILayout.FloatField("Max:", maxScale);

                GUILayout.EndVertical();
            }

            #endregion

            #region TurnObjects

            collapseSpin = EditorGUILayout.Foldout(collapseSpin, "Turn Objects");

            if (collapseSpin)
            {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Turn Object on Axis");

                turnAmount = EditorGUILayout.FloatField("Degrees:", turnAmount);

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("X"))
                {
                    Utilities.Rotate(new Vector3(turnAmount, 0, 0));
                }
                if (GUILayout.Button("Y"))
                {
                    Utilities.Rotate(new Vector3(0, turnAmount, 0));
                }
                if (GUILayout.Button("Z"))
                {
                    Utilities.Rotate(new Vector3(0, 0, turnAmount));
                }
                GUILayout.EndHorizontal();
                GUILayout.EndVertical();
            }

            #endregion

            #region Scatter

            collapseScatter = EditorGUILayout.Foldout(collapseScatter, "Scatter Objects");

            if (collapseScatter)
            {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Scatter Selected Objects");

                howScatter = (ScatterType)EditorGUILayout.EnumPopup(howScatter);

                scatter = EditorGUILayout.FloatField("Radius:", scatter);

                if (GUILayout.Button("Scatter"))
                {
                    Utilities.ChangeScatter(scatter);

                    if (howScatter == ScatterType.IntoCircle)
                    {
                        Utilities.ScatterCircle();
                    }
                    else if (howScatter == ScatterType.IntoCube)
                    {
                        Utilities.ScatterCube();
                    }
                    else if (howScatter == ScatterType.IntoSphere)
                    {
                        Utilities.ScatterSphere();
                    }
                    else if (howScatter == ScatterType.IntoSquare)
                    {
                        Utilities.ScatterSquare();
                    }
                }

                GUILayout.EndVertical();
            }

            #endregion

            #region Links

            collapseLinks = EditorGUILayout.Foldout(collapseLinks, "Links");

            if (collapseLinks)
            {
                GUILayout.BeginVertical("Box");
                GUILayout.Label("Links");

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Store Page"))
                {
                    Application.OpenURL("http://bit.ly/1jxh6Uo");
                }
                if (GUILayout.Button("Website"))
                {
                    Application.OpenURL("http://bit.ly/1W0XrrN");
                }
                GUILayout.EndHorizontal();

                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Forum"))
                {
                    Application.OpenURL("http://bit.ly/1NkqN27");
                }
                if (GUILayout.Button("Intro Video"))
                {
                    Application.OpenURL("http://bit.ly/1GP9bq9");
                }

                GUILayout.EndHorizontal();
                GUILayout.EndVertical();
            }
            #endregion

            GUILayout.EndScrollView();
        }
예제 #9
0
		private void OffToTheRaces(bool initialize)
		{
			m_Symbols = new int[] { 9678, 9629, 9628, 8479, 8480, 8481, 4980, 4022, 0, 6, 3, 8, 15, 20, -1, 16444375, 6, 546, 50, 1149, 3896 };
			m_jackpotmultiplier = new int[] { 2500, 1000, 500, 200, 25, 10, 5, -1, 100, 40, 125 };
			m_JackpotText = new string[] { "====>Triple Crown!<====", "***Kentucky Derby***", "**Preakness Stakes**", "*Belmont Stakes*", "Your horse wins!", null, null, null, "Collect Stud Fees" };
			m_FemaleSounds = new int[] { 824, 823, 783, -1, 823, 797, -1, -1, -1 };
			m_MaleSounds = new int[] { 1098, 1097, 1054, -1, 1097, 1069, -1, -1, -1 };
			m_Sounds = new int[] { 914, 168, 169, 170, 171, -1, -1, -1, 171 };
			m_JackpotEffect = new int[] { 5, 3, 2, 1, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 9678, 9629, 9628, 8479 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Random;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Off to the Races";
				Hue = 51; // Utility.RandomList(547, 51);
				m_Cost = 10;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 100000;
				m_CreditATMLimit = 75000;
				m_CreditATMIncrements = 5000;
				m_DefaultStartProgressive = 1000;
			}
		}
예제 #10
0
		private void LadyLuck(bool initialize)
		{
			m_JackpotText = new string[] { "===>Lady Luck Strikes!<===", "***Winner***", "**Nice!**", "Winner!", null, null, null, null, null };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 0 };
			m_FemaleSounds = new int[] { 783, 823, 783, 797, 797, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1069, 1069, -1, -1, -1, -1 };
			m_Sounds = new int[] { 61, 61, 1460, 1048, -1, -1, -1, -1, -1 };
			m_Symbols = new int[] { 90100, 90101, 90102, 90103, 90104, 3083, 3712, 3823, 7, 3, 0, 8, 23, 15, -1, 16763955, 6, 2213, 600, 2212, 90110 };
			m_jackpotmultiplier = new int[] { 10000, 2500, 1000, 250, 100, 50, 5, 3, 0, -1, 200 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_TotalSymbols = 8;
				m_PaybackType = PaybackType.ExtremelyTight;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = false;
				m_PlayerSounds = true;
				Name = "Lady Luck";
				m_Cost = 100;
				m_Rewards = JackpotRewardType.RewardOnly;
				Hue = 2213;
				m_CreditCashOut = 500000;
				m_CreditATMLimit = 400000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 10000;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
			{
				m_jackpotmultiplier[0] = 0;
				m_jackpotmultiplier[1] = 0;
				m_jackpotmultiplier[2] = 0;
			}
			else if (m_Rewards == JackpotRewardType.RewardAndCash)
			{
				m_jackpotmultiplier[0] = 2500;
				m_jackpotmultiplier[1] = 1250;
				m_jackpotmultiplier[2] = 500;
			}
		}
예제 #11
0
		private void FarmerFaceoff(bool initialize)
		{
			m_Symbols = new int[] { 8451, 8449, 8401, 9608, 3894, 3190, 5378, 5910, 1, 7, 2, 8, 10, 15, -1, 16777011, 1, 642, 52, 62, 7732 };
			m_jackpotmultiplier = new int[] { 4000, 2000, 1000, 200, 100, 20, 10, 2, 100, 33, -1 };
			m_JackpotText = new string[] { "====>Cattle to Market!<====", "***Best in Show!***", "**Sell Your Chickens**", "*Best of Breed*", "Crop Harvested!", null, null, null, null };
			m_FemaleSounds = new int[] { 823, 823, 783, 794, 794, 797, 783, 823, 823 };
			m_MaleSounds = new int[] { 1098, 1097, 1054, 1066, 1066, 1069, 1054, 1097, 1097 };
			m_Sounds = new int[] { 120, 196, 110, 134, 1336, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 8451, 8449, 8401, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Normal;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.LeftOnly;
				m_AnyBars = false;
				m_PlayerSounds = false;
				Name = "Farmer Faceoff";
				Hue = 643; // Utility.RandomList(643, 53, 63);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 250000;
				m_CreditATMLimit = 200000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 25000;
			}
		}
예제 #12
0
		private void GruesomeGambling(bool initialize)
		{
			m_JackpotText = new string[] { "====> Rest in Peace! <====", "***Get a Shovel***", "**The Horror!**", "Help me!", "ooO OoOO?", null, null, null, "Ommpf" };
			if (this.Map == Map.Felucca)
				m_JackpotEffect = new int[] { 6, 4, 4, 3, -3, -1, -2, 0, 0 };
			else
				m_JackpotEffect = new int[] { 6, 3, 5, 3, -3, -1, -2, 0, 0 };
			m_FemaleSounds = new int[] { 336, 790, 814, 793, 796, 787, -1, -1, -1 };
			m_MaleSounds = new int[] { 346, 1061, 1088, 1065, 1068, 1058, -1, -1, -1 };
			m_Sounds = new int[] { 1385, 1157, 586, 769, 743, 481, -1, -1, -1 };
			m_Symbols = new int[] { 4457, 3808, 6927, 7960, 7392, 3619, 3618, 4650, 7, 7, 0, 8, 10, 15, 0, 0x8B0000, 6, 905, 36, 1156, 4678 };
			m_jackpotmultiplier = new int[] { 5000, 2500, 1000, 250, 50, 10, 5, 1, 0, 33, 66 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_TotalSymbols = 8;
				m_PaybackType = PaybackType.Tight;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = false;
				m_PlayerSounds = true;
				Name = "Gruesome Gambling";
				Hue = 958; // Utility.RandomList(37, 337, 437, 737, 837, 937, 1157);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.RewardAndCash;
				m_CreditCashOut = 250000;
				m_CreditATMLimit = 200000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 10000;
			}
			if (m_Rewards == JackpotRewardType.RewardOnly)
				m_jackpotmultiplier = new int[] { 0, 3000, 1500, 500, 100, 10, 5, 1, 0, 33, 66 };
			else if (m_Rewards == JackpotRewardType.RewardAndCash)
				m_jackpotmultiplier = new int[] { 1000, 2000, 1500, 500, 100, 10, 5, 1, 0, 33, 66 };
		}
예제 #13
0
		private void MinerMadness(bool initialize)
		{
			m_JackpotText = new string[] { "====> JACKPOT!!! <====", "***Big Winner!***", "**Winner**", "*Winner*", "-Winner-", null, null, null, "Winner" };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 0 };
			m_FemaleSounds = new int[] { 824, 823, 783, 794, 794, 797, 783, 823, 823 };
			m_MaleSounds = new int[] { 1098, 1097, 1054, 1066, 1066, 1069, 1054, 1097, 1097 };
			m_Sounds = new int[] { 61, 61, 61, 1460, -1, -1, -1, -1, 1460 };
			m_Symbols = new int[] { 7147, 7159, 7141, 7153, 3717, 4020, 5091, 6262, 4, 4, 3, 8, 0, 0, -1, 0xFFFFFF, 6, 1149, 1160, 1160, 4017 };
			m_jackpotmultiplier = new int[] { 10000, 5000, 1000, 500, 10, 5, 3, 2, 25, 33, 50 };
			m_Bars = new int[] { 7147, 7159, 7141, 7153 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Tight;
				m_BonusRound = BonusRoundType.MinerMadness;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Miner Madness";
				Hue = 2425; // Utility.RandomList(2219, 2425, 2419, 2207, 2413, 2213, 2418, 2406); // All the ingot colors
				m_Cost = 100;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 300000;
				m_CreditATMLimit = 200000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 10000;
			}
		}
예제 #14
0
		private void TrophyHunter(bool initialize)
		{
			m_Symbols = new int[] { 7777, 7776, 7781, 7785, 7782, 7779, 7780, 7822, 0, 3, 3, 8, 25, 25, -1, 16444375, 5, 262, 88, 1153, 4203 };
			m_jackpotmultiplier = new int[] { 4000, 2000, 1000, 200, 20, 10, 5, 3, 0, -1, 200 };
			m_JackpotText = new string[] { "====>Deer Hunter!<====", "***Grizzily Adams***", "**You got the Twin!**", "*Big Fish*", null, null, null, null, null };
			m_FemaleSounds = new int[] { 824, 823, 783, -1, 823, 797, -1, -1, -1 };
			m_MaleSounds = new int[] { 1098, 1097, 1054, -1, 1097, 1069, -1, -1, -1 };
			m_Sounds = new int[] { 1227, 167, 1218, 61, 465, 158, -1, -1, 171 };
			m_JackpotEffect = new int[] { 5, 3, 1, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 9999, 9999, 9999, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Normal;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = false;
				m_PlayerSounds = true;
				Name = "Trophy Hunter";
				Hue = 367; // Utility.RandomList(262, 88);
				m_Cost = 25;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 125000;
				m_CreditATMLimit = 75000;
				m_CreditATMIncrements = 5000;
				m_DefaultStartProgressive = 5000;
			}
		}
예제 #15
0
		private void ClassicII(bool initialize)
		{
			m_Symbols = new int[] { 7147, 7146, 7145, 7186, 3164, 5921, 2512, 0, 5, 3, 2, 7, 0, 0, -1, 16777215, 6, 187, 377, 90, 5384 };
			m_jackpotmultiplier = new int[] { 5000, 1000, 300, 50, 30, 10, 5, -2, 100, 50, 100 };
			m_JackpotText = new string[] { "====>Jackpot!<====", "***Winner***", "*Winner*", "Winner", null, null, null, null, "winner" };
			m_FemaleSounds = new int[] { 783, 823, 783, 794, 794, -1, -1, -1, -1 };
			m_MaleSounds = new int[] { 1054, 1097, 1054, 1066, 1066, -1, -1, -1, -1 };
			m_Sounds = new int[] { 61, 61, 1460, 1048, -1, -1, -1, -1, -1 };
			m_JackpotEffect = new int[] { 3, 1, 0, 0, 0, 0, 0, 0, 0 };
			m_Bars = new int[] { 7147, 7146, 7145, 9999 };
			m_TotalSymbols = 8;
			if (initialize)
			{
				m_PaybackType = PaybackType.Random;
				m_BonusRound = BonusRoundType.None;
				m_ScatterPay = ScatterType.Any;
				m_AnyBars = true;
				m_PlayerSounds = true;
				Name = "Classic Slots II";
				Hue = 78; // Utility.RandomList(188, 378, 91);
				m_Cost = 100;
				m_Rewards = JackpotRewardType.None;
				m_CreditCashOut = 250000;
				m_CreditATMLimit = 200000;
				m_CreditATMIncrements = 10000;
				m_DefaultStartProgressive = 10000;
			}
		}
예제 #16
0
		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.ReadInt();

			switch (version)
			{
				case 2:
					m_CardClubOnly = reader.ReadBool();
					goto case 1;

				case 1:
					m_MembershipCard = reader.ReadBool();
					goto case 0;

				case 0: // Release 0
					{
						m_Active = reader.ReadBool();
						m_Cost = reader.ReadInt();
						m_Won = reader.ReadInt();
						m_LastPay = reader.ReadInt();
						m_SlotTheme = (SlotThemeType)reader.ReadInt();
						m_TotalSpins = reader.ReadInt();
						m_TotalCollected = reader.ReadInt();
						m_TotalWon = reader.ReadInt();
						m_ErrorCode = reader.ReadInt();
						m_InUseBy = reader.ReadMobile();
						m_LastPlayed = reader.ReadDateTime();
						m_LastWonBy = reader.ReadMobile();
						m_LastWonByDate = reader.ReadDateTime();
						m_LastWonAmount = reader.ReadInt();
						m_isProgMaster = reader.ReadBool();
						m_ProgressivePercent = reader.ReadInt();
						m_ProgressiveMaster = reader.ReadItem();
						m_ProgressiveJackpot = reader.ReadInt();
						m_DefaultStartProgressive = reader.ReadInt();
						m_ShowPayback = reader.ReadBool();
						m_PaybackType = (PaybackType)reader.ReadInt();
						m_BonusRound = (BonusRoundType)reader.ReadInt();
						m_ScatterPay = (ScatterType)reader.ReadInt();
						m_Rewards = (JackpotRewardType)reader.ReadInt();
						m_AnnounceJackpot = reader.ReadBool();
						m_CreditCashOut = reader.ReadInt();
						m_CreditATMLimit = reader.ReadInt();
						m_CreditATMIncrements = reader.ReadInt();
						m_AnyBars = reader.ReadBool();
						m_PlayerSounds = reader.ReadBool();
						m_OrigHue = reader.ReadInt();
						this.m_RandomMin = reader.ReadTimeSpan();
						this.m_RandomMax = reader.ReadTimeSpan();
						m_ProfReel[0] = reader.ReadString();
						m_ProfReel[1] = reader.ReadString();
						m_ProfReel[2] = reader.ReadString();
						m_ProfPayTable = reader.ReadString();
						m_ProfSymbols = reader.ReadString();
						for (int i = 0; i < 11; i++)
							m_jackpotStats[i] = reader.ReadInt();
						int count = reader.ReadInt();
						m_SlotSlaves = new ArrayList(count);
						for (int i = 0; i < count; ++i)
						{
							Item item = reader.ReadItem();
							if (item != null)
								m_SlotSlaves.Add(item);
						}
						break;
					}
			}
			if (m_OrigHue != -1 && m_Active)
			{
				this.Hue = m_OrigHue;
				m_OrigHue = -1;
			}
			SetupTheme(m_SlotTheme, false);
		}
예제 #17
0
        void OnGUI()
        {
            if (omSkin == null) {
                omSkin = Resources.Load ("ObjectMaster") as GUISkin;
            }

            scroll = GUILayout.BeginScrollView (scroll);

            GUI.skin = omSkin;

            GUILayout.Label ("ObjectMaster 1.4.2");

            #region General

            collapseGeneral = EditorGUILayout.Foldout(collapseGeneral, "General");

            if (collapseGeneral) {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Generic Tools");

                if (GUILayout.Button ("Group")) {
                    Utilities.Group ();
                }

                if (GUILayout.Button ("Unparent")) {
                    Utilities.Unparent ();
                }

                if (GUILayout.Button ("Ground")) {
                    Utilities.Ground ();
                }

                GUILayout.BeginHorizontal();
                if (GUILayout.Button ("Join Nearby")) {
                    Utilities.ChangeBuddy (stickRadius);
                    Utilities.Buddy ();
                }
                stickRadius = EditorGUILayout.FloatField (stickRadius);
                GUILayout.EndHorizontal();

                if (GUILayout.Button ("Wrap in GameObject")) {
                    Utilities.WrapObject ();
                }

                if (GUILayout.Button ("Bring Near / View")) {
                    Utilities.BringNear ();
                }

                GUILayout.BeginHorizontal();
                if (GUILayout.Button ("Round To Int")) {
                    switch (roundAffect) {
                    case AffectType.Transform:
                        Utilities.Snap ();
                        break;
                    case AffectType.Position:
                        Utilities.SnapPosition ();
                        break;
                    case AffectType.Rotation:
                        Utilities.SnapRotation ();
                        break;
                    case AffectType.Scale:
                        Utilities.SnapScale ();
                        break;
                    }
                }
                roundAffect = (AffectType)EditorGUILayout.EnumPopup (roundAffect);
                GUILayout.EndHorizontal();

                GUILayout.BeginHorizontal();
                if (GUILayout.Button ("Zero Values")) {
                    switch (zeroAffect) {
                    case AffectType.Transform:
                        Utilities.ZeroAllTransforms ();
                        break;
                    case AffectType.Position:
                        Utilities.ZeroPosition ();
                        break;
                    case AffectType.Rotation:
                        Utilities.ZeroRotation ();
                        break;
                    case AffectType.Scale:
                        Utilities.ResetScale ();
                        break;
                    }
                }
                zeroAffect = (AffectType)EditorGUILayout.EnumPopup (zeroAffect);
                GUILayout.EndHorizontal();

                GUILayout.EndVertical ();
            }

            #endregion

            #region Clipboard

            collapseClipboard = EditorGUILayout.Foldout(collapseClipboard, "Attribute Clipboard");

            if (collapseClipboard) {

                // BRING CLOSER
                GUILayout.BeginVertical ("Box");

                GUILayout.Label("Copy and Paste Attributes");

                if (Utilities.localCoords) {
                    localGlobal = "Use Local Coords";
                } else {
                    localGlobal = "Use Global Coords";
                }

                if (GUILayout.Button (localGlobal)) {
                    Utilities.ToggleLocalGlobal ();
                }

                clipAffect = (AffectType)EditorGUILayout.EnumPopup (clipAffect);

                GUILayout.BeginHorizontal ();
                if (GUILayout.Button ("Copy")) {
                    switch (clipAffect) {
                    case AffectType.Transform:
                        Utilities.CopyTransforms ();
                        break;
                    case AffectType.Position:
                        Utilities.CopyPosition ();
                        break;
                    case AffectType.Rotation:
                        Utilities.CopyRotation ();
                        break;
                    case AffectType.Scale:
                        Utilities.CopyScale ();
                        break;
                    }
                }
                if (GUILayout.Button ("Paste")) {
                    switch (clipAffect) {
                    case AffectType.Transform:
                        Utilities.PasteTransforms ();
                        break;
                    case AffectType.Position:
                        Utilities.PastePosition ();
                        break;
                    case AffectType.Rotation:
                        Utilities.PasteRotation ();
                        break;
                    case AffectType.Scale:
                        Utilities.PasteScale ();
                        break;
                    }
                }
                GUILayout.EndHorizontal ();
                GUILayout.EndVertical ();
            }

            #endregion

            #region NameReplace

            collapseFindReplace = EditorGUILayout.Foldout(collapseFindReplace, "Naming and Replacing");

            if (collapseFindReplace) {
                GUILayout.BeginVertical ("Box");

                GUILayout.Label("Naming and Replacing");

                if (GUILayout.Button("Find & Replace Names")) {
                    // Get existing open window or if none, make a new one:
                    FindReplaceNames window = (FindReplaceNames)EditorWindow.GetWindow(typeof(FindReplaceNames));
                    #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Replace Names";
                    #else
                    window.titleContent = new GUIContent ("Replace Names");
                    #endif
                    window.Show();
                }

                if (GUILayout.Button("Find & Replace Objects")) {
                    // Get existing open window or if none, make a new one:
                    FindReplaceObjects window = (FindReplaceObjects)EditorWindow.GetWindow(typeof(FindReplaceObjects));
                    #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Replace Objects";
                    #else
                    window.titleContent = new GUIContent ("Replace Objects");
                    #endif
                    window.Show();
                }

                if (GUILayout.Button("Rename Master")) {
                    // Get existing open window or if none, make a new one:
                    RenameMaster window = (RenameMaster)EditorWindow.GetWindow(typeof(RenameMaster));
                    #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0
                    window.title = "Rename";
                    #else
                    window.titleContent = new GUIContent ("Rename");
                    #endif
                    window.Show();
                }

                GUILayout.EndVertical();
            }

            #endregion

            #region Random

            collapseRandomize = EditorGUILayout.Foldout(collapseRandomize, "Randomize");

            if (collapseRandomize) {
                GUILayout.BeginVertical("Box");

                GUILayout.Label("Random Rotation or Scale");

                GUILayout.BeginHorizontal();
                GUILayout.Label("X");
                useX = EditorGUILayout.Toggle(useX);
                GUILayout.Label("Y");
                useY = EditorGUILayout.Toggle(useY);
                GUILayout.Label("Z");
                useZ = EditorGUILayout.Toggle(useZ);
                GUILayout.EndHorizontal();

                if (GUILayout.Button("Rotation"))
                {
                    if (useX) {Utilities.RotateRandomX();}
                    if (useY) {Utilities.RotateRandomY();}
                    if (useZ) {Utilities.RotateRandomZ();}
                }
                if (GUILayout.Button("Scale"))
                {
                    Utilities.minScale = minScale;
                    Utilities.maxScale = maxScale;
                    Vector3 scaleRandoms = Vector3.one;
                    if (useX) { scaleRandoms.x = 1; } else { scaleRandoms.x = 0; }
                    if (useY) { scaleRandoms.y = 1; } else { scaleRandoms.y = 0; }
                    if (useZ) { scaleRandoms.z = 1; } else { scaleRandoms.z = 0; }
                    Utilities.ScaleRandomEditor(scaleRandoms);
                }

                minScale = EditorGUILayout.FloatField("Min:", minScale);
                maxScale = EditorGUILayout.FloatField("Max:", maxScale);

                GUILayout.EndVertical();
            }

            #endregion

            #region TurnObjects

            collapseSpin = EditorGUILayout.Foldout(collapseSpin, "Turn Objects");

            if (collapseSpin) {

                GUILayout.BeginVertical("Box");

                GUILayout.Label("Turn Object on Axis");

                turnAmount = EditorGUILayout.FloatField("Degrees:", turnAmount);

                GUILayout.BeginHorizontal ();
                if (GUILayout.Button ("X")) {
                    Utilities.Rotate(new Vector3(turnAmount,0,0));
                }
                if (GUILayout.Button ("Y")) {
                    Utilities.Rotate(new Vector3(0,turnAmount,0));
                }
                if (GUILayout.Button ("Z")) {
                    Utilities.Rotate(new Vector3(0,0,turnAmount));
                }
                GUILayout.EndHorizontal ();
                GUILayout.EndVertical ();
            }

            #endregion

            #region Scatter

            collapseScatter = EditorGUILayout.Foldout(collapseScatter, "Scatter Objects");

            if (collapseScatter) {

                GUILayout.BeginVertical("Box");

                GUILayout.Label("Scatter Selected Objects");

                howScatter = (ScatterType)EditorGUILayout.EnumPopup(howScatter);

                scatter = EditorGUILayout.FloatField ("Radius:", scatter);

                if (GUILayout.Button("Scatter"))
                {
                    Utilities.ChangeScatter(scatter);

                    if (howScatter == ScatterType.IntoCircle) {
                        Utilities.ScatterCircle();
                    }
                    else if (howScatter == ScatterType.IntoCube) {
                        Utilities.ScatterCube();
                    }
                    else if (howScatter == ScatterType.IntoSphere) {
                        Utilities.ScatterSphere();
                    }
                    else if (howScatter == ScatterType.IntoSquare) {
                        Utilities.ScatterSquare();
                    }
                }

                GUILayout.EndVertical ();
            }

            #endregion

            #region Links

            collapseLinks = EditorGUILayout.Foldout(collapseLinks, "Links");

            if (collapseLinks) {
                GUILayout.BeginVertical("Box");
                GUILayout.Label("Links");

                GUILayout.BeginHorizontal ();
                if (GUILayout.Button ("Store Page")) {
                    Application.OpenURL("http://bit.ly/1jxh6Uo");
                }
                if (GUILayout.Button ("Website")) {
                    Application.OpenURL("http://bit.ly/1W0XrrN");
                }
                GUILayout.EndHorizontal ();

                GUILayout.BeginHorizontal ();
                if (GUILayout.Button ("Forum")) {
                    Application.OpenURL("http://bit.ly/1NkqN27");
                }
                if (GUILayout.Button ("Intro Video")) {
                    Application.OpenURL("http://bit.ly/1GP9bq9");
                }

                GUILayout.EndHorizontal ();
                GUILayout.EndVertical();
            }
            #endregion

            GUILayout.EndScrollView ();
        }