So I'm creating a text based rpg and the player can search for potions. Right now,you find a random amount of potions instantly, but I was wondering if I could randomly generate a number using (rand()%5)+1;, and then set that number to pause the console for that amount of time to make it seem like the player is actually searching for potions. Does anyone know of anything like this?