I'd like to get an xmlspawner to spawn a random piece of armor. Lets keep it simple and say something from
Loot.RandomWeapon. Dont want a container, just a random item. Is this possible? If there is a thread discussing this, my google-fu must be weak today...
I don't know if the coding for XmlSpawner includes the ability to call from coded values like Loot.RandomWeapon, but you could hard-code each of the possible weapons on the spawner, and set the spawn amount to 1 and it should just pick one randomly.
I was hoping to avoid using a long list. In the end, I wanted to really have a random weapon or armor or whatever (maybe even crafting tools etc.). Basically a spawner that would just kick out random stuff.
That was actually what I started with, then I started thinking, why have a bag (other than as a means to get a random item...). That may be as close as I can get.