Hi. I had a problem with the "Blackmorning Shop Core" script. I also have installed the "VE - Materia system" script, so the problem was that the in-game shop only allowed me to sell 4 categories of items: (Item, Weapon, Ring and Key Item). That is, I could not sell the Materia.
I recently learned about ChatGPT Artificial Intelligence (https://chat.openai.com/chat) so I pasted the Blackmorning script to see if it could help me modify it myself. The AI recognized the script perfectly, so I decided to ask it directly to modify the script for me. And it worked.
I am very impressed. This is an amazing tool and opens a lot of possibilities. Here are some screenshots (in spanish). Text says: "When I hit "Sell", four categories appear: Objects, weapon, ring and key object. I would like to modify those categories for another four: Objects, Weapons, Accessories and Materia"
Then I edited Blackmorning Shop core Script and pasted the IA's code at the end, and ¡it works! (second screenshot)
IA said:
"To modify the categories that appear in the sale window, you must edit the makeItemList function in the script. The makeItemList function is responsible for generating the list of items that can be sold in the store. In that function, you must add a condition for each of the new categories that you want to display in the sale window.
For example, if you want to display a category called "Materia", you would add a new condition in the makeItemList function that checks if the object is of type "Materia". The function would look like this: -CODE-"
And, as you can see, it works perfectly.
I recently learned about ChatGPT Artificial Intelligence (https://chat.openai.com/chat) so I pasted the Blackmorning script to see if it could help me modify it myself. The AI recognized the script perfectly, so I decided to ask it directly to modify the script for me. And it worked.
I am very impressed. This is an amazing tool and opens a lot of possibilities. Here are some screenshots (in spanish). Text says: "When I hit "Sell", four categories appear: Objects, weapon, ring and key object. I would like to modify those categories for another four: Objects, Weapons, Accessories and Materia"
Then I edited Blackmorning Shop core Script and pasted the IA's code at the end, and ¡it works! (second screenshot)
IA said:
"To modify the categories that appear in the sale window, you must edit the makeItemList function in the script. The makeItemList function is responsible for generating the list of items that can be sold in the store. In that function, you must add a condition for each of the new categories that you want to display in the sale window.
For example, if you want to display a category called "Materia", you would add a new condition in the makeItemList function that checks if the object is of type "Materia". The function would look like this: -CODE-"
And, as you can see, it works perfectly.