genshin-db
Advanced tools
Comparing version 1.10.1 to 1.10.2
{ | ||
"name": "genshin-db", | ||
"version": "1.10.1", | ||
"description": "api for detailed information on genshin impact based on version 1.0.1 from the fandom and various others.", | ||
"version": "1.10.2", | ||
"description": "Up-to-date information on Genshin Impact from the fandom and various other sources. JSON database with robust searching.", | ||
"main": "./src/main.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "webpack" | ||
}, | ||
@@ -22,3 +23,7 @@ "keywords": [ | ||
"fuzzysort": "^1.1.4" | ||
}, | ||
"devDependencies": { | ||
"webpack": "^5.9.0", | ||
"webpack-cli": "^4.2.0" | ||
} | ||
} |
@@ -13,3 +13,3 @@ # genshin-db | ||
Check out [examples.md](https://github.com/theBowja/genshin-db/blob/main/examples.md). | ||
I recommend referring to [examples.md](https://github.com/theBowja/genshin-db/blob/main/examples.md) since I didn't really write a detailed readme. | ||
@@ -146,4 +146,8 @@ NOTES: every input string to the query parameter will be autocompleted to match possible values. This means doing something like genshin.characters('amb') will give the same results as genshin.characters('amber') | ||
If you ask me what is "robust" and why did I say it? idk. it just sounded cooler. | ||
"Robust" makes the description sound cooler doesn't it? | ||
My ambition for this library is to include most of the relevant genshin data so it can be downloaded and used easily with any project. Currently the data is manually entered. I would appreciate it a lot if someone could provide me datamined files of the live version. | ||
My ambition for this library is to include most of the relevant genshin data so it can be downloaded and used easily with any project. Currently the data is manually entered. I would appreciate it a lot if someone could provide me datamined files of the live version. | ||
## Webpack | ||
If you want to build a webpack just do `npm run build` and it'll appear in the **dist/genshindb.js**. Then you can call all the query functions from above using GenshinDB as the variable. Or you can change the options in **webpack.config.js** to better fit how you want to use it. |
@@ -13,4 +13,4 @@ { | ||
"image": "https://static.wikia.nocookie.net/gensin-impact/images/c/c2/Character_Zhongli_Thumb.png", | ||
"card": "", | ||
"portrait": "" | ||
"card": "https://static.wikia.nocookie.net/gensin-impact/images/d/d8/Character_Zhongli_Card.jpeg", | ||
"portrait": "https://static.wikia.nocookie.net/gensin-impact/images/7/7d/Character_Zhongli_Portrait.png" | ||
}, | ||
@@ -20,8 +20,9 @@ "cv": { | ||
"japanese": "Tomoaki Maeno", | ||
"chinese": "Pengbo" | ||
"chinese": "Pengbo", | ||
"korean": "Pyo Yeong-jae" | ||
}, | ||
"affiliation": "Wangsheng Funeral Parlor", | ||
"description": "", | ||
"description": "Wangsheng Funeral Parlor's mysterious consultant. Handsome, elegant, and surpassingly learned.\nThough no one knows where Zhongli is from, he is a master of courtesy and rules. From his seat at Wangsheng Funeral Parlor, he performs all manner of rituals.", | ||
"talentmaterialtype": "Gold", | ||
"url": "https://genshin-impact.fandom.com/wiki/Zhongli" | ||
} |
{ | ||
"name": "", | ||
"name": "Zhongli", | ||
"c1": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Rock, the Backbone of Earth", | ||
"effect": "Increases the maximum number of Stone Steles created by Dominus Lapidis that may exist simultaneously to 2." | ||
}, | ||
"c2": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Stone, the Cradle of Jade", | ||
"effect": "Planet Befall grants nearby characters on the field a Jade Shield when it descends." | ||
}, | ||
"c3": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Jade, Shimmering through Darkness", | ||
"effect": "Increases the Level of Dominus Lapidis by 3.\nMaximum upgrade level is 15." | ||
}, | ||
"c4": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Topaz, Unbreakable and Fearless", | ||
"effect": "Increases Planet Befall's AoE by 20% and increases the duration of Planet Befall's Petrification effect by 2s." | ||
}, | ||
"c5": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Lazuli, Herald of the Order", | ||
"effect": "Increases the Level of Planet Befall by 3.\nMaximum upgrade level is 15." | ||
}, | ||
"c6": { | ||
"name": "", | ||
"effect": "" | ||
"name": "Chrysos, Bounty of Dominator", | ||
"effect": "When the Jade Shield takes DMG, 40% of that incoming DMG is converted to HP for the current character.\nA single instance of regeneration cannot exceed 8% of that character's Max HP." | ||
} | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Venti's specialty.", | ||
"source": "Venti's specialty dish from cooking Barbatos Ratatouille.", | ||
@@ -19,0 +19,0 @@ "base": "Barbatos Ratatouille", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "From a treasure chest on top of a floating platform in Liyue." | ||
"source": "Chest at the Adeptus' Abode above Qingyun Peak, Liyue after completing \"3 Divine Birds\" mini quest." | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Monstadt Reputation Level 4 Reward" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Get at Wangshu Inn's kitchen." | ||
"source": "In the kitchen at Wangshu Inn, Liyue" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Verr Goldet at Wangshu Inn, Liyue)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Vind at Stormbearer's Point, Monstadt" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR30+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Ningguang's specialty dish from cooking Mora Meat.", | ||
@@ -18,0 +18,0 @@ "base": "Mora Meat", |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Purchase from Good Hunter for 5000g. Requires Adventure Rank 30." | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR30+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Clear Explore: Fallen Fortress at the Eagle's Gate." | ||
"source": "Reward from Eagle's Gate domain near Cape Oath, Monstadt." | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Chongyun's specialty.", | ||
"source": "Chongyun's specialty dish from cooking Noodles with Mountain Delicacies.", | ||
@@ -19,0 +19,0 @@ "base": "Noodles with Mountain Delicacies", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Purchase from Wanmin Restaurant for 5000. Requires Adventure Rank 40." | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR40+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Xingqiu's specialty dish from cooking Crystal Shrimp.", | ||
@@ -19,0 +19,0 @@ "base": "Crystal Shrimp", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from the \"Food Delivery\" commission quest." | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR25+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR25+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Diona's specialty dish from cooking Mondstadt Grilled Fish.", | ||
@@ -18,0 +18,0 @@ "base": "Mondstadt Grilled Fish", |
@@ -18,3 +18,3 @@ { | ||
], | ||
"source": "Chance to obtain when cooking Satisfying Salad with Mona.", | ||
"source": "Mona's specialty dish from cooking Satisfying Salad.", | ||
@@ -21,0 +21,0 @@ "base": "Satisfying Salad", |
@@ -18,3 +18,3 @@ { | ||
], | ||
"source": "Fischl's specialty.", | ||
"source": "Fischl's specialty dish from cooking Cold Cut Platter.", | ||
@@ -21,0 +21,0 @@ "base": "Cold Cut Platter", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Default starting recipe." | ||
"source": "Available by default" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Chance to obtain when making a Fisherman's Toast with Klee.", | ||
"source": "Klee's specialty dish from cooking Fisherman's Toast.", | ||
@@ -20,0 +20,0 @@ "base": "Fisherman's Toast", |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR20+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Beidou's specialty dish from cooking Stir-Fried Filet.", | ||
@@ -18,0 +18,0 @@ "base": "Stir-Fried Filet", |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Default starting recipe." | ||
"source": "Available by default" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Kaeya's specialty dish from cooking Chicken-Mushroom Skewer.", | ||
@@ -18,0 +18,0 @@ "base": "Chicken-Mushroom Skewer", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from \"To Monstadt\" (Mona's Story Questline, AR38+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Liyue Reputation Level 1 Reward" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR15+)" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Jean's specialty dish from cooking Mushroom Pizza.", | ||
@@ -20,0 +20,0 @@ "base": "Mushroom Pizza", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Complete the Art of Cooking Quest" | ||
"source": "Obtained from \"Cooking Showdown\" (Xiangling's Story Quest, AR15+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Unlocked via the 'Custodian of Clouds' quest on Mt. Aozang." | ||
"source": "Obtained from \"Custodian of Clouds\" (Liyue Main Story Questline, AR23+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Purchase from Wanmin Restaurant in Liyue. Adventure Rank 20+." | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR20+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
"Bird Egg x1"], | ||
"source": "", | ||
"source": "Noelle's specialty dish from cooking Tea Break Pancake.", | ||
@@ -18,0 +18,0 @@ "base": "Tea Break Pancake", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Liyue Reputation Level 4 Reward" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Bubu's Pharmacy in Liyue Harbor, Liyue)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from \"Custodian of Clouds\" (Liyue Main Story Questline, AR23+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Reward from Temple of the Wolf domain near" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "The recipe for Moon Pie is obtainable from Hertha for reaching Reputation Level 7 in Mondstadt." | ||
"source": "Monstadt Reputation Level 7 Reward" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from \"Custodian of Clouds\" (Liyue Main Story Questline, AR23+)" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from a Precious Chest just north of the tower in Stormterror's Lair, Monstadt" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Lisa's specialty dish from cooking Flaming Red Bolognese.", | ||
@@ -19,0 +19,0 @@ "base": "Flaming Red Bolognese", |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Ms. Bai in Qingce Village, Liyue)" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Monstadt Reputation Level 1 Reward" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from a Chest near the top of the tower in Stormterror's Lair, Monstadt." | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Qiqi's specialty.", | ||
"source": "Qiqi's specialty dish from cooking Come and Get It.", | ||
@@ -20,0 +20,0 @@ "base": "Come and Get It", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Sucrose's specialty dish from cooking Crab, Ham & Veggie Bake.", | ||
@@ -20,0 +20,0 @@ "base": "Crab, Ham & Veggie Bake", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Chance to obtain when cooking Pile 'Em Up with Diluc.", | ||
"source": "Diluc's specialty dish from cooking \"Pile 'Em Up\".", | ||
@@ -20,0 +20,0 @@ "base": "\"Pile 'Em Up\"", |
@@ -14,3 +14,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Amber's specialty dish from cooking Steak.", | ||
@@ -17,0 +17,0 @@ "base": "Steak", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Purchased from Good Hunter, Mondstadt. Requires Adventurer Rank 40." | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR40+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Tartaglia's specialty.", | ||
"source": "Tartaglia's specialty dish from cooking Calla Lily Seafood Soup.", | ||
@@ -19,0 +19,0 @@ "base": "Calla Lily Seafood Soup", |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Razor's specialty dish from cooking Mondstadt Hash Brown.", | ||
@@ -19,0 +19,0 @@ "base": "Mondstadt Hash Brown", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Purchased from Ms. Bai in Qingce Village for 5000 Mora." | ||
"source": "Purchase (Ms. Bai in Qingce Village, Liyue)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Available by default." | ||
"source": "Available by default" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "Purchased from Good Hunter, Mondstadt. Requires Adventurer Rank 35." | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR35+)" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "Barbara's Specialty.", | ||
"source": "Barbara's specialty dish from cooking Cream Stew.", | ||
@@ -19,0 +19,0 @@ "base": "Cream Stew", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR35+)" | ||
} |
@@ -14,3 +14,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from \"Master's Day Off\" (Jean's Story Quest, AR34+)" | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from a chest atop Mt. Tienheng, Liyue." | ||
} |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Keqing's specialty dish from cooking Grilled Tiger Fish.", | ||
@@ -18,0 +18,0 @@ "base": "Grilled Tiger Fish", |
@@ -15,3 +15,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Sara at The Good Hunter in Monstadt, Monstadt, AR15+)" | ||
} |
@@ -14,3 +14,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Bennett's specialty dish from cooking Teyvat Fried Egg.", | ||
@@ -17,0 +17,0 @@ "base": "Teyvat Fried Egg", |
@@ -14,3 +14,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Available by default" | ||
} |
@@ -5,3 +5,3 @@ { | ||
"foodrecipetype": "Warrior", | ||
"effect": "Increases all party members' Physical DMG by 25-35% and CRIT Rate by 6-10% for 300s.", | ||
"effect": "Increases all party members' Physical DMG by 25-45% and CRIT Rate by 6-10% for 300s.", | ||
"description": "A braised meat dish. The cut of meat is a happy medium between lean and fatty, and has been braised to smoking perfection. The ingredients glisten, and are soft but not greasy. Word has it that the Tianshu of a certain generation of the Liyue Qixing invented this dish after much painstaking development.", | ||
@@ -18,3 +18,3 @@ "buffs": ["Physical DMG %", "CRIT Rate %"], | ||
], | ||
"source": "The recipe for Tianshu Meat is obtainable from Ms. Yu for reaching Reputation Level 7 in Liyue." | ||
"source": "Liyue Reputation Level 7 Reward" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Purchase (Chef Mao at Wanmin Restaurant in Liyue Harbor, Liyue, AR40+)" | ||
} |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "", | ||
"source": "Xiangling's specialty dish from cooking Black-Back Perch Stew.", | ||
@@ -20,0 +20,0 @@ "base": "Black-Back Perch Stew", |
@@ -17,3 +17,3 @@ { | ||
], | ||
"source": "" | ||
"source": "Obtained from \"Old Tastes Die Hard\" (World Quest, Mr. Zhu in Sea of Clouds, Liyue)" | ||
} |
@@ -17,3 +17,4 @@ { | ||
"Xiangling", | ||
"Xingqiu" | ||
"Xingqiu", | ||
"Xinyan" | ||
], | ||
@@ -61,2 +62,3 @@ "5": [ | ||
"xingqiu.json", | ||
"xinyan.json", | ||
"zhongli.json" | ||
@@ -91,2 +93,3 @@ ], | ||
"Xingqiu", | ||
"Xinyan", | ||
"Zhongli" | ||
@@ -121,3 +124,4 @@ ], | ||
"Klee", | ||
"Xiangling" | ||
"Xiangling", | ||
"Xinyan" | ||
], | ||
@@ -155,3 +159,4 @@ "Bow": [ | ||
"Sucrose", | ||
"Xiangling" | ||
"Xiangling", | ||
"Xinyan" | ||
], | ||
@@ -202,3 +207,4 @@ "Mondstadt": [ | ||
"Noelle", | ||
"Razor" | ||
"Razor", | ||
"Xinyan" | ||
], | ||
@@ -208,2 +214,3 @@ "Gold": [ | ||
"Xingqiu", | ||
"Xinyan", | ||
"Zhongli" | ||
@@ -220,2 +227,3 @@ ], | ||
"Xingqiu", | ||
"Xinyan", | ||
"Zhongli" | ||
@@ -222,0 +230,0 @@ ], |
@@ -30,3 +30,5 @@ { | ||
"xiangling.json", | ||
"xingqiu.json" | ||
"xingqiu.json", | ||
"xinyan.json", | ||
"zhongli.json" | ||
], | ||
@@ -61,4 +63,6 @@ "names": [ | ||
"Xiangling", | ||
"Xingqiu" | ||
"Xingqiu", | ||
"Xinyan", | ||
"Zhongli" | ||
] | ||
} |
@@ -38,2 +38,3 @@ { | ||
"Northern Smoked Chicken", | ||
"Rockin' Riffin' Chicken!", | ||
"Satisfying Salad", | ||
@@ -69,2 +70,3 @@ "Spicy Stew", | ||
"Sautéed Matsutake", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Squirrel Fish", | ||
@@ -162,4 +164,8 @@ "Sticky Honey Roast", | ||
"radishveggiesoup.json", | ||
"rockinriffinchicken.json", | ||
"rockinriffinchicken.json", | ||
"satisfyingsalad.json", | ||
"sauteedmatsutake.json", | ||
"slowcookedbambooshootsoup.json", | ||
"slowcookedbambooshootsoup.json", | ||
"spicystew.json", | ||
@@ -261,4 +267,8 @@ "spicystew.json", | ||
"Radish Veggie Soup", | ||
"Rockin' Riffin' Chicken!", | ||
"Xinyan", | ||
"Satisfying Salad", | ||
"Sautéed Matsutake", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Zhongli", | ||
"Spicy Stew", | ||
@@ -348,2 +358,3 @@ "Barbara", | ||
"Qingce Stir Fry", | ||
"Rockin' Riffin' Chicken!", | ||
"Satisfying Salad", | ||
@@ -362,2 +373,3 @@ "Sautéed Matsutake", | ||
"Nutritious Meal (V. 593)", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Triple-Layered Consommé" | ||
@@ -400,2 +412,3 @@ ], | ||
"\"Pile 'Em Up\"", | ||
"Rockin' Riffin' Chicken!", | ||
"Satisfying Salad", | ||
@@ -485,2 +498,3 @@ "Tianshu Meat" | ||
"Radish Veggie Soup", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Squirrel Fish", | ||
@@ -514,2 +528,3 @@ "Steak", | ||
"\"Pile 'Em Up\"", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Spicy Stew", | ||
@@ -524,2 +539,3 @@ "Steak", | ||
"Bamboo Shoot Soup", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Triple-Layered Consommé" | ||
@@ -550,2 +566,3 @@ ], | ||
"Radish Veggie Soup", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Squirrel Fish", | ||
@@ -567,2 +584,3 @@ "Survival Grilled Fish", | ||
"Radish Veggie Soup", | ||
"Slow-Cooked Bamboo Shoot Soup", | ||
"Wanmin Restaurant's Boiled Fish" | ||
@@ -588,2 +606,3 @@ ], | ||
"Qingce Stir Fry", | ||
"Rockin' Riffin' Chicken!", | ||
"Stir-Fried Filet", | ||
@@ -692,2 +711,3 @@ "Wanmin Restaurant's Boiled Fish" | ||
"Jueyun Chili Chicken", | ||
"Rockin' Riffin' Chicken!", | ||
"Sweet Madame", | ||
@@ -756,2 +776,3 @@ "Triple-Layered Consommé" | ||
"Northern Apple Stew", | ||
"Rockin' Riffin' Chicken!", | ||
"Survival Grilled Fish" | ||
@@ -758,0 +779,0 @@ ], |
@@ -30,3 +30,5 @@ { | ||
"xiangling.json", | ||
"xingqiu.json" | ||
"xingqiu.json", | ||
"xinyan.json", | ||
"zhongli.json" | ||
], | ||
@@ -61,4 +63,6 @@ "names": [ | ||
"Xiangling", | ||
"Xingqiu" | ||
"Xingqiu", | ||
"Xinyan", | ||
"Zhongli" | ||
] | ||
} |
@@ -40,3 +40,3 @@ const fuzzysort = require('fuzzysort'); | ||
try { | ||
return require(path); | ||
return require(`./${path}`); | ||
} catch(e) { | ||
@@ -66,3 +66,3 @@ return undefined; | ||
for(const lang of querylangs) { | ||
const file = getJSON(`./index/${lang}/${folder}.json`) | ||
const file = getJSON(`index/${lang}/${folder}.json`) | ||
//console.log(file); | ||
@@ -84,3 +84,3 @@ if(file === undefined) continue; | ||
const file = getJSON(`./${opts.resultlanguage}/categories.json`); | ||
const file = getJSON(`${opts.resultlanguage}/categories.json`); | ||
return file[query] ? file[query] : []; | ||
@@ -96,3 +96,3 @@ } | ||
const queryindex = getJSON(`./index/${opts.resultlanguage}/${folder}.json`); | ||
const queryindex = getJSON(`index/${opts.resultlanguage}/${folder}.json`); | ||
if(queryindex[query] !== undefined) return queryindex[query]; | ||
@@ -102,3 +102,3 @@ const filename = queryindex.file[queryindex.names.indexOf(query)]; | ||
return getJSON(`./${opts.resultlanguage}/${folder}/${filename}`); | ||
return getJSON(`${opts.resultlanguage}/${folder}/${filename}`); | ||
} | ||
@@ -105,0 +105,0 @@ |
@@ -40,8 +40,5 @@ ## Todo | ||
- [ ] missing a lot of images | ||
- [ ] missing a lot of sources | ||
- [ ] 1.2 specialty dishes | ||
- [ ] Jueyun Guoba (is this in the game yet?) | ||
- [ ] Sunshine Sprat (is this in the game yet?) | ||
- [ ] Universal Peace (not in game yet.) | ||
- [ ] verify Tianshu Meat effects in-game | ||
- [ ] verify Moon Pie ingredients in-game | ||
@@ -61,2 +58,5 @@ - [ ] verify Prize Catch in-game | ||
## Done | ||
- [x] make sure webpack can build (12/2) | ||
- [x] added zhongli and xinyan character, constellation, talent, and specialty (12/2) | ||
- [x] added sources for every recipe (12/1) | ||
- [x] add recipes (11/29) | ||
@@ -63,0 +63,0 @@ - [x] add talents (11/26) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
485053
337
9973
151
2