| d8 | Gem Name Base | Color | Special Trait | |----|---------------|-------|----------------| | 1 | Garnet | Blood red | Warm to touch | | 2 | Opal | Milky white | Shifts color in moonlight | | 3 | Sapphire | Deep blue | Hummus when shaken | | 4 | Amethyst | Violet | Never tarnishes | | 5 | Topaz | Golden | Floats in water | | 6 | Emerald | Forest green | Grows tiny crystals | | 7 | Obsidian | Jet black | Sharp as glass | | 8 | Moonstone | Pale blue | Glows under UV | import random gem_names = ["Garnet", "Opal", "Sapphire", "Amethyst", "Topaz", "Emerald", "Obsidian", "Moonstone"] colors = ["blood red", "milky white", "deep blue", "violet", "golden", "forest green", "jet black", "pale blue"] traits = ["warm to touch", "shifts color in moonlight", "hummus when shaken", "never tarnishes", "floats in water", "grows tiny crystals", "sharp as glass", "glows under UV"]
def random_gem(): return f"random.choice(gem_names) – random.choice(colors) – random.choice(traits)" random gem generator