KChangeMember XP
Version 1.0.1
by Kyonides​
Introduction
Had you ever needed to let a new hero inherit an old hero's equipment?
Did you ever want to let a newcomer learn some of a former party member's skills?
Well, now this scriptlet will let you do those things with a few simple script calls!
Please read the comments embedded in the script to learn how to use the script calls.
Instructions
Ruby:
# Explanation: :level stands for same level while :equip means same equipment.
# * Script Calls * #
# Let another Party Member inherit the old Party member's equipment
# Optionally he or she can learn some of his or her skills as well.
# succeed_member(OldActorID, NewActorID)
# succeed_member(OldActorID, NewActorID, SkillID1, etc.)
# Replace an Active Party Member (with Actor ID) with a stranger
# change_member(OldActorID, NewActorID)
# Replace an Active Party Member (with n Actor ID) with a stranger with
# additional Options: :level or :equip or both of them
# change_member(OldActorID, NewActorID, Options)
# Optional: Set or Change Language of Error Messages
# @language = :eng (Found in Error module)
# KChange::Error.language = :eng or :esp or :deu or :fra
module KChange
module Member
LEVEL_SYMBOLS = [:level, :nivel, :niveau]
EQUIPMENT_SYMBOLS = [:equip, :equipo, :ausruestung]
end
Examples:
Ruby:
succeed_member(1, 2)
succeed_member(1, 3, 1, 5)
change_member(1, 2, :level, :equip)
DOWNLOAD SCRIPT & DEMO​
Terms & Conditions
Free for use in non commercial games. Contact me if you are going commercial.
Mention me in your game credits!
Do not repost it anywhere else!
Free for use in non commercial games. Contact me if you are going commercial. Mention me in your game credits! Do not repost it anywhere else!