- Joined
- Jan 9, 2018
- Messages
- 138
- Reaction score
- 11
- First Language
- English
- Primarily Uses
- RMMV
Hi all,
I have a fairly complete database of weapons, armors, and items. I am using Yanfly's augment plugin to add sockets to armors and weapons which considerably increases both weapons and armors. I am looking for a fast and easy way to generate random loot. I think I would like this to be in the form of a common event so it can be used easily.
I have three variables so far :
1) Variable #99 named "Loot Type" which chooses between weapon, armor, or item. This could be increased to add gold as a random option but I have no clue how to award gold as a random number.
2) Variable #98 named "Sockets (Yes or No)" which will allow the items to be chosen from the socket list or the non socket list.
3) Variable #100 named "Loot Roller" which selects the rolled items ID. Socketed Weapons: 109-227, Non Socketed weapons 2-33, and 91. Socketed Armor: 112-240, Non Socketed 1-31 and 52-69, 90, 105-107, and 110. Items: 1-21, 43-48, 90-100.
Unfortunately I have hundreds of items and an event of this magnitude will most likely have errors on my part. I would like to hear some options from the community. How do you all go about random loot? So far I only have eventing experience and even variables are relatively new to me. The thought of eventing something like using conditional branches makes me cringe. I'm looking forward to everyone's opinions and helpful advice. Thanks in advance.
I have a fairly complete database of weapons, armors, and items. I am using Yanfly's augment plugin to add sockets to armors and weapons which considerably increases both weapons and armors. I am looking for a fast and easy way to generate random loot. I think I would like this to be in the form of a common event so it can be used easily.
I have three variables so far :
1) Variable #99 named "Loot Type" which chooses between weapon, armor, or item. This could be increased to add gold as a random option but I have no clue how to award gold as a random number.
2) Variable #98 named "Sockets (Yes or No)" which will allow the items to be chosen from the socket list or the non socket list.
3) Variable #100 named "Loot Roller" which selects the rolled items ID. Socketed Weapons: 109-227, Non Socketed weapons 2-33, and 91. Socketed Armor: 112-240, Non Socketed 1-31 and 52-69, 90, 105-107, and 110. Items: 1-21, 43-48, 90-100.
Unfortunately I have hundreds of items and an event of this magnitude will most likely have errors on my part. I would like to hear some options from the community. How do you all go about random loot? So far I only have eventing experience and even variables are relatively new to me. The thought of eventing something like using conditional branches makes me cringe. I'm looking forward to everyone's opinions and helpful advice. Thanks in advance.