Hello again amazing people!
I’m trying to get Inform6 to identify an object with a multi-word name. It’s a button and, eventually, will be siblinged to a number of other buttons all with unique names so just referring to it as “button” won’t work.
I saw this thread https://intfiction.org/t/i6-does-referencing-objects-with-a-multi-word-name-need-parse-name/47274 which seems to confirm that I need to use parse_name to accomplish this.
Object -> main_button "flashing button" has pressable switchable, ! pressable is an Attribute I added for LibraryMessages "Push" variation with description "A large round brightly-flashing button. It's very nature cries out, ~Push me. PUSH me. PUSH ME, DAMN YOU!~", parse_name [; if (NextWord() ~= "flashing") return 0; if (NextWord() == "button") return 2; return 1; ] ;
It gets called but Inform still gives me the response “You can’t see any such thing.” even though the button is listed in the room’s description…