Hello there everyone. I have been mucking about with Inform 7 but I am still struggling because I think too much like a programmer. I know TADS 3 exists which I actually tried but its standard library is too much of a mess to use and I actually like the literary approach Inform 7 takes.
To get to my question, what I like to do is the following:
Every room and ideally every action should have a time cost involved. For the room each time the player enters a room the travel cost of said room should be the time in minutes the time advances. The travel cost ideally should be a mandatory “field” or “property” of the room class basically with a type of minutes since that seems to be built in. Ideally the compiler should yell at you if a room does not have that value instead of applying a default but if that is too complicated I am okay with it having a default.
For the actions I would want something similar. I want to be able to define a action cost for each action that is a mandatory field or property of that action and if that action is taken (no matter if it suceeds or or not) the action cost is added to the current time.
Ideally I could define a actiongood and actionbad cost different but that would just be the icing on the cake. I tried several things rummaged through the documentation but the verbage escapes me and I did not get it to work or even compile it to any working code and am on the verge of giving up.
Any help would be greatly appreciated.