Skip to content

Commit

Permalink
Updates for various things.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakorona committed Jan 23, 2022
1 parent 0020f8c commit 5cedf6d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DynamicNightTime/DynamicNightTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ private void OnGameLaunched(object sender, GameLaunchedEventArgs e)

public static float CalculateDayNightRatio()
{
float day_night_tranisition = (Utility.CalculateMinutesBetweenTimes(Game1.getStartingToGetDarkTime(), (Game1.timeOfDay + (int)(Game1.gameTimeInterval / 7000f * 10f % 10f))) * 1.0f) / (float)(Utility.CalculateMinutesBetweenTimes(Game1.getStartingToGetDarkTime(), Game1.getTrulyDarkTime()) * 1.0f);
float day_night_transition = (Utility.CalculateMinutesBetweenTimes(Game1.getStartingToGetDarkTime(), (Game1.timeOfDay + (int)(Game1.gameTimeInterval / 7000f * 10f % 10f))) * 1.0f) / (float)(Utility.CalculateMinutesBetweenTimes(Game1.getStartingToGetDarkTime(), Game1.getTrulyDarkTime()) * 1.0f);

return day_night_tranisition;
return day_night_transition;
}

public static float GetCurrentLocationLat()
Expand Down
2 changes: 0 additions & 2 deletions TheStarsIncline/AstrologicalSigns.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using StardewModdingAPI.Utilities;
using StardewValley;
using TwilightShards.Stardew.Common;

namespace TwilightShards.TheStarsIncline
{
Expand Down
7 changes: 2 additions & 5 deletions TheStarsIncline/TheStarsIncline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ public class TheStarsIncline : Mod
{
private readonly int UniqueBaseID = 49134570;

private AstrologicalSigns ZodiacData;
//It's the age of aquarius. The age of aquarius~~~

public override void Entry(IModHelper helper)
{
//woo!
Helper.Events.GameLoop.DayStarted += GameLoop_DayStarted;
var ZodiacData = new AstrologicalSigns();


}

private void GameLoop_DayStarted(object sender, StardewModdingAPI.Events.DayStartedEventArgs e)
{
throw new System.NotImplementedException();

}
}
}
2 changes: 1 addition & 1 deletion TheStarsIncline/TheStarsIncline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
<Import Project="..\TwilightCoreShared\TwilightCoreShared.projitems" Label="Shared" />
<Import Project="$(SolutionDir)\deploy-mod.targets" />

</Project>
</Project>

0 comments on commit 5cedf6d

Please sign in to comment.