Step 8
Alright. After countless battles and sex sessions with my script (and the help of my friend) I was able to implement a better dialogue system which properly interacts with clues.
For now, I am satisfied with it.
So let's discuss step 8.
Here we will round out the gameplay and create a winning objective.
It will be:
-Collect all 3 clues
-Find victims room
-Check your journal for the ghost type
-Read what actions need to be performed
-Perform those actions
-Bind the ghost in the victims room
-You win
So for step 8 we will:
1. After clues are collected and information about ghost is learned the triggers should become active for the actions.
2. Create those actions (flipping the lights, smoking in the room etc.)
3. After completing those actions and arriving in the victims room, the game should say YOU WIN.
So let's do it. Wish me luck!