ZirconStorms

Veteran
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
111
First Language
English
Primarily Uses
RMVXA
ZS Skills on Status Menu // Forum request. Shows an actor's skills, and an optional toggle feature.

Customization:
  • Adjust the amount of skills shown.
  • Adjust the toggle button + whether or not you wish for toggle to be enabled.
Screenshots:
2.png


Setup:
  • Paste under the Materials slot, above main.
Known issues:
  • Any scripts that don't alias draw_block3(y) as well may not be compatible with this script.
Usage Notes:
  • Don't remove the script's credits or header.
  • Script is allowed for commercial and non-commercial projects.
  • Extra Credits: TOMO, for the skills drawing setup.
Code:
#==============================================================================
#
# ** Title: ZS Skills on Status Menu 1.0
#    Created: August 2019 (forum request)
#    Creator: ZirconStorms
#    Extra Credits: TOMO (tm.lucky-duet.com/viewtopic.php?t=3119)
#
#------------------------------------------------------------------------------
# ** Description: Toggles showing an actor's skills and equipment.
#------------------------------------------------------------------------------
#
# Script is allowed for commercial and non-commercial games.
# Do not remove this script's credits or header.
# In the game's credits or read.me, credit "ZirconStorms". 
# No compatibility fixes will be provided unless frequently asked.
#
#==============================================================================
# Customizable Section Begins Here.
#==============================================================================

module ZSSKILLSONSTATUS
 
  SKILL_LINE_LIMIT = 6
  #The amount of skills you want shown on screen. (One skill per line.)
 
  TOGGLE_FEATURE = false
  #if set to false, you will only be able to see an actor's skills.
 
  TOGGLE_BUTTON = :C
  #The button you want to use to toggle showing equipment and skills.
  #Recommended - :C, :SHIFT
  
end

#==============================================================================
# Customizable Section Ends Here.
#==============================================================================

class Window_Status < Window_Selectable
  #--------------------------------------------------------------------------
  # * Draw Block 3
  #--------------------------------------------------------------------------
  def draw_block3(y)
    draw_parameters(32, y)
    if @drawskills == true
      draw_skills(288,y)
    else
    if ZSSKILLSONSTATUS::TOGGLE_FEATURE == true
      draw_equipments(288, y)
    else
      draw_skills(288,y)
    end
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Skills
  #--------------------------------------------------------------------------
  def draw_skills(x, y)
    @actor.skills.each_with_index do |item, i|
      break if i >= 6
      draw_item_name(item, x, y + line_height * i)
    end
  end
  #--------------------------------------------------------------------------
  # * Update
  #--------------------------------------------------------------------------
  def update
    super
    if Input.trigger?(ZSSKILLSONSTATUS::TOGGLE_BUTTON)
      @drawskills = @drawskills == true ? false : true
      refresh
    end
  end
  #--------------------------------------------------------------------------
end
 
Last edited:

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
256
Reaction score
15
First Language
Portuguese
Primarily Uses
RMVXA
Hey, That was quick this is a great script!!

Unfortunately, I had forgotten about one detail... the status menu has a limit of how many skills are shown!

Perhaps it would be better to display a full window covering the entire status menu in order to show every skill the actor has learned, or maybe being able to scroll that very same skill window with the arrow keys...!

I hope this is not too much work for you. This script is indeed amazing!!
 

Latest Threads

Latest Posts

Latest Profile Posts

Goes looking for assets, ends up creating memes. I have priorities?
i'm working on finishing an old game in vx ace (the first game i tried to make in vx ace), and it's making me realize how many things i've come to take for granted in mv (like the additional BCDE tile layer and the plugin manager).
It's ma birfday! Gonna chill and work on my project, editing some icons for my compass rn. Later It's pizza and a movie, maybe Blazing Saddles...
I really hope Google stadia/Amazon luna become successful household "consoles" in the future only because I could see it being 1000x easier to get RPG Maker and other indie games on their platforms & if so I PRAY they have gate keepers to keep half baked indie games out of the mix so they don't end up like steam/itch.io with 1000s of incomplete RM projects that continue to give our community a bad stigma.

Forum statistics

Threads
109,017
Messages
1,041,291
Members
141,485
Latest member
Atomspliter
Top