millertime-homework / Emergency-Response

Emergency Response Game
0 stars 2 forks source link

Earthquake chalk bug #38

Closed moralismercatus closed 11 years ago

moralismercatus commented 11 years ago

If you enter the room with prof. Xavier and pick up the chalk before talking with him, the chalk gets removed from your backpack.

2 solutions: don't clear the backpack or initiate convo immediately upon entering the room.

millertime-homework commented 11 years ago

I think the Chalk conversation should be rewritten: if the player hasn't been asked to pick up the chalk then the conversation exits and opens a prof conversation where he asks you to get the chalk, which allows you to pick it up within that conversation and, optionally, give it to him.

And if the player talks to the professor and then clicks the chalk, there should be an option within the chalk conversation to immediately hand it to the prof.

We have cool flow/logic controls in our conversations, using the 'check' option (which allows 'goto' for branching the conversation), and if we use it in interesting ways like this we can make the gameplay much more intuitive.

millertime-homework commented 11 years ago

If you're curious what I meant exactly, check out how I did it: https://github.com/millertime-homework/Emergency-Response/commit/e05d83f60ce42b15248b24475eac537633387b2a