Save-Point
AktorEkuip VX - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: AktorEkuip VX (/thread-9893.html)



AktorEkuip VX - kyonides - 10-04-2024

AktorEkuip VX
Version 1.2.0

by Kyonides

Introduction

My scriptlet allows you to add more weapons or armors to a Hero's official lists during gameplay.
This can be enabled from the very beginning as well.

You see, there are 2 Constants defined in the AktorEkuip module below that will let you set a list of Actors that might get Extra Equippable Weapons or Armors from the very beginning.

It does not specify which Weapons or Armors at all. That will be setup dynamically during your game session.

It also features 2 special flags or Script Calls to enable or disable those lists for any given Actor at any time during gameplay.

Side Note

This scriptlet could be considered the RMXP or RMVX port of EkuipFeatures ACE, even if both systems have pretty much nothing in common. That's true for RGSS 1 and 2 because they have no features array to handle it the strange way RGSS 3 does.

Settings

There are 2 Constants in the AktorEkuip module, namely:
  • ACTORS_WITH_EXTRA_WEAPONS
  • ACTORS_WITH_EXTRA_ARMORS

Just add Actor ID's to any of them as deemed necessary and that's it! Grinning

What happens to all the other actors? Confused
Nothing at all, guys! Laughing

Code:
module AktorEkuip
  # some comment here
  ACTORS_WITH_EXTRA_WEAPONS = []
  ACTORS_WITH_EXTRA_ARMORS  = []

List of Script Calls

Original Calls
Code:
# - First find an Actor - 2 Methods:
# actor = $game_party.actors[Index] or $game_party.members[Index]
# actor = $game_actors[ActorID]

# - Enable or Disable an Actor's Ability to Equip more Weapons or Armors
# actor.enable_weapons = true  or  false
# actor.enable_armors = true  or  false

# - Weapons List - Add or Remove or Clear a WeaponID
# actor.increase_weapon_list(WeaponID)
# actor.reduce_weapon_list(WeaponID)
# actor.clear_weapon_list!

# - Armors List  - Add or Remove or Clear a ArmorID
# actor.increase_armor_list(ArmorID)
# actor.reduce_armor_list(ArmorID)
# actor.clear_armor_list!

New Calls
Code:
# - Delist a Hero's Class Weapon or Armor
# actor.delist_weapon(WeaponID)
# actor.delist_armor(WeaponID)

# - Delist All of the Hero's Class Weapon or Armor
# actor.delist_weapons!
# actor.delist_armors!

# - Restore a Hero's Class Weaponset or Armorset or Both of them
# actor.restore_weapon_set!
# actor.restore_armor_set!
# actor.restore_class_sets!

Newer Calls
Code:
# - Create Custom Class Weapons or Armors Exclusions
# actor.add_exclude_weapons(WeaponID1, etc.)
# actor.add_exclude_armors(ArmorsID1, etc.)

# - Clear Custom Class Weapons or Armors Exclusions
# actor.clear_exclude_weapons!
# actor.clear_exclude_armors!

Newest Calls
Code:
# - Bless or Don't Bless an Actor!
# actor.increase_bless(Number)
# actor.decrease_bless(Number)

# - Add Blessed Weapon(s) or Armor(s)
# actor.bless_weapons(WeaponID1, etc.)
# actor.bless_armors(ArmorID, etc.)

# - Remove Blessed Weapon or Armor
# actor.unbless_weapon(WeaponID)
# actor.unbless_armor(ArmorID)

# - Set Bless HP Loss or SP/MP Loss per BlessPoints
# actor.set_bless_rate(:hp, HP, BlessPoints)
# actor.set_bless_rate(:sp, SP, BlessPoints)
# actor.set_bless_rate(:mp, MP, BlessPoints)


Terms & Conditions

Free for use in any game.
Include my nickname in your game credits.
Don't adopt stay cats. Tongue sticking out
That's it! Grinning