This worked well for pawn shops and the like in 3.5 but not in 5e because magic items are supposed to not be for sale. Use donjon's trinket generator to generate interesting items that stand out against a background of self-generated miscellany. Use chaotic shiny's merchant generator ...
def random_generator(num_vals, n_points_only=False): """outputs a random generator of len(lst) = num_vals""" start_list = random_list(num_vals) if n_points_only: gen_str = "n_points" else: gen_str = random.choice(["one_point", "random_point", "n_points"]) if gen_str =...