With OMotM April reaching voting stage, there should be some new bootleg mashups arriving soon. This may be a good opportunity to introduce a new, experimental feature of Iolanthe: automated mashup tour code generation! This feature will try to create tour codes for new mashups by analysing the server's format data and (in general) adding the unions of bans and added rules between formats, and the intersection of their unbans.
This is the basic command for this feature:-
¥gentourcode [Base format name], [Add-on formats, separated with | ]
Examples:-
Hopefully this can be a helpful feature to enable Drivers to generate new mashups with reduced time and effort. In future, more options will be added, such as automatically generating complex banlists for cases like STAB; unfortunately, that will cause tour codes to become too long to preview using !code, as the character limit (around 8000 currently) is much lower than what the actual tour code parser can accept, and could only be used to directly create tours.
This is the basic command for this feature:-
¥gentourcode [Base format name], [Add-on formats, separated with | ]
Examples:-
[21:45:10] ~We Wuz Nidokangz: ¥gentourcode camomons, stab|uber
[21:45:10] *Iolanthe: !code
Only Thundurus's ban is reflected from STABmons because the other banned mons should be OU and legal in Camomons, while Kartana and Kyurem-Black are unbanned from Camomons because they're legal in Ubers. As well as the Uber tier being unbanned, other uber base unbans like +Shadow Tag are also added.
[21:45:10] *Iolanthe: !code
Code:
/tour new gen7camomons, elimination, 32,1
/tour autostart 10
/tour rules Mega Rayquaza Clause, STABmons Move Legality, -Thundurus-Base, -King's Rock, -Razor Fang, -Acupressure, -Belly Drum, -Chatter, -Extreme Speed, -Geomancy, -Lovely Kiss, -Shell Smash, -Shift Gear, -Spore, -Thousand Arrows, +Uber, +Arena Trap, +Power Construct, +Shadow Tag, +Kartana, +Kyurem-Black, +Shedinja
/tour name [Gen 7] Camomons STABmons Ubers
[21:45:00] ~We Wuz Nidokangz: ¥gentourcode megamons, aaa|cap|uu
[21:45:00] *Iolanthe: !code
In this case we have downgraded the base tier to UU instead of upgrading it. CAP brings some complex bans as well. Even though some of the AAA bans such as Slaking are legal in UU, they wouldn't be unbanned unless the mashup tier were to surpass AAA's base tier of OU (i.e. an Ubers or AG mashup).
It's questionable whether UU should ban Drizzle and Drought in an AAA mashup, as the context is very different; I might change the default behaviour so that AAA-legal abilities won't be banned/unbanned by tier changes. Regardless, these debatable bans/unbans demonstrate that automated tour codes still need human oversight and judgement.
[21:45:00] *Iolanthe: !code
Code:
/tour new gen7megamons, elimination, 32,1
/tour autostart 10
/tour rules Ability Clause, Ignore Illegal Abilities, Allow CAP, -OU, -UUBL, -Drizzle, -Drought, -Kommonium Z, -Mewnium Z, -Uber, -Arena Trap, -Power Construct, -Shadow Tag, -Archeops, -Regigigas, -Shedinja, -Slaking, -Terrakion, -Comatose, -Contrary, -Fluffy, -Fur Coat, -Huge Power, -Illusion, -Imposter, -Innards Out, -Parental Bond, -Protean, -Pure Power, -Simple, -Speed Boost, -Stakeout, -Water Bubble, -Wonder Guard, -Crucibelle + Head Smash, -Crucibelle + Low Kick, -Tomohawk + Earth Power, -Tomohawk + Reflect, +Crucibellite
/tour name [Gen 7] MegAAAmons CAP UU
It's questionable whether UU should ban Drizzle and Drought in an AAA mashup, as the context is very different; I might change the default behaviour so that AAA-legal abilities won't be banned/unbanned by tier changes. Regardless, these debatable bans/unbans demonstrate that automated tour codes still need human oversight and judgement.
[21:44:18] ~We Wuz Nidokangz: ¥gentourcode chimera, mixandmega
[21:44:18] *Iolanthe: !code
[21:44:18] *Iolanthe: Code generation triggered 1 warning:-
[21:44:18] *Iolanthe: !code
Wait, this isn't a real mashup, rip...
Iolanthe will try to give warnings when a tour most likely won't be able to function properly and explain why. However, there will also be some false positives (like Partners in Crime AAA, which basically works fine even though it mashes doubles and singles formats together) and many cases where it is impossible to predict that a mashups won't work just from a static analysis of format data, so be careful.
[21:44:18] *Iolanthe: !code
Code:
/tour new gen7chimera, elimination, 32,1
/tour autostart 10
/tour rules -Shadow Tag, -Gengarite, -Baton Pass, -Electrify
/tour name [Gen 7] Chimera n Mega
[21:44:18] *Iolanthe: !code
Code:
Mod Conflict: "mixandmega" in add-on "[Gen 7] Mix and Mega" conflicts with base mod "gen7"!
Iolanthe will try to give warnings when a tour most likely won't be able to function properly and explain why. However, there will also be some false positives (like Partners in Crime AAA, which basically works fine even though it mashes doubles and singles formats together) and many cases where it is impossible to predict that a mashups won't work just from a static analysis of format data, so be careful.
Hopefully this can be a helpful feature to enable Drivers to generate new mashups with reduced time and effort. In future, more options will be added, such as automatically generating complex banlists for cases like STAB; unfortunately, that will cause tour codes to become too long to preview using !code, as the character limit (around 8000 currently) is much lower than what the actual tour code parser can accept, and could only be used to directly create tours.