I think you want a “rule for writing a paragraph about,” as in section 17.22:
Rule for writing a paragraph about Demon Core: say "The Demon Core must be where you dropped it, but you're chained to the water heater and can't move your head far enough to glimpse it. You can feel a tingling heat from it, though. Good thing you're already dead."
Except, as your red text seems to indicate that you know, you don’t want to print “You’re chained to the water heater” etc. whenever you write a paragraph about the Demon Core. You want to put a condition that specifies that the player is chained in order to print this text. For this activity, if the rule for writing a paragraph doesn’t print any text, things fall through to the standard “You can see the Demon Core here”; which is good, because it prevents these rules from missing a case and erasing the Demon Core from the description completely.
Can’t test right now, but I think it should be something more like:
[if the radioactivity of the notebook is more than 5TBq]
However, you can’t do what you’re trying to do inside of a say statement. Say statements only allow one if/else. So you can do “more than 5” or “less than 10” but you can’t do both. You’d have to define that conditional outside of the say statement and either print a new block of text or use text substitution.
I think you want “[if the radioactivity of the item described…]” “The notebook” parses the same way as “a notebook,” so that will trigger if any notebook meets the condition (assuming the condition parses at all).
An exposed notebook is a kind of thing with description "[if the radioactivity of the item described is greater than 5TBq and the radioactivity of the item described is less than 10TBq]Get thee to a superfund site![else]A notebook placeholder."
As I mentioned before, you have to use “item described.” When I tried it with “radioactivity of the notebook” it didn’t even compile, which surprised me a little – I expected it to treat “the notebook” as basically “some notebook, somewhere” (which would’ve been more insidious.)
You can’t say “if the radioactivity of the item described is greater than 5tbq and less than 10tbq”; you have to spell it out so there are complete conditions on either side of the “and.”
It has to be “greater than,” not “more than.” That’s what really got me. (The compiler errors were actually helpful here, since they nailed down which part was failing.)
Also, “>” works for it too. I tried that once, but the real hole for me was not using “the item described”. I bet there’s a way to get a list of all those internal variables like “item described” and “current room” and so on, but I don’t know what it is. Oh well.
The noun: In rules for actions, the first object that the action applies to.
The second noun: In rules for actions, the second object that the action applies to.
The topic understood: In rules for actions that take free-form text instead of object names, the text that was input. (e.g., If you type “SET DIAL TO FORBO”, the topic understood would be “FORBO”.)
The person asked: In persuasion rules and rules for actions, the person who is being asked to perform an action, or the person who is carrying it out.
The actor: In rules for actions, the person who is carrying out an action. (I’m not sure how much this differs from “the person asked” in most cases.") [UPDATE: Right, there’s some potential weirdness with “the actor.”]
The location: The room enclosing the player.
Anyone got some more? I may not have these all quite right, especially “the person asked.”
You’re probably trying to do nested conditionals like this:
say "[if the player is in the boiler room]You can see a [if the boiler is switched on]steaming [end if]boiler here.[end if]"
That’s what becomes too complex for say phrases. If you make sure the conditionals are not nested it compiles fine, although obviously it’s usually better to handle such situations with more elegant methods:
say "[if the player is in the boiler room]You can see a [end if][if the player is in the boiler room and the boiler is switched on]steaming [end if][if the player is in the boiler room]boiler here.[end if]"