mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
Added plus three funbox (#4076) robsassack
This commit is contained in:
parent
222e508e21
commit
239c43f240
|
@ -388,7 +388,10 @@ export async function addResult(
|
|||
|
||||
const { funbox, bailedOut } = result;
|
||||
const validResultCriteria =
|
||||
(funbox === "none" || funbox === "plus_one" || funbox === "plus_two") &&
|
||||
(funbox === "none" ||
|
||||
funbox === "plus_one" ||
|
||||
funbox === "plus_two" ||
|
||||
funbox === "plus_three") &&
|
||||
!bailedOut &&
|
||||
user.banned !== true &&
|
||||
user.lbOptOut !== true &&
|
||||
|
|
|
@ -75,6 +75,10 @@ const Funboxes: Record<string, MonkeyTypes.FunboxMetadata> = {
|
|||
canGetPb: true,
|
||||
difficultyLevel: 0,
|
||||
},
|
||||
plus_three: {
|
||||
canGetPb: true,
|
||||
difficultyLevel: 0,
|
||||
},
|
||||
read_ahead_easy: {
|
||||
canGetPb: true,
|
||||
difficultyLevel: 1,
|
||||
|
|
|
@ -118,6 +118,11 @@ const list: MonkeyTypes.FunboxMetadata[] = [
|
|||
info: "Only two future words are visible.",
|
||||
properties: ["changesWordsVisibility", "toPush:3", "noInfiniteDuration"],
|
||||
},
|
||||
{
|
||||
name: "plus_three",
|
||||
info: "Only three future words are visible.",
|
||||
properties: ["changesWordsVisibility", "toPush:4", "noInfiniteDuration"],
|
||||
},
|
||||
{
|
||||
name: "read_ahead_easy",
|
||||
info: "Only the current word is invisible.",
|
||||
|
|
|
@ -94,6 +94,11 @@
|
|||
"info": "Only two future words are visible.",
|
||||
"canGetPb": true
|
||||
},
|
||||
{
|
||||
"name": "plus_three",
|
||||
"info": "Only three future words are visible.",
|
||||
"canGetPb": true
|
||||
},
|
||||
{
|
||||
"name": "read_ahead_easy",
|
||||
"info": "Only the current word is invisible.",
|
||||
|
|
Loading…
Reference in a new issue