diff --git a/ButteredToast4.inform/Source/story.ni b/ButteredToast4.inform/Source/story.ni index 17409a3..44a27b8 100644 --- a/ButteredToast4.inform/Source/story.ni +++ b/ButteredToast4.inform/Source/story.ni @@ -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)"; - 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; otherwise: say "Cheese Shopkeep looks at you, smiles, and politely says 'I'm sorry, but we don't carry [the second noun].'";