diff --git a/plugins/openweather/README.md b/plugins/openweather/README.md index abcc5f12..0b0d8d18 100644 --- a/plugins/openweather/README.md +++ b/plugins/openweather/README.md @@ -40,13 +40,26 @@ in game do ruby Openweather.current_weather This should give all the variables the API got for the area and will help in debugging. -# Oddities. -Seasons and time of day (ie, it's day or night) are not provided by Openweather. These come from the ICTime plugin in base AresMUSH. The base ICTime module does not have timezones, but there are code hooks where you can differentiate ICTime by area if you add custom code. +# Oddities and wierdness +* Seasons and time of day (ie, it's day or night) are not provided by Openweather. These come from the ICTime plugin in base AresMUSH. The base ICTime module does not have timezones, but there are code hooks where you can differentiate ICTime by area if you add custom code. +* Openweather makes the API call in the background, so inital startup may take +a second or two to populate the data. # Customizations Feel free to change the descriptions in the openweather.yml file, and or language in the ~/aresmush/plugins/openweather/locales/locale_en.yml +# Common Gotchas +* Make sure when adding the API key that it is on one line (no dashes) and falls +under the secrets subkey. + +
+secrets: + openweather_api_key: your_api_key ++ +* If you need to make a change or fix in the config files do an **openweather/reset**. That will force a weather update using the new configs. + # Author Dennis De Marco (dennis@demarco.com)/Fenris@SpirtLakeMU # Reference Links diff --git a/plugins/openweather/game/config/openweather.yml b/plugins/openweather/game/config/openweather.yml index d1c515d1..bd12e0d6 100644 --- a/plugins/openweather/game/config/openweather.yml +++ b/plugins/openweather/game/config/openweather.yml @@ -15,8 +15,8 @@ openweather: Offstage: none Polar: coords: - lon: 40.92 lat: -74.7 + lon: 40.92 Vegas: zip: 89109