Alchemy Poison & Item Crafting Engine

version 1 by Philip Black

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Testing For Poison
    Poison Tester is a kind of thing. The Description is "You can use this to test an item for poison.". [Poison Tester is toxic tested.]
    Infinite Poison Tester is a kind of Craft Tool. The Description is "You can use this to test an item for poison. It never runs out.". [Infinite Poison Tester is toxic tested.]
    Testing Poison is an action applying to one things. Understand "check [something]" and "check [something] for poison" and "poison test [something]" and "check if [something] is poison" and "check if [something] is poisoned" as Testing Poison.
            
    Carry out Testing Poison:
        if the noun is toxic tested:
            if the noun is an Infinite Poison Tester or the noun is an Poison Tester:
                say "[line break]You don't need to check [the noun] for poison!";
                reject the player's command;
            otherwise:
                say "[line break]Checking [the noun] twice won't help.";
                reject the player's command;
        Otherwise:
            If the player carries an Infinite Poison Tester:
                Now the noun is toxic tested;
                Now Toxic Repeater is false;
                say "[line break]You check [the noun] for poison and find out it is [if the Poison Level of the noun is greater than the DEADLY Poisonous Rating]DEADLY Poisonous![otherwise if the Poison Level of the noun is greater than the VERY Poisonous Rating]VERY POISONOUS[otherwise if the Poison Level of the noun is greater than the Poisonous Rating]POISON[otherwise if the Poison Level of the noun is greater than the Fairly Toxic Rating]Fairly Toxic[otherwise if the Poison Level of the noun is greater than the Tainted Rating]tainted with enough Poison to make you sick[otherwise] that it is clean and safe[end if][run paragraph on] and also that it is [Alcohol Percent of the noun]% Alcohol";
                Now Toxic Repeater is true;
            Otherwise if the player carries a Poison Tester:
                Now the noun is toxic tested;
                Now Toxic Repeater is false;
                say "[line break]You check [the noun] for poison and find out it is [if the Poison Level of the noun is greater than the DEADLY Poisonous Rating]DEADLY Poisonous![otherwise if the Poison Level of the noun is greater than the VERY Poisonous Rating]VERY POISONOUS[otherwise if the Poison Level of the noun is greater than the Poisonous Rating]POISON[otherwise if the Poison Level of the noun is greater than the Fairly Toxic Rating]Fairly Toxic[otherwise if the Poison Level of the noun is greater than the Tainted Rating]tainted with enough Poison to make you sick[otherwise] that it is clean and safe[end if][run paragraph on] and also that it is [Alcohol Percent of the noun]% Alcohol";
                Now Toxic Repeater is true;
                now the noun is a random Poison Tester carried by the player;
                move the noun to Hyperspace Chest;
            Otherwise:
                say "[line break]You don't have any way of checking [the noun] for poison.";