Debugging

version 11 by Al Golden

  • Home page
  • Beginning
  • Previous



  • Section New Debug Features Not For Release

    dooring is an action applying to nothing.
    understand "doors" as dooring

    before dooring:
    say "List of doors in the game";
        
    carry out dooring:
        repeat with D running through doors:
            say "[D][/l]";

    holdsing is an action applying to nothing.
    understand "holdalls" as holdsing.

    report holdsing:
        say "List of holdalls in the game: [line break]";
        repeat with ho running through things which are player's holdalls:
            say "[ho][/l]";

    rooming is an action applying to nothing.
    understand "rooms" as rooming.

    report rooming:
        say "List of rooms in the game: [line break]";
        repeat with rm running through rooms:
            say "[rm] [line break]";
            
    thinging is an action applying to nothing .
    understand "things" as thinging.

    report thinging:
        say "[line break]List of objects in the game: [line break]";
    repeat with obj running through things which are not persons:
            say "[obj]";

    after printing the name of something (called item) while thinging:
        if the holder of the item is nothing:
            say " (lost)[line break]";
        else if the player carries the item:
            say " (carried)[line break]";
        else if the player wears the item:
            say " (worn)[line break]";
        else:
            say " (in [the location of the item])[line break]";
        
    scenerying is an action applying to nothing.
    understand "scenery" as scenerying.

    carry out scenerying:
        repeat with invis running through scenery things:
            say "[invis] [/l]";
            
    mnpcing is an action applying to nothing.
    understand "men" or "males" as mnpcing.

    wnpcing is an action applying to nothing.
    understand "women" or "females" as wnpcing.

    report mnpcing:
        say "List of Male NPCs in the game: [line break]";
        repeat with m running through things which are a man:
            say "[m]";

    after printing the name of a man (called guy) while mnpcing:
    say " (in [the location of the guy])[line break]";
            
    report wnpcing:
        say "List of Female NPCs in the game: [line break]";
        repeat with w running through things which are a woman:
            say "[w]";

    after printing the name of a woman (called gal) while wnpcing:
    say " (in [the location of the gal])[line break]";
            
    patrolling is an action applying to nothing.
    understand "patrollers" as patrolling.

    carry out patrolling:
        say "List of Patrollers in the game: [line break]";
        repeat with patz running through patrollers:
            say "[patz] (in [holder of the patz]) [line break]"

    backdropping is an action applying to nothing.
    understand "backdrops" as backdropping.

    report backdropping:
        say "List of backdrops in the game: [line break]";
        repeat with bd running through backdrops:
            say "[bd] [line break]"

    regeing is an action applying to nothing.
    understand "regions" as regeing.

    report regeing:
        say "List of regions in the game. [line break]";
        repeat with RG running through regions:
            say "[RG] [line break]"

    conting is an action applying to nothing.
    understand "containers" as conting.

    report conting:
        say "List of containers in the game: [line break]";
        repeat with c running through containers:
            say "[c]"

    after printing the name of a container (called receptacle) while conting:
    say " (in [the location of the receptacle])[line break]";

    supping is an action applying to nothing.
    understand "supporters" as supping

    report supping:
        say "List of supporters in the game: [line break]";
        repeat with su running through supporters:
            say "[su] ([holder of su])[line break]"

    crittering is an action applying to nothing.
    understand "animals" as crittering.

    report crittering:
        say "List of animals in the game: [line break]";
        repeat with C running through animals:
            say "[C] (in [holder of c])[line break]"

    vehing is an action applying to nothing.
    understand "vehicles" as vehing.

    carry out vehing:
        say "List of vehicles in the game: [line break]";
        repeat with Veez running through vehicles:
            say "[Veez] (in [holder of veez])[line break]"

        
    Debugging ends here.