Fix weather storm and create the weather image tag (by

Gouvernathor)
This commit is contained in:
LoafyLemon 2024-03-24 17:54:06 +00:00
parent 2ef20d57da
commit 26b1e7f051
2 changed files with 11 additions and 18 deletions

View File

@ -30,7 +30,7 @@ screen main_room():
if room_menu_active and game.day > 1 and not renpy.android:
use hotkeys_main
add "weather_[game.weather]" xycenter (430, 218)
add "weather [game.weather]" xycenter (430, 218)
# Walls
if game.daytime:

View File

@ -28,13 +28,13 @@ transform cloud_move:
pause 7
repeat
image weather_clear = ConditionSwitch( # final
image weather clear = ConditionSwitch( # final
"game.daytime", "images/rooms/main_room/weather/sky.webp",
"game.moon", "images/rooms/main_room/weather/night_sky_moon.webp",
"True", "images/rooms/main_room/weather/night_sky.webp",
)
image weather_overcast = ConditionSwitch( # final
image weather overcast = ConditionSwitch( # final
"game.daytime", "images/rooms/main_room/weather/sky_overcast.webp",
"game.moon", "images/rooms/main_room/weather/night_sky_moon_overcast.webp",
"True", "images/rooms/main_room/weather/night_sky_overcast.webp",
@ -73,7 +73,7 @@ image weather_cloudy_fx:
pause 2
repeat
image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True) # final
image weather cloudy = Fixed("weather clear", "weather_cloudy_fx", fit_first=True) # final
image weather_rain_fx:
animation
@ -85,7 +85,7 @@ image weather_rain_fx:
pause.1
repeat
image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True) # final
image weather rain = Fixed("weather overcast", "weather_rain_fx", fit_first=True) # final
image weather_snow_fx:
animation
@ -111,7 +111,7 @@ image weather_snow_fx:
pause.07
repeat
image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True) # final
image weather snow = Fixed("weather overcast", "weather_snow_fx", fit_first=True) # final
image weather_blizzard_fx:
animation
@ -137,12 +137,12 @@ image weather_blizzard_fx:
pause.05
repeat
image weather_blizzard = Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True) # final
image weather blizzard = Fixed("weather overcast", "weather_blizzard_fx", fit_first=True) # final
image weather_storm_fx:
animation
parallel:
contains:
animation
pause 20
Null()
@ -165,14 +165,7 @@ image weather_storm_fx:
pause 20
repeat
parallel:
animation
"images/rooms/main_room/weather/rain_01.webp"
pause.1
"images/rooms/main_room/weather/rain_02.webp"
pause.1
"images/rooms/main_room/weather/rain_03.webp"
pause.1
repeat
contains:
"weather_rain_fx"
image weather_storm = Fixed("weather_overcast", "weather_storm_fx", fit_first=True) # final
image weather storm = Fixed("weather overcast", "weather_storm_fx", fit_first=True) # final