Trinity Inventory

version 4/080708 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4e - Supporter inventory contents rule

    Rule for inventory listing the contents of a supporter (called the item) (this is the supporter inventory contents rule):
        if TI first option anded is greater than 1:
            if a random chance of TI first option anded in 10 succeeds, now TI first option anded is 0;
        if TI first option anded is greater than 0, now TI first option anded is TI first option anded plus 1;
        if the number of listed when carried things encased by the item is at least one:
            if TI first option anded is 0:
                say ", and you have";
                now TI first option anded is 1;
            otherwise:
                say ". You also have";
            now content-listing is true;
            say " [list of listed when carried things on the item] on ";
            now content-listing is false;
            now articulating is true;
            if the item is specially-inventoried, say "[item]";
            otherwise say "[the item]";
            now articulating is false;
        otherwise:
            if TI first option anded is 0:
                now articulating is true;
                say ", and [if item is specially-inventoried][item][otherwise][the item][end if]";
                now articulating is false;
                now TI first option anded is 1;
            otherwise:
                now articulating is true;
                if the item is specially-inventoried, say ". [Item]";
                otherwise say ". [The item]";
                now articulating is false;
            say " has nothing on it".