Making an Item called "Glasses of Guilt" and I need help with something.

In the game there will be a gag item called "The Glasses of Guilt" which, when equipped, will give the player an "Observe" option in the battle screen.


When the player selects "Observe," they will get a response from a list of randomly selected responses written for that specific enemy. Like "His mother's illness and immediate death drove him into a life of crime." or "He had to bury his dog yesterday after an arduous battle with heart cancer." So I have a few questions as to how I would write this into the game:


1. Is there a plugin for adding "Observe" as an option into the battle screen?


2. How would I script a randomly selected response when "Observe" is chosen?


3. What would I input in the way of traits in the item database if that would affect anything?
Yes, there is a battle window menu plugin that would let you add the command (or you can script it yourself, it would be like 4 lines)


Then you can just common event the rest using a random number script (so insert script math.random and save it to a var). then use if statements on with text based on what the var is.


I have a similar thing in one of my games that uses random text and such doing essentially that.


You would add a common event to the item that, when equipped, added the new command to the menu (see plugin).
A better way would be to make oberserve just a skill in a new skill type, add skill type and skill by the equipment. That will result in the new skill type being available in the command menu automatically, and have the skill call a common event that randomly selects a show text from a list.


This way you won't need any scripts at all
If you have Yanfly's Weapon Unleash, you could make the glasses to change the Guard command to the Observe one.
@Andar


His idea is best 😀

Original thread: https://forums.rpgmakerweb.com/threads/making-an-item-called-glasses-of-guilt-and-i-need-help-with-something.56855/