Tsank35
27ae3d5612
Room variation types ( #517 )
...
* Global.gd now has an extra variable for current room type
* ResourceSetterNew.gd now has variation category for room types
The state variable also had to include the room type, since it wouldn't update properly when entering a bonus room from a level that's already underground
* LevelClass.gd sets room type on update_theme
A new function, get_room_type() allows for the level's room type to be detected, which can easily be overwritten by other level classes. Bonus Rooms are detected by comparing the level's scene path to a pre-defined list of bonus rooms.
* Added get_room_type() to CoinHeaven.gd
* Added get_room_type() to PipeCutscene.gd
Also updates the room type in _enter_tree() since update_theme() isn't called here.
* Added get_room_type() to TitleScreen.gd
2025-10-06 22:05:43 +01:00
..
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-21 19:38:16 +01:00
2025-09-13 16:30:32 +01:00
2025-10-06 22:02:15 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-25 13:27:46 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-19 14:22:53 -07:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-27 18:38:03 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-27 18:38:03 +01:00
2025-09-13 16:30:32 +01:00
2025-09-29 11:43:38 +01:00
2025-09-13 16:30:32 +01:00
2025-09-26 12:58:25 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 17:17:14 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-29 11:58:21 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-10-02 10:09:21 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-24 17:53:33 +01:00
2025-09-13 16:30:32 +01:00
2025-09-26 20:32:42 +01:00
2025-09-13 16:30:32 +01:00
2025-10-01 10:58:20 +01:00
2025-09-13 16:30:32 +01:00
2025-09-29 20:03:19 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-19 20:32:05 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-10-06 22:05:43 +01:00
2025-09-13 16:30:32 +01:00
2025-09-22 12:41:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-26 20:32:42 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-26 20:32:42 +01:00
2025-09-13 16:30:32 +01:00
2025-09-26 20:32:42 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-10-06 22:05:43 +01:00
2025-09-13 16:30:32 +01:00
2025-09-21 19:38:16 +01:00
2025-09-13 16:30:32 +01:00
2025-10-01 12:33:34 +01:00
2025-09-13 16:30:32 +01:00
2025-09-25 09:29:00 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-16 10:41:31 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00
2025-09-13 16:30:32 +01:00