Modifying item description feature/layout question

For most custom scripts, you need to insert them in their own slot below Materials and above Main. Anywhere else and you might cause problems (like what's happening for you now). So to fix your problem, try moving the Word Wrap script there and see if that works.

I get no error message, the script just doesn't work there(also the script in question is def as a module, so I would imagine it belongs in the module section.

To kerbonkin: Oh all custom scripts go there, nomatter what kind of script it?
Yes, the script definitely belongs under Materials. I just tried the script out in a blank project and it worked fine, so I think the problem might be something on your end. Do you have DEFAULT_WORDWRAP set to "true"? Or do you have the message tag "\ww" placed in whatever message box your testing?
Yes, the script definitely belongs under Materials. I just tried the script out in a blank project and it worked fine, so I think the problem might be something on your end. Do you have DEFAULT_WORDWRAP set to "true"? Or do you have the message tag "\ww" placed in whatever message box your testing?
Or do you have the message tag "\ww" placed in whatever message box your testing? I just put jiberist to test it out, so who knows.

Lol I just put real words in, and now it worked(atleast with the reg text box, I'm doubtful the item description box is gonna resize its self/get a scroll bar in game, to fit the added text, we'll see, but the script its self is working the way it was meant to work now atleast).

Thanks alot.
Ah, that makes sense since the script judges different "words" by the spaces between them, so jibberish wouldn't have worked very well if there's no spaces.  🤣

I'm glad you got it figured out, though! As for resizing the actual message box, you'll have to do that in the script editor, as well as rearrange and/or resize all the other windows, too, or else the description window will overlap them. Actually, I think you said earlier that you wanted it to scroll?

...Honestly, I think you should put up a script request for something like this.
Derp, gg.

Nooby mistakes for the loss. Hopefully you got it working fine now.

All custom scripts go below Materials and above Main.

Yea it works now(I'm used to handling code, and the filing of such needs to be put in its specific section, along with the other scripts/code of its kind/file tag, evidently It's different in RPG Maker). Yea the script its self works fine now(its just it wasn't designed to do what I wanted it to do with the item info box, oh well)

Oh ok, glad someone found the problem, thanks.
Many custom scripts may use Modules as a form of defining what "settings" of the script the user can change, which the rest of the script (classes) can refer to and apply.

module Settings #Script users can change these to suit their needs   setting_1 = 5   setting_2 = 10end#DO NOT EDIT PAST THIS POINTclass Game_Battler   def thing value = damage      value += Settings::setting_1 value *= Settings::setting_2   endendWell something like that. The modules provided by the main engine are made and used completely differently however. But my example is what most custom scripts look like. (that use modules)

Original thread: https://forums.rpgmakerweb.com/threads/modifying-item-description-feature-layout-question.23134/