Equipment Upgrade System by Charlie Fleed, Version 1.2
#54
thank you for your patience Charlie, and sorry i didn't succeed.

i think i have to change things here :

Code:
def refresh
    if self.contents != nil
      self.contents.dispose
      self.contents = nil
    end
    @data = []
    # Add equippable weapons
     if @equip_type == 0 or (@equip_type == 1 and @actor.two_swords_style)
      weapon_set = $data_classes[@actor.class_id].weapon_set
      for i in 1...$data_weapons.size
        next if Two_Hands_Weapons.include?(i) and @equip_type == 1
        next if Right_Hand_Weapons.include?(i) and @equip_type == 1
        next if Left_Hand_Weapons.include?(i) and @equip_type == 0
        if $game_party.weapon_number(i) > 0 and weapon_set.include?(i)
          @data.push($data_weapons[i])
        end
        # CHARLIE: add new weapons which cannot be part of the weapon set
        if i > $game_party.max_database_weapon_id
          if $game_party.weapon_number(i) > 0 and weapon_set.include?($data_weapons[i].ref_id)
            @data.push($data_weapons[i])
          end
        end
      end
    end
# Add equippable armor
if @equip_type > 1 or (@equip_type == 1 and not @actor.two_swords_style)
      armor_set = $data_classes[@actor.class_id].armor_set
      for i in 1...$data_armors.size
        if $game_party.armor_number(i) > 0 and armor_set.include?(i)
          if $data_armors[i].type_id == @equip_type
            @data.push($data_armors[i])
          end
        end
        # CHARLIE: add new armors which cannot be part of the armor set
        if i > $game_party.max_database_armor_id
          if $game_party.armor_number(i) > 0 and armor_set.include?($data_armors[i].ref_id)
            if $data_armors[i].kind == @equip_type-1
              @data.push($data_armors[i])
            end
          end
        end
      end
    end
    # Add blank page
    @data.push(nil)unless @actor.lock_equip(@equip_type)
    @item_max = @data.size
    self.contents = Bitmap.new(width - 32, [row_max, 1].max * 32)
    self.opacity = Equip_Window_Opacity
    for i in 0...(@actor.lock_equip(@equip_type) ? @item_max : @item_max - 1)
      draw_item(i)
       end

or in the attached part that is too big for the post.

but i fail to find how to type it. can you advise anything please,
it is really important for me

sorry for inconveniences and thank you


Attached Files
.txt   Charlie_Scene_equip_modif.txt (Size: 11.89 KB / Downloads: 0)
Reply }


Messages In This Thread
Customizable (Enhanced) Equipment by Charlie Fleed, Version 1.0 - by mageone - 11-18-2009, 08:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   ATOA CBS Equipment Set Variables Patch kyonides 0 201 10-14-2024, 12:47 AM
Last Post: kyonides
   The Wanderers: The Customizable Encounters System DerVVulfman 0 264 08-24-2024, 07:12 PM
Last Post: DerVVulfman
   Angie's Equipment Sets DerVVulfman 3 9,483 08-04-2024, 01:44 AM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced DerVVulfman 65 94,819 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,851 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   The Charlie Mini-Map / Dynamic Maps Patch DerVVulfman 2 4,900 03-29-2022, 11:55 PM
Last Post: DerVVulfman
   Charlie's Mini-Map Extended DerVVulfman 16 16,420 09-02-2020, 03:49 AM
Last Post: DerVVulfman
   Commercial System Package DerVVulfman 11 14,323 01-04-2020, 12:37 AM
Last Post: Pelip
   KItemDesc XP Zilsel Version kyonides 4 7,719 12-01-2019, 06:11 AM
Last Post: kyonides
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 255,883 03-02-2019, 04:47 AM
Last Post: dragonprincess44



Users browsing this thread: 29 Guest(s)