From a368099b07623c841e81d73a4d72d452a23fdf4f Mon Sep 17 00:00:00 2001 From: darkfire006 Date: Thu, 21 Oct 2021 01:07:15 -0500 Subject: [PATCH] insert start script into Kolben GM and create the script files for the reward system --- P3D/Content/Data/Scripts/startscript/main.dat | Bin 0 -> 184 bytes .../Data/Scripts/startscript/rewardsdetailed.dat | Bin 0 -> 70 bytes .../Data/Scripts/startscript/rewardssystem.dat | Bin 0 -> 618 bytes P3D/P3D.vbproj | 9 +++++++++ P3D/Resources/GameModeManager.vb | 2 ++ 5 files changed, 11 insertions(+) create mode 100644 P3D/Content/Data/Scripts/startscript/main.dat create mode 100644 P3D/Content/Data/Scripts/startscript/rewardsdetailed.dat create mode 100644 P3D/Content/Data/Scripts/startscript/rewardssystem.dat diff --git a/P3D/Content/Data/Scripts/startscript/main.dat b/P3D/Content/Data/Scripts/startscript/main.dat new file mode 100644 index 0000000000000000000000000000000000000000..21863bc146c5719b7c19822af2f60f9026a445f6 GIT binary patch literal 184 zcmYj~K?=e^5CrQi_>XuA;!z0r5HG>(A+RRFT@^pCsZ9jE4Aav!-Jkb^z>P%D$Uwt^ zEgMcuL|R^pTXWSdWW}D{mx$_ei`3lZJNc|${}UH;d+%94Ia_r$;kW-YXWhVap*opl PcOiq_Yva*T}3+t-R|VuB$pyW5%F z*`2S?gPdyZRBEeA4@z~Z3(cr_Dz)CU0x>3cRN_#tL08lhviE@UAe|b}wHDN$h)S*1 zD$+BERbWJ#hben_SGv&)?2Vx=o S;L;AgHmUR7k^Q*V?eYy4N@h?1 literal 0 HcmV?d00001 diff --git a/P3D/P3D.vbproj b/P3D/P3D.vbproj index 7f2b988ab..f1927c233 100644 --- a/P3D/P3D.vbproj +++ b/P3D/P3D.vbproj @@ -28606,6 +28606,15 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest diff --git a/P3D/Resources/GameModeManager.vb b/P3D/Resources/GameModeManager.vb index 64aaf2ef4..2eded6ec8 100644 --- a/P3D/Resources/GameModeManager.vb +++ b/P3D/Resources/GameModeManager.vb @@ -571,6 +571,8 @@ Public Class GameMode Dim gameMode As New GameMode("Pokemon 3D", "The normal game mode.", GameController.GAMEVERSION, "Kolben Games", "\Content\Data\maps\", "\Content\Data\Scripts\", "\Content\Data\maps\poke\", "\Content\Pokemon\Data\", "\Content\", "\Content\Localization\", New List(Of GameRule), "newgame\intro0.dat", New Vector3(1.0F, 0.1F, 3.0F), MathHelper.PiOver2, "Your Room", "", New Color(59, 123, 165), "0", "welcome", "1", SkinColors, SkinFiles, SkinNames, SkinGenders) + gameMode.StartScript = "startscript\main" + Dim gameRules As New List(Of GameRule) gameRules.Add(New GameRule("MaxLevel", "100")) gameRules.Add(New GameRule("OnlyCaptureFirst", "0"))