Discussions about interactive fiction

I7 again :P

Man that guy spamming is annoying….

So i have the following:

[code]

scvcolor is a kind of value.
The scvcolors are blue, green and pink.
Understand the scvcolor property as describing a SCV.

A SCV is a kind of vehicle.
        It has scvcolor. It is usually blue.

        Before printing the name of a SCV:
                say "[scvcolor ] ";
        Before printing the plural name of a SCV:
                say "[scvcolor ] ";

        A storage bin is a kind of container . A storage bin is in every SCV.
        Understand "[scvcolor]" as storage bin.

[
        Instead of inserting into storage bin:
                if second noun is green SCV begin;
                        now noun is in green SCV storage bin;
                else;
                        now noun is in blue SCV storage bin;
                end if;

        Instead of inserting into SCV:
                if second noun is scenery begin;
                        say "Better work on that vertical, forget it." instead;
                else;
                        now the noun is in storage bin which is in SCV;
                        say "There is no room in the SCV but you put [the noun] into the
storage bin of the SCV.";
                end if;
]

x is a room.
        In the x are a blue SCV, green SCV.

when play begins:
        now note is in player;

a note is in x.

[end code]

One part im having an error with is:

"now the noun is in storage bin which is in SCV;"

i cant get it to accept anything there.....

also....

when as a player i put something into the storage bin it will only
allow

put x into bin

and puts it into one of 2 scvs that i have in the room but i cant
specify by color as a player even the one i really want it in so....

in other words i can do put x into green scv but not into green scv
bin.....

any help would be appreciated.

it would be nice if i could find a reference or tutorial manual that
had info like this grouped together. So in this case i would like to
see all forms of legitimate ways to deal with times we use the word
"every".

once again thanks!

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

4 Responses to “I7 again :P”

  1. admin says:

    Starcraft IF, or am I mistaken? I’ll look at  the code in a few
    minutes. I just wanted to say I went and reported the last slew of
    spam. (click more options near top of spam message) If a few other
    people did it as well, might help. I don’t know if Google can remove
    it, but I’m guessing if enough people report it, something good might
    happen.

  2. admin says:

    I want in on the game! {:0p

    I can’t get the code to work either…

  3. admin says:

    excellent now if i can just figure out what that new code means to my
    brain lol :>

  4. admin says:

    [Ok works great now i have another issue of course lol]

    "test2" by Alex Stuart

     A thing can be internal. A thing is usually not internal.

    Rule for deciding the concealed possessions of vehicle:
            if the particular possession is internal and player is not in
    vehicle, yes; otherwise no.

    scvcolor is a kind of value. The scvcolors are blue, green and pink.
    Understand the scvcolor property as describing a SCV.

    A SCV is a kind of vehicle. It has scvcolor. It is usually blue.

    A button is a kind of thing. A button is part of every SCV.
    It is internal.

    Instead of pushing button:
            say "[the holder of the noun] was pushed.";

    Before printing the name of a SCV: say "[scvcolor ] ".
    Before printing the plural name of a SCV: say "[scvcolor ] ".

    A storage bin is a kind of container . A storage bin is in every SCV.

    Understand "[something related by reversed containment] bin" or
    "[something related by reversed containment] storage bin" as a
    storage
    bin.

    Instead of inserting something into a scenery SCV, say "Better work
    on
    that vertical, forget it."

    Instead of inserting something into an SCV:
            let receptacle be a random storage bin in the second noun;
            silently try inserting the noun into receptacle;
            if the noun is in receptacle, say "There is no room in the SCV
    but
    you put [the noun] into the storage bin of the SCV."

    x is a room.  In the x are a blue SCV, green SCV.

    The player carries a note.

    Test me with "enter blue / push button / enter green / push button".

    [
    end code

    which works great except when im using this SCV which i have 2 i cant
    tell when a blue vs green scvs button is pushed because both show as
    blue?

    Thanks!
    ]

Place your comment

You must be logged in to post a comment.