Tsukihime 1,489 Posted October 20, 2012 (edited) Feature: Actor Requirement -Tsukihime This script allows you to set actor requirements for weapons and armors. Download Script: http://db.tt/Q0t35QUJ Required: Feature Manager Usage Tag weapons/armors with <ft: actor_req id> Where `id` is the actor ID in the database. The requirement means that only specific actors may equip it. Your actor must be able to equip the type of weapon/armor. Edited October 20, 2012 by Tsukihime 1 Share this post Link to post Share on other sites
Ata Nacius 3 Posted March 29, 2015 Hello Tsukihime, I think (I think heh..) you have made an error in your script. Assuming our command as NOTETAG must be: actor_req..Why is there 'class_req' in this block of ruby code: alias :ft_actor_req_armor_ok? :feature_equip_armor_ok? def feature_equip_armor_ok?(item) set = item_features_set(item, :class_req, 0) ## HERE return false if !(set.empty? || set.include?(@actor_id)) ft_actor_req_armor_ok?(item) end So.. This is why it seems the right code should be: alias :ft_actor_req_armor_ok? :feature_equip_armor_ok? def feature_equip_armor_ok?(item) set = item_features_set(item, :actor_req, 0) return false if !(set.empty? || set.include?(@actor_id)) ft_actor_req_armor_ok?(item) end No? By the way... Your scripts are amazing, I will use some for sure, and if one day I want sell my games, be sure I'll buy a commercial license from you! Share this post Link to post Share on other sites
Purple Phantom 453 Posted July 4, 2017 I hate to be a bother, but I was wondering if you could repost this. Only, the link doesn't work anymore. :3 Share this post Link to post Share on other sites