Update to prevent multiple points given out for Cheese Shop

This commit is contained in:
William Moore 2023-01-11 15:26:31 -06:00
parent 85357e10d6
commit 3f0254f031

View File

@ -240,6 +240,7 @@ Carry out talking when the noun is Cheese Shop Dancer:
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:
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!'";
@ -255,7 +256,9 @@ Instead of asking when the noun is Cheese Shopkeep:
say "[paragraph break](A short, awkward pause.)";
say "[paragraph break]Cheese Shopkeep says 'No, not really. Not a scrap.'";
say "(You hear the unlocking of the Cheese Shop Door)";
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;
otherwise:
say "Cheese Shopkeep looks at you, smiles, and politely says 'I'm sorry, but we don't carry [the second noun].'";