Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # ** Victor Engine - Actors Battlers Add-on [Armor NoteTags]
- #------------------------------------------------------------------------------
- # Author : ShadowLurk
- #------------------------------------------------------------------------------
- # Actors Battler Armor note tags:
- # Tags to be used on the Armors note box in the database
- #
- # <battler name: x>
- # This tag allows to set the initial battler graphic filename for the actor.
- # x : battler graphic filename
- #
- # <battler hue: x>
- # This tag allows to set the initial battler graphic hur for the actor.
- # x : battler graphic hue (0-360)
- #
- #------------------------------------------------------------------------------
- class Game_Actor < Game_Battler
- alias :change_equip_ve_ab_x :change_equip
- def change_equip(*args)
- change_equip_ve_ab_x(*args)
- self.battler_name = actor_battler_name
- armors.each {|armor|
- if armor.note =~ /<BATTLER NAME: ([^><]*)>/i
- self.battler_name = $1.to_s
- end
- if armor.note =~ /<BATTLER HUE: ([^><]*)>/i
- self.battler_hue = $1.to_i
- end
- }
- end
- end
RAW Paste Data