mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Add changing weather.
This commit is contained in:
parent
6c42c57bfe
commit
b4920205c8
7 changed files with 245 additions and 16 deletions
|
@ -53,7 +53,18 @@ namespace HISP.Player
|
|||
public Award Awards;
|
||||
public int CapturingHorseId;
|
||||
public DateTime LoginTime;
|
||||
public string LastSeenWeather;
|
||||
|
||||
public string GetWeatherSeen()
|
||||
{
|
||||
string weather = "SUNNY";
|
||||
if (World.InTown(this.X, this.Y))
|
||||
weather = World.GetTown(this.X, this.Y).Weather;
|
||||
if (World.InIsle(this.X, this.Y))
|
||||
weather = World.GetIsle(this.X, this.Y).Weather;
|
||||
LastSeenWeather = weather;
|
||||
return weather;
|
||||
}
|
||||
public DateTime SubscribedUntil
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue