Update to prevent multiple points given out for Cheese Shop
This commit is contained in:
parent
85357e10d6
commit
3f0254f031
@ -240,6 +240,7 @@ Carry out talking when the noun is Cheese Shop Dancer:
|
|||||||
GAME PROGRESSING ACTIONS
|
GAME PROGRESSING ACTIONS
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Cheese Shop Solved is a truth state that varies. Cheese Shop Solved is false.
|
||||||
Instead of asking when the noun is Cheese Shopkeep:
|
Instead of asking when the noun is Cheese Shopkeep:
|
||||||
if the second noun is cheddar:
|
if the second noun is cheddar:
|
||||||
say "Cheese Shopkeep frowns slightly but returns to their vapid smile and says 'Well, we don't get much call for it around here, sir!'";
|
say "Cheese Shopkeep frowns slightly but returns to their vapid smile and says 'Well, we don't get much call for it around here, sir!'";
|
||||||
@ -255,7 +256,9 @@ Instead of asking when the noun is Cheese Shopkeep:
|
|||||||
say "[paragraph break](A short, awkward pause.)";
|
say "[paragraph break](A short, awkward pause.)";
|
||||||
say "[paragraph break]Cheese Shopkeep says 'No, not really. Not a scrap.'";
|
say "[paragraph break]Cheese Shopkeep says 'No, not really. Not a scrap.'";
|
||||||
say "(You hear the unlocking of the Cheese Shop Door)";
|
say "(You hear the unlocking of the Cheese Shop Door)";
|
||||||
increase the score of the player by 10;
|
if Cheese Shop Solved is false:
|
||||||
|
increase the score of the player by 10;
|
||||||
|
now Cheese Shop Solved is true;
|
||||||
now the Cheese Shop Door is unlocked;
|
now the Cheese Shop Door is unlocked;
|
||||||
otherwise:
|
otherwise:
|
||||||
say "Cheese Shopkeep looks at you, smiles, and politely says 'I'm sorry, but we don't carry [the second noun].'";
|
say "Cheese Shopkeep looks at you, smiles, and politely says 'I'm sorry, but we don't carry [the second noun].'";
|
||||||
|
Loading…
Reference in New Issue
Block a user