Browse Source

[SplashTexts] [2.0.3.0] changes for 2.0.3.0 version names

Zariteis 4 years ago
parent
commit
26d7fb6a48
3 changed files with 14 additions and 7 deletions
  1. 0 4
      SplashTexts/Core.cs
  2. 9 2
      SplashTexts/SplashTexts.cs
  3. 5 1
      SplashTexts/SplashTexts.csproj

+ 0 - 4
SplashTexts/Core.cs

@@ -1,8 +1,4 @@
 using GadgetCore;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using UnityEngine;
 
 namespace SplashTexts

+ 9 - 2
SplashTexts/SplashTexts.cs

@@ -10,7 +10,7 @@ namespace SplashTexts
   [Gadget("SplashTexts", RequiredOnClients: false)]
   public class SplashTexts : Gadget<SplashTexts>
   {
-    public const string MOD_VERSION = "1.0"; // Set this to the version of your mod.
+    public const string MOD_VERSION = "1.1"; // Set this to the version of your mod.
     public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file.
 
     public override IGadgetConfigMenu GetConfigMenu() { return null; }
@@ -64,10 +64,12 @@ namespace SplashTexts
       texts.Add("10,000,000$ Edition");
       texts.Add("Premium Ultra Deluxe Gold Edition");
       texts.Add("#C#AAAAFF#Infinity Edition");
-      texts.Add("Gadget Core " + GadgetCoreAPI.GetFullVersion() + " Edition");
+      texts.Add("Gadget Core " + GadgetCoreAPI.GetFullVersion());
+      texts.Add("enhanced by Gadget Core");
       texts.Add("There are mods?");
       texts.Add("1 + 5 = 1#S#1 + 5 = 6");
       texts.Add("v1.5.1#S#v1.5");
+      texts.Add("v1.5.1#S#        1");
       texts.Add("v1.5.1");
       texts.Add("v?.?.?");
       texts.Add("Magicite 2");
@@ -100,8 +102,11 @@ namespace SplashTexts
       texts.Add("42");
       var time = DateTime.Now;
       texts.Add(time.Hour + ":" + time.Minute + ":" + time.Minute);
+      texts.Add(((time.Hour + 11) % 12 + 1) + ":" + time.Minute + ":" + time.Minute + " " + (time.Hour >= 12 ? "PM" : "AM"));
       texts.Add("maybe " + (time.Year + 1) + "?");
+      texts.Add(((int)(time - new DateTime(2017, 2, 14)).TotalSeconds)+ " seconds already");
       texts.Add("made on earth");
+      for (int j = 0; j < 3; j++)
       {
         int i = random.Next(6);
         int @int = PreviewLabs.PlayerPrefs.GetInt(i + "isChar");
@@ -110,6 +115,7 @@ namespace SplashTexts
           var name = PreviewLabs.PlayerPrefs.GetString(i + "name");
           texts.Add("Hi, " + name + "!");
           texts.Add("Have a nice day " + name + "!");
+          break;
         }
       }
       texts.Add("Have a nice day!");
@@ -121,6 +127,7 @@ namespace SplashTexts
       texts.Add("music by Bashi Boizu");
       texts.Add("Exodus exists");
       texts.Add("end of 2019");
+      texts.Add("finished since 2017");
       texts.Add("Rock Scarabs do like that.");
       texts.Add("RUN TO THE PORTALS!!!");
       texts.Add("Graphics: AMAZING");

+ 5 - 1
SplashTexts/SplashTexts.csproj

@@ -11,7 +11,7 @@
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>SplashTexts</RootNamespace>
     <AssemblyName>SplashTexts</AssemblyName>
-    <TargetFrameworks>net35</TargetFrameworks>
+    <TargetFrameworks>net4</TargetFrameworks>
     <FileAlignment>512</FileAlignment>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <Configurations>Release</Configurations>
@@ -19,6 +19,7 @@
     <ApplicationIcon />
     <StartupObject />
     <Platforms>x86</Platforms>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     <PlatformTarget>x86</PlatformTarget>
@@ -37,14 +38,17 @@
     <Reference Include="0Harmony">
       <HintPath>$(GamePath)$(ManagedFolder)0Harmony.dll</HintPath>
       <Private>false</Private>
+      <SpecificVersion>false</SpecificVersion>
     </Reference>
     <Reference Include="Assembly-CSharp">
       <HintPath>$(GamePath)$(ManagedFolder)Assembly-CSharp.dll</HintPath>
       <Private>false</Private>
+      <SpecificVersion>false</SpecificVersion>
     </Reference>
     <Reference Include="GadgetCore">
       <HintPath>$(GamePath)$(ManagedFolder)GadgetCore.dll</HintPath>
       <Private>false</Private>
+      <SpecificVersion>false</SpecificVersion>
     </Reference>
     <Reference Include="UnityEngine">
       <HintPath>$(GamePath)$(ManagedFolder)UnityEngine.dll</HintPath>