Ok, I'm making Axes on my max'd out Blacksmith for my Lumberjack. Since weapons seem to die at the speed of light here on Siege, I'm going to supply him with only the longest lasting axes...
So, in the process of making a script to trash axes that aren't of a certain durability - I need to look at the properties of each one and keep or trash it based on whether or not it's durability is more than 65.
I've pondered this for the best part of an hour now, and can't come up with a way to do that.... I mean, I know I don't have to tell it about each possibility - as in -
if 65 in property || if 66 in property || if 67 in property - blah blah blah
Right?
I know there's a way to say: "If the Durability line shows anything less than 65, then do this..." without having to explain every single instance of a value beyond 65....
I'm working hard to not let this go past being annoyed.... HELP!
***Edit*** As I re-read my post to make sure it said what I wanted it to, I got to thinking about why it's possible to enjoy a thing sufficiently to overcome the seemingly endless state of frustration that scripting holds for me.... I think it's just the mental clarity that problem solving seems to provide, most especially when a problem is solved (and even when I'm not the one to solve it). For me it comes down to a simple choice: Do I give up and say to hell with it, or do I ask people that are more advanced than I am - for help filling in what's missing in my thought process... And when one of you manages to explain it to me so that I actually understand, that makes my brain feel just really nice....
So here I am, just sayin...........