下载客户端

食物组合计算器(包含本体及DLC1-4剧透)

AI智能总结导读

作者开发了一款适配《东方夜雀食堂》本体及DLC4的Python食物组合计算器,可算出用最少食材让客人给出完美评分的最优餐品,还支持结合咒牌效果等设置,后续计划适配DLC5并优化功能。

I made a Python script to calculate the best (least ingredients) meals that can be cooked for every customer in the game and up to DLC4. It also has a number of options for various spell cards and modes that can affect how the results are calculated. Background Information [Working on a major rewrite to include data from DLC5, better code, more and better ways to interact with the program (i.e. proper argparsing), easier to edit data, and also fixing the way ratings are calculated since the Fandom wiki had incorrect data on it about how it's done] I wrote a Python 3.12 program that finds the best meal possible for guests in order to get a perfect rating with as few ingredients as possible. It's generally geared towards end game when you have a bunch of every ingredient, but want the dishes to be as easy to make as possible. It also takes into account any spell cards that would affect ratings along with some different calculation/sorting modes. Every recipe and rare or special guest that can appear in your Izakaya is included, up through DLC4. There are of course spoilers if you choose to keep reading or look at the code. All of the data is taken from the in-game journal and should include every guest like and dislike, unless I made a mistake anywhere. I used Keine's ability to make sure I wasn't missing any preferences for special guests. Also, some of the edge case interactions between things like spell cards that affect likes and dislikes haven't really been tested in-game, so I don't know if the calculator will always work perfectly for all combinations of spell cards. But it will likely be very close if it is incorrect. Lastly, the way ratings are calculated assume the guest has requested one of the tags that the meal has and that you give them the drink they want. I used the Customers wiki page[touhou-mystias-izakaya.fandom.com] for the calculation. I plan to update this as new content is released and translated for the game. Input and Usage The script can be run by using the following command: python -OO meals.py [MODIFIERS] [GUEST] Some examples would be: python -OO meals.py anp wriggle python -OO meals.py wriggle python -OO meals.py RUmIA python -OO meals.py AKmPsD ruMia None of the arguments are case sensitive. The first argument is a combination of letters that enable certain modifications to the search algorithm or order of results. Include every letter that you wish to enable in a single word in any order. a = Aya's Positive Spell Card is Active k = Kagerou's Positive Spell Card is Active m = Medicine's Positive Spell Card is Active p = Patchouli's Positive Spell Card is Active s = Seija's Positive Spell Card is Active d = Find the best meals with as many tags as possible that are not known to be liked or disliked by the guest. The main purpose of this is to quickly discover new preferences for guests. n = Find the best meals without adding any ingredients. The main purpose of this is to create meals ahead of time for boss fights.The last two letters also change the order of results to prioritize meals with the most tags that are liked by the guest. The second argument is the name of the guest. This is always the first word in the English translation of the guest's name in the in-game journal. For example, Wriggle Nightbug can be searched for using Wriggle and Rumia can be searched for using Rumia. It is also possible to take into consideration if a tag is currently popular or unpopular. To do so, find the following line near the bottom of the code: POPULARITY: dict[Tag, Tag] = {} If Good with Alcohol is currently popular, replace the line with: POPULARITY: dict[Tag, Tag] = {Tag.GOOD_WITH_ALCOHOL: Tag.TREND_POPULAR} If Filling is currently unpopular, replace the line with: POPULARITY: dict[Tag, Tag] = {Tag.FILLING: Tag.TREND_UNPOPULAR} I don't believe this is possible, but if Good with Alcohol is currently popular AND Filling is current unpopular, you can replace the line with: POPULARITY: dict[Tag, Tag] = {Tag.GOOD_WITH_ALCOHOL: Tag.TREND_POPULAR, Tag.FILLING: Tag.TREND_UNPOPULAR} All tag names are always the English translation of the tag's name in the in-game journal, all caps with underscores instead of spaces. Output This is an example result: 6 | 50¥ | Falling Blossoms | Premium Tuna, Bingdi Lotus, Cream | Legendary, Cultural Heritage, Photogenic, Japanese, Small Portion, Western, Sweet The 6 is the rating the customer will give the meal if both their food and drink tag requests are met. The 50¥ is the price of the recipe that the customer will pay if they can afford it. Falling Blossoms is the name of the base recipe that is being modified. Premium Tuna, Bingdi Lotus, Cream is the list of ingredients required to meet the score and tags listed. Legendary, Cultural Heritage, Photogenic, Japanese, Small Portion, Western, Sweet is the list of tags the recipe will have that are liked or disliked by the guest. Results are filtered first to remove any that won't give at least a rating of 4 (Pink), if possible. Then they are sorted to find the least number of the ingredients, most tags that are liked by the guest, and finally highest price, in that order. Code Finally! The code is unfortunately too long to include here so you will have to go to this pastebin instead: https://pastebin.com/fDaE9RJC I also posted the code in the Mystia's Izakaya Discord server: https://discord.com/channels/750216642616754314/750218099646529536/1205989457728245800 Sorry it is undocumented and ugly. I had not initially intended to upload it anywhere.

评论

共0条评论
face
inputImg
相关阅读
最新更新

懒人防刷攻略

本指南将介绍如何自动刷取稀有物品。刷取的噩梦就此结束。 可跳过的介绍 在计算机科学领域,我们热衷于实现自动化。那些无需思考、枯燥且耗时的重复性操作,都应该尽可能…

2026-03-19 16:000赞 · 0评论

古明地恋 《东方夜雀食堂》DLC2古明地恋怎么打?DLC2古明地恋打法分享

东方夜雀食堂DLC2古明地恋怎么打?许多小伙伴不知道古明地恋boss怎么打,下面小编就带来东方夜雀食堂DLC2古明地恋打法分享,一起来看看吧。

2025-11-29 07:530赞 · 0评论

魂魄妖梦 东方夜雀食堂妖梦试炼攻略 魂魄妖梦怎么打

东方夜雀食堂魂魄妖梦是游戏中的一个强力BOSS,妖梦试炼挑战怎么打?下面给大家分享一个东方夜雀食堂妖梦试炼攻略

2025-06-12 23:430赞 · 0评论

《东方夜雀食堂》俄语化补丁

《东方夜雀食堂》俄语化补丁,支持截至2025年6月3日的所有DLC 安装俄语化补丁

2026-02-19 16:000赞 · 0评论

稀客开卡最适菜单(不含下载内容)

适合只购买了原版的玩家使用 没有采用符合稀客喜好但价格过高或有上位替代的菜单 妖怪兽道 莉格露 200-400 料理 甜+肉:蜜汁叉烧 70(烤架:蜂蜜+猪肉)…

2026-02-19 01:000赞 · 0评论

最佳辅助 | 东方夜雀食堂小助手来啦

东方夜雀食堂小助手(夜雀助手)提供顾客图鉴(包括羁绊奖励和符卡效果查询)、搭配稀客和普客的料理套餐(动态评级),以及料理(食谱)、酒水、食材、厨具、摆件、衣服和…

2026-02-18 01:000赞 · 0评论

《东方夜雀食堂》全特殊顾客NPC与普通顾客最爱食谱简易笔记(一人一道菜)

这篇笔记用作者走过的弯路和吃过的教训,为你节省时间。经营前看10秒,轻松十分钟。 众所周知,《东方夜雀食堂》需要我们各位玩家在游戏很早期就开始做笔记,或在心里记…

2026-02-20 01:000赞 · 0评论

隐藏挑战(KOR)

东方夜雀食堂 隐藏挑战与易遗漏收集点说明 剧透注意 感谢挑战任务的翻译 易遗漏收集点

2026-02-19 19:000赞 · 0评论

东方游戏 大型的东方系列游戏有哪些 2025流行的东方系列游戏下载合集

东方系列游戏有哪些呢?东方系列的游戏有着别具一格的魅力。它并非局限于单一风格,而是在二次元特色基础上,巧妙融合了多元领域元素。像漫画、音乐等范畴中的经典角色形象…

2025-09-11 13:580赞 · 0评论

攻略 【弹丸论破V3】挖宝小游戏简易攻略法(寻找宝物 敲敲石块)

脚本来源:贴吧 - 喵小喵的小鱼 脚本地址:https://github.com/USTC-yzy1996/Danganronpa-V3-Dig-Game/bl…

2025-10-28 12:430赞 · 0评论
暂无更多

最新更新