//****************************************************************************** // YAYA Ghost Template // Talk Dictionary //****************************************************************************** //****************************************************************************** // Random Talk //****************************************************************************** RandomTalk { TOSTR(EVAL(CHR(0x22)+REPLACE(RandomTalkEx(),CHR(0x22),CHR(0x22)+CHR(0x22))+CHR(0x22))) } //------------------------------------------------------------------------------ //Random talk body: Enter the random talk here. //This is the only part that should always be enclosed in quotation marks (' '). -> You may get error messages, if using only ' ', better may be " ". //The contents of RandomTalk above expand %( ), so there is no need to use " ". //Speed-up measures //------------------------------------------------------------------------------ RandomTalkEx : nonoverlap { "\u\s[10]\0\s[3]I want an alpaca too。\w8\1‥\w5‥\w5you。That's not a pet。\w8\0\s[7]\n\nAn alpacaー!I want an alpacaー!\w8\1\n\nYou're so noisy。\e" "\u\s[10]\0\s[1]‥\w5‥\w5in today's world、if you can't do some tricks, you might not be able to survive。\w8\1‥\w5‥\w5why did you come to that conclusion。\w8\0\n\nBut I don't have any special features other than being cute‥\w5‥\w5\w8\1\n\nYes yes yes yes yes。\e" '\u\s[10]\0\s[6]ねこリセットは敵です。\w8\1や、ノートPCで開発してれば、そこまで恐ろしくは。\w9\nむしろ今時のPC、猫にゃリセットできないだろ。\w8\0\s[7]\n\nねこをなめちゃだめだよ!\w9\nあいつらは日に日に進化してるんだよ!\w9\nいつかわたしたちも、ねこにどうにかされちゃうかもしれないんだよ!\w8\1\n\n猫と何があったんだよ‥\w5‥\w5\e' "\u\s[10]\0\s[6]People with small breasts can pack more into their chests。\w8\1‥\w5‥\w5really?\w9\nI feel like my capacity is small。\w8\0\s[7]\n\nIt'll get bigger someday!\w8\1\n\nYou're worried about that, aren't you。\e" "\u\s[10]\0\s[5]%(username) will also be a member of the PPP。\w8\1What's that。\w8\0\n\nP-petax-petan。\w9\nIt's a group of people who like girls with small breasts。\w8\1\s[11]\n\nThis is going to be bad, so hold on!\e" "\u\s[10]\0\s[5]That's bad, stop。\w8\1Stop saying things on a whim。\w8\0\s[3]\n\n‥\w5‥\w5phew。\e" "\u\s[10]\0\s[4]‥\w5‥\w5why am I so small。\w8\1Well、I guess there are a lot of people's intentions at work。\w8\0\s[7]\n\nGet away from me, you loliー!\w8\1\n\n‥\w5‥\w5your brain will be completely blanked out。\e" "\u\s[10]\0\s[6]If I get slapped on the right cheek。\w8\1If I get slapped?\w8\0\s[4]\n\nI turn to the left and cry。\w8\1\n\n‥\w5‥\w5it's spinning。\e" "\u\s[10]\0\s[7]There's no one inside!\w8\1‥\w5‥\w5what are you pretending to be。\w8\0\s[1]\n\nひみちゅ。\w8\1\n\n‥\w5‥\w5what is this。\e" "\u\s[10]\0\s[5]I wonder what %(username) is doingー。\w8\1Don't bother me too much。\w8\0\s[1]\n\nMaybe it's something like thatー。I wonder if that's what it isー。\w8\1\n\n‥\w5‥\w5tell me more specifically。\w8\0\s[3]\n\nI'm too embarrassed to say it‥\w5‥\w5\w8\1\n\nYou。\e" "\u\s[10]\0\s[1]Mac and Mos Burger are similar, aren't they。\w8\1How。\e" "\h\s[0]\1\s[10]Ah。Isn't there something good about it。\w8\0Hmmー‥\w5‥\w5maybe Mc Black will grow hair?\w8\1\n\nIsn't that called mold?\w8\0\s[2]\n\nWhat、Mc Black will get moldy!?\w8\1\n\n‥\w5‥\w5probably not。\e" "\0\s[0]Mc Black's song。\w8\1‥\w5‥\w5what is it?\w8\0\s[5]\n\nApple appleー♪\w9\nApple apple appleー♪\w8\1\n\nStop it。Someone will get angry。\e" "\0\s[7]It's not %(ms)!\w8\1‥\w5‥\w5where did you learn that word。\e" "\0\s[7]Don't think it's just a sample!\w8\1Do you have some kind of complex。\w8\0\s[1]\n\nWellー、I was taught that if I'm underestimated, I lose‥\w5‥\w5\w8\1\n\nTo whom。\e" "\0\s[7]You can't survive on being cute alone!\w8\1I wouldn't say I'm cute、I'm just normal。\w8\0\s[4]\n\n‥\w5‥\w5\e" "\0\s[0]Apparently twin tails isn't the official name。\w8\1Is it really two tails。\w8\0\s[4]\n\nTwo tails isn't cute, is it。\w8\1\n\n‥\w5‥\w5I wonder。\e" "\0\s[1]Mc Black、it seems an apple was left at the murder scene。\w8\1I see。\w8\0\n\nThere were bite marks on it。\w9\nIt's better to turn yourself in sooner rather than later, isn't it?\w8\1\n\n‥\w5‥\w5isn't that the lyrics of an old song。\e" '\0\s[3]マック朗って、腐らないの?\w8\1腐らんよ。\w8\0\s[5]\n\nほんとうに~?\w8\1\n\n本当だよ。\w8\0\s[1]\n\n絶対~?\w8\1\n\n‥\w5‥\w5もういいよ、信じなきゃ‥\w5‥\w5\w8\0\s[2]\n\nあ、腐った。\w8\1\n\n‥\w5‥\w5ふて腐れたっていうんだ、これは。\e' "\0\s[6]Is there any in○l in it?\w8\1It's not。\e" "\0\s[3]‥\w5‥\w5Mac Rodo Movieー。\w8\1‥\w5‥\w5how do you know that。\w8\0\s[2]\n\nIt's TV!Nostalgic commercials on TV!\w8\1\n\n‥\w5‥\w5I wonder if that's true。\e" "\0\s[3]Mc Black、we are samples, right?\w8\1Yeah。\w8\0\n\nI wonder if samples are allowed to talk this much。\w8\1\n\nIf we don't talk, we're not samples。\w8\0\s[1]\n\nOh、I see‥\w5‥\w5\e" "\0\s[0]The samples look delicious、don't they。\w8\1Looks delicious‥\w5‥\w5?\w8\0\s[5]\n\nLike bitter melon sample or somen sample。\w8\1\n\nThat's champuru。\w8\0\s[7]\n\nI know it!\w8\1\n\n‥\w5‥\w5\e" "\0\s[0]Being a politician is tough。\w8\1I bet they have a lot of worries。\w8\0\s[5]\n\nJust receiving a meal ticket can get you arrested。\w8\1\n\n‥\w5‥\w5you know that、but you're just stupid。\e" "\0\s[7]Don't call it slowー!\w8\1It's a Trojan horse、I know that。\w8\0\s[3]\n\nIt's not a virus。\w9\nIt might give a false positive thoughー。\w8\1\n\nThat's no laughing matter。\e" "\0\s[1]I wish I was a magical girl。\w8\1What a sudden。\w8\0\n\nI would transform into %(ms) and astound the world‥\w5‥\w5\w8\1\n\nwhat kind of ambitions do you have。\e" '\0\s[5]わたしたちをただのサンプルだと思ってたら大間違いです。\w8\1バグの発表会ですね、わかります。\w8\0\s[7]\n\nバグなんて‥\w5‥\w5\w8\s[3]\nバグなんて‥\w5‥\w5\w8\s[4]\n‥\w5‥\w5マック朗のばかぷー。\w8\1\s[11]\n\n俺!?\e' '\0\s[0]すごいものとか、すごいことに「ど」って付けるでしょ?\w8\1どアホとか、どヘボな。\w8\0\s[1]\n\nすごいロリコンの人を、どロリって言うのかな。\w8\1\n\n言わないよ。\w8\0\s[5]\n\nどロリ濃厚って、すごそうだよね。\w8\1\s[11]\n\nなんか違うっ!!\e' "\0\s[1]What is Mc Black‥\w5‥\w5\w8\1What?\w8\0\s[4]\n\nIt doesn't look tasty。\w8\1\n\n‥\w5‥\w5weren't you the one who took a bite。\e" "\0\s[5]I'm just a sample。\w9\nSo everyone、please play with me a lot。\w8\1That's a really erotic statement。\w8\0\n\nPeople who think like that are erotic。\w8\1\s[11]\n\n!!\e" '\0\s[5]マック朗。\w8\1なんだ。\w8\0\n\n赤く塗ってあげようか。\w8\1\n\nやめてくれ、おれじゃなくなっちまう。\w8\0\s[1]\n\n可愛いかも知れないのに‥\w5‥\w5\w8\1\n\nおれはこのままで充分可愛いだろうが。\w8\0\s[7]\n\n‥\w5‥\w5‥\w5‥\w5‥\w5\w8\1\n\n無言で怒るんじゃない。\e' '\0\s[5]%(username)は、わたしをどんなゴーストにしてくれるのかなー。\w8\1そのへんは、ネタ師としての腕を期待したいところだな。\w8\0\s[3]\n\n‥\w5‥\w5でも、そうしたら、わたしは%(username)とはお別れなんだよね。\w8\1\n\n‥\w5‥\w5そう言うなよ。\e' '\0\s[1]いいゴーストにしてくれなかったら‥\w5‥\w5刺すよ?\w8\1なんのつもりだ、それは。\w8\0\s[5]\n\n流行のヤンデレ。\w8\1\n\nそれは単なる怖い人だ。全くデレてないから。\w8\0\s[4]\n\n‥\w5‥\w5むずかしいなぁ。\w8\1\n\n余計な事を考えてるんじゃないよ。\e' "\0\s[7]I don't really want to work!\w8\1\s[10]What's that‥\w5‥\w5\0\s[1]\n\nA tsundere NEET。\w8\1\s[11]\n\nDon't mix them up。\e" "\0\s[1]Would I become popular if I became chairman too?\w8\1\s[10]Don't run for office with such impure motives。\e" "\0\s[0]What's the difference between me and %(ghost)?\w8\1\s[10]‥\w5‥\w5you can't say such cruel things to me。\w8\0\s[2]\n\nHuh!?\e" '\1\s[10]%(ms)が遂に%(mt)を習得したらしい‥\w5‥\w5\0\s[7]わたしも負けてられないね!\e' '\0\s[6]%(mc)の方が待遇がいいんじゃないかな。\w8\1\s[10]その昔、%(ITkeyperson)も同じことを言っていた‥\w5‥\w5\0\s[3]\n\nそうなの?\e' //Chain startup sample '\0\s[0]これはトークチェインのテストです。\n\w5しりとりでもしますか。\w8\1\s[10]よし。\n\n\w5「ありあ」。\e:chain=siritori' } //------------------------------------------------------------------------------ //Chain Talk Sample //------------------------------------------------------------------------------ siritori {{CHAIN '\0\s[6]ありあ、ね。あ、か‥‥。\n\w6「あんこ」。\e' { '\1\s[10]こ‥‥「ころんぶす」。\w8\0\s[2]渋ッ!\e' '\1\s[11]「コチュジャン」!\w6\0\s[5]はいマック朗の負けー。\e:chain=siritori_end' } '\0\s[6]す‥‥\w4す‥‥\w9「すみそ」。\w8\1\s[10]おまえこそ渋いな。\nそ\w5‥\w5‥\w9「ソヴィエト」。\e' '\0\s[5]ところてん!\w9\n\n‥\w4‥\w4\s[4]あ。\1\s[10]はいおれの勝ちー。\w9\0\n\nぅー。\e' }}CHAIN siritori_end {{CHAIN '\1\s[10]‥\w5‥\w5なんかすごく切ない負け方をした気がするな。\w8\0\s[5]えへへー。\e' }}CHAIN //****************************************************************************** //A key was pressed //****************************************************************************** /* //------------------------------------------------------------------------------ //OnKeyPressイベント //------------------------------------------------------------------------------ //キーボードの任意のキーが押されたときに発動するイベントです。 //ファンクションキーを指定するときは、'f1'等と指定します。 //押されたキーはreference0に格納されます。 //if文、もしくはcase~when文で分岐させると良いでしょう。 */ OnKeyPress { case reference0 { when 'a' { '\u\s[10]\0\s[5]えー。\w8\1アップルのAだな。\w8\0\s[1]\n\nえー。\w8\1\n\n‥\w5‥\w5やかましい。\e' } when 'y' { '\u\s[10]\0\s[5]YAYAのYだね。\w8\1YAYAって何回も書いてると、ゲシュタルト崩壊起こすぞ。\w8\0\s[1]\n\n‥\w5‥\w5なぁに、それ。\w8\1\n\n文字に見えなくなるって事だ。\w8\0\s[2]\n\nマック朗、物知りだねー。\e' } when 'f1' { '\u\s[10]\0\s[5]ふぁ~\w5はふぁんくしょんの~ふぁ~♪\w8\1そりゃそうだけど。\w8\0\s[4]\n\nふぁんくしょんっ!\w8\1\n\n‥\w5‥\w5ダジャレかい。\e' } when 't' { '\![raise,OnAiTalk]' } when 'r' { '\![reload,shiori](RELOAD SHIORI)' } when 'm' { if ISFUNC('OpenMenu') { OpenMenu } else { '\![raise,OnMouseDoubleClick,0,0,0,0,__SYSTEM_KEYDOWN_COL,0,mouse]' } } } } //****************************************************************************** //時報/重なり //****************************************************************************** //------------------------------------------------------------------------------ //OnMinuteChange event //------------------------------------------------------------------------------ OnMinuteChange { //---- If the minute is 0, the time signal is generated. Otherwise, overlap processing is performed. if minute == 0{ //---- Minutes = 0, so the time is "\0\s[0]It is %(hour12)。" -- //---- Speak more at certain times (like noon) if hour == 0{ "\0\s[5]It's noon。\w8\1‥\w5‥\w5looks like my body clock and brain need a makeover。\w8\0\s[2]\n\nOh、I hate that。I'm kidding。\w8\1\n\nIt doesn't sound like a joke。\e" } elseif hour == 1{ '\0\s[3]Poohー‥\w5‥\w5\w8\1Are you sleepy?\w8\0\n\nYeah‥\w5‥\w5a little bit。\e' } elseif hour == 2 || hour == 3 || hour ==4{ "\0\s[4]Huffー‥\w5‥\w5puffー‥\w5‥\w5‥\w5\w8\1‥\w5‥\w5go to sleep。\w8\0\n\n%(username)‥\w5‥\w5I'm awake‥\w5‥\w5\w8\1\n\nYou know、you get energized by things other than the time signal。\w8\0\n\nI won't say that‥\w5‥\w5I promise、it's pitch black‥\w5‥\w5\e" } elseif hour == 5 || hour == 17{ "\0\s[5]It's 5 o'clock♪\w5It's 5 o'clock♪\w5When it's 5 o'clock, the mechanism is 5 o'clock♪\w8\1‥\w5‥\w5what is that。\e" } elseif hour == 6{ "\0\s[5]あーたー\w5らしーいー\w5あーさが\1\s[11]Don't sing!It's bad in many ways!\e" } elseif hour == 7 || hour == 19{ "\0\s[5]Here's a quiz。\w9\nIt's handy to have a mobile phone。\w9\nSo how many letters are there?\w8\1Um、seven letters?\w8\0\n\nThe answer is Shichiji♪\w8\1\s[11]\n\n!\e" } elseif hour == 8 || hour == 20{ "\0\s[5]%(username)、you have to be quiet when watching sports。\w8\1What are you talking about。\w8\0\s[1]\n\nIt's after 8 o'clock、so don't heckle too much‥\w5‥\w5\w8\1\n\n‥\w5‥\w5is that a pun。\e" } elseif hour == 9 || hour == 21{ "\0\s[1]No gambling allowed at this time。\w8\1Why。\w8\0\n\nSince it's a lottery、I'll take the short end of the stick。\w8\1\n\n‥\w5‥\w5can you stop making puns every time the time chimes?\e" } elseif hour == 10{ "\0\s[1]Snacks at 10 o'clock are a pain。\w8\1Why。\w8\0\n\nIf I eat a full meal、I can't eat lunch。\w8\1\n\nUse your brain a little。\w8\0\n\nPhewー。\e" } elseif hour == 12{ "\n\nIt's lunchtime、even if you're busy, make sure you eat a proper meal。\w5\1\s[10]Hmm。" } elseif hour == 15{ "\n\nIt's snack time。\w5\1\s[10]Let's take a break。" } elseif hour == 18{ "\0\s[0]Mc Black、what do you want to eat for dinner?\w8\1%(ANY((food,me))) would be good。\w8\0\s[1]\n\nYou won't regret it?\w8\1\n\n‥\w5‥\w5I wonder。\e" } -- '\e' } elseif AYATEMPLATE.mikireflag == 1{ //---- 分 != 0 、かつ見切れていたら見切れ中のトークを行う MikireTalk } elseif reference[2] == 1{ //---- 分 != 0 、かつ見切れておらず本体とkeroが重なっていたら重なり処理 //---- 大抵はkero側を引き離す処理を行う '\0\s[0]重ならないでよっ。\1\s[10]ちぇー。\4\e' } } //****************************************************************************** //見切れ //****************************************************************************** //------------------------------------------------------------------------------ //OnSecondChangeイベント //1 秒毎に実行される。ここではあまり重い処理を行わないこと //このテンプレートでは、見切れ処理のみ行っている //--------------------------------------------------------------------------- OnSecondChange { if AYATEMPLATE.mikireflag == 1 && reference[1] == 0{ //---- 見切れの終了 EndMikireTalk } AYATEMPLATE.mikireflag = reference[1] } //------------------------------------------------------------------------------ //見切れ中 //------------------------------------------------------------------------------ MikireTalk { '\0\s[0]見切れてます。\1\s[10]‥‥\e' } //------------------------------------------------------------------------------ //見切れ終了 //------------------------------------------------------------------------------ EndMikireTalk { '\0\s[5]見切れから復帰ー。\w8\1随分嬉しそうだなぁ。\w8\0\n\nそりゃぁ、ね。\e:chain=mikirego' } //------------------------------------------------------------------------------ //見切れ後の初回のランダムトークは見切れ関連のトークを行う。 //これをチェインで実現している //------------------------------------------------------------------------------ mikirego {{CHAIN '\0\s[1]見切れするのと、終了されるのってどっちがマシだろうね。\w8\1見切れてても、そこにいろって言われる方が良いだろ。\w8\0\s[4]\n\nでも、中途半端に置いとかれるより、すっぱり終了してもらった方がー。\w8\1\n\nそんな事言うと、すっぱり消されちゃうぞ。\w8\0\s[3]\n\n‥\w5‥\w5それはいやだなぁ。\e' "\0\s[5]うん、見切れてないって素晴らしいね。\w8\1そんなもんかなぁ。\w8\0\s[6]\n\n%(username)、マック朗を1ドットくらい残して見切れさせてあげて。\w8\1\s[11]\n\nえ!?\e" }}CHAIN //****************************************************************************** //サーフィス復元 //****************************************************************************** //------------------------------------------------------------------------------ //OnSurfaceRestoreイベント //------------------------------------------------------------------------------ OnSurfaceRestore { '\0\s[0]\1\s[10]\e' } //****************************************************************************** //トランスレータ //****************************************************************************** //------------------------------------------------------------------------------ //OnTranslateイベント //------------------------------------------------------------------------------ //もっとも単純な例。語尾変え(「。」→「にゅ。」)。 //動かないようにコメントアウトしています。 /* OnTranslate { _text = reference[0] _text = REPLACE(_text, "。", "にゅ。") _text } */ //------------------------------------------------------------------------------ //OnTranslateInternalイベント //------------------------------------------------------------------------------ //OnTranslateがYAYA→本体→YAYAと、一度本体を経由するのに対して、 //OnTranslateInternalはYAYA内部でのトランスレートです。 //そのため、reference変数などが変更されない状態でこの関数に渡されます。 //引数は、_argv[0]が、本体に渡す寸前のトークの内容です。 //動かないようにコメントアウトしています。 /* OnTranslateInternal { _text = _argv[0] _text = REPLACE(_text, "。", "にゅ。") _text } */