After Not Doing Something by Ron Newcomb Search for other extensions by this author Approved for the Public Library

Versions

Download version 2/150410For Inform 7 6L38

Links

Description

Allows us to write rules that happen after an action fails, such as 'After not examining or searching something'

Tags actions rules

Documentation

Inform has always allowed us to write rules which take place after a character has done something. After doing something to the fragile wineglass, say "Careful, that's real crystal." But Inform doesn't allow us the same flexibility if whatever action we were attempting failed. This extension addresses this by allowing us to write "after not" rules. After not taking or climbing something, say "Maybe if you washed the butter off your fingers?" Just like the After and Instead rules, the After Not rules will only run the single most applicable rule, unless of course that rule ends with "make no decision". Example: * I Try, and I Try - Some people are never happy. *: "I Try, and I Try" Include after not doing something by Ron Newcomb. Your parent's house is a room. Your disapproving mother is a woman, here. A TV is fixed in place, here. After not doing something, say "In the background, you hear your mother sigh. 'Oh if you'd only worked harder, [the current action] wouldn't be a problem now, would it?'" After not pushing or rubbing something, say "Your mother sighs. 'Here, *I'll* get it for you.'" Test me with "go outside / turn on TV / dust TV / push TV / nap".