じ☆ve冰风 发表于 前天 14:33

AktorEkuip VX

AktorEkuip VX

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 RMVX port of EkuipFeatures ACE, even if both systems have pretty much nothing in common.

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!

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


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


Heroes, listen to me now!
Behave decently or face the consequences of your actions in no time!​

Guys, it is also possible to restore them at any given time.


List of Old Script Calls

                Ruby:        
# - First find an Actor - 2 Methods:
# actor = $game_party.members
# actor = $game_actors

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

# - Enable an Actor's Ability to Equip more Weapons or Armors
# actor.enable_weapons = false
# actor.enable_armors = 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!


List of New Script Calls

                Ruby:        
# - 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!


DOWNLOAD DEMO​

Terms & Conditions

Free for use in any game.

Include my nickname in your game credits.

Don't adopt stay cats.

That's it!



本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/aktorekuip-vx.157424/
页: [1]
查看完整版本: AktorEkuip VX