Mines Malingerer
Posts: 36
Joined: Monday, 31st October 2011, 01:38
Modify this script to take restrictions into account?
I've got this really useful script that I found somewhere a while back, sitting in my init.txt. It's designed to make you autopickup certain types of armour if you aren't wearing any of its type already:
Problem is, it isn't 'smart' enough to exclude armour types that my current character can't wear due to a restriction, most commonly due to race (e.g. can't wear helmets as a Minotaur). Is it possible for this script to be tweaked to take these into account, based at least on the PC's race, or even better, based on (somehow) being able to know what restrictions are currently in place dynamically (maybe from a mutation), to make it more robust?
Problem is, it isn't 'smart' enough to exclude armour types that my current character can't wear due to a restriction, most commonly due to race (e.g. can't wear helmets as a Minotaur). Is it possible for this script to be tweaked to take these into account, based at least on the PC's race, or even better, based on (somehow) being able to know what restrictions are currently in place dynamically (maybe from a mutation), to make it more robust?