Skip to content

Commit

Permalink
Add check to ensure translator comments are correctly located and ext…
Browse files Browse the repository at this point in the history
…racted
  • Loading branch information
Qrox committed Jan 13, 2024
1 parent 7b2ac96 commit 32f03ab
Show file tree
Hide file tree
Showing 21 changed files with 522 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"type": "furniture",
"id": "f_nm_nether_lily",
"name": "beautiful nether lily",
"//~": "Its thing is making itself irresistible to the PC. TODO: Make this effect more obvious",
"//": "Its thing is making itself irresistible to the PC. TODO: Make this effect more obvious",
"description": "A very tall, mesmerizing blood red flower. Its beautiful, pristine form is rooted firmly on the innards of the beast. The flesh around it is decayed, being consumed to feed its ornate, magnanimous body. You feel an urge to sit and admire this priceless miracle of life.",
"looks_like": "f_black_eyed_susan",
"symbol": "P",
Expand Down
6 changes: 4 additions & 2 deletions data/json/items/book/martial.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
},
"price": 11000,
"price_postapoc": 3000,
"//~": "Spanish description should change to say that this is archaic text and should mention explanations of archaic words instead of translations.",
"description": "Thankfully, someone has scrawled translations in the margins of this guide to Barbaran Montante. Judging by the notation, this greatsword and war hammer training manual is also a form of poem.",
"description": {
"//~": "Spanish description should change to say that this is archaic text and should mention explanations of archaic words instead of translations.",
"str": "Thankfully, someone has scrawled translations in the margins of this guide to Barbaran Montante. Judging by the notation, this greatsword and war hammer training manual is also a form of poem."
},
"martial_art": "style_barbaran"
},
{
Expand Down
114 changes: 77 additions & 37 deletions data/json/npcs/exodii/exodii_merchant_missions.json

Large diffs are not rendered by default.

330 changes: 220 additions & 110 deletions data/json/npcs/exodii/exodii_merchant_talk.json

Large diffs are not rendered by default.

46 changes: 32 additions & 14 deletions data/json/npcs/exodii/exodii_merchant_talk_exodization.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,22 @@
"type": "talk_topic",
"dynamic_line": {
"compare_num": [ { "u_val": "sold" }, ">=", { "const": 100 } ],
"yes": "Oh HO! Well, well. Now you're yarkin' the King's Anglic. Aye, us'n can fix ye good, if'n ye're tassed to repay it in kind. Us'll speak it as clear-like as this Rubik can. If ye'n use it to put the dead back in the ground, us'n can fix ye with some goods like this, aye. Stuck in the flesh and to the bone, wired into the brain. Ye kennit? If no, us'll speak to the Great Grey for a pint o' the ol' clarity-draught.",
"yes": {
"//~": "Oh HO! Well, now you're speaking my language. We can fix you up good, if you're willing to pay us back. I'll say it as clearly as I can. If you help us kill the undead, we can help you get fixed up like us, yeah. Stuck right into your flesh and bone and wired into your brain. You understand? If not, we'll ask the Great Grey to help clear it up.",
"str": "Oh HO! Well, well. Now you're yarkin' the King's Anglic. Aye, us'n can fix ye good, if'n ye're tassed to repay it in kind. Us'll speak it as clear-like as this Rubik can. If ye'n use it to put the dead back in the ground, us'n can fix ye with some goods like this, aye. Stuck in the flesh and to the bone, wired into the brain. Ye kennit? If no, us'll speak to the Great Grey for a pint o' the ol' clarity-draught."
},
"no": {
"u_has_faction_trust": 5,
"yes": "Oh HO! Well, well. Now you're yarkin' the King's Anglic. Aye, us'n can fix ye good, if'n ye're tassed to repay it in kind. Us'll speak it as clear-like as this Rubik can. If ye'n use it to put the dead back in the ground, us'n can fix ye with some goods like this, aye. Stuck in the flesh and to the bone, wired into the brain. Ye kennit? If no, us'll speak to the Great Grey for a pint o' the ol' clarity-draught.",
"no": "Ah, well. Us'll put that into the key and lock, if'n you're ken. Mayhap you could bring us a mite and trade, and we'll see if we can fix you good soon and soon. Let no Exodii turn away a willin' Benny, and so it is."
"yes": {
"//~": "Oh HO! Well, now you're speaking my language. We can fix you up good, if you're willing to pay us back. I'll say it as clearly as I can. If you help us kill the undead, we can help you get fixed up like us, yeah. Stuck right into your flesh and bone and wired into your brain. You understand? If not, we'll ask the Great Grey to help clear it up.",
"str": "Oh HO! Well, well. Now you're yarkin' the King's Anglic. Aye, us'n can fix ye good, if'n ye're tassed to repay it in kind. Us'll speak it as clear-like as this Rubik can. If ye'n use it to put the dead back in the ground, us'n can fix ye with some goods like this, aye. Stuck in the flesh and to the bone, wired into the brain. Ye kennit? If no, us'll speak to the Great Grey for a pint o' the ol' clarity-draught."
},
"no": {
"//~": "Ah, well. I'll file that away, so to speak. Maybe you could bring us a little more trade, and we'll fix you up as soon as possible. The Exodii won't turn away a willing convert.",
"str": "Ah, well. Us'll put that into the key and lock, if'n you're ken. Mayhap you could bring us a mite and trade, and we'll see if we can fix you good soon and soon. Let no Exodii turn away a willin' Benny, and so it is."
}
}
},
"//~": "English: Yes: Oh HO! Well, now you're speaking my language. We can fix you up good, if you're willing to pay us back. I'll say it as clearly as I can. If you help us kill the undead, we can help you get fixed up like us, yeah. Stuck right into your flesh and bone and wired into your brain. You understand? If not, we'll ask the Great Grey to help clear it up. No: Ah, well. I'll file that away, so to speak. Maybe you could bring us a little more trade, and we'll fix you up as soon as possible. The Exodii won't turn away a willing convert.",
"responses": [
{
"text": "If I just keep on killing zombies, you'll help turn me into a cyborg? Why are we still yarkin', then? Sign me the heck up.",
Expand Down Expand Up @@ -122,8 +130,10 @@
{
"id": "TALK_EXODII_MERCHANT_ExodizeDialect",
"type": "talk_topic",
"dynamic_line": "THIS'n's accent? Ye've never egged y'r own yark, an' that's a fine fiddle. Great Grey has a bit o' work on it, kennit? This'n has to keep usselves useful, an' keep Great Grey doin' what it's tassed. Asides, yarkin' to the local brights keeps us young an' shines our chrome, an I'm ken.",
"//~": "English: MY accent? You've obviously never had to listen to yourself talk. Great Grey has more important work to do, get it? I have to keep myself useful and keep Gret Grey doing what it's supposed to. Besides, talking to the locals keeps me young and shines my chrome, as I see it.",
"dynamic_line": {
"//~": "English: MY accent? You've obviously never had to listen to yourself talk. Great Grey has more important work to do, get it? I have to keep myself useful and keep Gret Grey doing what it's supposed to. Besides, talking to the locals keeps me young and shines my chrome, as I see it.",
"str": "THIS'n's accent? Ye've never egged y'r own yark, an' that's a fine fiddle. Great Grey has a bit o' work on it, kennit? This'n has to keep usselves useful, an' keep Great Grey doin' what it's tassed. Asides, yarkin' to the local brights keeps us young an' shines our chrome, an I'm ken."
},
"responses": [
{
"text": "Fine, whatever. It doesn't matter, if you're gonna turn me into a horrifying fusion of machine and human, sign me the heck up.",
Expand Down Expand Up @@ -173,8 +183,10 @@
{
"id": "TALK_EXODII_MERCHANT_ExodizeMe1",
"type": "talk_topic",
"dynamic_line": "Fine an' fine, an' fine an' fine! Ha! Us'll rubber up the ol' gristle mill. Yer tassed wi' bringin' us a nip o' good tea. Not 'tea', o'course. I'm yarkin dockside Anglic here. Us means the stuff what puts y'to sleep f'r a chirurgery. The Great Grey says y'r assert for it is 'anus fetick'. You bring us a thousand unit of 'anus fetick', us'll fix'n ye up with a wire an' a tiff.",
"//~": "Great, great, great!! Ha! We'll fire up the old meat grinder. Your job is to bring us a bit of good tea. Not literally 'tea' of course. That's my Anglic street slang. I mean the stuff that puts you to sleep for surgery. The Great Grey says your word for it is 'anesthetic'. You bring us a thousand units of anesthetic, we'll fix you up with a wire and everything.",
"dynamic_line": {
"//~": "Great, great, great!! Ha! We'll fire up the old meat grinder. Your job is to bring us a bit of good tea. Not literally 'tea' of course. That's my Anglic street slang. I mean the stuff that puts you to sleep for surgery. The Great Grey says your word for it is 'anesthetic'. You bring us a thousand units of anesthetic, we'll fix you up with a wire and everything.",
"str": "Fine an' fine, an' fine an' fine! Ha! Us'll rubber up the ol' gristle mill. Yer tassed wi' bringin' us a nip o' good tea. Not 'tea', o'course. I'm yarkin dockside Anglic here. Us means the stuff what puts y'to sleep f'r a chirurgery. The Great Grey says y'r assert for it is 'anus fetick'. You bring us a thousand unit of 'anus fetick', us'll fix'n ye up with a wire an' a tiff."
},
"responses": [
{
"text": "One thousand units of, uh, anesthetic, coming up. Can we talk about something else?",
Expand Down Expand Up @@ -217,8 +229,10 @@
{
"id": "TALK_EXODII_MERCHANT_ExodizeMe2",
"type": "talk_topic",
"dynamic_line": "Fine an' fine, an' fine an' fine! Ha! Now as us've got the good tea, us'll rubber up the ol' gristle mill. You jus' set along with ol' Rubik.",
"//~": "Great, great, great!! Ha! We'll fire up the old meat grinder. You just come along with old Rubik.",
"dynamic_line": {
"//~": "Great, great, great!! Ha! We'll fire up the old meat grinder. You just come along with old Rubik.",
"str": "Fine an' fine, an' fine an' fine! Ha! Now as us've got the good tea, us'll rubber up the ol' gristle mill. You jus' set along with ol' Rubik."
},
"responses": [
{
"text": "All right. Let's do this.",
Expand All @@ -236,8 +250,10 @@
{
"id": "TALK_EXODII_MERCHANT_ExodizeNope",
"type": "talk_topic",
"dynamic_line": "An' that's a fine choice, I'd razz. If'n ye change mind, ol' Rubik's here for the long an' short. You get to know us'n better, us'n get to know you better, an' that's a good tassin'.",
"//~": "That's a fine choice, I understand. If you change your mind, old Rubik's going to be here for a while. You'll get to know us better, we'll get to know you better, and that's going to be good all around.",
"dynamic_line": {
"//~": "That's a fine choice, I understand. If you change your mind, old Rubik's going to be here for a while. You'll get to know us better, we'll get to know you better, and that's going to be good all around.",
"str": "An' that's a fine choice, I'd razz. If'n ye change mind, ol' Rubik's here for the long an' short. You get to know us'n better, us'n get to know you better, an' that's a good tassin'."
},
"speaker_effect": [
{
"condition": { "not": { "u_has_var": "u_declined_exodization", "type": "decisions", "context": "blobpsychosis", "value": "yes" } },
Expand Down Expand Up @@ -266,8 +282,10 @@
{
"id": "TALK_EXODII_MERCHANT_Exodized2",
"type": "talk_topic",
"dynamic_line": "This're what ye'd razz a 'starter package', an I'm ken. Tassed to get ye started, but for the real lemony tarts you'd be wantin' what this'n's got for sale. As us'n can come to see you clairly-like, this'n can be tassed to offer more an' more.",
"//~": "This is what you'd call a 'starter package', if I understand it. Suitable to get you s tarted, but for the really sweet parts you're going to want what I'm selling. As we get to know each other better, I'll be able to get access to even more stuff.",
"dynamic_line": {
"//~": "This is what you'd call a 'starter package', if I understand it. Suitable to get you s tarted, but for the really sweet parts you're going to want what I'm selling. As we get to know each other better, I'll be able to get access to even more stuff.",
"str": "This're what ye'd razz a 'starter package', an I'm ken. Tassed to get ye started, but for the real lemony tarts you'd be wantin' what this'n's got for sale. As us'n can come to see you clairly-like, this'n can be tassed to offer more an' more."
},
"responses": [
{
"text": "So you can sell me more bionics, and as I get to know you better you'll have more? Mind showing me what you've got right now?",
Expand Down
8 changes: 6 additions & 2 deletions data/mods/Aftershock/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,12 @@
"type": "effect_type",
"id": "afs_isohypsa_overwatch",
"name": [ "Isohypsa Overwatch" ],
"//~": "This is just a fragment of machine code, it needs no translation.",
"desc": [ "FE09- A3 65 FF ATT $#17A\nFE0B- 4E JMP $5010\nFE0D- A5 24 DEX $#05\n" ],
"desc": [
{
"//~": "This is just a fragment of machine code, it needs no translation.",
"str": "FE09- A3 65 FF ATT $#17A\nFE0B- 4E JMP $5010\nFE0D- A5 24 DEX $#05\n"
}
],
"rating": "good",
"blocks_effects": [ "sensor_stun", "dazed", "stunned", "blind" ],
"base_mods": { "dex_mod": [ 0.5 ], "speed_mod": [ 50 ] },
Expand Down
36 changes: 24 additions & 12 deletions data/mods/Magiclysm/snippets/monster_parrots.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,56 @@
},
{
"type": "speech",
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Per Adonai Elohim, Adonai Jehova, Adonai Sabaoth…\"",
"sound": {
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"str": "\"Per Adonai Elohim, Adonai Jehova, Adonai Sabaoth…\""
},
"volume": 20
},
{
"type": "speech",
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Metraton on agla mathon, verbum pythonicum, mysterium salamandrae…\"",
"sound": {
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"str": "\"Metraton on agla mathon, verbum pythonicum, mysterium salamandrae…\""
},
"volume": 20
},
{
"type": "speech",
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Conventus sylvorum, antra gnomorum, daemonia coeli gad…\"",
"sound": {
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"str": "\"Conventus sylvorum, antra gnomorum, daemonia coeli gad…\""
},
"volume": 20
},
{
"type": "speech",
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Almousin, gibor, jehosua, evam, zariatnatmik, veni, veni, veni…\"",
"sound": {
"//~": "The mi-go is parroting a Latin incantation here that should not be translated.",
"str": "\"Almousin, gibor, jehosua, evam, zariatnatmik, veni, veni, veni…\""
},
"volume": 20
},
{
"type": "speech",
"//~": "The mi-go is parroting an incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Y'ai 'nh'ngah h'ee-l'geb f'ai throdog uaaah!\"",
"sound": {
"//~": "The mi-go is parroting an incantation here that should not be translated.",
"str": "\"Y'ai 'nh'ngah h'ee-l'geb f'ai throdog uaaah!\""
},
"volume": 20
},
{
"type": "speech",
"//~": "The mi-go is parroting an incantation here that should not be translated.",
"speaker": [ "mon_mi_go_fleshwarper", "mon_mi_go_nethermancer" ],
"sound": "\"Ogthrod ai'f geb'l-ee'h 'ngah'ng ai'y zhro!\"",
"sound": {
"//~": "The mi-go is parroting an incantation here that should not be translated.",
"str": "\"Ogthrod ai'f geb'l-ee'h 'ngah'ng ai'y zhro!\""
},
"volume": 20
}
]
4 changes: 2 additions & 2 deletions data/mods/MindOverMatter/monsters/animal_psychics.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"copy-from": "mon_cougar",
"type": "MONSTER",
"looks_like": "mon_cougar",
"name": { "str": "hidebehind" },
"//~": "Named after the American folkloric monster. Extended flags are from telepathic suggestion that the hidebehind is not there.",
"name": { "//~": "Named after the American folkloric monster.", "str": "hidebehind" },
"description": "Even looking directly at this cougar and knowing that it is there, a part of your brain simply refuses to see it. It flickers in and out of sight in a way that makes your eyes hurt, and if you turn your attention away from it even for a moment, it disappears completely.",
"vision_night": 18,
"morale": 80,
"//": "Extended flags are from telepathic suggestion that the hidebehind is not there.",
"extend": { "flags": [ "CAMOUFLAGE", "NIGHT_INVISIBILITY" ] }
},
{
Expand Down
3 changes: 1 addition & 2 deletions data/mods/MindOverMatter/powers/photokinesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@
{
"id": "photokinetic_camouflage",
"type": "SPELL",
"name": "[Ψ]Chameleoflage (C)",
"//~": "Combination of chameleon and camouflage",
"name": { "//~": "Combination of chameleon and camouflage", "str": "[Ψ]Chameleoflage (C)" },
"description": "By blending the light reflecting from you with the light reflecting from nearby surfaces, you can make yourself much harder to spot from a distance.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.",
"message": "",
"teachable": false,
Expand Down
3 changes: 1 addition & 2 deletions data/mods/Xedra_Evolved/items/clothes.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@
"id": "pants_no_pocket_gossamer",
"type": "ARMOR",
"copy-from": "pants",
"name": { "ctxt": "clothing", "str_sp": "gossamer hose" },
"//~": "Hose here refers to the Medieval clothing.",
"name": { "//~": "Hose here refers to the Medieval clothing.", "ctxt": "clothing", "str_sp": "gossamer hose" },
"description": "A pair of tight-fitting gossamer pants with no pockets. They would have been the absolute height of fashion five hundred years ago.",
"proportional": { "weight": 0.6666, "price": 2 },
"color": "white",
Expand Down
6 changes: 4 additions & 2 deletions data/mods/Xedra_Evolved/items/comestibles/goblin_fruits.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,10 @@
{
"type": "COMESTIBLE",
"id": "goblin_fruit_no_bleed",
"name": { "str": "dolm goblin fruit" },
"//~": "Dolm is a fictional color from the 1920 book \"A Voyage to Arcturus\" that's a mix of infrared and blue.",
"name": {
"//~": "Dolm is a fictional color from the 1920 book \"A Voyage to Arcturus\" that's a mix of infrared and blue.",
"str": "dolm goblin fruit"
},
"description": "This teardrop-shaped goblin fruit hurts to look at. Sometimes it's a dark blue, sometimes it's a feverish red, and sometimes it's a mix of the two that you would previously have sworn could not exist. It smells faintly peppery with a hint of lemon.",
"copy-from": "goblin_fruit_abstract",
"comestible_type": "FOOD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,7 @@
{
"id": "arvore_roots_spell",
"type": "SPELL",
"name": "Hungry Thirsty Roots",
"//~": "The name is a reference to the poem \"Goblin Market\" by Christina Rossetti.",
"name": { "//~": "The name is a reference to the poem \"Goblin Market\" by Christina Rossetti.", "str": "Hungry Thirsty Roots" },
"//": "Experience with the druid spell Vegetative Grasp shows that at high levels it's a horde-killer with a single cast, so this is a greatly toned-down version with less predictability.",
"description": "Your command over plants allows you to call forth roots from the earth to clutch and grasp at your enemies.",
"valid_targets": [ "hostile", "ground" ],
Expand Down
Loading

0 comments on commit 32f03ab

Please sign in to comment.