Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,005
First Language
Tagalog
Primarily Uses
RMVXA
Basically this very short snippet allows you to show the skill and item list based on the order that you learned the skills (obtained items) instead of the default which uses the database ID to determine sort order.

Script:

class Game_Actor < Game_Battler  def skills    (@skills | added_skills).collect {|id| $data_skills[id] }  endendclass Game_Party < Game_Unitdef items    @items.keys.collect {|id| $data_items[id] }  end def weapons    @weapons.keys.collect {|id| $data_weapons[id] }  end   def armors    @armors.keys.collect {|id| $data_armors[id] }  endend
 

Notes:

 

Obviously really easy to do, so it's free for anyone. I just posted it since I think I saw someone asking about this some time ago and some people might need it.
 
Last edited by a moderator:

Probotector 200X

Probotect and Serve
Veteran
Joined
Mar 14, 2012
Messages
913
Reaction score
168
Primarily Uses
I like cool little scripts like this. This kind of script is perfect for me, because I cannot get a proper order that I like for items and skills.
 

Hakuzen

Villager
Member
Joined
May 19, 2014
Messages
5
Reaction score
2
First Language
English
Primarily Uses
Hello,

I'm trying to use this script with XP and it does not function. I'm assuming this was written for VX/Ace, and was wondering if there was an RMXP equivalent you know of? I would really like to order skills this way, and I haven't been able to find anyone else with a script that does this.
 

crbox

Warper
Member
Joined
Nov 15, 2014
Messages
3
Reaction score
0
First Language
english
Primarily Uses
Where do you put this? It isnt working for me (crashes when starting game)
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,422
First Language
English
Primarily Uses
N/A
Fixed script format, credit Adiktuzmiko.
Code:
class Game_Actor < Game_Battler
  def skills
    (@skills | added_skills).collect {|id| $data_skills[id] }
  end
end
class Game_Party < Game_Unit
  def items
    @items.keys.collect {|id| $data_items[id] }
  end
  def weapons
    @weapons.keys.collect {|id| $data_weapons[id] }
  end
  def armors
    @armors.keys.collect {|id| $data_armors[id] }
  end
end


Reverse order
Code:
class Game_Actor < Game_Battler
  def skills
    (@skills | added_skills).collect {|id| $data_skills[id] }
  end
end
class Game_Party < Game_Unit
  def items
    @items.keys.collect {|id| $data_items[id] }.reverse!
  end
  def weapons
    @weapons.keys.collect {|id| $data_weapons[id] }
  end
  def armors
    @armors.keys.collect {|id| $data_armors[id] }
  end
end
 
Last edited:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,005
First Language
Tagalog
Primarily Uses
RMVXA
Thanks.. forgot I had a script like this xD
 

vivivi91

My faith is for Lord Tachanka !
Member
Joined
Mar 18, 2016
Messages
1
Reaction score
0
First Language
Français/French
Primarily Uses
RMVXA
I have a issue :
Script 'Game_Interpreter' line 450: TypeError occurred.
can't convert String into integer

What can I do for this ? Do I have to change anything ?
(I use Fomar0153's Multiple Inventories)
 

Latest Threads

Latest Posts

Latest Profile Posts

Pretty much stopped posting in the progress thread cuz it feels like talking to the void, lol, so I've just been posting on IG instead. But someone finally liked my post there, lol. Dunno if I'll continue tho. Probably not xD

My game's progressing quite well. Just kinda stuck on mapping right now. Decided to go the side, slightly top down view route. I'm drawing everything from scratch for a personal touch uwu
Stomach isn't feeling too good last time. Perhaps something I ate
Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Tyler.stewart wrote on Cherry's profile.
I was wondering if you've heard anything about the patch that allows you to show text anywhere on the screen utilizing pictures being upgraded to work with the official 2k3 release? Your work with 2k3 is awesome dude, keep it alive. I'm 33 and am still playing with 2k3 largely thanks to your work with the game engine. I appreciate the official patch updates you post. Please continue posting
Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG

Forum statistics

Threads
112,333
Messages
1,067,470
Members
145,973
Latest member
Arcanica
Top