EYNJRY2LHY4XV3RJ2PA4GHY7BHMYEU5RYRJGCSXTC47LYQJL5REAC
$target_id = "locslot_{$tile['location_arg']}";
// Abort if there is already a token of that player on the tile.
if (count($this->tokens->getTokensOfTypeInLocation("%_{$color}_%", $target_id))) {
throw new BgaUserException(self::_("You already have a cube or disc there."));
}
// Various other infos we need
$card_name = $this->cardBasis[$currentCard['type_arg']]['name'];