Super Simple Equipment Leveling

Petite Elite

Veteran
Veteran
Joined
Jan 1, 2013
Messages
128
Reaction score
91
First Language
English
Primarily Uses
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 :)
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
What if you need multiple items to level up.
 
Last edited by a moderator:

Petite Elite

Veteran
Veteran
Joined
Jan 1, 2013
Messages
128
Reaction score
91
First Language
English
Primarily Uses
I'm never going to use more than one item to level up, but I guess the notetag would be: "level up requires: x, y, z..."

Or even "level up requires: x, n" where "n" is the amount of item x required and the notetag would be added more times if more items are required. (But I'm not sure how to script so I guess 'use your best judgement' might be a better answer)

Again, I'm only ever going to be using one item for each equipment (e.g. all of the equipment in the "slime" series (e.g. the slime cloak, as shown in the pic) would require one Slime Jewel to ascend to the next level).

However, I guess if multiple people wanted to use this script then it might suit more people to have the option of setting multiple required items.
 
Last edited by a moderator:

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
653
Reaction score
391
First Language
English
Primarily Uses
N/A
Can't you just use a typical item combination script for this? There's definitely one somewhere. I tested it myself. I'll see if I can find it again.
 

Petite Elite

Veteran
Veteran
Joined
Jan 1, 2013
Messages
128
Reaction score
91
First Language
English
Primarily Uses
Yeah, that's what my first thought was, but I could only find ones that operated in a separate menu. 

Plus, it would look it a bit odd to show multiple recipes for levelling up a single piece of equipment.

But a pre-existing item combination script will be my backup in case this doesn't get much attention.
 
Last edited by a moderator:

Petite Elite

Veteran
Veteran
Joined
Jan 1, 2013
Messages
128
Reaction score
91
First Language
English
Primarily Uses
Bump + If possible, I'd also like upgrades to cost money.
 
Last edited by a moderator:

Petite Elite

Veteran
Veteran
Joined
Jan 1, 2013
Messages
128
Reaction score
91
First Language
English
Primarily Uses
this script might help you out
Thank you, Venka :D . That script will do just fine.

Edit: Nevermind, it doesn't seem to be compatible with Yanfly's Equip Engine...
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top