Hasten ConditionSwitch-es
This commit is contained in:
parent
542db72609
commit
9d52bd9c92
@ -1,4 +1,3 @@
|
||||
|
||||
label weather_sound:
|
||||
if game.weather == "blizzard":
|
||||
play weather "sounds/blizzard.ogg" fadeout 0.5 fadein 0.5 if_changed
|
||||
@ -28,15 +27,15 @@ transform cloud_move:
|
||||
repeat
|
||||
|
||||
image weather_clear = ConditionSwitch(
|
||||
"game.daytime == True", "images/rooms/main_room/weather/sky.webp",
|
||||
"game.moon == True", "images/rooms/main_room/weather/night_sky_moon.webp",
|
||||
"game.daytime == False", "images/rooms/main_room/weather/night_sky.webp",
|
||||
"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(
|
||||
"game.daytime == True", "images/rooms/main_room/weather/sky_overcast.webp",
|
||||
"game.moon == True", "images/rooms/main_room/weather/night_sky_moon_overcast.webp",
|
||||
"game.daytime == False", "images/rooms/main_room/weather/night_sky_overcast.webp",
|
||||
"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",
|
||||
)
|
||||
|
||||
image weather_cloudy_clouds_night = Composite(
|
||||
@ -54,8 +53,8 @@ image weather_cloudy_clouds_day = Composite(
|
||||
)
|
||||
|
||||
image weather_cloudy_clouds = ConditionSwitch(
|
||||
"game.daytime == True", "weather_cloudy_clouds_day",
|
||||
"game.daytime == False", "weather_cloudy_clouds_night",
|
||||
"game.daytime", "weather_cloudy_clouds_day",
|
||||
"True", "weather_cloudy_clouds_night",
|
||||
)
|
||||
|
||||
image weather_cloudy_fx:
|
||||
|
Loading…
Reference in New Issue
Block a user