Hi, I've been looking for a script that allows equipment to level up, but I couldn't find any that were quite right. The kind of levelling I was thinking of is more like combining an item with a piece of equipment, and then the equipment is replaced with another one in the database (which I've set up to be the equipment's next level).
I basically want a script that allows the player to select equipment from the menu and, if the player has the correct item in their inventory, the piece of equipment will level up.
It would go something like:
(edit: If possible, I'd also like the upgrades to cost money)
- Player selects a piece of equipment
- Prompt appears "Level Up? (-1 item x)" and choices appear "Yes / No"
when no: cancels selection.
when yes: checks if item x is in inventory
if there is an item x: removes 1 item x from inventory, replaces equipment with next one in database.
Plays sound effect (equip3) and a message appears "equipment y levelled up!"
if there isn't an item x: message appears "This equipment requires item x to level up."
If a piece of equipment can't level up, it's name would be greyed out and pressing spacebar (or enter, Z, whatever) on it won't do anything.
I was thinking this would be done through adding notetags to the equipment in the database
e.g. "level up requires: x" would mean the equipment can level up but item x needs to be in the inventory.
Scripts I'm using:
Yanfly's Item menu: https://github.com/Archeia/YEARepo/tree/master/Menu
Yanfly's Equip Engine: https://github.com/Archeia/YEARepo/tree/master/Gameplay
Note that Yanfly's site is experiencing problems so the above was set up. The scripts I'm using should be the first ones on the page.
Thank you for any help
I basically want a script that allows the player to select equipment from the menu and, if the player has the correct item in their inventory, the piece of equipment will level up.
It would go something like:
(edit: If possible, I'd also like the upgrades to cost money)
- Player selects a piece of equipment
- Prompt appears "Level Up? (-1 item x)" and choices appear "Yes / No"
when yes: checks if item x is in inventory
if there is an item x: removes 1 item x from inventory, replaces equipment with next one in database.
Plays sound effect (equip3) and a message appears "equipment y levelled up!"
If a piece of equipment can't level up, it's name would be greyed out and pressing spacebar (or enter, Z, whatever) on it won't do anything.
I was thinking this would be done through adding notetags to the equipment in the database
e.g. "level up requires: x" would mean the equipment can level up but item x needs to be in the inventory.
Scripts I'm using:
Yanfly's Item menu: https://github.com/Archeia/YEARepo/tree/master/Menu
Yanfly's Equip Engine: https://github.com/Archeia/YEARepo/tree/master/Gameplay
Note that Yanfly's site is experiencing problems so the above was set up. The scripts I'm using should be the first ones on the page.
Thank you for any help
Last edited by a moderator:
