Alchemy Poison & Item Crafting Engine

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Scrubbing Flasks
    To Return Clean: [<---------------------------------------Gives the player a Good Clean Potion Flask]
        if there is a Potion Flask in Hyperspace Chest:
            now the noun is a random Potion Flask in Hyperspace Chest;
            now the noun is toxic NOT tested;
            move the noun to the player;
            Say "[line break]You clean out the Flask and polish it to a shine, it should now be safe to use.";
        otherwise:
            let the new thing be a new object cloned from a random Potion Flask;
            move the new thing to the player;
            now the new thing is toxic NOT tested;
            Say "[line break]You clean out the Flask and polish it to a shine, it should now be safe to use.";
            
            
    Instead of rubbing an Alchemy Vessel:
        if the player does not carry Scrubby Cleaner and the player does not carry Infinite Cleaner:
            Say "[line break]You don't have anything to clean it with!";
            reject the player's command;
        otherwise if the player carries an Alchemy Vessel:
            if the player carries a DEADLY poisonous Alchemy Vessel:
                now the noun is a random DEADLY poisonous Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries a VERY poisonous Alchemy Vessel:
                now the noun is a random VERY poisonous Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries an Poisonous Alchemy Vessel:
                now the noun is a random Poisonous Alchemy Vessel;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries a Poison Tainted Alchemy Vessel:
                now the noun is a random Poison Tainted Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries a Very Alcoholic Alchemy Vessel:
                now the noun is a random Very Alcoholic Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries a Alcoholic Alchemy Vessel:
                now the noun is a random Alcoholic Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise if the player carries a slightly alcoholic Alchemy Vessel:
                now the noun is a random slightly alcoholic Alchemy Vessel carried by the player;
                move the noun to Hyperspace Chest;
                Return Clean;
                if the player carries a Infinite Cleaner:
                    do nothing;
                otherwise:
                    now the noun is a random Scrubby Cleaner carried by the player;
                    move the noun to Hyperspace Chest;
            otherwise:
                Say "[line break]All your Potion Flasks look clean enough already.";
                reject the player's command;
        Otherwise:
            Say "[line break]You don't have any Potion Flasks to clean!";
            reject the player's command;