Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

HBGames

This might just be a simple matter of adding skill names to items, but...

Where in what script would I be able to add options to shop processing? I want to make skill shops and by default it gives you "Item," "Weapon," and "Armor." I've searched through the scripts (but I'm a MAJOR beginner) and all I could figure out was that possibly adding Skill (or whatever and all the accoutrements) to

Code:
      # Get items in possession count

      case @item

      when RPG::Item

        number = $game_party.item_number(@item.id)

      when RPG::Weapon

        number = $game_party.weapon_number(@item.id)

      when RPG::Armor

        number = $game_party.armor_number(@item.id)

      end
in Scene_Shop. But then I figured, no, that wouldn't quite work, because that's just getting the item, not selecting it.

Do I just need a whole new script for this? I'd rather just add-on to existing scripts, but I'll do what I have to.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top