The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: paxx0r on May 11, 2007, 04:33:39 PM

Title: [RESOLVED] Changing 'Normal' Status
Post by: paxx0r on May 11, 2007, 04:33:39 PM
If a character has no status ailments, it says [Normal] in the menu. Is there anyway to change it to [Healthy] or something similar?
Title: Re: Changing 'Normal' Status
Post by: Falcon on May 11, 2007, 08:53:24 PM
Check the system tab, if it's anywhere it would be there.
Title: Re: Changing 'Normal' Status
Post by: Kokowam on May 11, 2007, 08:55:18 PM
If it's not, you can go through the scripts and look up "Normal" :P
Title: Re: Changing 'Normal' Status
Post by: SirJackRex on May 11, 2007, 08:57:28 PM
I think I found it some where when I was tweaking stuff in the scripts.

EDIT:

Found it:

Window_Base Line 175

Quote#--------------------------------------------------------------------------
  # * Make State Text String for Drawing
  #     actor       : actor
  #     width       : draw spot width
  #     need_normal : Whether or not [normal] is needed (true / false)
  #--------------------------------------------------------------------------
  def make_battler_state_text(battler, width, need_normal)
    # Get width of brackets
    brackets_width = self.contents.text_size("[]").width
    # Make text string for state names
    text = ""
    for i in battler.states
      if $data_states.rating >= 1
        if text == ""
          text = $data_states.name
        else
          new_text = text + "/" + $data_states.name
          text_width = self.contents.text_size(new_text).width
          if text_width > width - brackets_width
            break
          end
          text = new_text
        end
      end
    end
    # If text string for state names is empty, make it [normal]
    if text == ""
      if need_normal
        text = "[Normal]"
      end
    else
      # Attach brackets
      text = "[" + text + "]"
    end
    # Return completed text string
    return text
  end

So go into Scripts and find Window_Base and then find line 175 and replace Normal with what ever.

I recomend adding [Resolved] to the topic title now.
Title: Re: Changing 'Normal' Status
Post by: Rukishou on May 11, 2007, 10:19:33 PM
Quote from: Mexneto on May 11, 2007, 08:57:28 PM
I recomend adding [Resolved] to the topic title now.

Damn! You came here before me! >_<