Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
New to the forums, new to HPL, and new to scripting language (C++?).
. . . I know, so grating on your ears, right?
I'm great at picking things up and have been teaching myself as I go. I'm actually quite surprised at how far I've come without having to come on the forums.
But, alas, something has kicked my butt.
In my game, the player goes into the attic and is greeted by 5 levers and a locked chest. Using other information obtained, they must pull the levers in a certain order to unlock the chest. The order is 3 - 5 - 1 - 3. 4 is not touched.
For the life of me I can't figure out how to make this happen.
I was able to find a Thread in which the player had to light candles in a certain order, but unfortunately the code base is too different to transfer over simply enough, or at least I'm too out of it to figure it out.