Aug-14-2023, 10:22 PM
Hi everybody,
I play rpg game and i want to make a loot generator
I write this, i want when i random "parchemins" i import random for a new liste.
Someone can help me ? thanks
I play rpg game and i want to make a loot generator
I write this, i want when i random "parchemins" i import random for a new liste.
Someone can help me ? thanks
import random liste = ['potion','objet magique','flèches','parchemins'] tresors = random.choice(liste) print (tresors) if 'parchemins' in tresors: print ("Dark_alchemy")Dark_alchemy = 1