• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource [Gen 8/9 Like] Item Find Description 2.1

julieharu

Nightmare Dreamer
Member
Joined
Nov 17, 2020
Posts
26
Pronouns
She / Her
julieharu submitted a new resource:

[Gen 8/9 Like] Item Find Description - A simple script that provides an Item Description when you find the Item for the first time.

As my first contribuition for the community, I would like to share an update to this simple, but lovely old script made by Boonzeet.

It simply shows a message showing the Item Name, Item Icon and Item Description when you find the item for the first time, similar to Gen 8 and 9 games.

itemdesc.jpg


To Install this Plugin, just drag and drop the folder inside .rar file inside the...

Read more about this resource...
 
What's changed? Been using the old one in v21 for a while now

The overrides methods pbItemBall and pbReceiveItem, they changed a lot since v19, and I've added an override to pbPickBerry to ensure that he plugin will display the message the first time the player pick a berry from berrytree as well.

The Constructor of ItemIconSprite Class changed an attr too, a small changed was needed to plugin not cause a crash.
Before, the plugin passed -1 as the initial attribute of the item, now it passes nil.
 
Hello, I used to use this plugin back before it was updated, and recently updated, but can't seem to get it to work. I have tried a new save file, and messing around with some things to try and fix it, it may be due to some incompatibility, but I can't seem to figure out what. This is the error I am getting.


Ruby:
Expand Collapse Copy
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Script error in event 7 (coords 12,18), map 6 (Route 1)
Exception: NoMethodError
Message: undefined method `register' for nil:NilClass

***Full script:
giveBerryPile
Backtrace:
[Item Find Description] script.rb:168:in `pbItemBall'
[Ned's Custom Stuff] Utils.rb:53:in `block in giveBerryPile'
[Ned's Custom Stuff] Utils.rb:50:in `each'
[Ned's Custom Stuff] Utils.rb:50:in `giveBerryPile'
(eval):1:in `execute_script'
003_Interpreter.rb:138:in `eval'
003_Interpreter.rb:138:in `execute_script'
004_Interpreter_Commands.rb:434:in `command_111'
004_Interpreter_Commands.rb:29:in `execute_command'
003_Interpreter.rb:130:in `block in update'

line 53 in the Utils.rb script is just a pbItemBall
 
Back
Top