Alchemy Poison & Item Crafting Engine

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Example: * "Alchemy Workshop." - a short game showing the extension features.
        "Alchemy Workshop."
        Wizard Shop is a room.
        North of Wizard Shop is Wizard Garden. Rock is a thing in Wizard Garden.
        Include Alchemy Poison & Item Crafting Engine by Philip Black.
        
        Include Custom Poisons by Philip Black
        
        Magic Dust is a kind of thing. Pu Pi Essence is a kind of potion. Pu Pi Essence is Needs a Vessel.
        
        Magic Box is a kind of thing. It is fixed in place . There is a Magic Box in the Wizard Shop. "You see a magic box with a hopper on top and a little [if the draw encloses anything]draw full of [list of things enclosed by the draw][otherwise]empty draw[end if] in its base.". Understand "machine" and "hopper" as the Magic Box.
        
        The Magic Box is a kind of Craft Machine. [Input]
        
        The Draw is a container. It is fixed in place. [output] The Machine Output of the Magic Box is The Draw. [This script makes The draw receive items from the magic box. If you don't create an Machine Output it will cause bugs (See: Troubleshooting)]
        
        The Draw is in the Wizard Shop. Understand "mag" as magroot.
        
        Every Magic Box becomes the Pu Pi Essence. [Items it creates]
        Every Magic Box becomes the Magic Dust.
        
        Distilled Grief are a kind of potion. The Description is "Hidiously toxic, unless neutralised.". The Poison Level of a Distilled Grief is 200. Distilled Grief is Needs a Vessel.
        Fool's Torment is a kind of thing. It is edible. The Poison Level of a Fool's Torment is 150. Every Fool's Torment becomes the Ninja Tears. Understand "Fool" as the Fool's Torment. Every Magic Box becomes the Distilled Grief.
            
        There are 5 Fool's Torment in Wizard Shop.
        
        Nub Dust is a kind of thing. It is edible.
        
        Crab Nut is a kind of thing. It is edible. The Poison Level of a Crab Nut is 30. Every Crab Nut becomes the Nub Dust.
            
        There are 5 Crab Nut in Wizard Shop.
        Mortar & Pestle is a kind of Craft Tool. There is a Mortar & Pestle in Wizard Shop. Every Mortar & Pestle becomes the Nub Dust.
        
        Understand "Mortar and Pestle" and "grind" and "pound" as the Mortar & Pestle.
        There is an Infinite Poison Tester in Wizard Shop.
        Ground Mint is a kind of thing.
        Raw Crystal is a kind of thing. There are 5 Raw Crystal is in the Wizard Shop. Every Raw Crystal becomes the magic dust.
        Peppermint is a kind of thing. There are 5 Peppermint in the Wizard Shop. Every Peppermint becomes Ground Mint.
        
        Magroot is a kind of thing. There are 5 Magroot in the Wizard Shop. Every Magroot becomes the Pu Pi Essence.
        
        There are 5 Dirty Potion Flasks in the Wizard Shop. [Potion Flasks are the extention's default potion brewing vessel, but THESE ones are Dirty Potion Flasks contaminated with poison - you should scatter these around your game as well]
        
        There are 4 Scrubby Cleaner in the Wizard Shop.
        
        There is a Weak Purify Tablet and Regular Purify Tablet and Ultra Purify Tablet in the Wizard Shop.
        
        The printed name of the Scrubby Cleaner is "DIRT BLASTER (tm) Brand Cleaner".
        The printed plural name of the Scrubby Cleaner is "DIRT BLASTER (tm) Brand Cleaners".
        Understand "Brand" and "tm" and "(tm)" and "Dirt" and "Blaster" as the Scrubby Cleaner.
        
        When play begins:
            Now Every Magic Box becomes Every Magic Dust;
            Now Every Raw Crystal becomes Every Magic Dust;
            Now Every Magic Box becomes Every Pu Pi Essence;
            Now Every Magroot becomes Every Pu Pi Essence;
            Now Every Peppermint becomes Every Ground Mint;
            Now Every Fool's Torment becomes every Distilled Grief;
            Now Every Magic Box becomes every Distilled Grief;
            Now Every Mortar & Pestle becomes every Nub Dust;
            Now Every Crab Nut becomes every Nub Dust;
                
                
        When play begins:
            Now Every Pu Pi Essence is the same as every Pu Pi Essence;
            Now Every Magic Dust is the same as every Magic Dust;
            Now Every Ground Mint is the same as every Ground Mint;
            Now Every Distilled Grief is the same as every Distilled Grief;
            Now Every Nub Dust is the same as every Nub Dust;
        
        
        
        Before drinking a potion (called the drink): [The Extention automatically handles drinking a random potion and returning a bottle. If the potion is toxic, the Flask you get back will be Dirty]
             If the Pu Pi Essence is the drink:
                now craftmessage is false; [This stops the default 'nothing happens' message]
                 say "You down the Pu Pi Essence and gain......(Fill in something here)";
            otherwise if the Distilled Grief is the drink:
                [No message needed as the poison extention will cover it]
                now craftmessage is false;