This week's devlog covers how I made a new puzzle with the bookshelf cabinets and lights using a custom struct I call a conditional trigger payload. Using a custom enumeration, and Blueprint interface, I can compare different trigger events to figure out if an interactable object in the game should be able to be opened or not. Essentially, a very fancy combination lock that is abstract enough to use in many different parts of the game.
As a bonus, the changes made in this devlog are available in The House Dreams Along With Them Demo right now!
Here's the demo changes:
- Removed Umbral Personae code from demo (it was always meant to be temporary!)
- Added custom light switch to power off the living room dream lava lamp
- Added conditional triggers to bottom cabinets on bookshelf
- They require the fluorescent lights to be turned on in a certain pattern
- Added new clue to left peephole in foyer
- Rearranged garage falling loop point
- There's now a central shaft the player falls completely through
- Added special message for trying to fit the garage drawer into the guest bedroom's nightstand or desk
