Hey all,
I've seen a few random loot and prefix/suffix scripts, but none of them quite do what I want, or how I'd like it to work. What I'm looking for is for a way to tag weapons/armor that a ); marks them for randomization (special items won't be able to be randomized, for example), and b ); tell the game what possibilities are available.
I was thinking a tagging system for the weapons/armor as something like...
<random><prefix 0, 10> #the prefix with the ID of 0 has a 10% chance of being applied<prefix 1, 50> #the prefix with the ID of 1 has a 50% chance of being applied<prefix 2, 40> #the prefix with the ID of 2 has a 40% chance of being applied<suffix 0, 10> #the suffix with the ID of 0 has a 10% chance of being applied<suffix 1, 50> #the suffix with the ID of 1 has a 50% chance of being applied<suffix 2, 40> #the suffix with the ID of 2 has a 40% chance of being appliedPrefixes and Suffixes would be able to be defined within the script as something like...
#PREFIX ID, PREFIX NAME, STATE TO ADD, ELEMENT TO ADD, HP, MP, ATK, DEF, MAG, ...0 "",0,0,0,0,0..., 1 "Burning",0,1,0,0,0...,2 "Sharp",0,0,0,0,10,0...,3 "Poisonous",3,0,0,0,0...,#SUFFIX ID, SUFFIX NAME, STATE TO ADD, ELEMENT TO ADD, HP, MP, ATK, DEF, MAG, ...0 "",0,0,0,0,0... 1 "of Burning",0,1,0,0,0...2 "of Defense",0,0,0,0,0,10...3 "of Demonsbane",0,8,0,0,0...Any time the item marked with <random> is added to the inventory, it goes off the of tags to generate the item added; both the Prefix and the Suffix. Generic naming would go off of the prefix/suffix names "Burning (defined in script) Iron Sword (database name) of Demonsbane (defined in script).
As far as what features the "fixes" can have, I was thinking names, states to add (multiple if possible?), elements to add (multiple if possible?), individual stat increases, and possibly even features found in the Database if possible?
This is probably a lot to chew, and I'd be happy to elaborate in anyway I can. Thank you for taking the time to read and I hope that I hear back from somebody!
Cheers
--
Edit:
Removed weird emote from using b ).