Working on Traum

This commit is contained in:
Firq 2024-07-26 11:11:39 +02:00
parent 15ebe78733
commit 03f3b230e6
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 75 additions and 1 deletions

View file

@ -0,0 +1,10 @@
{
"info": {
"title": "Lostbelt 6.5 - Traum",
"releaseDate": "2024-05-13",
"shortdescription": "An Interlude of sorts that brings some new challenging content centered around a nation build of servants",
"releaseNumber": 1,
"type": "group"
}
}

View file

@ -0,0 +1,64 @@
{
"info": {
"title": "Zhang Jue",
"releaseDate": "2024-05-13",
"shortdescription": "",
"releaseNumber": 1
},
"quests": [
{
"questTitle": "Zhang Jue",
"description": "",
"data": [
{
"title": "Skadi 2T",
"link": "https://youtu.be/OtNYsaM13G4",
"date": "2024-05-14",
"servant": "skadi",
"turns": "2T",
"runner": "Firq"
},
{
"title": "Baobhan 2T",
"link": "https://www.youtube.com/watch?v=GmUUF0aiXik",
"date": "2024-05-18",
"servant": "baobhansith",
"turns": "2T",
"runner": "Mikazuki"
},
{
"title": "Melusine 2T",
"link": "https://www.youtube.com/watch?v=9X5Znfw6dWk",
"date": "2024-05-20",
"servant": "melusine_aoe",
"turns": "2T",
"runner": "TokuHer0"
},
{
"title": "Nero (Caster) 2T",
"link": "https://www.youtube.com/watch?v=-rK9rpJIFDA",
"date": "2024-05-20",
"servant": "nerocaster",
"turns": "2T",
"runner": "Lutrec"
},
{
"title": "Morgan 2T",
"link": "https://www.youtube.com/watch?v=8mg123LnifQ",
"date": "2024-05-14",
"servant": "morgan",
"turns": "2T",
"runner": "Loki"
},
{
"title": "Bazett 1T",
"link": "https://www.youtube.com/watch?v=Zgn8tlXStiI",
"date": "2024-05-22",
"servant": "bazett",
"turns": "1T",
"runner": "Mikazuki"
}
]
}
]
}

View file

@ -52,7 +52,7 @@ export async function getStaticPaths() {
const full = slugdata.concat(groups as any) const full = slugdata.concat(groups as any)
full.map((data) => { full.map((data) => {
if (data.group) { if (data.group) {
const coll = fulldata.filter((d) => d.id.startsWith(data.slug)) const coll = fulldata.filter((d) => d.id.split("/", 1)[0] == data.slug)
data.questinfo = coll.map((d) => { data.questinfo = coll.map((d) => {
return { slug: d.id, info: d.data.info } return { slug: d.id, info: d.data.info }
}) })