Closed Saturn-99 closed 10 months ago
The task system is meant to be kind of a one-way function. Once you've achieved something, that's meant to indicate that you've change the world state to a point where the story can progress to a new stage in some way.
That said, the Achieved()
function is sticks-and-stone simple:
[ Achieved num;
if (task_done->num == 0) {
task_done->num = 1;
score = score + task_scores->num;
}
];
It should be very little work to write the inverse of this. I'll get a POC branch up and tag this issue in a bit.
Okay, I'd like someone to test this to destruction with the USB key puzzle, as I don't see it in the test suite.
reduce the player's points when they drop one of the 6 items needed for exfiltration (not other key items such as the plunger)