-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite Sleepy Eye tent location logic
This removes the dependency on SpaceCore, and fixes the location not being saved correctly in Stardew Valley 1.5 (since the player is in the farmhouse by the time the Saving event is called).
- Loading branch information
1 parent
07b6b9f
commit 66ec2c0
Showing
9 changed files
with
134 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Microsoft.Xna.Framework; | ||
using StardewValley; | ||
|
||
namespace SleepyEye.Framework | ||
{ | ||
/// <summary>Metadata about where and when the player camped.</summary> | ||
internal class CampData | ||
{ | ||
/********* | ||
** Accessors | ||
*********/ | ||
/// <summary>The name of the game location.</summary> | ||
public string Location { get; set; } | ||
|
||
/// <summary>The player's map pixel position.</summary> | ||
public Vector2 Position { get; set; } | ||
|
||
/// <summary>The mine level, if applicable.</summary> | ||
public int? MineLevel { get; set; } | ||
|
||
/// <summary>The <see cref="WorldDate.TotalDays"/> value when the player slept.</summary> | ||
public int DaysPlayed { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.