Jump to content
Rpg²S Forum

LordOfTheTitans

Utenti
  • Posts

    480
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by LordOfTheTitans

  1. per difenderci dall'invasione conigliesca e dal successivo sterminio della razza umana (e volpina) è il momento di attuare il mio piano oscuro, muahahahahah.

    Wikipedia:Lo scopo dell'addomesticamento era di sfruttare questi animali per la caccia, in particolare al coniglio,

     

     

    http://i61.tinypic.com/2zqqvb4.jpg

     

    i nostri furetti mutanti ci difenderanno dai conigli assassini.

  2. sostituisci il contenuto dello script Window_status con questo:

     

    #==============================================================================
    # ** Window_Status
    #------------------------------------------------------------------------------
    # This window displays full status specs on the status screen.
    #==============================================================================

    class Window_Status < Window_Selectable
    #--------------------------------------------------------------------------
    # * Object Initialization
    #--------------------------------------------------------------------------
    def initialize(actor)
    super(0, 0, Graphics.width, Graphics.height)
    @actor = actor
    refresh
    activate
    end
    #--------------------------------------------------------------------------
    # * Set Actor
    #--------------------------------------------------------------------------
    def actor=(actor)
    return if @actor == actor
    @actor = actor
    refresh
    end
    #--------------------------------------------------------------------------
    # * Refresh
    #--------------------------------------------------------------------------
    def refresh
    contents.clear
    draw_block1 (line_height * 0)
    draw_horz_line(line_height * 1)
    draw_block2 (line_height * 2)
    draw_horz_line(line_height * 6)
    draw_block3 (line_height * 7)
    draw_horz_line(line_height * 13)
    draw_block4 (line_height * 14)
    end
    #--------------------------------------------------------------------------
    # * Draw Block 1
    #--------------------------------------------------------------------------
    def draw_block1(y)
    draw_actor_name(@actor, 4, y)
    draw_actor_nickname(@actor, 288, y)
    end
    #--------------------------------------------------------------------------
    # * Draw Block 2
    #--------------------------------------------------------------------------
    def draw_block2(y)
    draw_actor_face(@actor, 8, y)
    draw_basic_info(136, y)
    end
    #--------------------------------------------------------------------------
    # * Draw Block 3
    #--------------------------------------------------------------------------
    def draw_block3(y)
    draw_equipments(288, y)
    end
    #--------------------------------------------------------------------------
    # * Draw Block 4
    #--------------------------------------------------------------------------
    def draw_block4(y)
    draw_description(4, y)
    end
    #--------------------------------------------------------------------------
    # * Draw Horizontal Line
    #--------------------------------------------------------------------------
    def draw_horz_line(y)
    line_y = y + line_height / 2 - 1
    contents.fill_rect(0, line_y, contents_width, 2, line_color)
    end
    #--------------------------------------------------------------------------
    # * Get Color of Horizontal Line
    #--------------------------------------------------------------------------
    def line_color
    color = normal_color
    color.alpha = 48
    color
    end
    #--------------------------------------------------------------------------
    # * Draw Basic Information
    #--------------------------------------------------------------------------
    def draw_basic_info(x, y)
    draw_actor_icons(@actor, x, y + line_height * 1)
    draw_actor_hp(@actor, x, y + line_height * 2)
    end
    #--------------------------------------------------------------------------
    # * Draw Experience Information
    #--------------------------------------------------------------------------
    def draw_exp_info(x, y)
    s1 = @actor.max_level? ? "-------" : @actor.exp
    s2 = @actor.max_level? ? "-------" : @actor.next_level_exp - @actor.exp
    s_next = sprintf(Vocab::ExpNext, Vocab::level)
    change_color(system_color)
    draw_text(x, y + line_height * 0, 180, line_height, Vocab::ExpTotal)
    draw_text(x, y + line_height * 2, 180, line_height, s_next)
    change_color(normal_color)
    draw_text(x, y + line_height * 1, 180, line_height, s1, 2)
    draw_text(x, y + line_height * 3, 180, line_height, s2, 2)
    end
    #--------------------------------------------------------------------------
    # * Draw Equipment
    #--------------------------------------------------------------------------
    def draw_equipments(x, y)
    @actor.equips.each_with_index do |item, i|
    draw_item_name(item, x, y + line_height * i)
    end
    end
    #--------------------------------------------------------------------------
    # * Draw Description
    #--------------------------------------------------------------------------
    def draw_description(x, y)
    draw_text_ex(x, y, @actor.description)
    end
    end

     

    e cambia il contenuto di Window_MenuStatus con questo

     

    #==============================================================================
    # ** Window_MenuStatus
    #------------------------------------------------------------------------------
    # This window displays party member status on the menu screen.
    #==============================================================================

    class Window_MenuStatus < Window_Selectable
    #--------------------------------------------------------------------------
    # * Public Instance Variables
    #--------------------------------------------------------------------------
    attr_reader :pending_index # Pending position (for formation)
    #--------------------------------------------------------------------------
    # * Object Initialization
    #--------------------------------------------------------------------------
    def initialize(x, y)
    super(x, y, window_width, window_height)
    @pending_index = -1
    refresh
    end
    #--------------------------------------------------------------------------
    # * Get Window Width
    #--------------------------------------------------------------------------
    def window_width
    Graphics.width - 160
    end
    #--------------------------------------------------------------------------
    # * Get Window Height
    #--------------------------------------------------------------------------
    def window_height
    Graphics.height
    end
    #--------------------------------------------------------------------------
    # * Get Number of Items
    #--------------------------------------------------------------------------
    def item_max
    $game_party.members.size
    end
    #--------------------------------------------------------------------------
    # * Get Item Height
    #--------------------------------------------------------------------------
    def item_height
    (height - standard_padding * 2) / 4
    end
    #--------------------------------------------------------------------------
    # * Draw Item
    #--------------------------------------------------------------------------
    def draw_item(index)
    actor = $game_party.members[index]
    enabled = $game_party.battle_members.include?(actor)
    rect = item_rect(index)
    draw_item_background(index)
    draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
    draw_actor_name(actor, rect.x + 108, rect.y + line_height / 2)
    draw_actor_hp(actor, rect.x + 208, rect.y + line_height / 2)
    end
    #--------------------------------------------------------------------------
    # * Draw Background for Item
    #--------------------------------------------------------------------------
    def draw_item_background(index)
    if index == @pending_index
    contents.fill_rect(item_rect(index), pending_color)
    end
    end
    #--------------------------------------------------------------------------
    # * Processing When OK Button Is Pressed
    #--------------------------------------------------------------------------
    def process_ok
    super
    $game_party.menu_actor = $game_party.members[index]
    end
    #--------------------------------------------------------------------------
    # * Restore Previous Selection Position
    #--------------------------------------------------------------------------
    def select_last
    select($game_party.menu_actor.index || 0)
    end
    #--------------------------------------------------------------------------
    # * Set Pending Position (for Formation)
    #--------------------------------------------------------------------------
    def pending_index=(index)
    last_pending_index = @pending_index
    @pending_index = index
    redraw_item(@pending_index)
    redraw_item(last_pending_index)
    end
    end

     

×
×
  • Create New...