Merge pull request #5494 from Neerti/weather_refactor

Refactors Weather
This commit is contained in:
Anewbe
2018-08-12 19:39:18 -05:00
committed by GitHub
9 changed files with 231 additions and 25 deletions

View File

@@ -77,7 +77,9 @@
"Weather" = planet.weather_holder.current_weather.name,
"Temperature" = planet.weather_holder.temperature - T0C,
"High" = planet.weather_holder.current_weather.temp_high - T0C,
"Low" = planet.weather_holder.current_weather.temp_low - T0C)
"Low" = planet.weather_holder.current_weather.temp_low - T0C,
"Forecast" = english_list(planet.weather_holder.forecast, and_text = "→", comma_text = "→", final_comma_text = "→") // Unicode RIGHTWARDS ARROW.
)
weather[++weather.len] = W
injection = "<div>Test</div>"