Supplemental Actions

version 35 by Al Golden

  • Home page
  • Beginning
  • Previous
  • Next



  • Part 16 - Emptying (new)
    emptying is an action applying to one thing.
    understand "empty [something]" as emptying.
    understand "empty [container]" as emptying.
    understand "empty [something] out" as emptying.
    understand "empty [container] out" as emptying.
    understand "empty out [something]" as emptying.
    understand "empty out [container]" as emptying.
    emptying it into is an action applying to two things.
    understand "empty [container] in/into [something]" as emptying it into.
    understand "empty [something] in/into [something]" as emptying it into.
    emptying it onto is an action applying to two things.
    understand "empty [container] on/onto [something]" as emptying it onto.
    understand "empty [something] on/onto [something]" as emptying it onto.
    emptying it from is an action applying to two things.
    understand "empty [things] from [something]" as emptying it from.
    understand "empty [things] from [container]" as emptying it from.
    emptying it out of is an action applying to two things.
    understand "empty [things] out of [something]" as emptying it out of.
    understand "empty [things] out of [container]" as emptying it out of.
    understand the command "dump" as "empty".
    before emptying a closed container
    (this is the can't empty a closed container rule):
    say "You need to open [the noun] before you can empty it." instead.
    before emptying something which is not a container
    (this is the can't empty a non-container rule):
    say "Since [the noun] isn't a container, you can't empty it." instead.
    before emptying an emptyable thing
    (this is the first unemptyable rule):
    say "You can't empty [the noun]." instead.
    before emptying an emptyable thing onto a second noun
    (this is the second unemptyable rule):
    say "You can't empty [the noun] onto [the second noun]." instead.
    before emptying an emptyable thing into a second noun
    (this is the third unemptyable rule):
    say "You can't empty [the noun] into [the second noun]." instead.
    before emptying an empty container
    (this is the can't empty an empty container rule):
    say "[The noun] has nothing in it to empty." instead.
    before emptying something out of an empty container
    (this is the first can't empty something which is not in a container rule):
    if the noun is not in the second noun,
    say "The [noun] isn't in [the second noun]." instead.
    before emptying something from an empty container
    (this is the second can't empty something which is not in a container rule):
    if the noun is not in the second noun,
    say "The [noun] isn't in [the second noun]." instead.
    before emptying an unempty container into a second noun
    (this is the second noun isn't a container rule):
    if the second noun is not a container,
    say "Since [the second noun] isn't a container, it can't hold anything." instead
    before emptying an unempty container into a second noun
    (this is the first emptying it into rule):
    if the noun is closed,
    say "[The noun] isn't open." instead.
    before emptying an unempty container into a second noun
    (this is the second emptying it into rule):
    if the second noun is closed,
    say "[The second noun] isn't open." instead.
    before emptying an unempty container into a second noun
    (this is the third emptying it into rule):
    say "You empty [the list of things in the noun] into [the second noun] .";
    now all the things in the noun are in the second noun instead.
    before emptying an unempty container onto a second noun
    (this is the second noun isn't a supporter rule):
    if the second noun is not a supporter,
    say "Since [the second noun] isn't a supporter, it can't hold anything." instead.
    before emptying an unempty container onto a second noun
    (this is the second noun is a supporter rule):
    if the second noun is a supporter,
    say "You empty the [list of things in the noun] onto [the second noun].";
    now everything in the noun is on the second noun instead.
            
    before emptying something from an unempty container
    (this is the first emptying an unempty container rule):
        if the number of things in the second noun is 1:
            say "You [verbword] the last item out of the [noun]. It's now empty.";
            now the second noun is empty instead;
            now the noun is in the location;
        otherwise:
            now the noun is in the location;
            say "You [verbword] the [the noun] from [the second noun].
            There are still other things left in [the second noun]." instead.
                        
    after inserting something into an open container:
    now the second noun is unempty;
    say "You [verbword] [the noun] into [the second noun].";
    check inserting something into a closed container:
    say "[The second noun] isn't open!" instead.
        
    before emptying an open unempty emptyable container
    (this is the second emptying an unempty container rule):
    say "You [verbword] [the list of things in the noun] out onto the ground.";
    now the noun is empty;
    now all the things in the noun are in the location instead.