Discussions about interactive fiction

Inform 7 language. What is the purpose of Report?

I am trying to find out the purpose of report.

I can add text to Carry Out so I can’t see the need for Report

Example

Carry out folding:

       now the noun is swan-like;

       say "You fold the [noun] into a shape of a swan.

Report folding:

       say "You fold the [noun] into a shape of a swan.

As you can see what I want to display can be put under Carry Out why what

is the purpose of using Report ?


Regards Brian

.
posted by admin in Uncategorized and have Comments (2)

2 Responses to “Inform 7 language. What is the purpose of Report?”

  1. admin says:

    - Hide quoted text — Show quoted text -

    On Wednesday, November 14, 2012 7:22:41 PM UTC-5, Brian wrote:

    > I am trying to find out the purpose of report.

    > I can add text to Carry Out so I can’t see the need for Report

    > Example

    > Carry out folding:

    >        now the noun is swan-like;

    >        say "You fold the [noun] into a shape of a swan.

    > Report folding:

    >        say "You fold the [noun] into a shape of a swan.

    > As you can see what I want to display can be put under Carry Out why what

    > is the purpose of using Report ?

    > —

    > Regards Brian

    Most of the time I’ve found that I can move stuff around like putting things in carry out or after that I should probably have put in report. I had an interesting bug one time, however that was due to this.

    I had it set up that when the player read the note, it would then catch fire and become scorched and unreadable. I had an after rule which caused it to catch fire. I also had a carry out rule with a text substitution for the printed name of the note. Because I put in carry out with occurs before after, it called the note "secret note", instead of "scorched unreadable note".

    So, while most of the time you could probably put that message wherever, putting them in the construct of before, check, carry out, after, and report the way they are set up, makes you (or at least me) less likely to end up with silly bugs like that.

  2. admin says:

    - Hide quoted text — Show quoted text -

    Kelsey Norris <kelsey.nor…@gmail.com> wrote:

    > On Wednesday, November 14, 2012 7:22:41 PM UTC-5, Brian wrote:

    >> I am trying to find out the purpose of report.

    >> I can add text to Carry Out so I can’t see the need for Report

    >> Example

    >> Carry out folding:

    >>        now the noun is swan-like;

    >>        say "You fold the [noun] into a shape of a swan.

    >> Report folding:

    >>        say "You fold the [noun] into a shape of a swan.

    >> As you can see what I want to display can be put under Carry Out why what

    >> is the purpose of using Report ?

    >> —

    >> Regards Brian

    > Most of the time I’ve found that I can move stuff around like putting

    > things in carry out or after that I should probably have put in report. I

    > had an interesting bug one time, however that was due to this.

    > I had it set up that when the player read the note, it would then catch

    > fire and become scorched and unreadable. I had an after rule which caused

    > it to catch fire. I also had a carry out rule with a text substitution

    > for the printed name of the note. Because I put in carry out with occurs

    > before after, it called the note "secret note", instead of "scorched unreadable note".

    > So, while most of the time you could probably put that message wherever,

    > putting them in the construct of before, check, carry out, after, and

    > report the way they are set up, makes you (or at least me) less likely to

    > end up with silly bugs like that.

    Thanks Kelsey for your reply.

    I see what yo,u mean by having things occurring in a certain order..

    I’m finding out a lot of things with inform 7 by experimenting.
    I set myself a single task such as finding a way to move object A to the

    same room that object B is in and try some examples in the Inform 7 manual

    to try and achieve this. I made the mistake of taking on too much when

    learning Inform 7. Once I am happy at getting something to work I’ll write

    it down and move on to some other task.


    Regards Brian

Place your comment

You must be logged in to post a comment.