VQEUCK4ML64KFD5MJSKO7MUGURAZMHY63UYB6ZXIDGZTCBOQ4Z4AC // Create tokens, and put into 'supply'// TODO: create only tokens required for the chosen player colors$this->tokens->createTokens($this->tokeninfos, 'supply');// Give each player their 5 investigators. These will *not* be// replenished on each minigame.
// Create player tokens, and put into 'supply'. Not yet into their// personal supply. This will be done in st_setupMinigame. Note: we// do not do a createTokens($this->tokeninfos) as this would create// many tokens in the DB that we don't need for games with less// than the full player count.$player_tokens = array_filter($this->tokeninfos, function ($v) use ($color) {return strpos($v['key'], "_{$color}_") > 0;});$this->tokens->createTokens($player_tokens, 'supply');// Give each player their 5 investigators. These will *not* be// replenished on each minigame.