Exemplo n.º 1
0
        public string GetADnD1ETreasureByType(string TreasureTypes)
        {
            // roll on the ADnDTreasureTypes rollable list
            RollableList List    = GetADnDTreasureTypes();
            ItemList     list    = (ItemList)(List.ResolveItem(TreasureTypes));
            string       strList = list.ToString(ItemList.Format.Uncompressed).Trim();

            if (strList.Length == 0)
            {
                return("Nothing");
            }
            else
            {
                return(strList.Replace(ItemList.Separator, "<br />"));
            }
        }