2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
label weather_sound:
|
|
|
|
if game.weather == "blizzard":
|
|
|
|
play weather "sounds/blizzard.ogg" fadeout 0.5 fadein 0.5 if_changed
|
|
|
|
elif game.weather == "storm":
|
|
|
|
play weather "sounds/storm.ogg" fadeout 0.5 fadein 0.5 if_changed
|
|
|
|
elif game.weather == "rain":
|
|
|
|
play weather "sounds/storm.ogg" fadeout 0.5 fadein 0.5 if_changed # TODO: Rain sound (without thunder)
|
|
|
|
else:
|
|
|
|
stop weather fadeout 0.5
|
|
|
|
return
|
|
|
|
|
|
|
|
transform cloud_move:
|
|
|
|
xpos 520
|
|
|
|
choice:
|
|
|
|
ypos 150
|
|
|
|
choice:
|
|
|
|
ypos 160
|
|
|
|
choice:
|
|
|
|
ypos 170
|
|
|
|
choice:
|
|
|
|
ypos 190
|
|
|
|
choice:
|
|
|
|
ypos 200
|
|
|
|
|
|
|
|
linear 15.0 xpos 237
|
|
|
|
pause 7
|
|
|
|
repeat
|
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_clear = ConditionSwitch(
|
|
|
|
"game.daytime == True", "images/rooms/_weather_/sky.webp",
|
|
|
|
"game.moon == True", "images/rooms/_weather_/night_sky_moon.webp",
|
|
|
|
"game.daytime == False", "images/rooms/_weather_/night_sky.webp",
|
|
|
|
)
|
|
|
|
|
|
|
|
image weather_overcast = ConditionSwitch(
|
|
|
|
"game.daytime == True", "images/rooms/_weather_/sky_overcast.webp",
|
|
|
|
"game.moon == True", "images/rooms/_weather_/night_sky_moon_overcast.webp",
|
|
|
|
"game.daytime == False", "images/rooms/_weather_/night_sky_overcast.webp",
|
|
|
|
)
|
|
|
|
|
|
|
|
image weather_cloudy_clouds_night = Composite(
|
|
|
|
(155, 230),
|
|
|
|
(40, 40), "images/rooms/_weather_/night_cloud_01.webp",
|
|
|
|
(60, 60), "images/rooms/_weather_/night_cloud_02.webp",
|
|
|
|
(80, 80), "images/rooms/_weather_/night_cloud_03.webp",
|
|
|
|
)
|
|
|
|
|
|
|
|
image weather_cloudy_clouds_day = Composite(
|
|
|
|
(155, 230),
|
|
|
|
(40, 40), "images/rooms/_weather_/day_cloud_01.webp",
|
|
|
|
(60, 60), "images/rooms/_weather_/day_cloud_02.webp",
|
|
|
|
(80, 80), "images/rooms/_weather_/day_cloud_03.webp",
|
|
|
|
)
|
|
|
|
|
|
|
|
image weather_cloudy_clouds = ConditionSwitch(
|
|
|
|
"game.daytime == True", "weather_cloudy_clouds_day",
|
|
|
|
"game.daytime == False", "weather_cloudy_clouds_night",
|
|
|
|
)
|
|
|
|
|
|
|
|
image weather_cloudy_fx:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-31 14:31:41 +00:00
|
|
|
"weather_cloudy_clouds"
|
2022-05-16 23:48:22 +00:00
|
|
|
choice:
|
2022-05-31 14:31:41 +00:00
|
|
|
pos (-100, 0)
|
2022-05-16 23:48:22 +00:00
|
|
|
choice:
|
2022-05-31 14:31:41 +00:00
|
|
|
pos (-100, 15)
|
2022-05-16 23:48:22 +00:00
|
|
|
choice:
|
2022-05-31 14:31:41 +00:00
|
|
|
pos (-100, 30)
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
ease 15.0 xpos 120
|
2022-05-16 23:48:22 +00:00
|
|
|
pause 2
|
|
|
|
repeat
|
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True)
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_rain_fx:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-16 23:48:22 +00:00
|
|
|
"images/rooms/_weather_/rain_01.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/rain_02.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/rain_03.webp"
|
|
|
|
pause.1
|
|
|
|
repeat
|
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True)
|
|
|
|
|
|
|
|
image weather_snow_fx:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-16 23:48:22 +00:00
|
|
|
"images/rooms/_weather_/snow_01.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_02.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_03.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_04.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_05.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_06.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_07.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_08.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_09.webp"
|
|
|
|
pause.07
|
|
|
|
"images/rooms/_weather_/snow_10.webp"
|
|
|
|
pause.07
|
|
|
|
repeat
|
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True)
|
|
|
|
|
|
|
|
image weather_blizzard_fx:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-16 23:48:22 +00:00
|
|
|
"images/rooms/_weather_/blizzard_01.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_02.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_03.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_04.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_05.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_06.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_07.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_08.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_09.webp"
|
|
|
|
pause.05
|
|
|
|
"images/rooms/_weather_/blizzard_10.webp"
|
|
|
|
pause.05
|
|
|
|
repeat
|
|
|
|
|
2022-05-31 14:31:41 +00:00
|
|
|
image weather_blizzard= Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True)
|
|
|
|
|
|
|
|
image weather_storm_fx:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-31 14:31:41 +00:00
|
|
|
|
|
|
|
parallel:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-31 14:31:41 +00:00
|
|
|
pause 20
|
|
|
|
"images/rooms/_weather_/lightning_01.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_02.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_03.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_04.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_05.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_06.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_05.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_06.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/lightning_05.webp"
|
|
|
|
pause 20
|
|
|
|
repeat
|
|
|
|
|
|
|
|
parallel:
|
2022-12-17 21:57:06 +00:00
|
|
|
animation
|
2022-05-31 14:31:41 +00:00
|
|
|
"images/rooms/_weather_/rain_01.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/rain_02.webp"
|
|
|
|
pause.1
|
|
|
|
"images/rooms/_weather_/rain_03.webp"
|
|
|
|
pause.1
|
|
|
|
repeat
|
|
|
|
|
2022-12-17 21:57:06 +00:00
|
|
|
image weather_storm = Fixed("weather_overcast", "weather_storm_fx", fit_first=True)
|