Meteor Posted July 23, 2013 Share Posted July 23, 2013 (edited) Just for fun I made a little page to pick random marriages. Give it a try if you're interested, and let me know if you find any weird behavior. https://dl.dropboxusercontent.com/u/6279175/marriage.html Things I'm aware of: - no way to bookmark results... out of the scope of the project for now. - 1st gen only... these are the only pairs that produce kids, so it's all I planned to do. - the theme is really terrible Edited July 23, 2013 by Meteor Link to comment Share on other sites More sharing options...
1% critted Posted July 23, 2013 Share Posted July 23, 2013 This is excellent stuff. Saved the page. Link to comment Share on other sites More sharing options...
shadowofchaos Posted July 23, 2013 Share Posted July 23, 2013 (edited) My first result: ...hahahahahahaha. Wow. Just... wow. Edited July 23, 2013 by shadowofchaos Link to comment Share on other sites More sharing options...
JamesBCrazy Posted July 23, 2013 Share Posted July 23, 2013 First problem: The same character getting 2 or more pairings. Link to comment Share on other sites More sharing options...
PM ME MARIANNE ART Posted July 23, 2013 Share Posted July 23, 2013 (edited) Marriage Randomizer Male avatar Female avatar Allow Maiden marriage Exclude Avatar-only marriages Randomize! Avatar x Miriel Chrom x Maribelle Gaius x Sumia Henry x Sully Virion x Nowi Libra x Olivia Gaius x Cherche Lon'qu x Panne Vaike x Tharja Stahl x Cordelia Donnel x Lissa OH GOD LIBRA OLIVIA WAT DID I JUST DO. Edited July 23, 2013 by Duck Link to comment Share on other sites More sharing options...
Meteor Posted July 23, 2013 Author Share Posted July 23, 2013 (edited) Glad you guys like it. :) First problem: The same character getting 2 or more pairings.Which character(s)? I tried to write it specifically not to allow that, but my logic could be erroneous. Edit: I found a loophole where Sumia could get back into the wife pool. It should be fixed now. Edited July 23, 2013 by Meteor Link to comment Share on other sites More sharing options...
Tanner Posted July 23, 2013 Share Posted July 23, 2013 My first result: ...hahahahahahaha. Wow. Just... wow. At least it got the OliviaxRey part right. Link to comment Share on other sites More sharing options...
Generic General Posted July 23, 2013 Share Posted July 23, 2013 I got Cordelia...not bad actually. Link to comment Share on other sites More sharing options...
shadowofchaos Posted July 23, 2013 Share Posted July 23, 2013 (edited) /downloaded the source. Oh man. Your formatting for your code is a hell of a lot nicer than mine. So process Avatar first, then Chrom, then Sumia, adding checks for each one seeing if they picked each other... and then process the rest of them with a while loop until the lists are empty. Nice. Edited July 23, 2013 by shadowofchaos Link to comment Share on other sites More sharing options...
Klokinator Posted July 23, 2013 Share Posted July 23, 2013 I like how you excluded avatar marriages, sock, and it still showed the avatar marriage. Link to comment Share on other sites More sharing options...
General Horace Posted July 23, 2013 Share Posted July 23, 2013 I like how you excluded avatar marriages, sock, and it still showed the avatar marriage. I think the excluded avatar marriages are characters like Aversa that can only be wed by the avatar. Link to comment Share on other sites More sharing options...
Pilcrow Posted July 23, 2013 Share Posted July 23, 2013 (edited) I like how you excluded avatar marriages, sock, and it still showed the avatar marriage. I think that option is to exclude characters like Anna, Tiki, etc. that only have the Avatar as a pairing option rather than disabling Avatar marriage entirely. At least, staring at the code, that's what it'd appear to do. Edit: Got ninja'd. Edited July 23, 2013 by Pilcrow Link to comment Share on other sites More sharing options...
Sunwoo Posted July 23, 2013 Share Posted July 23, 2013 (edited) My first try: Avatar x Cordelia Chrom x Maribelle Frederick x Sumia Stahl x Lissa Lon'qu x Panne Virion x Cherche Vaike x Tharja Gregor x Olivia Libra x Miriel Kellam x Nowi Ricken x Sully No thanks, Cordelia. At least Miriel didn't get someone like Vaike >_< Edited July 23, 2013 by Sangyul Link to comment Share on other sites More sharing options...
shadowofchaos Posted July 23, 2013 Share Posted July 23, 2013 I like how you excluded avatar marriages, sock, and it still showed the avatar marriage. I think the excluded avatar marriages are characters like Aversa that can only be wed by the avatar. I think that option is to exclude characters like Anna, Tiki, etc. that only have the Avatar as a pairing option rather than disabling Avatar marriage entirely. At least, staring at the code, that's what it'd appear to do. Edit: Got ninja'd. I think it's pretty clear what that checkbox meant. Link to comment Share on other sites More sharing options...
Anacybele Posted July 23, 2013 Share Posted July 23, 2013 (edited) Heh, first guy that came up for the female Avatar for me was Stahl. I actually like him a lot. :) But I'm not changing any of my chosen pairings in future playthroughs. I'm just doing this randomizer thing for fun. Of course, I clicked randomize until FrederickxAvatar came up. ^^ Edited July 23, 2013 by Anacybele Link to comment Share on other sites More sharing options...
Meteor Posted July 23, 2013 Author Share Posted July 23, 2013 Oh man. Your formatting for your code is a hell of a lot nicer than mine. So process Avatar first, then Chrom, then Sumia, adding checks for each one seeing if they picked each other... and then process the rest of them with a while loop until the lists are empty. Nice. I'm pretty obsessive compulsive about that stuff, though I'm surprised anyone noticed! And thanks for the compliment. :) I debated checking Chrom first but he would have been overwhelmingly the favored option for Avatar (F). Oh and that reminds me... I wanted to make a section to show who doesn't get paired. I like how you excluded avatar marriages, sock, and it still showed the avatar marriage. People have correctly explained what that option was supposed to do. I slightly reworded it and added a tooltip to reduce confusion. :) Link to comment Share on other sites More sharing options...
Faye Posted July 24, 2013 Share Posted July 24, 2013 For fun, I gave it a whirl. [spoiler=Female My Unit Pairings] Random Female Avatar Pairings: Frederick x Avatar (Sorry Ana.) Chrom x Olivia (Sorry, Rey.) Gaius x Sumia (Oh god ew) Stahl x Tharja (Haven't seen this support yet.) Gaius x Panne (you dun goofed, Gaius, cheating on Sumia) Libra x Cherche (blonde Gerome, nice) Virion x Maribelle (ehhhh) Henry x Miriel (not bad) Lon'qu x Sully (ehhhhhhhhh) Ricken x Cordelia (meh) Gregor x Lissa (whoa, may-december romance much?!) Kellam x Nowi (tank Nah. Ok.) [spoiler=Male My Unit Pairings] Random Male Avatar Pairings Avatar x Miriel (hm, it's okay) Chrom x Maiden (YES MY OTP) Frederick x Sumia (YAY MY SECOND OTP!) Libra x Tharja (MY THIRD OTP YAAAAAY!) Virion x Olivia (combo breaker. D8 noooo) Gaius x Maribelle (it's a cute pairing, but eh) Henry x Panne (I love this pairing...) Donnel x Nowi (eh boring Galeforce Nah, fine) Lon'qu x Lissa (cliched terrible boring bodyguard crush blaugh) Vaike x Cordelia (blonde Severa niiiice) Gregor x Cherche (meh) Kellam x Sully (at least Kjelle will look like her official art) Heh, this isn't bad. Link to comment Share on other sites More sharing options...
Anacybele Posted July 24, 2013 Share Posted July 24, 2013 Uh, Faye, why are you telling me sorry for getting Frederick x Female Avatar? Anyone knows I LOVE those two! XD Link to comment Share on other sites More sharing options...
Faye Posted July 24, 2013 Share Posted July 24, 2013 It was a joke. 8U; I guess I worded it funny. I saw the random pairing as a "Your game" pairing, as in the pairings you'll be using in your game. I don't normally marry Fred, so as a joke I apologized for "stealing" him away. It's also why Chrom/Olivia as a "Sorry Rey" attached, because Chrom ended up taking his waifu. 8D; I'm bad with jokes it seems. Link to comment Share on other sites More sharing options...
Anacybele Posted July 24, 2013 Share Posted July 24, 2013 OH, I see now. Don't worry, I wouldn't get upset over something as silly as that. And I think there's enough Freddy Bear to go around! If someone else wants to have a female Avatar marry him, that's their choice. :) Link to comment Share on other sites More sharing options...
PiplupPeanut Posted July 24, 2013 Share Posted July 24, 2013 FeAvatar 1st time: Ricken x Avatar (Sorry Ricken, but I'm not into younger men) Chrom x Olivia (eh, at least it's a good Lucina I guess) Henry x Sumia (yesyesyes <3) Libra x Maribelle (Makes sense when you take Brady into account at least) Gregor x Cherche (not into age differences, but at least Cherche seems older than the other girls) Donnel x Miriel (NO) Stahl x Lissa (I actually did this pair on my first run just because, haha) Kellam x Panne (at least she always notices him) Virion x Nowi (NONONONONO) Lon'qu x Sully (I'm considering trying this pairing just to see what the supports are like, haha) Vaike x Cordelia (yesss <3) Gaius x Tharja (...yeah, okay) FeAvatar 2nd time: Lon'qu x Avatar (ironically my Avatar pairing on my second file) Chrom x Sully (...ironically my Chrom pairing on my second file) Frederick x Sumia (very yes) Libra x Tharja (nonononono) Henry x Nowi (NONONONONO) Ricken x Olivia (cute supports, but I don't like big age differences like I said) Kellam x Lissa (PIES SHALL REIGN FOREVER) Donnel x Cherche (meh, I heard the supports are good at least) Stahl x Miriel (...hm) Virion x Maribelle (eh, maybe I'll try this one one day) Gaius x Cordelia (I want to try this one too) Vaike x Panne (I haven't done this pairing but it sounds horrible in my head) MaAvatar: Avatar x Tiki (yeah, okay) Chrom x Sumia (only if it's the Ch. 11 convo, I will not have her win him through cooking of all things) Gaius x Miriel (...this sounds like a hilarious pairing) Henry x Panne (eh) Kellam x Cordelia (no Chrom, at least) Donnel x Cherche (again?!) Stahl x Maribelle (I've only seen their C rank but I DID like it...) Vaike x Nowi (...well, at least the supports are good) Lon'qu x Olivia (YES <3) Gregor x Tharja (well, their supports weren't bad, but still, age difference) Frederick x Lissa (eh) Ricken x Sully (Ricken, why can't you try for a younger girl D:) Link to comment Share on other sites More sharing options...
Dying Blaze Posted July 24, 2013 Share Posted July 24, 2013 MALE AVATARAvatar x Lissa Chrom x Olivia Henry x Sumia Gaius x Maribelle Stahl x Tharja Lon'qu x Sully Vaike x Nowi Frederick x Cordelia Donnel x Miriel Libra x Cherche Kellam x Panne Pretty Decent FEMALE AVATAR Vaike x Avatar Chrom x Maribelle Gaius x Sumia Donnel x Lissa Stahl x Tharja Lon'qu x Miriel Frederick x Nowi Henry x Cordelia Libra x Olivia Kellam x Panne Ricken x Sully Gregor x Cherche Most of these pairings are terrible. Maybe someone could actually do a run with pairings they got? Link to comment Share on other sites More sharing options...
CT075 Posted July 24, 2013 Share Posted July 24, 2013 if you want results bookmarkable, it could probably be done (with some tedium) if you were to create a separate html page with every possible combination (maybe not so tedious since you could probably just use some front-end code onto this thing to generate it), have each of those pages have a separate "passcode", and then make the url something like [host]/marriagePairs/[generated code] or idk Link to comment Share on other sites More sharing options...
ZemZem Posted July 24, 2013 Share Posted July 24, 2013 So for Male!Avatar, I got (I allowed the Maiden pairing, but excluded the Avatar only pairings.): Avatar x Lissa Chrom x Maiden Gaius x Sumia Ricken x Maribelle Henry x Sully Libra x Nowi Frederick x Cordelia Gregor x Olivia Virion x Panne Lon'qu x Miriel Vaike x Tharja Donnel x Cherche And for Female!Avatar, I got: Henry x Avatar Chrom x Maiden Frederick x Sumia Stahl x Nowi Gaius x Cordelia Donnel x Panne Lon'qu x Cherche Kellam x Tharja Ricken x Lissa Vaike x Miriel Gregor x Olivia Libra x Sully Virion x Maribelle Not doing either, but Vaike/Tharja, Stahl/Nowi, and Henry/Sully sound interesting. Link to comment Share on other sites More sharing options...
shadowofchaos Posted July 24, 2013 Share Posted July 24, 2013 8D; I'm bad with jokes it seems. No, you're not. ...and I'll refrain from the shots to someone else. That's enough for one day. Now as for the OP, you don't mind us downloading it right? I mean, it's been a while since I've messed around with source code in Javascript. xD Link to comment Share on other sites More sharing options...
Recommended Posts