Move the skills to the item menu

DorFenn

Villager
Member
Joined
Sep 20, 2016
Messages
6
Reaction score
0
First Language
Spanish
Primarily Uses
Hello everyone! You see, I am creating a menu for the SaS IV (Or Saphire Action System) battle system, and the problem is that when creating the item window, these are not shown but the skill is. It is very problematic since I have tried to add the skills as an item in the categories, but I cannot get the skill to show next to the items in any way.

I put the "item.is_a?(RPG:Skill) on the category

Ruby:
  def include?(item)
    case @category
    when :item
      item.is_a?(RPG::Item) && !item.key_item? or item.is_a?(RPG::Weapon) or item.is_a?(RPG::Skill)
    when :key_item
      item.is_a?(RPG::Item) && item.key_item?
    else
      false
    end
  end
This is the list created, the original is after the "Else". I have the problem that it shows me only the skills.

Ruby:
  def make_item_list
    if skill = $game_party.members.any? { |actor| actor.skills.include?($data_skills[9]) }
    @data = $game_party.all_items.select {|item| include?(item) }
    @data = $data_skills.select {|skill| usable?(skill) }
    @data.push(nil) if include?(nil)
  else
    @data = $game_party.all_items.select {|item| include?(item) }
    @data.push(nil) if include?(nil)   
  end
end
I would greatly appreciate if you could teach me a way to display Skills and Items within the same category.

I've only made these changes to the menu, so I can't find anything else to clarify.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,356
Members
137,802
Latest member
rencarbali
Top