private static int GetSquadmateOutfitInt(string squadmateName, MEGame game) { Log.Information($@"SQMMERGE: Generating outfit int for {game} {squadmateName}"); if (game.IsGame2()) { switch (squadmateName) { case @"Convict": return(314); case @"Garrus": return(318); case @"Geth": return(315); case @"Grunt": return(322); case @"Leading": return(313); case @"Mystic": return(323); case @"Professor": return(321); case @"Tali": return(320); case @"Thief": return(317); case @"Veteran": return(324); case @"Vixen": return(312); } } else if (game.IsGame3()) { switch (squadmateName) { case @"Liara": return(10152); case @"Kaidan": return(10153); case @"Ashley": return(10154); case @"Garrus": return(10155); case @"EDI": return(10156); case @"Prothean": return(10157); case @"Marine": return(10158); case @"Tali": return(10214); // case @"Wrex": return ??; Wrex outfit can't be changed, its hardcoded to 13, which is TRUE } } throw new Exception(M3L.GetString(M3L.string_interp_invalidHenchNameSquadmateNameValueIsCaseSensitive, squadmateName)); }
public static string StaticConvert(MEGame game, string str) { if (game.IsGame1()) { // welp return("ME1 not supported right now"); } if (game.IsGame2()) { return str.ToLower() switch { "biop_nor" => "Normandy SR-2", "biop_cithub" => "Citadel - Zakera Ward", "biop_krohub" => "Tuchanka - Urdnot Camp", "biop_omghub" => "Omega - Merchant District", "biop_twrhub" => "Illium - Nos Astra", "biop_pronor" => "Normandy SR-1", "biop_procer" => "Lazarus Research Station", "biop_profre" => "Freedom's Progress", "biop_horcr1" => "Horizon", "biop_shpcr2" => "Collector Vessel", "biop_rprgta" => "Derelict Reaper", "biop_endgm1" => "Tartarus Debris Field", "biop_endgm2" => "Collector Station", "biop_endgm3" => "Suicide Mission Epilogue", "biop_bchlml" => "Aeia - Hugo Gernsback Crash Site", "biop_blbgtl" => "Heretic Station", "biop_jnkkga" => "Korlus - Blue Suns Facility", "biop_omggra" => "Omega - Archangel's Base", "biop_omgpra" => "Omega - Slums District", "biop_suntla" => "Haestrom - Quarian Landing Zone", "biop_twrasa" => "Illium - Dantius Towers", "biop_twrmwa" => "llium - Commercial Spaceport", "biop_citasl" => "Citadel - 800 Blocks", "biop_citgrl" => "Citadel - Factory District", "biop_juncvl" => "Pragia - Teltin Facility", "biop_krokgl" => "Tuchanka - Urdnot Ruins", "biop_kroprl" => "Tuchanka - Weyrloc Facility", "biop_prscva" => "Prison Ship Purgatory", "biop_ptymtl" => "Bekenstein - Hock's Party", "biop_quatll" => "Migrant Fleet", "biop_twrvxl" => "Illium - Transport Station", "biop_zyavtl" => "Zorya - Eldfell-Ashland Refinery", "biop_unc1explore" => "Aite", "biop_unc1base1" => "Aite - Hermes Station", "biop_unc1base2" => "Aite - Vulcan Station", "biop_unc1base3" => "Aite - Prometheus Station", "biop_unc1base4" => "Aite - Atlas Station", "biop_exp1lvl1" => "Illium - Market District", "biop_exp1lvl2" => "Illium - Hotel Azure", "biop_exp1lvl3" => "Hagalaz - Ship Exterior", "biop_exp1lvl4" => "Hagalaz - Ship Base", "biop_exp1lvl5" => "Hagalaz - Broker Base", "biop_arvlvl1" => "Aratoht", "biop_arvlvl4" => "Project Base - Station Port", "biop_arvlvl3" => "Project Base - Med Bay", "biop_arvlvl2" => "Project Base - Generator Room", "biop_arvlvl5" => "Project Base - Station Exterior", "biop_n7bldinv1" => "Tarith - Blood Pack Comm Relay", "biop_n7bldinv2" => "Zada Ban - Blood Pack Base", "biop_n7crsh" => "Zanethu - MSV Estevanico Site", "biop_n7driveby" => "Corang", "biop_n7geth1" => "Lattesh", "biop_n7geth2" => "Canalus", "biop_n7ruins" => "Kopis - Dig Site", "biop_n7shipwreck" => "Zeona - Firewalker", "biop_n7spdr1" => "Joab - Dig Site", "biop_n7spdr2" => "MSV Strontium Mule", "biop_n7spdr3" => "Sanctum - Blue Suns Base", "biop_n7viq1" => "Neith - MSV Corsica Site", "biop_n7viq2" => "Jarrahe Station", "biop_n7viq3" => "Capek - Hahne-Kedar Facility", "biop_n7mine" => "Helyme - Eldfell-Ashland Facility", "biop_n7mmnt1" => "Daratar - Eclipse Cache", "biop_n7mmnt2" => "Gei Hinnom - Quarian Crash Site", "biop_n7mmnt3" => "Taitus - Mining the Canyon", "biop_n7mmnt4" => "MSV Broken Arrow", "biop_n7mmnt5" => "Lorek - Eclipse Base", "biop_n7mmnt6" => "Sinmara - Magnetic Shield Generator", "biop_n7mmnt7" => "Franklin - Javelin Mk.II Silo", "biop_n7mmnt8" => "Karumto", "biop_n7mmnt10" => "Aequitas - Mining Facility", "biop_n7norcrash" => "Alchera - Normandy SR-1 Site", _ => $"Unknown map: {str}", } } ; if (game.IsGame3()) { return str.ToLower() switch { "biop_cat001" => "Priority: Eden Prime", "biop_cat002" => "Priority: Thessia", "biop_cat003" => "Priority: The Citadel II", "biop_cat004" => "Priority: Cerberus Headquarters", "biop_cerjcb" => "Arrae: Ex-Cerberus Scientists", "biop_cermir" => "Priority: Horizon", "biop_char" => "Character Creation Menu", "biop_cit001" => "Citadel Wards: Ambush", "biop_cit003" => "Citadel: Identity Theft", "biop_cit004" => "Citadel Archives: Escape", "biop_citapt" => "Citadel: Shore Leave", "biop_citcas" => "Silversun Strip", "biop_cithub" => "Citadel", "biop_citsam" => "Kallini: Ardat-Yakshi Monastery", "biop_dhme2" => "Mass Effect: Genesis 2", "biop_end001" => "Priority: Earth", "biop_end002" => "Priority: Earth - The Citadel", "biop_end003" => "Normandy Crash Planet", "biop_gth001" => "Priority: Geth Dreadnought", "biop_gth002" => "Priority: Rannoch", "biop_gthleg" => "Rannoch: Geth Fighter Squadrons", "biop_gthn7a" => "Rannoch: Admiral Koris", "biop_kro001" => "Priority: Sur'Kesh", "biop_kro002" => "Priority: Tuchanka", "biop_krogar" => "Priority: Palaven", "biop_krogru" => "Attican Traverse: Krogan Team", "biop_kron7a" => "Tuchanka: Turian Platoon", "biop_kron7b" => "Tuchanka: Bomb", "biop_lev001" => "Citadel: Dr. Bryson", "biop_lev002" => "Leviathan: Find Garneau", "biop_lev003" => "Leviathan: Find Ann Bryson", "biop_lev004" => "Despoina: Leviathan", "biop_mpcer" => "Firebase Glacier", "biop_mpdish" => "Firebase Dagger", "biop_mpgeth" => "Firebase Hydra", "biop_mpmoon" => "Firebase Condor", "biop_mpnov" => "Firebase White", "biop_mprctr" => "Firebase Reactor", "biop_mpslum" => "Firebase Ghost", "biop_mptowr" => "Firebase Giant", "biop_nor" => "Normandy SR-2", "biop_omg000" => "Citadel: Aria T'Loak", "biop_omg001" => "The Invasion of Omega", "biop_omg02a" => "Talon Territory", "biop_omg003" => "The Mines", "biop_omg004" => "The Assault on Afterlife", "biop_omghub" => "Aria's Bunker", "biop_omgjck" => "Grisson Academy: Emergency Evacuation", "biop_proear" => "Prologue: Earth", "biop_promar" => "Priority: Mars", "biop_spcer" => "N7: Cerberus Lab", "biop_spdish" => "N7: Communication Hub", "biop_spnov" => "N7: Cerberus Fighter Base", "biop_sprctr" => "N7: Fuel Reactors", "biop_spslum" => "N7: Cerberus Abductions", "biop_sptowr" => "N7: Cerberus Attack", _ => $"Unknown map: {str}", } } ; return("Unknown"); }