private static void DocumentBulkOrders() { using ( StreamWriter html = GetWriter( "docs/bods/", "bod_smith_rewards.html" ) ) { html.WriteLine( "<html>" ); html.WriteLine( " <head>" ); html.WriteLine( " <title>RunUO Documentation - Bulk Orders - Smith Rewards</title>" ); html.WriteLine( " <link rel=\"stylesheet\" type=\"text/css\" href=\"../styles.css\" />" ); html.WriteLine( " </head>" ); html.WriteLine( " <body>" ); SmallBOD sbod = new SmallSmithBOD(); sbod.Type = typeof( Katana ); sbod.Material = BulkMaterialType.None; sbod.AmountMax = 10; WriteSmithBODHeader( html, "(Small) Weapons" ); sbod.RequireExceptional = false; DocumentSmithBOD( html, sbod.ComputeRewards( true ), "10, 15, 20: Normal", sbod.Material ); sbod.RequireExceptional = true; DocumentSmithBOD( html, sbod.ComputeRewards( true ), "10, 15, 20: Exceptional", sbod.Material ); WriteSmithBODFooter( html ); html.WriteLine( " <br><br>" ); html.WriteLine( " <br><br>" ); sbod.Type = typeof( PlateArms ); WriteSmithBODHeader( html, "(Small) Armor: Normal" ); sbod.RequireExceptional = false; for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Valorite; ++mat ) { sbod.Material = mat; sbod.AmountMax = 10; DocumentSmithBOD( html, sbod.ComputeRewards( true ), "10, 15, 20", sbod.Material ); } WriteSmithBODFooter( html ); html.WriteLine( " <br><br>" ); WriteSmithBODHeader( html, "(Small) Armor: Exceptional" ); sbod.RequireExceptional = true; for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Valorite; ++mat ) { sbod.Material = mat; for ( int amt = 15; amt <= 20; amt += 5 ) { sbod.AmountMax = amt; DocumentSmithBOD( html, sbod.ComputeRewards( true ), amt == 20 ? "20" : "10, 15", sbod.Material ); } } WriteSmithBODFooter( html ); html.WriteLine( " <br><br>" ); html.WriteLine( " <br><br>" ); sbod.Delete(); WriteSmithLBOD( html, "Ringmail", LargeBulkEntry.LargeRing ); WriteSmithLBOD( html, "Chainmail", LargeBulkEntry.LargeChain ); WriteSmithLBOD( html, "Platemail", LargeBulkEntry.LargePlate ); html.WriteLine( " </body>" ); html.WriteLine( "</html>" ); } using ( StreamWriter html = GetWriter( "docs/bods/", "bod_tailor_rewards.html" ) ) { html.WriteLine( "<html>" ); html.WriteLine( " <head>" ); html.WriteLine( " <title>RunUO Documentation - Bulk Orders - Tailor Rewards</title>" ); html.WriteLine( " <link rel=\"stylesheet\" type=\"text/css\" href=\"../styles.css\" />" ); html.WriteLine( " </head>" ); html.WriteLine( " <body>" ); SmallBOD sbod = new SmallTailorBOD(); WriteTailorBODHeader( html, "Small Bulk Order" ); html.WriteLine( " <tr>" ); html.WriteLine( " <td width=\"850\" colspan=\"21\" class=\"entry\"><b>Regular: 10, 15</b></td>" ); html.WriteLine( " </tr>" ); sbod.AmountMax = 10; sbod.RequireExceptional = false; sbod.Type = typeof( SkullCap ); sbod.Material = BulkMaterialType.None; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "10, 15", sbod.Material, sbod.Type ); sbod.Type = typeof( LeatherCap ); for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Barbed; ++mat ) { if ( mat >= BulkMaterialType.DullCopper && mat <= BulkMaterialType.Valorite ) continue; sbod.Material = mat; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "10, 15", sbod.Material, sbod.Type ); } html.WriteLine( " <tr>" ); html.WriteLine( " <td width=\"850\" colspan=\"21\" class=\"entry\"><b>Regular: 20</b></td>" ); html.WriteLine( " </tr>" ); sbod.AmountMax = 20; sbod.RequireExceptional = false; sbod.Type = typeof( SkullCap ); sbod.Material = BulkMaterialType.None; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "20", sbod.Material, sbod.Type ); sbod.Type = typeof( LeatherCap ); for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Barbed; ++mat ) { if ( mat >= BulkMaterialType.DullCopper && mat <= BulkMaterialType.Valorite ) continue; sbod.Material = mat; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "20", sbod.Material, sbod.Type ); } html.WriteLine( " <tr>" ); html.WriteLine( " <td width=\"850\" colspan=\"21\" class=\"entry\"><b>Exceptional: 10, 15</b></td>" ); html.WriteLine( " </tr>" ); sbod.AmountMax = 10; sbod.RequireExceptional = true; sbod.Type = typeof( SkullCap ); sbod.Material = BulkMaterialType.None; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "10, 15", sbod.Material, sbod.Type ); sbod.Type = typeof( LeatherCap ); for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Barbed; ++mat ) { if ( mat >= BulkMaterialType.DullCopper && mat <= BulkMaterialType.Valorite ) continue; sbod.Material = mat; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "10, 15", sbod.Material, sbod.Type ); } html.WriteLine( " <tr>" ); html.WriteLine( " <td width=\"850\" colspan=\"21\" class=\"entry\"><b>Exceptional: 20</b></td>" ); html.WriteLine( " </tr>" ); sbod.AmountMax = 20; sbod.RequireExceptional = true; sbod.Type = typeof( SkullCap ); sbod.Material = BulkMaterialType.None; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "20", sbod.Material, sbod.Type ); sbod.Type = typeof( LeatherCap ); for ( BulkMaterialType mat = BulkMaterialType.None; mat <= BulkMaterialType.Barbed; ++mat ) { if ( mat >= BulkMaterialType.DullCopper && mat <= BulkMaterialType.Valorite ) continue; sbod.Material = mat; DocumentTailorBOD( html, sbod.ComputeRewards( true ), "20", sbod.Material, sbod.Type ); } WriteTailorBODFooter( html ); html.WriteLine( " <br><br>" ); html.WriteLine( " <br><br>" ); sbod.Delete(); WriteTailorLBOD( html, "Large Bulk Order: 4-part", LargeBulkEntry.Gypsy, true, true ); WriteTailorLBOD( html, "Large Bulk Order: 5-part", LargeBulkEntry.TownCrier, true, true ); WriteTailorLBOD( html, "Large Bulk Order: 6-part", LargeBulkEntry.MaleLeatherSet, false, true ); html.WriteLine( " </body>" ); html.WriteLine( "</html>" ); } }