Hello, I'm new to creating threads, so I hope I'm not posting in the wrong section.
Im having a problem with the Customizable Item Menu by Modern Algebra.
Link to Script Explanation Page
Link to Script on Pastebin
I want to add two item categories to the Item Menu. I followed the instructions of the script as much as I could, however when I run a play test I get a NoMethodError.
The game starts, the main menu opens, the item menu opens. It shows the icons for the two item categories I added, but the moment I move the cursor to either of the two item categories the game crashes and I get these messages:
Script 'custom item menu' line 650: NoMethodError ocurred.
Undefined method 'ores' for Vocab:Module
Script 'custom item menu' line 650: NoMethodError ocurred.
Undefined method 'souls' for Vocab:Module
It looks like this
This is what line 650 of the script looks like
I'm pretty sure the error is my fault. I think there's an instruction I didn't understand well or didn't follow correctly.
The problem is my lack of scripting knowledge won't allow me to understand what the error means and what part of my input into the script is causing the error.
There's a section in the instructions that says:
(...) all you need to do is first create a symbol for the category and add it to the array below. This can be anything as long as it is unique and in the format:
:unique
The example given is custom_categories: [:item, 😛otion, :weapon, :armor, :key_item]
The array of categories for what I want would be something like [:item, :weapon, :armor, :key_item, 😮res, :souls]
I'm unsure whether this is related to the problem, but when the instructions say "create a symbol" the symbol is the word that follows the colon (like "😛otion")? Or is it something else?
This is what my script looks like
Sorry for the long post but I hope the information provided is a good start to find the root of the problem or a solution.
Any help or guidance will be greatly appreciated.
Thank you for your time.
Im having a problem with the Customizable Item Menu by Modern Algebra.
Link to Script Explanation Page
Link to Script on Pastebin
I want to add two item categories to the Item Menu. I followed the instructions of the script as much as I could, however when I run a play test I get a NoMethodError.
The game starts, the main menu opens, the item menu opens. It shows the icons for the two item categories I added, but the moment I move the cursor to either of the two item categories the game crashes and I get these messages:
Script 'custom item menu' line 650: NoMethodError ocurred.
Undefined method 'ores' for Vocab:Module
Script 'custom item menu' line 650: NoMethodError ocurred.
Undefined method 'souls' for Vocab:Module
It looks like this
This is what line 650 of the script looks like
I'm pretty sure the error is my fault. I think there's an instruction I didn't understand well or didn't follow correctly.
The problem is my lack of scripting knowledge won't allow me to understand what the error means and what part of my input into the script is causing the error.
There's a section in the instructions that says:
(...) all you need to do is first create a symbol for the category and add it to the array below. This can be anything as long as it is unique and in the format:
:unique
The example given is custom_categories: [:item, 😛otion, :weapon, :armor, :key_item]
The array of categories for what I want would be something like [:item, :weapon, :armor, :key_item, 😮res, :souls]
I'm unsure whether this is related to the problem, but when the instructions say "create a symbol" the symbol is the word that follows the colon (like "😛otion")? Or is it something else?
This is what my script looks like
Sorry for the long post but I hope the information provided is a good start to find the root of the problem or a solution.
Any help or guidance will be greatly appreciated.
Thank you for your time.