Note the number of opponents available is currently infinite - although I set up three menu pages that suggest a limited selection, I left it open and as you've seen it actually just loops round and creates another random set. Similarly, fighting 16 duels on one visit seems a bit excessive and I can easily limit this to just two or three, but then players might get frustrated if they can't ever find a suitable opponent.
Tricky things these, OXPs. You put everything in at the beginning but then you find you have to take things back!
CommRLock78, the specific check the OXP does for tournament eligibility involves looking up the subentities and running a crude check for anything turret-related:
Code: Select all
this.checkPlayerShip = function()
{ this.playerSubentities = player.ship.subEntities
this.playerSubentitiesString = playerSubentities.toString();
if(playerSubentitiesString.indexOf("turret") != -1)
missionVariables.feudal_tournament_eligible = "FALSE"}
As you'll probably appreciate, this bit of code is pretty much targetted at ships like the Caduceus, not only because of the turrets themselves but also because any ship capable of mouting turrets is likely to have fairly powerful stats that may make the tournament too easy.