Fix Mtxt wrap
This commit is contained in:
parent
507100d4e2
commit
ed1482e928
17 changed files with 557 additions and 429 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -9143,21 +9143,21 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"It must've been rough having to be with Diad~.\" + \"\\n\";"
|
||||
"var _MTxt = \"It must've been rough having to be with Diad~. By the way,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"By the way, Romasha-chan, you didn't exactly look like nothing was wrong.\" + \"\\n\";"
|
||||
" _MTxt += \"Romasha-chan, you didn't exactly look like nothing was\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Why don't you tell me quietly here?\" + \"\\n\";"
|
||||
" _MTxt += \"wrong. Why don't you tell me quietly here?\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -9171,35 +9171,35 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"A lot has happened lately, so I've been worried about you, Romasha-dono...\" + \"\\n\";"
|
||||
"var _MTxt = \"A lot has happened lately, so I've been worried about you,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I'm in the middle of talking to the chief about getting you reassigned to Must Counter.\" + \"\\n\";"
|
||||
" _MTxt += \"Romasha-dono... I'm in the middle of talking to the chief\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I'm working on it right now.\" + \"\\n\";"
|
||||
" _MTxt += \"about getting you reassigned to Must Counter. I'm working on\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"You have a habit of trying to solve everything on your own,\" + \"\\n\";"
|
||||
" _MTxt += \"it right now. You have a habit of trying to solve everything\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"so make sure you rely on us too, okay?\" + \"\\n\";"
|
||||
" _MTxt += \"on your own, so make sure you rely on us too, okay?\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12910,21 +12910,21 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Multiple Trash signatures detected in the city area.\" + \"\\n\";"
|
||||
"var _MTxt = \"Multiple Trash signatures detected in the city area. Proceed\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Proceed to the scene immediately and suppress them.\" + \"\\n\";"
|
||||
" _MTxt += \"to the scene immediately and suppress them. Also, make sure\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Also, make sure to keep noise to a minimum so the residents don't notice.\" + \"\\n\";"
|
||||
" _MTxt += \"to keep noise to a minimum so the residents don't notice.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13128,7 +13128,7 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Image test! Image test!\" + \"\\n\";"
|
||||
"var _MTxt = \"Image test! Image test! Image test! Image test! Image test!\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -13142,7 +13142,7 @@
|
|||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Image test! Image test! Image test!\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -23428,42 +23428,42 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Now that we've exchanged addresses,\" + \"\\n\";"
|
||||
"var _MTxt = \"Now that we've exchanged addresses, let's get along from\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"let's get along from here on out.\" + \"\\n\";"
|
||||
" _MTxt += \"here on out. As a token of our new friendship, I'll give you\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"As a token of our new friendship, I'll give you something nice.\" + \"\\n\";"
|
||||
" _MTxt += \"something nice. Oh, no need to thank me. After all, I'm a\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Oh, no need to thank me.\" + \"\\n\";"
|
||||
" _MTxt += \"gentleman! Gahaha! But if you don't use it, you'll be\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"After all, I'm a gentleman! Gahaha!\" + \"\\n\";"
|
||||
" _MTxt += \"punished.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"But if you don't use it, you'll be punished.\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18655,14 +18655,14 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"If you're going to help out, it might mean danger is waiting for you.\" + \"\\n\";"
|
||||
"var _MTxt = \"If you're going to help out, it might mean danger is waiting\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"So be extra careful, okay?\" + \"\\n\";"
|
||||
" _MTxt += \"for you. So be extra careful, okay?\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27371,49 +27371,49 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Sorry about earlier...\" + \"\\n\";"
|
||||
"var _MTxt = \"Sorry about earlier... Old man just wanted to support your\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Old man just wanted to support your dreams, \\N[46]-chan.\" + \"\\n\";"
|
||||
" _MTxt += \"dreams, \\N[46]-chan. That's all... If you want, with my\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"That's all...\" + \"\\n\";"
|
||||
" _MTxt += \"authority, I can squeeze you into the slot. I'd like to talk\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"If you want, with my authority,\" + \"\\n\";"
|
||||
" _MTxt += \"about the details at the Casino Bar in Block A, so if you'd\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I can squeeze you into the slot.\" + \"\\n\";"
|
||||
" _MTxt += \"like, come see me, okay? ♡\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I'd like to talk about the details at the Casino Bar in Block A,\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"so if you'd like, come see me, okay? ♡\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7198,14 +7198,14 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"The password is \\\\V[222].\" + \"\\n\";"
|
||||
"var _MTxt = \"The password is \\\\V[222]. Please note that it is only valid for\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Please note that it is only valid for today.\" + \"\\n\";"
|
||||
" _MTxt += \"today.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -8168,14 +8168,14 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"The password is \\\\V[222].\" + \"\\n\";"
|
||||
"var _MTxt = \"The password is \\\\V[222]. Please note that it is only valid for\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Please note that it is only valid for today.\" + \"\\n\";"
|
||||
" _MTxt += \"today.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -8753,14 +8753,14 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"The password is \\\\V[222].\" + \"\\n\";"
|
||||
"var _MTxt = \"The password is \\\\V[222]. Please note that it is only valid for\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Please note that it is only valid for today.\" + \"\\n\";"
|
||||
" _MTxt += \"today.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7058,42 +7058,42 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"If I told them I was training alone with you,\" + \"\\n\";"
|
||||
"var _MTxt = \"If I told them I was training alone with you, those guys\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"those guys were totally seething with jealousy.\" + \"\\n\";"
|
||||
" _MTxt += \"were totally seething with jealousy. And the look on their\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"And the look on their faces when I said you were in your underwear.\" + \"\\n\";"
|
||||
" _MTxt += \"faces when I said you were in your underwear. Tonight,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Tonight, they're probably going to fantasize about you in your underwear\" + \"\\n\";"
|
||||
" _MTxt += \"they're probably going to fantasize about you in your\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"and jerk off, don't you think?\" + \"\\n\";"
|
||||
" _MTxt += \"underwear and jerk off, don't you think? Hey! Highlander's\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Hey! Highlander's jerk-off toy!\" + \"\\n\";"
|
||||
" _MTxt += \"jerk-off toy!\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7323,42 +7323,42 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"That was a really comfortable chair.\" + \"\\n\";"
|
||||
"var _MTxt = \"That was a really comfortable chair. I could feel your\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I could feel your softness through it.\" + \"\\n\";"
|
||||
" _MTxt += \"softness through it. At first, I thought about spreading\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"At first, I thought about spreading this picture everywhere.\" + \"\\n\";"
|
||||
" _MTxt += \"this picture everywhere. But it pisses me off to let those\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"But it pisses me off to let those losers see your skin without any effort,\" + \"\\n\";"
|
||||
" _MTxt += \"losers see your skin without any effort, so I only shared it\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"so I only shared it with a select few.\" + \"\\n\";"
|
||||
" _MTxt += \"with a select few. You should be grateful, you know?\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"You should be grateful, you know?\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6033,63 +6033,63 @@
|
|||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I can send you emails again.\" + \"\\n\";"
|
||||
" _MTxt += \"I can send you emails again. So, getting to the point―when\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"So, getting to the point―when you meet with Spina,\" + \"\\n\";"
|
||||
" _MTxt += \"you meet with Spina, it's hard to have a proper conversation\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"it's hard to have a proper conversation since everything gets recorded, right?\" + \"\\n\";"
|
||||
" _MTxt += \"since everything gets recorded, right? That's why, in\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"That's why, in addition to the vaccine,\" + \"\\n\";"
|
||||
" _MTxt += \"addition to the vaccine, I went ahead and made a Dummy\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I went ahead and made a Dummy Program for you.\" + \"\\n\";"
|
||||
" _MTxt += \"Program for you. After you use it, the communication logs\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"After you use it, the communication logs should show a completely different conversation.\" + \"\\n\";"
|
||||
" _MTxt += \"should show a completely different conversation. So nothing\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"So nothing suspicious should get through.\" + \"\\n\";"
|
||||
" _MTxt += \"suspicious should get through. I threw it together in a huge\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I threw it together in a huge rush, so it probably won't last long.\" + \"\\n\";"
|
||||
" _MTxt += \"rush, so it probably won't last long. Be careful with that,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Be careful with that, okay!\" + \"\\n\";"
|
||||
" _MTxt += \"okay!\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6090,35 +6090,35 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Hey! You're way too late, I was getting worried.\" + \"\\n\";"
|
||||
"var _MTxt = \"Hey! You're way too late, I was getting worried. I just got\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I just got a message saying they're coming to pick you up―this is bad, isn't it!?\" + \"\\n\";"
|
||||
" _MTxt += \"a message saying they're coming to pick you up―this is bad,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"If you turn back right now, how long do you think it'll take?\" + \"\\n\";"
|
||||
" _MTxt += \"isn't it!? If you turn back right now, how long do you think\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Anyway, I'm heading back to Mizel-san's place for now!\" + \"\\n\";"
|
||||
" _MTxt += \"it'll take? Anyway, I'm heading back to Mizel-san's place\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Tell me what I should reply to them, okay?!\" + \"\\n\";"
|
||||
" _MTxt += \"for now! Tell me what I should reply to them, okay?!\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11921,42 +11921,42 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Hey there! It's me again from earlier ( ´ ▽ ` )ノ\" + \"\\n\";"
|
||||
"var _MTxt = \"Hey there! It's me again from earlier ( ´ ▽ ` )ノ You said\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"You said you were going to the Storage to pick up supplies, right?\" + \"\\n\";"
|
||||
" _MTxt += \"you were going to the Storage to pick up supplies, right?\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"So, just in case someone asks to see what you bought,\" + \"\\n\";"
|
||||
" _MTxt += \"So, just in case someone asks to see what you bought, I'm\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I'm attaching a pack of H cards as an alibi.\" + \"\\n\";"
|
||||
" _MTxt += \"attaching a pack of H cards as an alibi. Use them at your\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Use them at your own risk!\" + \"\\n\";"
|
||||
" _MTxt += \"own risk! Seriously, be careful! (≧∇≦*)\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Seriously, be careful! (≧∇≦*)\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9094,21 +9094,21 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"Multiple Trash signatures detected in the city area.\" + \"\\n\";"
|
||||
"var _MTxt = \"Multiple Trash signatures detected in the city area. Proceed\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Proceed to the scene immediately and suppress them.\" + \"\\n\";"
|
||||
" _MTxt += \"to the scene immediately and suppress them. Also, do your\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Also, do your best to avoid making noise so the residents don't notice.\" + \"\\n\";"
|
||||
" _MTxt += \"best to avoid making noise so the residents don't notice.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -9129,42 +9129,35 @@
|
|||
"code": 355,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"var _MTxt = \"It looks like things are going well on your end too.\" + \"\\n\";"
|
||||
"var _MTxt = \"It looks like things are going well on your end too. I've\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I've also unlocked the data cube over here,\" + \"\\n\";"
|
||||
" _MTxt += \"also unlocked the data cube over here, so attention should\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"so attention should be diverted from the solitary cell for a while.\" + \"\\n\";"
|
||||
" _MTxt += \"be diverted from the solitary cell for a while. By the way,\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"By the way, the passcode for the door is \\\\V[205].\" + \"\\n\";"
|
||||
" _MTxt += \"the passcode for the door is \\\\V[205]. Once you move further\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"Once you move further in, set the transfer destination\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"to X:43.6 Y:10.4 Z:-1.5.\" + \"\\n\";"
|
||||
" _MTxt += \"in, set the transfer destination to X:43.6 Y:10.4 Z:-1.5.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -9181,6 +9174,13 @@
|
|||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
|
|
|
|||
|
|
@ -33297,7 +33297,7 @@
|
|||
"code": 355,
|
||||
"indent": 2,
|
||||
"parameters": [
|
||||
"this.OpeSet(\"\\\\N[31]\",\"The mission this time is the extermination of the Egg-type \\N[21].\",\"ope\",180)"
|
||||
"this.OpeSet(\"\\\\N[31]\",\"The mission this time is the extermination of the Egg-type \\\\N[21].\",\"ope\",180)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -33400,7 +33400,7 @@
|
|||
"code": 355,
|
||||
"indent": 2,
|
||||
"parameters": [
|
||||
"this.OpeSet(\"\\\\N[31]\",\"It's a troublesome enemy, but I think you'll be fine, \\N[1]-san.\",\"ope\");"
|
||||
"this.OpeSet(\"\\\\N[31]\",\"It's a troublesome enemy, but I think you'll be fine, \\\\N[1]-san.\",\"ope\");"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6007,49 +6007,49 @@
|
|||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"accesses the data cube.\" + \"\\n\";"
|
||||
" _MTxt += \"accesses the data cube. So you're getting this\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"So you're getting this automatically.\" + \"\\n\";"
|
||||
" _MTxt += \"automatically. I'm happy you came to see me, but\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I'm happy you came to see me,\" + \"\\n\";"
|
||||
" _MTxt += \"unfortunately, I'm living in the punishment cell right now.\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"but unfortunately, I'm living in the punishment cell right now.\" + \"\\n\";"
|
||||
" _MTxt += \"If you need anything, please come visit me there. I've also\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"If you need anything, please come visit me there.\" + \"\\n\";"
|
||||
" _MTxt += \"attached an electronic signature to the file, so you can\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"I've also attached an electronic signature\" + \"\\n\";"
|
||||
" _MTxt += \"rest easy♪\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 655,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
" _MTxt += \"to the file, so you can rest easy♪\" + \"\\n\";"
|
||||
" _MTxt += \"\" + \"\\n\";"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
* 2. Refresh all mail text in $gameSystem.AllMailList from updated PSData
|
||||
* 3. Reset the MemoryDatas cache so it rebuilds from updated PSData
|
||||
* 4. Scan all Map/CommonEvent data for AddAddress calls and update saved addresses
|
||||
* 5. Show a confirmation message on screen
|
||||
* 5. Scan all Map/CommonEvent data for inline _MTxt/AddMaill calls and update saved mail text
|
||||
* 6. Show a confirmation message on screen
|
||||
*
|
||||
* Console utilities (open dev console with F12):
|
||||
* DazedClearComments() - Clears old comments from save (they'll re-add in English as you play)
|
||||
|
|
@ -136,49 +137,114 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Unescape JS string escape sequences (\\->\, \n->newline, etc.)
|
||||
function unescapeJsString(s) {
|
||||
return s.replace(/\\(.)/g, function(match, ch) {
|
||||
switch (ch) {
|
||||
case 'n': return '\n';
|
||||
case 't': return '\t';
|
||||
case 'r': return '\r';
|
||||
case '\\': return '\\';
|
||||
case '"': return '"';
|
||||
case "'": return "'";
|
||||
default: return ch;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Extract inline _MTxt + AddMaill mail data from script blocks
|
||||
function extractMTxtMailsFromScripts(scripts, mtxtMailMap) {
|
||||
for (var i = 0; i < scripts.length; i++) {
|
||||
var script = scripts[i];
|
||||
if (script.indexOf('_MTxt') === -1 || script.indexOf('AddMaill') === -1) continue;
|
||||
|
||||
// Extract text parts from _MTxt assignments
|
||||
// Pattern: _MTxt = "text" + "\n"; or _MTxt += "text" + "\n";
|
||||
var textParts = [];
|
||||
var textRegex = /_MTxt\s*\+?=\s*"([^"]*)"\s*\+\s*"\\n"/g;
|
||||
var m;
|
||||
while ((m = textRegex.exec(script)) !== null) {
|
||||
textParts.push(m[1]);
|
||||
}
|
||||
if (textParts.length === 0) continue;
|
||||
|
||||
// Reconstruct full text: each part had + "\n" appended at runtime
|
||||
var fullText = '';
|
||||
for (var j = 0; j < textParts.length; j++) {
|
||||
fullText += unescapeJsString(textParts[j]) + '\n';
|
||||
}
|
||||
|
||||
// Parse AddMaill call parameters
|
||||
var addMailMatch = script.match(
|
||||
/this\.AddMaill\(\s*"([^"]*)"\s*,\s*"([^"]*)"\s*,\s*"((?:[^"\\]|\\.)*)"\s*,\s*"((?:[^"\\]|\\.)*)"\s*,\s*_MTxt\s*,\s*\[[^\]]*\]\s*,\s*(-?\d+)(?:\s*,\s*(?:true|false)(?:\s*,\s*(-?\d+)\s*,\s*(-?\d+))?)?/
|
||||
);
|
||||
if (!addMailMatch) continue;
|
||||
|
||||
var charaName = unescapeJsString(addMailMatch[3]);
|
||||
var mailTitle = unescapeJsString(addMailMatch[4]);
|
||||
var closeCmnEvNo = parseInt(addMailMatch[5]);
|
||||
var openSetVNNo = addMailMatch[6] != null ? parseInt(addMailMatch[6]) : -1;
|
||||
var openSetVNValue = addMailMatch[7] != null ? parseInt(addMailMatch[7]) : -1;
|
||||
|
||||
// Composite key: ClsCmn|OpnVarNo|OpnSetVar
|
||||
var key = closeCmnEvNo + '|' + openSetVNNo + '|' + openSetVNValue;
|
||||
mtxtMailMap[key] = {
|
||||
charaName: charaName,
|
||||
mailTitle: mailTitle,
|
||||
fullText: fullText,
|
||||
closeCmnEvNo: closeCmnEvNo,
|
||||
openSetVNNo: openSetVNNo,
|
||||
openSetVNValue: openSetVNValue
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Scan a single event list
|
||||
function scanEventCommands(list, addressMap) {
|
||||
function scanEventCommands(list, addressMap, mtxtMailMap) {
|
||||
if (!list) return;
|
||||
var scripts = getScriptBlocks(list);
|
||||
extractAddressFromScripts(scripts, addressMap);
|
||||
if (mtxtMailMap) extractMTxtMailsFromScripts(scripts, mtxtMailMap);
|
||||
}
|
||||
|
||||
// Scan all events in a parsed map
|
||||
function scanMapData(mapData, addressMap) {
|
||||
function scanMapData(mapData, addressMap, mtxtMailMap) {
|
||||
if (!mapData || !mapData.events) return;
|
||||
for (var i = 0; i < mapData.events.length; i++) {
|
||||
var ev = mapData.events[i];
|
||||
if (!ev || !ev.pages) continue;
|
||||
for (var j = 0; j < ev.pages.length; j++) {
|
||||
if (ev.pages[j] && ev.pages[j].list) {
|
||||
scanEventCommands(ev.pages[j].list, addressMap);
|
||||
scanEventCommands(ev.pages[j].list, addressMap, mtxtMailMap);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Scan CommonEvents
|
||||
function scanCommonEvents(ceData, addressMap) {
|
||||
function scanCommonEvents(ceData, addressMap, mtxtMailMap) {
|
||||
if (!ceData) return;
|
||||
for (var i = 0; i < ceData.length; i++) {
|
||||
if (ceData[i] && ceData[i].list) {
|
||||
scanEventCommands(ceData[i].list, addressMap);
|
||||
scanEventCommands(ceData[i].list, addressMap, mtxtMailMap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Main scan: load all map files + CommonEvents and extract AddAddress calls
|
||||
function scanAllAddressCalls() {
|
||||
// Main scan: load all map files + CommonEvents and extract AddAddress + _MTxt mail calls
|
||||
function scanAllEventData() {
|
||||
var addressMap = {};
|
||||
console.log('[DazedTranslations] Scanning event data for AddAddress calls...');
|
||||
var mtxtMailMap = {};
|
||||
console.log('[DazedTranslations] Scanning event data for AddAddress and inline mail calls...');
|
||||
|
||||
// Scan CommonEvents (already loaded in memory, but reload fresh from disk)
|
||||
var ceText = loadFileTextSync('data/CommonEvents.json');
|
||||
if (ceText) {
|
||||
// Quick check before expensive parse
|
||||
if (ceText.indexOf('AddAddress') !== -1) {
|
||||
var hasAddress = ceText.indexOf('AddAddress') !== -1;
|
||||
var hasMTxt = ceText.indexOf('_MTxt') !== -1 && ceText.indexOf('AddMaill') !== -1;
|
||||
if (hasAddress || hasMTxt) {
|
||||
var ceData = JSON.parse(ceText);
|
||||
scanCommonEvents(ceData, addressMap);
|
||||
scanCommonEvents(ceData, addressMap, hasMTxt ? mtxtMailMap : null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -188,10 +254,13 @@
|
|||
if (!$dataMapInfos[i]) continue;
|
||||
var filename = 'data/Map' + padZero(i, 3) + '.json';
|
||||
var mapText = loadFileTextSync(filename);
|
||||
if (mapText && mapText.indexOf('AddAddress') !== -1) {
|
||||
if (!mapText) continue;
|
||||
var hasAddress = mapText.indexOf('AddAddress') !== -1;
|
||||
var hasMTxt = mapText.indexOf('_MTxt') !== -1 && mapText.indexOf('AddMaill') !== -1;
|
||||
if (hasAddress || hasMTxt) {
|
||||
try {
|
||||
var mapData = JSON.parse(mapText);
|
||||
scanMapData(mapData, addressMap);
|
||||
scanMapData(mapData, addressMap, hasMTxt ? mtxtMailMap : null);
|
||||
} catch (e) {
|
||||
console.log('[DazedTranslations] Failed to parse ' + filename);
|
||||
}
|
||||
|
|
@ -199,9 +268,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
var count = Object.keys(addressMap).length;
|
||||
console.log('[DazedTranslations] Found ' + count + ' unique AddAddress entries');
|
||||
return addressMap;
|
||||
var addrCount = Object.keys(addressMap).length;
|
||||
var mtxtCount = Object.keys(mtxtMailMap).length;
|
||||
console.log('[DazedTranslations] Found ' + addrCount + ' unique AddAddress entries');
|
||||
console.log('[DazedTranslations] Found ' + mtxtCount + ' unique inline _MTxt mail entries');
|
||||
return { addressMap: addressMap, mtxtMailMap: mtxtMailMap };
|
||||
}
|
||||
|
||||
// Apply address updates to saved data
|
||||
|
|
@ -223,6 +294,40 @@
|
|||
return updated;
|
||||
}
|
||||
|
||||
// Apply inline _MTxt mail updates to saved data
|
||||
function refreshMTxtMails(mtxtMailMap) {
|
||||
if (!$gameSystem || !$gameSystem.AllMailList) return 0;
|
||||
var updated = 0;
|
||||
for (var i = 0; i < $gameSystem.AllMailList.length; i++) {
|
||||
var savedMail = $gameSystem.AllMailList[i];
|
||||
// Only process mails without a ToolNo (inline _MTxt mails)
|
||||
if (savedMail.ToolNo != null && savedMail.ToolNo >= 0) continue;
|
||||
|
||||
var key = (savedMail.ClsCmn || -1) + '|' + (savedMail.OpnVarNo || -1) + '|' + (savedMail.OpnSetVar || -1);
|
||||
var src = mtxtMailMap[key];
|
||||
if (!src) continue;
|
||||
|
||||
var changed = false;
|
||||
if (savedMail.ChrStr !== src.charaName) {
|
||||
console.log('[DazedTranslations] MTxt mail ChrStr: "' + savedMail.ChrStr + '" -> "' + src.charaName + '"');
|
||||
savedMail.ChrStr = src.charaName;
|
||||
changed = true;
|
||||
}
|
||||
if (savedMail.MTitle !== src.mailTitle) {
|
||||
console.log('[DazedTranslations] MTxt mail MTitle: "' + savedMail.MTitle + '" -> "' + src.mailTitle + '"');
|
||||
savedMail.MTitle = src.mailTitle;
|
||||
changed = true;
|
||||
}
|
||||
if (savedMail.MNaiyo !== src.fullText) {
|
||||
console.log('[DazedTranslations] MTxt mail body updated (ClsCmn=' + src.closeCmnEvNo + ')');
|
||||
savedMail.MNaiyo = src.fullText;
|
||||
changed = true;
|
||||
}
|
||||
if (changed) updated++;
|
||||
}
|
||||
return updated;
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// 5. Console utilities for comments/BBS (can't auto-match without IDs)
|
||||
// =========================================================================
|
||||
|
|
@ -253,6 +358,7 @@
|
|||
function showReloadNotification(stats) {
|
||||
var lines = ['[DazedTranslations] Data reloaded!'];
|
||||
if (stats.mail > 0) lines.push('Mail: ' + stats.mail + ' updated');
|
||||
if (stats.mtxtMails > 0) lines.push('Inline mail: ' + stats.mtxtMails + ' updated');
|
||||
if (stats.addresses > 0) lines.push('Addresses: ' + stats.addresses + ' updated');
|
||||
var msg = lines.join(' | ');
|
||||
|
||||
|
|
@ -306,11 +412,12 @@
|
|||
var mailCount = refreshMailData();
|
||||
resetMemoryCache();
|
||||
|
||||
// Scan and refresh addresses
|
||||
var addressMap = scanAllAddressCalls();
|
||||
var addrCount = refreshAddresses(addressMap);
|
||||
// Scan and refresh addresses + inline mails (single pass)
|
||||
var scanResults = scanAllEventData();
|
||||
var addrCount = refreshAddresses(scanResults.addressMap);
|
||||
var mtxtCount = refreshMTxtMails(scanResults.mtxtMailMap);
|
||||
|
||||
showReloadNotification({ mail: mailCount, addresses: addrCount });
|
||||
showReloadNotification({ mail: mailCount, addresses: addrCount, mtxtMails: mtxtCount });
|
||||
console.log('[DazedTranslations] === Reload complete ===');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue