MZ External note boxes (but for MZ)?

As per the title, I'm wondering if there's any plugins that allow me to put note tags for things in an external text file, so it's easier for me to read them. However, I haven't been able to find any specifically for MZ, and trying to put FOSSIL in has caused me trouble before with the other plugins I use (mostly VisuStella's).

1692913710633.png


For example, putting a detailed description for the bestiary or having long amounts of code for states/skills in a box this small has made it hard to focus, personally. Is there something available to help with this, or a way to make the game read external files (or maybe even common event stuff like comments/script call boxes, though I'm not sure that's easy) to pull its note tags from otherwise? Thanks in advance. 😴
Not sure if that can help but with a couple of lines from a plugin (maybe even a script call, never tried tho) you can load whatever you want from a personalized JSON
Do you have any idea what lines to use? 😅 I've read something about personalized JSONs, but that was for MV...
JavaScript:
 var $dataWhateverNameYouWant = null;
 
 DataManager._databaseFiles.push({name: '$dataWhateverNameYouWant', src: 'YourFile.json'});

After this you will be able to load anything from the JSON using:

$dataWhateverNameYouWant.property

:hwink:

Edit: I forgot to tell thet the JSON need to be in the data folder with the other JSON
Hmm, I see. And how would I use this together with the note boxes? 😴
You could use it for verbose parts like the Lore

JavaScript:
let monsterName = "Monster1";
let monsterLore = $dataCustomData.lore.find(lore => lore.name === monsterName);
let description = monsterLore.description;

< Bestiary Lore >
description
<\ Bestiary Lore >

With the JSON being something like:


JSON:
{
"lore": [
            {
              "name": "Monster1",
              "description": "Description of Monster 1"
            },
            {
              "name": "Monster2",
              "description": "Description of Monster 2"
            }   
        ]
}

Disclaimer, I never worked with JS on noteTags but I noticed you put JS code in it so I'm assuming it's doable
You could use it for verbose parts like the Lore

JavaScript:
let monsterName = "Monster1";
let monsterLore = $dataCustomData.lore.find(lore => lore.name === monsterName);
let description = monsterLore.description;

< Bestiary Lore >
description
<\ Bestiary Lore >

With the JSON being something like:


JSON:
{
"lore": [
            {
              "name": "Monster1",
              "description": "Description of Monster 1"
            },
            {
              "name": "Monster2",
              "description": "Description of Monster 2"
            }  
        ]
}

Disclaimer, I never worked with JS on noteTags but I noticed you put JS code in it so I'm assuming it's doable
That wouldn't work unfortunately. What's in the OP's notetag is a *text code*, not JS code. I think the bestiary lore tag only uses plain text and text codes.
That wouldn't work unfortunately. What's in the OP's notetag is a *text code*, not JS code. I think the bestiary lore tag only uses plain text and text codes.
Ah, that's unfortunate. I've seen the JS Drop bits and I thought JS could function all the way
The setting for JS drops did use code though, it's checking if any member has a certain state in order for something to drop. These are just examples of my note box becoming messy (like the Libra code from before.)
The setting for JS drops did use code though, it's checking if any member has a certain state in order for something to drop. These are just examples of my note box becoming messy (like the Libra code from before.)
Yes, I was referring specifically to the bestiary lore tag.
As per the title, I'm wondering if there's any plugins that allow me to put note tags for things in an external text file, so it's easier for me to read them. However, I haven't been able to find any specifically for MZ, and trying to put FOSSIL in has caused me trouble before with the other plugins I use (mostly VisuStella's).

For example, putting a detailed description for the bestiary or having long amounts of code for states/skills in a box this small has made it hard to focus, personally. Is there something available to help with this, or a way to make the game read external files (or maybe even common event stuff like comments/script call boxes, though I'm not sure that's easy) to pull its note tags from otherwise? Thanks in advance. 😴
I made a plugin for this, so there's a native MZ solution now. Hope it helps!
Aw, that's sweet 😴 This seems like it'll do what I need, so I'll have to try this out. Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/external-note-boxes-but-for-mz.160597/