engine/items/source/InitialItemSelector.cpp
// Pick one of the random IDs, well, at random.
Pick one of the random IDs, well, at random.
Pick one of the random IDs well at random .
pair<string, uint> InitialItemSelector::get_random_item_details(const InitialItem& initial_item) const
{
  pair<string, uint> random_details;
  vector<pair<string, Dice>> random_iis = initial_item.get_random_item_ids();
  if (!random_iis.empty())
  {
    pair<string, Dice> random_ii = random_iis.at(RNG::range(0, random_iis.size()-1));
    random_details.first = random_ii.first;
    random_details.second = RNG::dice(random_ii.second);
  }
  return random_details;
}
pair < string , uint > InitialItemSelector :: get_random_item_details ( const InitialItem & initial_item ) const { pair < string , uint > random_details ; vector < pair < string , Dice > > random_iis = initial_item . get_random_item_ids ( ) ; if ( ! random_iis . empty ( ) ) { pair < string , Dice > random_ii = random_iis . at ( RNG :: range ( 0 , random_iis . size ( ) - 1 ) ) ; random_details . first = random_ii . first ; random_details . second = RNG :: dice ( random_ii . second ) ; } return random_details ; }
Pick one of the random IDs, well, at random.
Pick one of the random IDs well at random .