diff --git a/data/eggs.json b/data/eggs.json new file mode 100644 index 00000000..4411049c --- /dev/null +++ b/data/eggs.json @@ -0,0 +1,125 @@ +[ + { + "type": "open", + "userid": ["MeowBot233"], + "id": "isSeenMeowBot233", + "toast": { + "title": "找到了喵~", + "text": "诶? 找什么喵? ", + "img": "https://data.one-among.us/img/cat-face-emoji-2048x1828.png", + "width": 64, + "height": 57 + } + }, + { + "type": "open", + "userid": ["Anilovr", "noname3031", "dogesir_"], + "id": "Betelgeuse", + "toast": { + "title": "参宿四 ~Betelgeuse~", + "text": "R.I.P. - Be resilient -", + "img": "https://data.one-among.us/img/betelgeuse.png", + "background": "url(https://data.one-among.us/img/stardust.jpg)", + "width": 64, + "height": 64, + "color": "#f0f8ff" + } + }, + { + "type": "open", + "userid": ["xuewulihuameng", "Futajuhuacha", "Xu_Yushu", "Dethelly"], + "id": "ChongQing", + "toast": { + "title": "嘉陵雾稠", + "text": "雾终将散去, 而我们终将看到彩虹", + "img": "https://data.one-among.us/img/bridge.png", + "background": "url(https://data.one-among.us/img/fog.jpg)", + "width": 64, + "height": 47 + } + }, + { + "type": "open", + "userid": ["zhangyubaka", "Uekawakuyuurei", "MizuharaNagisa"], + "id": "Boat", + "toast": { + "title": "海色", + "text": "拔锚起航, 跨越闪耀泪光的海岸", + "img": "https://data.one-among.us/img/ship.png", + "background": "#0b2058ff", + "width": 64, + "height": 64, + "color": "#f0f8feff" + } + }, + { + "type": "tag", + "userid": ["zhangyubaka"], + "tag": "summary", + "id": "detailsByYumao", + "toast": { + "title": "往昔苦难", + "text": "因为妳而存在, 因为妳而不在, 要在啊......", + "img": "https://data.one-among.us/img/lifeline.png", + "background": "#EEEEEE88", + "width": 64, + "height": 64 + } + }, + { + "type": "tag", + "userid": ["mikaela_khara"], + "tag": "summary", + "id": "mikaela_khara_ferris", + "toast": { + "title": "永乐桥上的风景", + "text": "连绵不断的河流,像生命本身一样无法回头……", + "img": "https://data.one-among.us/img/ferris-wheel.png", + "width": 64, + "height": 64 + } + }, + { + "type": "wait", + "userid": ["shihai4h"], + "wait": 20000, + "id": "funeralFlowers", + "toast": { + "title": "葬花", + "text": "花谢花飞花满天, 红消香断有谁怜? ", + "img": "https://data.one-among.us/img/tumb.png", + "background": "url(https://data.one-among.us/img/flower.png)", + "width": 64, + "height": 64 + } + }, + { + "type": "keyword", + "userid": [ + "SevenBird", + "Considerate_cat", + "tttsuuukikoo_", + "hakureico", + "xixi_yuexi", + "Jennife80677612" + ], + "id": "rhythm", + "keyword": [ + "音游", + "音遊", + "Arc", + "舞萌", + "maimaiDX", + "OSU", + "ptt", + "Project Sekai" + ], + "toast": { + "title": "希望有个 All Perfect 的结局", + "text": " ~ All that I'm left with is your reminiscences ~ ", + "img": "https://data.one-among.us/img/musical-score.png", + "width": 64, + "height": 64 + } + } +] diff --git a/public/img/betelgeuse.png b/public/img/betelgeuse.png new file mode 100644 index 00000000..0aa14092 Binary files /dev/null and b/public/img/betelgeuse.png differ diff --git a/public/img/bridge.png b/public/img/bridge.png new file mode 100644 index 00000000..1fe84d64 Binary files /dev/null and b/public/img/bridge.png differ diff --git a/public/img/cake.png b/public/img/cake.png new file mode 100644 index 00000000..abea7b02 Binary files /dev/null and b/public/img/cake.png differ diff --git a/public/img/cat-face-emoji-2048x1828.png b/public/img/cat-face-emoji-2048x1828.png new file mode 100644 index 00000000..28e62861 Binary files /dev/null and b/public/img/cat-face-emoji-2048x1828.png differ diff --git a/public/img/clip.png b/public/img/clip.png new file mode 100644 index 00000000..03b2787b Binary files /dev/null and b/public/img/clip.png differ diff --git a/public/img/easterEgg.png b/public/img/easterEgg.png new file mode 100644 index 00000000..f81492c3 Binary files /dev/null and b/public/img/easterEgg.png differ diff --git a/public/img/ferris-wheel.png b/public/img/ferris-wheel.png new file mode 100644 index 00000000..a1dae98b Binary files /dev/null and b/public/img/ferris-wheel.png differ diff --git a/public/img/flowers.png b/public/img/flowers.png new file mode 100644 index 00000000..98bb6028 Binary files /dev/null and b/public/img/flowers.png differ diff --git a/public/img/fog.jpg b/public/img/fog.jpg new file mode 100644 index 00000000..6116901e Binary files /dev/null and b/public/img/fog.jpg differ diff --git a/public/img/lifeline.png b/public/img/lifeline.png new file mode 100644 index 00000000..2296487a Binary files /dev/null and b/public/img/lifeline.png differ diff --git a/public/img/lollipop_1f36d.png b/public/img/lollipop_1f36d.png new file mode 100644 index 00000000..ce762b3f Binary files /dev/null and b/public/img/lollipop_1f36d.png differ diff --git a/public/img/musical-score.png b/public/img/musical-score.png new file mode 100644 index 00000000..8ef2172f Binary files /dev/null and b/public/img/musical-score.png differ diff --git a/public/img/ship.png b/public/img/ship.png new file mode 100644 index 00000000..cb5b1214 Binary files /dev/null and b/public/img/ship.png differ diff --git a/public/img/stardust.jpg b/public/img/stardust.jpg new file mode 100644 index 00000000..463dc801 Binary files /dev/null and b/public/img/stardust.jpg differ diff --git a/public/img/tumb.png b/public/img/tumb.png new file mode 100644 index 00000000..6fa921b8 Binary files /dev/null and b/public/img/tumb.png differ diff --git a/scripts/build.ts b/scripts/build.ts index 705eba3e..3ad91b91 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -184,6 +184,7 @@ function copyPeopleAssets() { // Copy files `public` to dist. function copyPublic() { fs.copySync(path.join(projectRoot, PUBLIC_DIR), path.join(projectRoot, DIST_DIR)); + fs.copySync(path.join(projectRoot, DATA_DIR, 'eggs.json'), path.join(projectRoot, DIST_DIR, 'eggs.json')); fs.writeFileSync(path.join(DIST_DIR, 'trigger-list.json'), JSON.stringify(trigger as string[])); fs.writeFileSync(path.join(DIST_DIR, 'switch-pair.json'), JSON.stringify(switchPair as [string, string][])) }