From 42f923f6ac80d94b474d2a54338768c2c2e93bc8 Mon Sep 17 00:00:00 2001 From: LPerNATTO Date: Sun, 3 Jul 2022 15:50:26 +0900 Subject: [PATCH 1/2] =?UTF-8?q?add:=20=E8=8B=B1=E8=AA=9E=E9=99=90=E5=AE=9A?= =?UTF-8?q?=E3=81=AE=E3=83=8B=E3=83=A5=E3=83=BC=E3=82=B9=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja.json5 | 646 +++++++++++++++++++++++++++++++++++++++++++-- src/common/main.js | 256 +++++++++++++++++- 2 files changed, 878 insertions(+), 24 deletions(-) diff --git a/locales/ja.json5 b/locales/ja.json5 index 760a21c..10c46cc 100644 --- a/locales/ja.json5 +++ b/locales/ja.json5 @@ -499,7 +499,6 @@ "You gain one hour of your CpS (capped at double your bank).": "CpS 1時間分 のクッキーを手に入れました(上限は所持数の 2倍)。", "You've unlocked a new upgrade.": "新しいアップグレードが解禁されました。", "Wish granted. Golden cookie spawned.": "望みが叶った。ゴールデンクッキーが出現した。", - "help me!": "助けて!", "Ascend": "昇天", "You've been on this run for %1.": "この周回を %1 の間プレイしています。", "Your prestige level is currently %1.
(CpS +%2%)": "あなたの名声レベルは現在 %1レベル です。
(CpS +%2%)", @@ -2178,7 +2177,8 @@ "45秒の倫理の柔軟さ", "「ふりかけ」としても知られる大量の粉", "普通の寸法の、円や三角形、四角形のような幾何学図形", - "このランダムな数列','人生を好転させるためのひと押し", + "このランダムな数列", + "人生を好転させるためのひと押し", "素敵な恐怖", "知られざる超能力", "次回の幸運", @@ -4077,7 +4077,38 @@ "No special modifiers.": "特に変更点なし。", "This run will behave as if you'd just started the game from scratch. Prestige levels and heavenly upgrades will have no effect, as will sugar lumps and building levels. Perma-upgrades and minigames will be unavailable.
Some achievements are only available in this mode.": "この周回では最初から始まったような状態になります。名声レベルと天国系アップグレード、角砂糖、建物レベルは機能しません。天国系アップグレードとミニゲームが使用不可になります。
いくつかの実績はこのモードでないと解除できません。", "In this run, scrolling your mouse wheel on the cookie counts as clicking it. Some upgrades introduce new clicking behaviors.
No clicking achievements may be obtained in this mode.
Reaching 1 quadrillion cookies in this mode unlocks a special heavenly upgrade.": "この周回ではマウスホイールをスクロールすることでクリックしたことになります。いくつかのアップグレードにより新しいクリックの挙動が発生します。
無クリック実績はこのモードで取得できるかもしれません。
このモードで1000兆枚に達することで特殊な天国系アップグレードが解放されます。", + + // ニュース "News :": "ニュース :", + "TickerList (Animal)": [ + "イモリ", + "ペンギン", + "サソリ", + "アホロートル", + "海鳥", + "ネズミイルカ", + "フグ", + "馬", + "ザリガニ", + "ナメクジ", + "ザトウクジラ", + "コモリザメ", + "ダイオウイカ", + "ホッキョクグマ", + "フルーツコウモリ", + "カエル", + "ホヤ", + "カギムシ", + "デバネズミ", + "ゾウリムシ", + "線虫", + "タマムシ", + "キリン", + "アンコウ", + "狼男", + "ゴブリン", + "ヒッピー" + ], "Ticker (grandma)": [ "しっとりしたクッキーねぇ。", "私たちはみんな素敵なおばあちゃんよ。", @@ -4095,6 +4126,7 @@ "もうすぐすべてが終わる。", "やめることも出来たはずよ。" ], + "cookie manufacturer downsizes, sells own grandmother!": "クッキー業者事業縮小、従業員のグランマを売却!", "Ticker (angry grandma)": [ "裏切ったのね、ちょっとひどいわ。", "私たちを追い払おうとしたみたいねぇ、ちょっと意地が悪いわよ。", @@ -4111,27 +4143,6 @@ "まだ足りぬわ。", "遅すぎたのだ。" ], - "Ticker (grandma invasion start)": [ - "数百万人もの老婦人が失踪!", - "世界中の家族、祖母の姿に動揺し、立ち尽くす!", - "世界中の家族、祖母の姿に動揺し、立ち尽くす!", - "医師ら、目に生気がなく口から泡を出す老婦人の集団に囲まれる!", - "診断書、老婦人の周囲に「奇妙なクッキー生地の臭い」!" - ], - "Ticker (grandma invasion rise)": [ - "混乱した町では奇妙な老婆たちが幼児を連れ去り、クッキー用の調理器具を強奪しようと住宅に侵入!", - "各地でギラついた目をした恐ろしい老婆の集団を目撃!", - "遭難した一家の証言「住んでいる女性がゆっくりと椅子に凝着していった!」", - "全世界に家出した老婆の集団!", - "ストリートで硬直した老婆、生暖かい砂糖の液体を分泌する!" - ], - "Ticker (grandma invasion full)": [ - "大陸の巨大な「肉のハイウェイ」の痕跡は各地のクッキー施設を繋いでいた!", - "宇宙から見た様は明らかに萎びた「触手」!", - "肉の建造物に変貌している最中の硬直した「老婆」の残骸が発見される!", - "全ての希望が潰えるかの如き苦痛!肉と生地に全都市が飲み込まれる!", - "悪夢は続く、驚異的な速度で萎びた大量の肉塊は拡大する!" - ], "Ticker (Farm)": [ "クッキー農場で未申告の高齢者を労働させている疑惑が浮上!", "クッキー農場が川に有害なチョコレートを放流していると科学者が証言!", @@ -4145,6 +4156,7 @@ "チョコレート鉱山で人災発生、村がチョコレートで浸水!", "チョコレート鉱山の奥深くに「一風変わった、チョコレートらしきものでできた」家屋を発見!" ], + "%1 miners trapped in collapsed chocolate mine!": "%1名の炭鉱労働者、チョコレート鉱山崩落に巻き込まれる!", "Ticker (Factory)": [ "クッキー工場は地球温暖化と関係有り!", "チョコレート雨に関するクッキー工場論争!", @@ -4164,11 +4176,137 @@ "有神論者が新たなクッキーの教義を発見。「なんてこった、今までの教えは全て誤りだというのか…!」", "言い伝えによると、クッキーの天国は「階段の代わりにアトラクション的なエレベーターを備え」、クッキーの地獄は「粗悪な建材にお誂え向きの敷石で舗装されている」。" ], + "TickerList (Temple)": [ + "魔法の", + "飾り彫りのある", + "刻印された", + "彫刻の", + "王室の", + "皇帝の", + "ミイラ化した", + "儀式の", + "金の", + "銀の", + "石の", + "呪われた", + "プラスチックの", + "骨の", + "血を流す", + "聖なる", + "祭られた", + "生贄の", + "電子式", + "歌う", + "タップダンスする" + ], + "TickerList (Temple2)": [ + "スプーン", + "フォーク", + "ピザ", + "洗濯機", + "計算機", + "帽子", + "ピアノ", + "ナプキン", + "スケルトン", + "ガウン", + "短剣", + "剣", + "盾", + "頭蓋骨", + "エメラルド", + "浴槽", + "仮面", + "ローラースケート靴", + "猫用トイレ", + "餌箱", + "立方体", + "球体", + "菌類" + ], + "explorers bring back ancient artifact from abandoned temple; archeologists marvel at the centuries-old %1 %2!": "探検家が廃寺院から持ち帰った古代の人工遺物。考古学者は何世紀も昔の%1%2に驚嘆!", + "TickerList (Temple3)": [ + "神", + "女神" + ], + "TickerList (Temple4)": [ + "カズー", + "ウェブデザイン", + "ウェブブラウザ", + "仔猫", + "無神論", + "ハンドブレーキ", + "帽子", + "靴紐の先っちょ", + "小綺麗でつまらない音楽", + "放置ゲーム", + "文字「P」", + "ミーム", + "ハンバーガー", + "つまらんダジャレ", + "文字間隔調整", + "スタンダップコメディ", + "強盗未遂", + "ネットの釣りタイトル", + "ネットの詐欺広告" + ], + "just how extensive is the cookie pantheon? Theologians speculate about possible %1 of %2.": "件のクッキー神殿はどこまで広大なのか?神学者は%2の%1を祀っている可能性を推測。", "Ticker (Wizard tower)": [ "毎年開催、全国スペル創造フェアで最新の護符と呪具をゲットしよう!ルーン文字と魔導書は、ここだけの独占価格でご提供。", "クッキーウィザードは酷く醜怪な新生児への関与を否定 - 医師は語る。「忌憚なく言えば、幼児の外見は吐き気を催すが、手を加えられてはいない」", "「未完成でいい加減な魔法はね、テクノロジーと見分けがつかないのですよ」、高名なテクノウィザードの主張。" ], + "TickerList (Wizard tower)": [ + "公衆トイレ", + "雲", + "政治家", + "口髭", + "帽子", + "靴", + "ズボン", + "道化師", + "百科事典", + "ウェブサイト", + "鉢植え", + "レモン", + "家庭用品", + "体液", + "カトラリー", + "国定史跡", + "ヨーグルト", + "ラップミュージック", + "下着" + ], + "all %1 turned into %2 in freak magic catastrophe!": "全ての%1を%2に変えるトンチキ魔法で大惨事!", + "TickerList (Wizard tower2)": [ + "水", + "火", + "地", + "風", + "雷", + "酸", + "歌", + "戦闘", + "秩序", + "鉛筆", + "インターネット", + "空間", + "時間", + "脳", + "自然", + "テクノ", + "植物", + "虫", + "氷", + "毒", + "蟹", + "仔猫", + "イルカ", + "鳥", + "パンチ", + "屁" + ], + "heavy dissent rages between the schools of %1 magic and %2 magic!": "%1魔法学校と%2魔法学校との間に深い軋轢が発生!熾烈を極める争い!", "Ticker (Shipment)": [ "新しいチョコレート惑星を発見、クッキー燃料の宇宙船の到達目標に!", "99.8%がチョコレートの大質量惑星、コアが純粋な黒いチョコレートであると証明される!", @@ -4281,6 +4419,86 @@ "産卵するウサギ「この次元からとは限らない」生物学者が警告。「決して触れない、餌を与えない、料理に使わないように」との忠告。", "謎のウサギは産卵性だが哺乳類であることが判明、カモノハシと同系統の可能性を示している。" ], + "cookie manufacturer completely forgoes common sense, lets strange obsession with round numbers drive building decisions!": "もはや常識を忘れたクッキー製造業者、キリのいい数字への異常な執着心を引き起こす建築物の建設を決定!", + "follow the tear-jerking, riches-to-rags story about a local cookie manufacturer who decided to give it all up!": "お涙頂戴!すべてを諦めることにした地元のクッキー製造業者についての貧富の差を巡る物語!", + "known universe now jammed with cookies! No vacancies!": "我々の世界は今やクッキーですし詰め状態!隙間なんてありゃしない!", + "incredibly rare albino wrinkler on the brink of extinction poached by cookie-crazed pastry magnate!": "なんと、絶滅寸前の希少なアルビノしわしわ虫を、クッキー亡者のペイストリー長者が密猟!", + "local cookie manufacturer becomes luckiest being alive!": "地元のクッキー製造業者、奇跡的復活を果たす!", + "seasons are all out of whack! \"We need to get some whack back into them seasons\", says local resident.": "季節の法則が完全に乱れる!「こりゃ何度かぶっ叩かないと直らないかもな」現地住民は語る。", + "faint meowing heard around local cookie facilities; suggests new ingredient being tested.": "地元のクッキー施設の近辺からかすかな猫の鳴き声。新しい材料として実験台にされている可能性も。", + "crowds of meowing kittens with little hard hats reported near local cookie facilities.": "地元のクッキー施設の周辺で、小さな安全ヘルメットを被った仔猫の鳴き声が響き渡っているとの報告。", + "surroundings of local cookie facilities now overrun with kittens in adorable little suits. Authorities advise to stay away from the premises.": "地元のクッキー施設一帯で現在、可愛らしい小さなスーツを着た仔猫の群れが出現。管理者たちは家屋から離れるよう忠告。", + "locals report troupe of bossy kittens meowing adorable orders at passersby.": "偉そうな仔猫の群れが可愛らしい鳴き声で通行人に命令していると、地元メディアが報道。", + "local office cubicles invaded with armies of stern-looking kittens asking employees \"what's happening, meow\".": "地方支社の作業室を強襲した威圧的な仔猫の軍隊、従業員に尋ねる。「調子はどうかにゃー?」", + "tiny felines show sudden and amazing proficiency with fuzzy mathematics and pawlinomials, baffling scientists and pet store owners.": "小さな猫が突如ファジー数学と多項式をマスター。驚異的な才能開花に、困惑する科学者とペットショップオーナー。", + "new kitten college opening next week, offers courses on cookie-making and catnip studies.": "来週、新たな仔猫専門学校が開校。授業科目は、クッキー作りと猫じゃらし。", + "unemployment rates soaring as woefully adorable little cats nab jobs on all levels of expertise, says study.": "酷い失業率高騰の原因は、全専門分野で職を独占している愛らしい仔猫に依るもの。研究で判明。", + "\"In the future, your job will most likely be done by a cat\", predicts suspiciously furry futurologist.": "「恐らく将来的に、君の仕事は猫に取って代わられるんじゃないかにゃ」と、胡散臭い毛むくじゃらの未来学者が予言。", + "strange kittens with peculiar opinions on martial arts spotted loitering on local beet farms!": "武道オタクのマジキチ猫、地元のビーツ農場でうろついているところを発見!", + "nonsensical kitten billboards crop up all over countryside, trying to sell people the cookies they already get for free!": "田園地帯の至る所に馬鹿げた立て看板が突如出現、タダで仕入れたクッキーを住民に売りつけようとしている!", + "are your spending habits sensible? For a hefty fee, these kitten analysts will tell you!": "あなたはお金を賢く遣ってますか?多額報酬獲得に向け、提案する分析者達!", + "kittens strutting around in hot little business suits shouting cut-throat orders at their assistants, possibly the cutest thing this reporter has ever seen!": "子猫がセクシーで小さなビジネススーツを着ながら気取って歩き回り、アシスタントに激しく指示を叫ぶ姿、おそらく記者が今まで見た中で最もかわいい!", + "all systems nominal, claim kitten admins obviously in way over their heads.": "全システムが名ばかりで、管理者猫は明らかに自分の手に負えない状態だと主張しています。", + "\"Try to ignore any ghostly felines that may be purring inside your ears,\" warn scientists. \"They'll just lure you into making poor life choices.\"": "「目に見えぬ猫が耳の中でゴロゴロ鳴いていても無視すること」科学者が警告。「人生の選択を誤らせようとする罠だ」", + "kittens break glass ceiling! Do they have any idea how expensive those are!": "子猫がガラスの天井を破る!どれだけ高いものなのかわかっているのか!", + "local kittens involved in misguided musical production, leave audience perturbed and unnerved.": "地元の子猫が誤ったミュージカル作品に巻き込まれ、観客はうろたえ混乱。", + "Ticker (Dude, sweet)": [ + "当局から観光客へ警告、路上販売人の密造砂糖を買ってはいけない -「あなたにとっては甘い取引なのでしょうが、実際売られているのは、ありふれた只のコカインなんですよ」捜査官は語る。", + "砂糖の消費が子供たちに与える影響について、無気力にするのか活動過多にするのか、専門家の間で激しい意見の不一致。", + "砂糖の塊運搬船が沈没する都度、魚の虫歯が増加するのを懸念する漁師。", + "前代未聞のオークションで数百万人を魅了した希少な黒砂糖の塊は、一般的な有毒菌であることが判明。", + "「ずっと昔はね、砂糖の塊っていうのは紅茶に入れる小さな角砂糖だったの。いま人々がランチで食べているような拳大の化物とは違うのよ」偏屈なボケ老人の愚痴。", + "砂糖の塊を使ったスナック、全国で爆発的な大流行。全国の歯科医もニッコリ。" + ], + "major sugar-smuggling ring dismantled by authorities; %1 tons of sugar lumps seized, %2 suspects apprehended.": "当局により解体された大規模な砂糖密輸団。%1トンもの砂糖の塊を押収し、%2人の容疑者を逮捕。", + "pro-diabetes movement protests against sugar-shaming. \"I've eaten nothing but sugar lumps for the past %1 years and I'm feeling great!\", says woman with friable skin.": "白砂糖バッシングに抗議活動する糖尿病賛成派。「過去%1年間、砂糖の塊だけを食べ続けてきたけど、全く調子が良いわよ!」と、肌の脆い女性が。", + "Ticker (Rare)": [ + "あなたは選ばれました。もうすぐ彼等が来るでしょう。", + "彼等はすぐ近くに来ています。扉を開けるのは考え直した方がよいのでは。", + "終末が近いです。支度しなさい。", + "ニュース : ブロッコリーの頭をママに、残りを子供にプレゼント。家族に無関心な父親。", + "ニュース : 中年なんてものは存在しない、でっち上げだ、研究による宣言。結局、体の姿勢が悪くなるんだから同じじゃないか。", + "ニュース : 世の子猫たちはKittyKibble社製ペットフードの不足が解消するのを望んでいる。" + ], + "TickerList (misc1)": [ + "寿命の向上", + "知能の飛躍的向上", + "若返り", + "抜け毛の減少", + "関節炎の予防", + "視力の改善" + ], + "cookies found to %1 in %2!": "クッキーに%2の%1効果を発見!", + "TickerList (misc2)": [ + "より従順に", + "より立派に", + "より格好良く", + "空腹になりにくく", + "より実用的に", + "より美味しく" + ], + "cookies found to make %1 %2!": "クッキーに%1を%2させる効果を発見!", + "cookies tested on %1, found to have no ill effects.": "クッキーを%1に与えたところ、副作用は発見されず。", + "cookies unexpectedly popular among %1!": "意外にもクッキーは%1に好評!", + "unsightly lumps found on %1 near cookie facility; \"they've pretty much always looked like that\", say biologists.": "クッキー施設周辺の%1に奇妙な腫瘍、生物学者は「腫瘍は非常に多く見られる」とコメント。", + "new species of %1 discovered in distant country; \"yup, tastes like cookies\", says biologist.": "海外で新種の%1を発見。生物学者は「うん、クッキー味だ」とコメント。", + "TickerList (misc3)": [ + "ロースト", + "トースト", + "ボイルド", + "ソテーした", + "ミンチにした" + ], + "TickerList (misc4)": [ + "寿司", + "スープ", + "カルパッチョ", + "ステーキ", + "ナゲット" + ], + "%1 made from %2": "%2で作られた%1", + "cookies go well with %1, says controversial chef.": "クッキーは%1を和えるとおいしく頂ける、物議を醸したシェフのコメント。", + "\"do your cookies contain %1?\", asks PSA warning against counterfeit cookies.": "「あなたのクッキーに%1は含まれていますか?」、製品安全性協会が偽クッキーに警告。", "Ticker (misc)": [ "医師会、一日二回新鮮なクッキーを摂取することを推奨。", "医師会、チョコチップクッキー吸引に没頭する若者に警告。", @@ -4300,6 +4518,208 @@ "「ただ一言言いたい、一言、クッキー」、話題のあの人が暴露。", "「分かった、認めよう。私は生涯でクッキーを一枚たりとも食べたことはない。」、話題のあの人が暴露。" ], + "Ticker (misc2)": [ + "クッキーによる「世界の終末」は刻一刻と迫っていると予言した科学者、同僚たちの間で笑い者にされる。", + "クッキーを買うために銀行強盗をした男。", + "機内食の問題に関し、事実、深刻なクッキー不足であることを科学者達が立証。", + "飢餓国に数百トンものクッキーを空から投下。死者は数千人規模、国家は援助に感謝を表明。", + "新たな研究で判明、クッキーは老化を早めるのでも緩やかにするのでもなく、代わりに「異なる方向へ向かわせる」。", + "漁網で発見された異常成長の巨大クッキーは、成長ホルモン焼きについての問題を提起した。", + "大都市で「食べ放題」のクッキーレストランがオープン。ウェイターは数分で蹂躙の憂き目に。", + "クッキー大食い大会で男性死亡。「大したパフォーマンスではなかったね」審査員の評。", + "何がクッキーの味を相応しくするのか?「恐らくクッキーに入っている[*****]でしょう」、匿名の密告者が言及。", + "クッキーアレルギーの男性。「イカレてるにも程がある」家族がコメント。", + "海外の政治家、クッキー密輸に関与か。", + "クッキー不足に見舞われた町、住民は仕方なくカップケーキを口に。「まったくの別物」不本意ながら認める市長。", + "「受け入れなさい、このすべてのクッキーの原料は少々呪われている」、妄言者の戯言。", + "火星に生命はいるのか?現在、様々なチョコレートバー製造業者が細菌汚染について調査中。", + "「だから、それが今の状況なのだろうと思います。」世界中でクッキー生産が高まって以来、事実上すべての鉄鋼製品に存在するクッキー粒子について科学者がコメント。", + "微量のクッキー粒子をほとんどの生物から検出。そのうちのいくつかの種は新たな外来の代謝プロセスとして適応。" + ], + "TickerList (misc5)": [ + "咳止めドロップ", + "ブロッコリー", + "ニシンの燻製", + "チーズ", + "テレビゲーム", + "安定した仕事", + "人間関係", + "タイムトラベル", + "猫のビデオ", + "タンゴ", + "ファッション", + "テレビ", + "核戦争", + "我々がこれまでに食べてきたいかなる物", + "政治", + "酸素", + "ランプ" + ], + "cookies now more popular than %1, says study.": "クッキーは今や%1以上に人気との研究結果。", + "TickerList (misc6)": [ + "トゥワークダンス", + "クソッタレなラップミュージック", + "テレビゲーム", + "クッキー欠乏", + "幽霊の実体", + "エイリアン", + "両親", + "学校", + "マンガ", + "クッキー吸引の熱中" + ], + "obesity epidemic strikes nation; experts blame %1.": "国民を揺るがす肥満の原因、専門家は%1と分析。", + "Ticker (misc3)": [ + "出演者不足で制作中止となった映画、「みんな家でクッキーを食べてるんだ」嘆き悲しむディレクター。", + "消化不良のため、クッキー番組収録の中止を余儀なくされたコメディアン。", + "クッキーの新興宗教が一世を風靡。", + "化石記録が示す、カンブリア大爆発で繁栄したクッキー有機体の存在。科学者が発表。", + "奇妙な違法クッキーを摘発。「おぞましい味」と、警察が発表。", + "クッキーを摂取後死亡したとみられる男性を発見。「マフィアの密告者」か。", + "「宇宙は非常に大きな輪を描いている」、研究者が提唱。「クッキーの遥か彼方まで」", + "些細なクッキー事故から町中は灰に。隣接都市に再建用の「チップ」を要請。", + "我々のメディアはクッキー産業に支配されている?事実にしようと思えばできるだろう、愚かな陰謀論者の証言。", + "繁華街にクッキー専門のレストランがオープン。クッキーの蒸し焼きからクッキーのテルミドール、デザートにはクレープも。", + "インタビューを受けたオランウータン、一言「ウーク」。" + ], + "Ticker (misc4)": [ + "科学者曰く、「大方予想通りの」ありふれたポップコーン味のクッキー。", + "全穀物ぶっちぎりの最強シリアル味のクッキー", + "研究の結果、クッキーは「胎児も含む」全年齢層で好まれている。", + "「Grandmother II ~潤~」上映中に爆発的に売れたポップコーン味のクッキー。" + ], + "TickerList (misc7)": [ + "永遠の命", + "無限の富", + "永遠の若さ", + "永遠の美しさ", + "脱毛症の治療", + "世界平和", + "食糧難の解決", + "世界中の戦争の終結", + "地球外生命体とのコンタクト", + "読心術", + "健康な暮らし", + "健全な食生活", + "もっと面白いテレビ番組", + "超光速旅行", + "画期的なベーキング技術", + "チョコレートの滋養成分", + "空想上の理想" + ], + "cookies could be the key to %1, say scientists.": "クッキーは%1の鍵となるだろう。科学者が発表。", + "TickerList (misc8)": [ + "さほど風味豊かではない", + "反道徳的な類いの", + "「逆に落ち着いた」", + "最近ひどく辛い" + ], + "flavor text %1, study finds.": "%1フレーバーテキスト、研究で発見。", + "Ticker (misc5)": [ + "ゴールデンクッキーはどんな味?研究で判明、ゴールデンクッキーの味は「スペアミントと甘草の中間のような」味。", + "レッドクッキーはどんな味?研究で判明、レッドクッキーの味は「血入りソーセージと海水の両方を兼ねた」味。", + "全ネット利用者を未だに苛つかせる無意味な「参照」。「うん、だけど何で『たまご』?」", + "有名な経済学者の発言。「話題の投稿動画『過剰に大量なクッキー』は、我々の世界に差し迫る危機の『悍ましい実録』と成り得る」", + "「去年から流行のミームが、どういう訳か未だに関連ワードに上っている」専門家は嘆く。", + "調査の結果、10代の若者の間で人気独走のクッキー絵文字は「批判上等のハンドサイン」と「胡散臭い面したダークムーン」。" + ], + "TickerList (misc9)": [ + "生焼けが極めて少ない", + "とても風味がいい", + "まあゴミ以下って事はない", + "鳥肌はそんなに立たない", + "毒性が低い", + "より食用に適している", + "洗練されている", + "ほんの少しだけ良い", + "シャレオッティ", + "間違いなく健康的", + "客観的に良い選択", + "不味さは控えめ", + "断然クッキーっぽい", + "僅かに安い" + ], + "%1-brand cookies \"%2 than competitors\", says consumer survey.": "消費者調査によると、%1ブランドのクッキーは「他社製品に比べ%2」。", + "\"%1\" set to be this year's most popular baby name.": "今年の赤ちゃんの名前人気ランキング一位は「%1」になる模様。", + "new popularity survey says %1's the word when it comes to cookies.": "クッキーのことなら、%1。最新の人気調査。", + "major city being renamed %1ville after world-famous cookie manufacturer.": "世界的に有名なクッキー製造業者に倣い、主要都市を%1市に改名する動き。", + "TickerList (misc10)": [ + "通り", + "学校", + "介護施設", + "スタジアム", + "新しいファーストフードチェーン店", + "新惑星", + "新たな病気", + "人喰いバクテリア", + "致死性ウイルス", + "新しい法律", + "赤ちゃん", + "プログラミング言語" + ], + "new species of %1": "%1の新種", + "%1 to be named after %2, the world-famous cookie manufacturer.": "世界的に有名なクッキー製造業者に倣い、%1を%2と命名する動き。", + "don't miss tonight's biopic on %1's irresistible rise to success!": "今夜放映の伝記映画、%1成功へのエレベーター、お見逃しなく!", + "TickerList (misc11)": [ + "ブロプラ", + "ブラビッド・ブレターマン", + "ブリミー・ブリンメル", + "ブレレン・ブレジェネレス", + "ブリミー・ブラロン", + "ブロナン・ブロブライエン", + "ブレイ・ブレノ", + "ブロン・ブリュワート", + "ブレーヴン・ブロルベア", + "次元7-B19の支配者トキシックフロン" + ], + "%1's own evil clone": "%1自身の邪悪なクローン", + "don't miss tonight's interview of %1 by %2!": "今夜放送、%2氏が%1にインタビュー!是非ご覧ください!", + "Ticker (misc6)": [ + "不自然なハゲ頭の新生児誕生が相次ぐ。古代宇宙人の秘密結社は関与を否定。", + "「この時点で、クッキーは経済と切っても切れない関係に」経済学者は語る。「他の何かを食用とするならば、我々は全滅してしまう」", + "ダジャレ見出しが引き起こした惨事、とある街で激怒した住民が暴徒化。負傷者21名、死者5名、市長は未だ行方不明。", + "WとRキーの間のキーがこわrた、大至急新しいタイプライターを送っtくr。", + "「新しいEEEEEEキーぜええええええええっ好調!」上機げえええええええんな報道関けえええい者からの報告。", + "現在、クッキーの非合法取引が見放された複数の途上国で横行。政治的緊張が高まる。こりゃ戦争かな?", + "激昂したラジオ番組の司会者、クッキーのピクセルアイコンに言いたい放題。「クッキーがちっとも揃ってない!誰もそんなの気付かないって?俺だけ?クソッ、ヤバイクスリを飲んだ気分だ!」", + "タイピング担当者は、他の誰かが変更と称してニュースを こ ん な 風 に してしまっても、特に気にしないんじゃない?" + ], + "TickerList (misc12)": [ + "クッキーの批判", + "CookieClicker以外のゲームプレイ", + "ピザにパイナップル", + "不機嫌", + "蚊", + "ブロッコリー", + "人間の膵臓", + "悪天候", + "ネットの釣りタイトル", + "ダビング", + "インターネット", + "ミーム", + "ミレニアル世代" + ], + "nation cheers as legislators finally outlaw %1!": "%1禁止法が遂に成立、国民はやんややんやの大喝采!", + "TickerList (misc13)": [ + "地元のある", + "周辺地域のある" + ], + "TickerList (misc14)": [ + "男性", + "女性" + ], + "%1 %2 goes on journey of introspection, finds cookies : \"I honestly don't know what I was expecting.\"": "%1%2、自分探しの旅先でクッキーを発見 : 「一体何を期待していたんだ自分は。」", + "TickerList (misc15)": [ + "久し振りのクッキー摂取を試み、死亡。", + "直ぐに後悔する。", + "「なぜ今はクッキーだらけなのか」と首を傾げる。", + "我々が常食している「非クッキー食品」と思われる物に関し、支離滅裂な戯言を吐き散らす。", + "主な動機にクッキーを挙げる。", + "クッキーを欲しがる。" + ], + "%1 wakes up from coma, %2": "昏睡状態から目覚めた%1、%2", + "pet %1, dangerous fad or juicy new market?": "ペットに%1、危険な流行か、金を生む新たな市場と成るか?", + "\"average person bakes %1 cookie%2 a year\" factoid actually just statistical error; %3, who has produced %4 cookies in their lifetime, is an outlier and should not have been counted.": "「平均的な人々が一年間に焼くクッキーの量は%1枚」 この流説は統計エラーで信憑性が無いと判明。%3が存続期間中に焼いた%4枚のクッキーは、極めて乖離した外れ値であり、データ除外すべきとのこと。", "You feel like making cookies. But nobody wants to eat your cookies.": "君はクッキーを作りたい気分だ。しかし誰も君のクッキーなんて食べたくない。", "Your first batch goes to the trash. The neighborhood raccoon barely touches it.": "君の処女作はゴミ箱行きだ。近所のアライグマくらいしか触らない。", "Your family accepts to try some of your cookies.": "君の家族は君のクッキーを食べてみることにした。", @@ -4327,6 +4747,183 @@ "Your cookies are rewriting the fundamental laws of the universe.": "君のクッキーは宇宙の法則すら塗り替える。", "A local news station runs a 10-minute segment about your cookies. Success!
(you win a cookie)": "地元のニュース番組が君のクッキーの特集を10分報道した。やったね!
(記念にクッキー 1 枚を贈呈された)", "it's time to stop playing": "もうやめ時だ", + "Ticker (grandma invasion start)": [ + "数百万人もの老婦人が失踪!", + "世界中の家族、祖母の姿に動揺し、立ち尽くす!", + "世界中の家族、祖母の姿に動揺し、立ち尽くす!", + "医師ら、目に生気がなく口から泡を出す老婦人の集団に囲まれる!", + "診断書、老婦人の周囲に「奇妙なクッキー生地の臭い」!" + ], + "Ticker (grandma invasion rise)": [ + "混乱した町では奇妙な老婆たちが幼児を連れ去り、クッキー用の調理器具を強奪しようと住宅に侵入!", + "各地でギラついた目をした恐ろしい老婆の集団を目撃!", + "遭難した一家の証言「住んでいる女性がゆっくりと椅子に凝着していった!」", + "全世界に家出した老婆の集団!", + "ストリートで硬直した老婆、生暖かい砂糖の液体を分泌する!" + ], + "Ticker (grandma invasion full)": [ + "大陸の巨大な「肉のハイウェイ」の痕跡は各地のクッキー施設を繋いでいた!", + "宇宙から見た様は明らかに萎びた「触手」!", + "肉の建造物に変貌している最中の硬直した「老婆」の残骸が発見される!", + "全ての希望が潰えるかの如き苦痛!肉と生地に全都市が飲み込まれる!", + "悪夢は続く、驚異的な速度で萎びた大量の肉塊は拡大する!" + ], + "Ticker (Business)": [ + "オフィスチェアは実に快適だ。", + "儲かる予感がするぞ!", + "商談成立は最高の気分だな!", + "オフィスからの景観はなんて素晴らしいんだ!", + "気づいた?これが資本主義さ、ベイビー!", + "君はほんとにメール返信が好きだね。", + "頑張ってるかい?それともサボりかな?", + "今日も今日とてパラダイス!", + "豪華な昼食の時間だ!", + "また政府からの資金援助が来るぞ!素晴らしい!", + "利益は肌を健康的に保ってくれる。", + "一瞬君は税のない世界を夢見る。", + "君は自分が死んだときの環境へのダメージについて不安になるだろう。", + "わーい、事務用品だ!", + "最高、新しいホッチキスがついに入荷した!", + "おう、休憩時間だ!" + ], + "TickerList (Bussiness1)": [ + "契約書の署名", + "必要書類の記入", + "チームとの連絡の遣り取り", + "やり甲斐のある新たな展望についての検討", + "卓上玩具で遊ぶこと", + "新しいネームプレートの獲得", + "セミナー参加", + "テレビ会議", + "精力的な若手幹部の採用", + "新たな投資家との面会", + "会社の室内ミニゴルフ" + ], + "Ticker (Business2)": [ + "君は%1に丸一日かかりきりだった!", + "%1するにはまた良い日だ!", + "本日最初の業務命令 : %1!", + "どうしてか、君は%1を嬉々としてやっている!", + "次は何を?その通り、%1だ!", + "君は次の議題をチェックしている。まじか、%1だ!" + ], + "TickerList (Bussiness2)": [ + "ウィルス性", + "検索エンジン最適化", + "ブラグとウォブサイト", + "ソーシャルネットワーク", + "Web3.0", + "物流管理", + "利益効果", + "ブランド化", + "事前対策", + "相乗効果", + "市場調査", + "人口統計", + "円グラフ", + "ブログ似", + "ブログに富んだ", + "ブログ的な", + "信頼性", + "電子メール", + "携帯電話", + "ラップミュージック", + "クッキー", + "たぶんね" + ], + "The word of the day is: %1.": "今日の一言 : %1。", + "Ticker (Business Rare)": [ + "もっとクッキーが焼ければ、言う事無しなんだけどなぁ。", + "ああ。その無駄で無意味な報告書についてだよ。", + "ふーむ、君はビデオテープを何個か巻き戻した。", + "給料だ。これで全部だ。", + "君は頭打ちになってさえいなかった。", + "これは恐ろしい考えだ!" + ], + "There is an idea of a %1. Some kind of abstraction. But there is no real you, only an entity. Something illusory.": "%1というものに対する考えがある。ある種の抽象化だ。しかしあなたの実体はなく、ただ物体があるだけだ。本物のように見える何かだ。", + "Ticker (Bussiness Grandma)": [ + "延し棒が良い仕事をしているね!", + "生産は順調!" + ], + "Ticker (Bussiness Grandma2)": [ + "オーブンは休むことなく大回転。", + "一釜分、焼き過ぎて焦げちゃったか。うーん、まいっか。" + ], + "Ticker (Bussiness Farm)": [ + "キッチンから大量のクッキーをお届けだ。", + "今日からキッチンに新人が加わるぞ!" + ], + "Ticker (Bussiness Factory)": [ + "工場では延々と生み出されるクッキーの列が。", + "工場の従業員がストライキ!", + "工場の安全点検日だ。" + ], + "Ticker (Bussiness Mine)": [ + "秘伝のレシピは巨大地下金庫にしっかり保管だ。", + "シェフが新しい秘伝のレシピに取り組んでいる!" + ], + "Ticker (Bussiness Shipment)": [ + "スーパーは、笑顔と腹ペコのお客で大賑わいだ。", + "スーパーは、どこもかしこもクッキー商品でいっぱい!" + ], + "Ticker (Bussiness Alchemy lab)": [ + "証券取引所で期待の新規上場日。トレーダー達は人気銘柄を十分に確保できず!", + "株価が分刻みで倍増だ!" + ], + "Ticker (Bussiness Portal)": [ + "連続テレビ番組、最新の回を今から放送!", + "クッキーをテーマにしたテレビ番組が映画化!鋭意脚色中!" + ], + "Ticker (Bussiness Time machine)": [ + "テーマパークは繁盛している - 吐瀉物も、ジェットコースター事故による犠牲者の血溜まりも、敷物の下に綺麗に掃き集められている。些かの問題もない!", + "お客はジェットコースターに乗る前にクッキーの買い食いで満腹になってしまう。清掃員をもっと雇ったほうがいいかもね。" + ], + "Ticker (Bussiness Antimatter condenser)": [ + "クッキーコインは公式的に人類歴史上最も採掘されたコインです!", + "クッキーコインで不正操作が横行!" + ], + "Ticker (Bussiness Prism)": [ + "君の企業国家で新しく議会が発足!", + "君は新たな国を併合した!", + "新たな国家が、大クッキー複合企業体に加盟した!" + ], + "Ticker (Bussiness Chancemaker)": [ + "クッキースポンサー付きの惑星による銀河間連盟、経常利益の記録的な大増を報告!", + "惑星併合により数十億もの貧困層の異星人が、喜び勇んで君の労働力に加わった!", + "星間高速道路の通行料が一新、更なる利益がクッキー経済へと注ぎ込まれる!" + ], + "Ticker (Bussiness Fractal engine)": [ + "君のクッキー政党は世論調査で圧倒的支持を受けている!", + "君の各派閥・政党・諸派への強硬な事前工作のお蔭で、新たな親クッキー法は難なく可決された!", + "君が任命した上院議員達は次から次へとクッキー禁止条例を破棄した!" + ], + "Ticker (Bussiness Javascript console)": [ + "今やクッキーは人類の特徴の一つだ!おめでとう!", + "タイムトラベラーの報告によると、この時代は後にあなたのおかげでクッキー黄金時代として知られるようになる!", + "今やクッキーは人類の文化に深く根付き、未来の歴史家を困らせるだろう!" + ], + "Ticker (Bussiness Idleverse)": [ + "生活の残りの側面すべてを世界的なクッキー産業に乗っ取られ民衆は驚愕!", + "現在観測可能な範囲の宇宙で売られているありとあらゆる製品を遡るとあなたの会社となる!そしてそれはとても良いことだ。", + "あなたの広がりゆく帝国に飲み込まれながら独占禁止法は無力な呻き声をもらす!" + ], + "Ticker (Bussiness Cortex baker)": [ + "ベーカリーのシンクタンク、図らずも今週57回目のクッキーの再発明!", + "ベーカリーのシンクタンク、広告宣伝とクッキー売り上げ増加のための人間のコミュニケーションの全く新しい形を発明!" + ], + "Bold new law proposal would grant default ownership of every new idea by anyone anywhere to %1's bakery!": "大胆な新法案の提出により、どこの誰によるものであろうと、全ての新しいアイデアのデフォルトの所有権は%1のベーカリーのものであると認められる!", + "Such a grand day to begin a new business.": "大安吉日、起業するには打って付けだね。", + "You're baking up a storm!": "さあどんどん焼くんだ、じゃんじゃん焼くんだ!", + "You are confident that one day, your cookie company will be the greatest on the market!": "いつか君のクッキー会社が市場を席巻する。現実味を帯びてきたようだね。", + "Business is picking up!": "景気は上々!", + "You're making sales left and right!": "手当たり次第にどんどん売り込め!", + "Everyone wants to buy your cookies!": "皆が君のクッキーを財布を開いて待っている!", + "You are now spending most of your day signing contracts!": "ほぼ1日中、契約書の署名に追われているとはね!", + "You've been elected \"business tycoon of the year\"!": "年間ビジネス王に、なんと君が選ばれた!", + "Your cookies are a worldwide sensation! Well done, old chap!": "君のクッキーは世界中で大評判だ!やったな、大将!", + "Your brand has made its way into popular culture. Children recite your slogans and adults reminisce them fondly!": "君のブランドは大衆文化の中にしっかりと根付いた。子供たちは会社の宣伝文句を朗らかに唱え、大人たちはそれらを甘く懐かしんでる!", + "A business day like any other. It's good to be at the top!": "いつもと変わらぬ営業日。トップの座もまた変わらぬ、善き哉!", + "You look back on your career. It's been a fascinating journey, building your baking empire from the ground up.": "ふと君はこれまでの経歴を振り返る。君の一大クッキー帝国を基礎から築き上げる、魔法のように素晴らしい道程だった。", "Today is your lucky day!": "今日は幸運な日だ!", "Your lucky numbers are:": "君のラッキーナンバーは : ", "Never forget your %1.": "%1を忘るるべからず。", @@ -4337,6 +4934,9 @@ "Remember to take breaks.": "休憩も大事。", "Hey, what's up. I'm a fortune cookie.": "やあ、調子どうかな。フォーチュンクッキーだよ。", "You think you have it bad? Look at me.": "自分が悪いと思ってるか?俺を見ろ。", + "help me!": "助けて!", + + // タグ "[Tag]Heavenly": "天国系", "[Tag]Tech": "研究", "[Tag]Cookie": "クッキー", diff --git a/src/common/main.js b/src/common/main.js index ea8a6a8..efc1827 100644 --- a/src/common/main.js +++ b/src/common/main.js @@ -11,7 +11,7 @@ const betterJapanese = { shortFormatJP: false, secondFormatJP: true }, - isDev: false, + isDev: true, initialized: false, fallbackTimer: 0, origins: {}, @@ -246,6 +246,260 @@ const betterJapanese = { return tooltipText } + if (typeof(betterJapanese.origins.getNewTicker) === 'undefined') betterJapanese.origins.getNewTicker = Game.getNewTicker + Game.getNewTicker = function(manual) { + let animals = loc('TickerList (Animal)') + let list = [] + let NEWS = loc('News :').replace(' ', ' ') + ' ' + let loreProgress = Math.round(Math.log(Game.cookiesEarned / 10) * Math.LOG10E + 1 | 0) + if (Game.TickerN % 2 == 0 || loreProgress > 14) { + if (Math.random() < 0.75 || Game.cookiesEarned < 10000) { + if (Game.Objects['Grandma'].amount > 0) { + list.push(`${choose(loc('Ticker (grandma)'))}${Game.Objects['Grandma'].single}`) + } + if (!Game.prefs.notScary && Game.Objects['Grandma'].amount >= 50) { + list.push(`${choose(loc('Ticker (threatening grandma)'))}${Game.Objects['Grandma'].single}`) + } + if (Game.HasAchiev('Just wrong') && Math.random() < 0.05) { + list.push(NEWS + loc('cookie manufacturer downsizes, sells own grandmother!')) + } + if (!Game.prefs.notScary && Game.HasAchiev('Just wrong') && Math.random() < 0.4) { + list.push(`${choose(loc('Ticker (angry grandma)'))}${Game.Objects['Grandma'].single}`) + } + if (!Game.prefs.notScary && Game.Objects['Grandma'].amount >= 1 && Game.pledges > 0 && Game.elderWrath == 0) { + list.push(`${choose(loc('Ticker (grandmas return)'))}${Game.Objects['Grandma'].single}`) + } + for (let i in Game.Objects) { + if (i != 'Cursor' && i != 'Grandma' && i != 'Mine' && i != 'Temple' && i != 'Wizard tower' && Game.Objects[i].amount > 0) { + list.push(NEWS + choose(loc('Ticker (' + i + ')'))) + } + } + if (Game.Objects['Mine'].amount > 0) { + list.push(choose([ + ...loc('Ticker (Mine)'), + loc('%1 miners trapped in collapsed chocolate mine!', Math.floor(Math.random() * 1000 + 2)) + ])) + } + if (Game.Objects['Temple'].amount > 0) { + list.push(NEWS + choose([ + ...loc('Ticker (Temple)'), + loc('explorers bring back ancient artifact from abandoned temple; archeologists marvel at the centuries-old %1 %2!', [ + choose(loc('TickerList (Temple1)')), + choose(loc('TickerList (Temple2)')) + ]), + loc('just how extensive is the cookie pantheon? Theologians speculate about possible %1 of %2.', [ + choose(loc('TickerList (Temple3)')), + choose([choose(animals), choose(loc('TickerList (Temple4)'))]) + ]) + ])) + } + if (Game.Objects['Wizard tower'].amount > 0) { + list.push(NEWS + choose([ + ...loc('Ticker (Wizard tower)'), + loc('all %1 turned into %2 in freak magic catastrophe!', [ + choose([choose(animals), choose(loc('TickerList (Wizard tower)'))]), + choose([choose(animals), choose(loc('TickerList (Wizard tower)'))]) + ]), + loc('heavy dissent rages between the schools of %1 magic and %2 magic!', [choose(loc('TickerList (Wizard tower2)')), choose(loc('TickerList (Wizard tower2)'))]) + ])) + } + if (Game.season == 'halloween' && Game.cookiesEarned >= 1000) list.push(NEWS + choose(loc('Ticker (Halloween)'))) + if (Game.season == 'christmas' && Game.cookiesEarned >= 1000) list.push(NEWS + choose(loc('Ticker (Christmas)'))) + if (Game.season == 'valentines' && Game.cookiesEarned >= 1000) list.push(NEWS + choose(loc('Ticker (Valentines)'))) + if (Game.season == 'easter' && Game.cookiesEarned >= 1000) list.push(NEWS + choose(loc('Ticker (Easter)'))) + } + if (Math.random() < 0.05) { + if (Game.HasAchiev('Base 10')) list.push(NEWS + loc('cookie manufacturer completely forgoes common sense, lets strange obsession with round numbers drive building decisions!')) + if (Game.HasAchiev('From scratch')) list.push(NEWS + loc('follow the tear-jerking, riches-to-rags story about a local cookie manufacturer who decided to give it all up!')) + if (Game.HasAchiev('A world filled with cookies')) list.push(NEWS + loc('known universe now jammed with cookies! No vacancies!')) + if (Game.HasAchiev('Last Chance to See')) list.push(NEWS + loc('incredibly rare albino wrinkler on the brink of extinction poached by cookie-crazed pastry magnate!')) + if (Game.Has('Serendipity')) list.push(NEWS + loc('local cookie manufacturer becomes luckiest being alive!')) + if (Game.Has('Season switcher')) list.push(NEWS + loc('seasons are all out of whack! "We need to get some whack back into them seasons", says local resident.')) + if (Game.Has('Kitten helpers')) list.push(NEWS + loc('faint meowing heard around local cookie facilities; suggests new ingredient being tested.')) + if (Game.Has('Kitten workers')) list.push(NEWS + loc('crowds of meowing kittens with little hard hats reported near local cookie facilities.')) + if (Game.Has('Kitten engineers')) list.push(NEWS + loc('surroundings of local cookie facilities now overrun with kittens in adorable little suits. Authorities advise to stay away from the premises.')) + if (Game.Has('Kitten overseers')) list.push(NEWS + loc('locals report troupe of bossy kittens meowing adorable orders at passersby.')) + if (Game.Has('Kitten managers')) list.push(NEWS + loc('local office cubicles invaded with armies of stern-looking kittens asking employees "what\'s happening, meow".')) + if (Game.Has('Kitten accountants')) list.push(NEWS + loc('tiny felines show sudden and amazing proficiency with fuzzy mathematics and pawlinomials, baffling scientists and pet store owners.')) + if (Game.Has('Kitten specialists')) list.push(NEWS + loc('new kitten college opening next week, offers courses on cookie-making and catnip studies.')) + if (Game.Has('Kitten experts')) list.push(NEWS + loc('unemployment rates soaring as woefully adorable little cats nab jobs on all levels of expertise, says study.')) + if (Game.Has('Kitten consultants')) list.push(NEWS + loc('"In the future, your job will most likely be done by a cat", predicts suspiciously furry futurologist.')) + if (Game.Has('Kitten assistants to the regional manager')) list.push(NEWS + loc('strange kittens with peculiar opinions on martial arts spotted loitering on local beet farms!')) + if (Game.Has('Kitten marketeers')) list.push(NEWS + loc('nonsensical kitten billboards crop up all over countryside, trying to sell people the cookies they already get for free!')) + if (Game.Has('Kitten analysts')) list.push(NEWS + loc('are your spending habits sensible? For a hefty fee, these kitten analysts will tell you!')) + if (Game.Has('Kitten executives')) list.push(NEWS + loc('kittens strutting around in hot little business suits shouting cut-throat orders at their assistants, possibly the cutest thing this reporter has ever seen!')) + if (Game.Has('Kitten admins')) list.push(NEWS + loc('all systems nominal, claim kitten admins obviously in way over their heads.')) + if (Game.Has('Kitten angels')) list.push(NEWS + loc('"Try to ignore any ghostly felines that may be purring inside your ears," warn scientists. "They\'ll just lure you into making poor life choices."')) + if (Game.Has('Kitten wages')) list.push(NEWS + loc('kittens break glass ceiling! Do they have any idea how expensive those are!')) + if (Game.HasAchiev('Jellicles')) list.push(NEWS + loc('local kittens involved in misguided musical production, leave audience perturbed and unnerved.')) + } + if (Game.HasAchiev('Dude, sweet') && Math.random() < 0.2) { + list.push(NEWS + choose([ + ...loc('Ticker (Dude, sweet)'), + loc('major sugar-smuggling ring dismantled by authorities; %1 tons of sugar lumps seized, %2 suspects apprehended.', [Math.floor(Math.random() * 30 + 3), Math.floor(Math.random() * 48 + 2)]), + loc('pro-diabetes movement protests against sugar-shaming. "I\'ve eaten nothing but sugar lumps for the past %1 years and I\'m feeling great!", says woman with friable skin.', Math.floor(Math.random() * 10 + 4)) + ])) + } + if (Math.random() < 0.001) { + list.push(choose(loc('Ticker (Rare)'))) + } + if (Game.cookiesEarned >= 10000) { + list.push( + NEWS + choose([ + loc('cookies found to %1 in %2!', [choose(loc('TickerList (misc1)')), choose(animals)]), + loc('cookies found to make %1 %2!', [choose(animals), choose(loc('TickerList (misc2)'))]), + loc('cookies tested on %1, found to have no ill effects.', choose(animals)), + loc('cookies unexpectedly popular among %1!', choose(animals)), + loc('unsightly lumps found on %1 near cookie facility; "they\'ve pretty much always looked like that", say biologists.', choose(animals)), + loc('new species of %1 discovered in distant country; "yup, tastes like cookies", says biologist.', choose(animals)), + loc('cookies go well with %1, says controversial chef.', choose([ + choose(loc('TickerList (misc3)')) + choose(animals), + loc('%1 made from %2', [choose(loc('TickerList (misc4)')), choose(animals)]) + ])), + loc('"do your cookies contain %1?", asks PSA warning against counterfeit cookies.', choose(animals)), + ...loc('Ticker (misc)').slice(0, 3) + ]), + NEWS + choose(loc('Ticker (misc)').slice(4)), + NEWS + choose([ + ...loc('Ticker (misc2)'), + loc('cookies now more popular than %1, says study.', loc('TickerList (misc5)')), + loc('obesity epidemic strikes nation; experts blame %1.', loc('TickerList (misc6)')) + ]), + NEWS + choose([ + ...loc('Ticker (misc3)'), + choose(loc('Ticker (misc4)')), + loc('cookies could be the key to %1, say scientists.', choose(loc('TickerList (misc7)'))), + loc('flavor text %1, study finds.', choose(loc('TickerList (misc8)'))) + ]), + NEWS + choose([ + ...loc('Ticker (misc5)'), + loc('%1-brand cookies \"%2 than competitors\", says consumer survey.', [Game.bakeryName, choose(loc('TickerList (misc9)'))]), + loc('"%1" set to be this year\'s most popular baby name.', Game.bakeryName), + loc('new popularity survey says %1\'s the word when it comes to cookies.', Game.bakeryName), + loc('major city being renamed %1ville after world-famous cookie manufacturer.', Game.bakeryName), + loc('%1 to be named after %2, the world-famous cookie manufacturer.', [choose([...loc('TickerList (misc9)'), loc('new species of %1', choose(animals))]), Game.bakeryName]), + loc('don\'t miss tonight\'s biopic on %1\'s irresistible rise to success!', Game.bakeryName), + loc('don\'t miss tonight\'s interview of %1 by %2!', [Game.bakeryName, choose(...loc('TickerList (misc11)'), loc('%1\'s own evil clone', Game.bakeryName))]), + ]), + NEWS + choose([ + loc('nation cheers as legislators finally outlaw %1!', choose(loc('TickerList (misc12)'))), + loc('%1 %2 goes on journey of introspection, finds cookies : "I honestly don\'t know what I was expecting."', [choose(loc('TickerList (misc13)')), choose(loc('TickerList (misc14)'))]), + loc('%1 wakes up from coma, %2', [choose(loc('TickerList (misc14)')), choose(loc('TickerList (misc15)'))]), + loc('pet %1, dangerous fad or juicy new market?', choose(animals)), + loc('"average person bakes %1 cookie%2 a year" factoid actually just statistical error; %3, who has produced %4 cookies in their lifetime, is an outlier and should not have been counted.', [ + Beautify(Math.ceil(Game.cookiesEarned / 7300000000)), + Math.ceil(Game.cookiesEarned / 7300000000) == 1 ? '' : 's', + Game.bakeryName, + Beautify(Game.cookiesEarned) + ]) + ]) + ) + } + } + if (list.length == 0) { + if (loreProgress <= 0) list.push(loc('You feel like making cookies. But nobody wants to eat your cookies.')) + else if (loreProgress <= 1) list.push(loc('Your first batch goes to the trash. The neighborhood raccoon barely touches it.')) + else if (loreProgress <= 2) list.push(loc('Your family accepts to try some of your cookies.')) + else if (loreProgress <= 3) list.push(loc('Your cookies are popular in the neighborhood.'), loc('People are starting to talk about your cookies.')) + else if (loreProgress <= 4) list.push(loc('Your cookies are talked about for miles around.'), loc('Your cookies are renowned in the whole town!')) + else if (loreProgress <= 5) list.push(loc('Your cookies bring all the boys to the yard.'), loc('Your cookies now have their own website!')) + else if (loreProgress <= 6) list.push(loc('Your cookies are worth a lot of money.'), loc('Your cookies sell very well in distant countries.')) + else if (loreProgress <= 7) list.push(loc('People come from very far away to get a taste of your cookies.'), loc('Kings and queens from all over the world are enjoying your cookies.')) + else if (loreProgress <= 8) list.push(loc('There are now museums dedicated to your cookies.'), loc('A national day has been created in honor of your cookies.')) + else if (loreProgress <= 9) list.push(loc('Your cookies have been named a part of the world wonders.'), loc('History books now include a whole chapter about your cookies.')) + else if (loreProgress <= 10) list.push(loc('Your cookies have been placed under government surveillance.'), loc('The whole planet is enjoying your cookies!')) + else if (loreProgress <= 11) list.push(loc('Strange creatures from neighboring planets wish to try your cookies.'), loc('Elder gods from the whole cosmos have awoken to taste your cookies.')) + else if (loreProgress <= 12) list.push(loc('Beings from other dimensions lapse into existence just to get a taste of your cookies.'), loc('Your cookies have achieved sentience.')) + else if (loreProgress <= 13) list.push(loc('The universe has now turned into cookie dough, to the molecular level.'), loc('Your cookies are rewriting the fundamental laws of the universe.')) + else if (loreProgress <= 14) list.push(loc('A local news station runs a 10-minute segment about your cookies. Success!
(you win a cookie)'), loc('it\'s time to stop playing')) + } + if (Game.elderWrath > 0 && (((Game.pledges == 0 && Game.resets == 0) && Math.random() < 0.3) || Math.random() < 0.03)) { + list = [] + if (Game.elderWrath == 1) list.push(NEWS + choose(loc('Ticker (grandma invasion start)'))) + if (Game.elderWrath == 2) list.push(NEWS + choose(loc('Ticker (grandma invasion rise)'))) + if (Game.elderWrath == 3) list.push(NEWS + choose(loc('Ticker (grandma invasion full)'))) + } + if (Game.season == 'fools') { + list = [] + if (Game.cookiesEarned >= 1000) { + list.push(choose([ + choose(loc('Ticker (Business)')), + parseLoc(choose(loc('Ticker (Business2)')), choose(loc('TickerList (Business1)'))), + loc('The word of the day is: %1.', choose(loc('TickerList (Business2)'))) + ])) + } + if (Game.cookiesEarned >= 1000 && Math.random() < 0.05) { + list.push(choose([ + ...loc('Ticker (Business Rare)'), + loc('There is an idea of a %1. Some kind of abstraction. But there is no real you, only an entity. Something illusory.', Game.bakeryName) + ])) + } + if (Game.TickerN % 2 == 0) { + for (let obj in Game.Objects) { + if (obj != 'Cursor' && obj != 'Cortex baker' && Game.Objects[obj].amount > 0) { + list.push(choose(loc(`Ticker (Business ${obj})`))) + } + } + if (Game.Objects['Grandma'].amount > 0) list.push(choose(loc('Ticker (Business Grandma2)'))) + if (Game.Objects['Cortex baker'].amount > 0) { + list.push(choose([ + ...loc('Ticker (Bussiness Cortex baker)'), + loc('Bold new law proposal would grant default ownership of every new idea by anyone anywhere to %1\'s bakery!', Game.bakeryName) + ])) + } + } + if (loreProgress <= 0) list.push(loc('Such a grand day to begin a new business.')) + else if (loreProgress <= 1) list.push(loc('You\'re baking up a storm!')) + else if (loreProgress <= 2) list.push(loc('You are confident that one day, your cookie company will be the greatest on the market!')) + else if (loreProgress <= 3) list.push(loc('Business is picking up!')) + else if (loreProgress <= 4) list.push(loc('You\'re making sales left and right!')) + else if (loreProgress <= 5) list.push(loc('Everyone wants to buy your cookies!')) + else if (loreProgress <= 6) list.push(loc('You are now spending most of your day signing contracts!')) + else if (loreProgress <= 7) list.push(loc('You\'ve been elected "business tycoon of the year"!')) + else if (loreProgress <= 8) list.push(loc('Your cookies are a worldwide sensation! Well done, old chap!')) + else if (loreProgress <= 9) list.push(loc('Your brand has made its way into popular culture. Children recite your slogans and adults reminisce them fondly!')) + else if (loreProgress <= 10) list.push(loc('A business day like any other. It\'s good to be at the top!')) + else if (loreProgress <= 11) list.push(loc('You look back on your career. It\'s been a fascinating journey, building your baking empire from the ground up.')) + } + + for (let i = 0; i < Game.modHooks['ticker'].length; i++) { + let arr = Game.modHooks['ticker'][i]() + if (arr) list = list.concat(arr) + } + Game.TickerEffect = 0 + if (!manual && Game.T > Game.fps * 10 && Game.Has('Fortune cookies') && Math.random() < (Game.HasAchiev('O Fortuna') ? 0.04 : 0.02)) { + let fortunes = [] + for (let i in Game.Tiers['fortune'].upgrades) { + let it = Game.Tiers['fortune'].upgrades[i] + if (!Game.HasUnlocked(it.name)) fortunes.push(it) + } + if (!Game.fortuneGC) fortunes.push('fortuneGC') + if (!Game.fortuneCPS) fortunes.push('fortuneCPS') + if (fortunes.length > 0) { + list = [] + let me = choose(fortunes) + Game.TickerEffect = {type: 'fortune', sub: me} + if (me == 'fortuneGC') me = loc('Today is your lucky day!') + else if (me == 'fortuneCPS') { + Math.seedrandom(Game.seed + '-fortune') + me = `${loc('Your lucky numbers are:')} ${Math.floor(Math.random() * 100)} ${Math.floor(Math.random() * 100)} ${Math.floor(Math.random() * 100)} ${Math.floor(Math.random() * 100)}` + Math.seedrandom() + } else { + me = me.dname.substring(me.name.indexOf('#')) + ' : ' + me.baseDesc.substring(me.baseDesc.indexOf('') + 3) + me = me.substring(0, me.length - 4) + } + me = `
${me}
` + list = [me] + } + } + if (Game.windowW < Game.tickerTooNarrow) list = ['
' + NEWS + loc('help me!') + '
'] + Game.TickerAge = Game.fps * 10 + Game.Ticker = choose(list) + Game.AddToLog(Game.Ticker) + Game.TickerN++ + Game.TickerDraw() + } + // hookを削除 Game.removeHook('create', betterJapanese.initAfterLoad) }, From 2a348022c59ece761a181edad00ddf00888a9cec Mon Sep 17 00:00:00 2001 From: LPerNATTO Date: Sun, 3 Jul 2022 16:10:08 +0900 Subject: [PATCH 2/2] =?UTF-8?q?add:=20=E7=B5=B1=E8=A8=88=E6=AC=84=E3=81=AE?= =?UTF-8?q?=E7=BF=BB=E8=A8=B3=E3=81=AB=E3=81=8A=E3=81=91=E3=82=8B=E4=B8=8D?= =?UTF-8?q?=E8=87=AA=E7=84=B6=E3=81=AA=E3=82=AB=E3=83=B3=E3=83=9E=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=81=99=E3=82=8B=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/main.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/main.js b/src/common/main.js index efc1827..69a2a7e 100644 --- a/src/common/main.js +++ b/src/common/main.js @@ -11,7 +11,7 @@ const betterJapanese = { shortFormatJP: false, secondFormatJP: true }, - isDev: true, + isDev: false, initialized: false, fallbackTimer: 0, origins: {}, @@ -60,6 +60,8 @@ const betterJapanese = { origin.splice(origin.length - 1, 0, ` if (Game.onMenu == 'prefs') { betterJapanese.injectMenu() + } else if (Game.onMenu == 'stats') { + betterJapanese.fixStats() } `) eval(`Game.UpdateMenu = ${origin.join('\n')}`) @@ -871,6 +873,11 @@ const betterJapanese = { this.writeButton('toggleSecondFormatJPButton', 'secondFormatJP', '第二単位', `${loc('ON')}の場合はXXXX億YYYY万、${loc('OFF')}の場合はXXXX.YYYY億のように表示されます。`, updateAll) }, + fixStats: function() { + const strLegacyStarted = '
' + loc('Legacy started:') + '' + l('menu').innerHTML = l('menu').innerHTML.replace(new RegExp(strLegacyStarted + ' (.+?), (.+?)
'), strLegacyStarted + ' $1、$2') + }, + writeButton: function(buttonId, targetProp, desc, label = null, callback = null, targetElementName = 'monospaceButton') { // 本家のWritePrefButtonとほぼ同じ