Hi again (and many thanks for helping me earlier). I’m trying to incorporate ShadowChaser’s Basic Characters extension, and one of the extensions it relies on is Emily Short’s Menus.
I’m getting two errors when I go to test the code regarding Menus. I’m not sure what the errors are actually telling me though, I THINK it might be because I haven’t actually created any tables of my own yet. Admittedly, this may be a bit ambitious for what I know so far. I was mostly just trying to learn how Basic Characters worked in order to set up something like a stamina attribute for the player character, that would decrease with certain actions and replenish with rest.
This is the report produced by Inform 7 (build 6G60) on its most recent run through:
In Section 1 in the extension Menus by Emily Short:
Problem. In the sentence ‘if the current menu is table of start game or current menu is the table of sex choice or current menu is the table of basic combat begin’ , I was expecting that ‘current menu is table of start game or current menu is the table of sex choice or current menu is the table of basic combat’ would be a condition. It didn’t make sense as one long phrase, but because it was divided up by ‘and’/‘or’, I tried breaking it down into smaller conditions, but that didn’t work either. ‘current menu is table of start game’ did not make sense; ‘current menu is the table of sex choice’ did not make sense; ‘current menu is the table of basic combat’ did not make sense; so I ran out of ideas.
I was trying to match this phrase:
if (current menu is table of start game or current menu is the table of sex choice or current menu is the table of basic combat - a condition):
This was what I found out:
current menu is table of start game or current menu is the table of sex choice or current menu is the table of basic combat = something unrecognised
Problem. You wrote ‘otherwise’ : but this is an ‘else’ or ‘otherwise’ with no matching ‘if’ (or ‘unless’), which must be wrong.
See the manual: 11.8 > Otherwise