Bug fixes
* Fixed Snape's Office music not playing * Added map to dev start
This commit is contained in:
parent
5aecfe01f5
commit
39301f51ad
@ -24,6 +24,7 @@ label start_dev:
|
|||||||
game.difficulty = 2
|
game.difficulty = 2
|
||||||
game.cheats = True
|
game.cheats = True
|
||||||
game.gold = 100000
|
game.gold = 100000
|
||||||
|
map_unlocked = True
|
||||||
snape_unlocked = True
|
snape_unlocked = True
|
||||||
tonks_unlocked = True
|
tonks_unlocked = True
|
||||||
hermione_unlocked = True
|
hermione_unlocked = True
|
||||||
|
@ -269,10 +269,13 @@ label play_music(music="", fadein=1.0, fadeout=1.0):
|
|||||||
|
|
||||||
# Play day/night theme
|
# Play day/night theme
|
||||||
label music_block:
|
label music_block:
|
||||||
if game.daytime:
|
if current_room == "main_room":
|
||||||
call play_music("day")
|
if game.daytime:
|
||||||
else:
|
call play_music("day")
|
||||||
call play_music("night")
|
else:
|
||||||
|
call play_music("night")
|
||||||
|
elif current_room == "snape_office":
|
||||||
|
call play_music("snape_office")
|
||||||
return
|
return
|
||||||
|
|
||||||
label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"):
|
label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"):
|
||||||
|
Loading…
Reference in New Issue
Block a user