diff --git a/frontend/static/funbox/travel.css b/frontend/static/funbox/travel.css new file mode 100644 index 000000000..da0b1cafa --- /dev/null +++ b/frontend/static/funbox/travel.css @@ -0,0 +1,12 @@ +main .page { + animation: slideSide 3s infinite alternate ease-in-out +} + +@keyframes slideSide { + from { + transform: translateX(-300px); + } + to { + transform: translateX(300px); + } +} \ No newline at end of file diff --git a/packages/funbox/src/list.ts b/packages/funbox/src/list.ts index f43ab93e8..590230f86 100644 --- a/packages/funbox/src/list.ts +++ b/packages/funbox/src/list.ts @@ -476,6 +476,14 @@ const list: Record = { frontendFunctions: ["alterText"], name: "rot13", }, + travel: { + description: "Side to Side! wheeeeeee!", + canGetPb: false, + difficultyLevel: 2, + properties: [], + frontendFunctions: ["travelScript"], + name: "TRAVEL!", + }, no_quit: { description: "You can't restart the test.", canGetPb: true,