2CGOU5GS5ME7XZ7NOYQL2PAUFWBNGJAWWLW6VRY7WYRGYQJJAQNQC
QWNGV2GYDBQ3DSAUQFEJ74UUYMWXGR4E4IRGK6B5MB4QCCQB5XQQC
LRV43H7ODCGYQ3BU35TUM7VBVJ7NKABPKOQ4PMLW7VF7DVHVAAEQC
OPI6W7BO4V3R5WGEVN4USOHVPUV5PVWGKYBMCRU4VQOI7F7RCF5QC
5I4UCQOTFNIXNO3IEJBPOHAHI63WOS7ZCOGHWJ47IK6MDJ6CBW6AC
ISWDRBPZCEGJSXNXHML7D7XDW4N3Z7MXOF4OS7UHC6U2GVXFHYZQC
2Z6JSPLRIESWB5QEFINQTE6RSJTGEOQ6ARLHCJ4YQ5XW6I5JWTDAC
#vp_red_0 { background-position: 0 0 }
#vp_red_1 { background-position: -32px 0 }
#vp_red_2 { background-position: -64px 0 }
#vp_blue_0 { background-position: -96px 0 }
#vp_blue_1 { background-position: -128px 0 }
#vp_blue_2 { background-position: -160px 0 }
#vp_green_0 { background-position: 0 32px }
#vp_green_1 { background-position: -32px 32px }
#vp_green_2 { background-position: -64px 32px }
#vp_purple_0 { background-position: -96px 32px }
#vp_purple_1 { background-position: -128px 32px }
#vp_purple_2 { background-position: -160px 32px }
#vp_yellow_0 { background-position: -192px 0 }
#vp_yellow_1 { background-position: -224px 0 }
#vp_yellow_2 { background-position: -256px 0 }
/* Just make it look a little random. In 5P games they might be many tokens on one spot. */
.vpbox .vpmarker {
display: inline-block;
margin-right:-12px;
margin-bottom:-12px;
}
.vpbox .vpmarker:nth-of-type(2n) {
margin-bottom:-6px;
margin-top:0;
}
.vpbox .vpmarker:nth-of-type(2n+1),
.vpbox .vpmarker:nth-of-type(4n) {
margin-left:-6px;
margin-top:-6px;
}
// Put VP token of unsolved player to "0"
$unsolved_player_id = array_shift($unsolved_player_ids);
$unsolved_player = self::loadPlayersBasicInfos()[$unsolved_player_id];
$unsolved_color = $this->constants['HEX2COLORNAME'][$unsolved_player['player_color']];
$token_key = "vp_{$unsolved_color}_" . ($minigame - 1);
$token_target = "vp_0";
$this->tokens->moveToken($token_key, $token_target);
self::notifyAllPlayers(
'placeToken',
clienttranslate('${player_name} did not solve in this mini-game and gets 0 points.'),
array(
'token' => array("key" => $token_key, "location" => $token_target),
'player_name' => $unsolved_player['player_name'],
)
);
// Mini-game is over