CGMV Encyclopedia w/ Bestiary

OK great. Thank you!
@Vergel_Nikolai Pinging you to let you know that I have updated this to 1.8 with the following fixes:

Version 1.8:
- Fixed spacing issue when currency unit began with a space
- Fixed bug with description beginning new line too early when description contained newline character

However while I was able to reproduce your issue with the weird space in the description, I could only do so with a space on the end of the first line before the newline character. Just remove the space at the end of your potion description's first line (after the word Herb.) While investigating this I found that it was not properly recognizing the newline character so that has also been fixed, but I don't think I should start removing user-inputted spaces in the middle of descriptions as that could lead to other spacing issues. I have tested with your currency unit and description and found it to be working as expected with the changes I have made, but let me know if you find any other areas that I may have missed.
tempEncyclopedia.png
:
Amazing! It fixed my problem. I even tested my other items with the same 2 lines and they appear just nice! Thank you 10x!
Great plugin! Is it possible to make compatibility patches for YEP_X_AnimatedSVEnemies? All my enemies use SV battle maps. . . So their profile has no images. . . 😮
@41728280 why not make static enemies for those? it wont be an easy adding for this
Animated SV Enemies.
@ShadowDragon
I don't like static enemies very much, they don't seem to have vitality, and how to do the action sequence?
It would be great if the static picture set in the editor can be displayed in the enemy profile, it does not need to be dynamic
@41728280 I am not too familiar with how that plugin works, but do you mean the enemy in the built-in database has no image? If so, and if the plugin does not use the built-in enemy image, you could just assign it an image anyway which would display in the bestiary. Supporting animated enemies is not something trivial and since I am mostly focused on MZ I do not know when I would have time to add that.
@41728280 I mean, if you have animated SV battler slime, add static slime battler
similair to the aniamted one.

than you can just manually add that image to the bestiary with the the data's.
I dont say, use static battlers, but use static battlers to add that are found.

those are 2 very different things.
That is a great option. You could probably just replace the reference image for your SV Battler with the static one in your files and it'll appear as that image. I too ask for this fix in a way while at the same time I could just do what I mentioned. However, I do have enemies that use the same SV battler but only different weapons and skills. Like I can have the Lamia battler be for both the Naga Warrior and Naga Ranger enemies with SV battler. But the static battler has a sword and the Naga Ranger has a bow. Ah well, I'll just wait 'til I get that drawing pad someday and I'll draw my own static battlers.
@casper667 @ShadowDragon
I mean, when using yanfly's SV battle sprite plug-in, the Bestiary category of the encyclopedia does not automatically read the enemy's image in the data.

This is our normal setting. The encyclopedia database can be displayed normally when the SV battle sprite map is not used.
slm.png
no.png

1.png


After enabling yanfly's SV plug-in, just add <Sideview Battler: X> to the enemy notes. No need to change the image of the database
note.png
2.png

Then the encyclopedia can no longer display images of enemies.
22.png

What I want is to add compatibility. Even using SV battle graphs, the encyclopedia can read the static graphs in the data.
You mean, customize a category in the encyclopedia. Then manually add enemy images?
@41728280 I mean the following, you do this for enemies, do the follow,
you can keep the Bestiary or make a setup for the info you display,
THIS WILL TAKE TIME! Because of all the enemies you have, but do the following.

1) place SV Battler (NOT THE FILE) but 1 slime battler from animated slime battler,
enlarge it if you like.

2) uncheck "Bestiary" and create a custom category "Bestiary" or "Monsters" etc.

3) fill out the data you want to see (make setup) so you can copy paste the information
so you have little to change, numbers and sketch (you can rename this as well).

4) than when you battle an enemy and use: CGMVEncyclopedia Discover [symbol] [id]
example: CGMVEncyclopedia Discover Monsters 4.

you can avoid using a conditional brance, not sure if selfswitch will work, but even
if it reads again, it wont be added a 2nd time anyway 🙂 but this will work.

a fix for this will be harder, because sv battlers arent in the enemies folder where
I think the enemies is read from.
@ShadowDragon
Yes, I understand what you mean. But it would be great if the encyclopedia could support it.:LZSrasp:
Maybe I just need to disable the Bestiary class and add another monster book plugin. If I customize the category, it’s too much work to build wheels from scratch, I plan hundreds of enemies 😮
Easy Add if you copy paste, the first, and tiny quick edits of the rest,
I can try to figure it out for you for a compitable patch or tiny addon for you,
but I make no promises while I'm still learning, and I know Animated SVEnemies
only by name.

you can also create a new thread to see if anyone can create a addon for you
to make this work otherwise. (for me, it takes time and a tiny busy atm).
@ShadowDragon
Thanks, no more. 👍I have a monster book AB_EnemyBook that can display SV, and it does not conflict with the encyclopedia. I just want to streamline the plugins, I use too many plugins.
If casper667 can add compatibility, then I won't use this book.
Maybe I can use it as a monster book, and then use the encyclopedia as other illustrations. At most, add one more option to the main menu. Although I don’t like too many options, it’s easier than repeating the work.😅
I love this plugin, thank you!

Is it possible to remove the "Description:" and "Sketch:" text on custom entries, while of course, retaining the actual description and sketch?
@jamiebrownhill it is possible if you dont want those, but it require editing the plugin.
it wont be that hard to do, but it will remove the sketch name of EACH custom command
you have by than, I can fix this for you. but it require a tiny modification to do so.
Thank you! Yeah I'm perfectly happy with removing them for every command. I need all the space in the window I can get!
@jamiebrownhill this is something easy I can add in for the next version

@41728280 I went and downloaded the plugin, it seems to remove the default enemy image from the enemies.json file when loaded. You could try commenting out line 1976 of the YEP_X_AnimatedSVEnemies plugin
Code:
obj.battlerName = '';

change this to

//obj.battlerName = '';
(and additionally the next line as well if you want the enemy image hue to display correctly in the encyclopedia) and then the sketch will show as expected in the encyclopedia bestiary, but I am not sure if that would break anything in Yanfly's plugin. If that breaks his plugin I can look into adding special checks for if this plugin is imported, but it's not something that simple to do as I would need to look into where he is getting the image from as it also seems to be a separate folder instead of enemies or sv_enemies and a different variable name.
I tried it. This will make Yanfly's SV plug-in read the original static combat image. That is, the image set in the database. This makes the SV plugin useless. . .
Yes, the folder where the battle image needed by yanfly's SV plug-in is placed is sv_actors, and he reads the image from this folder
Maybe you can add a judgment function. If you import yanfly's SV plug-in, the folder where the encyclopedia reads the image is also sv_actors
If so, even if the encyclopedia does not read SV, let us manually copy the static image of the same name into this folder, it will be much easier.
Of course, I don't understand the code, I hope it won't be too difficult!
😩
@jamiebrownhill I made the edits for you, and is sended in PM, I hope it will
work out for you, I didn't test it, but it shouldn't crash either.

let me know if it does 🙂

Original thread: https://forums.rpgmakerweb.com/threads/cgmv-encyclopedia-w-bestiary.93854/