Exemplo n.º 1
0
 public void ApplyApparelEffects( Pawn pawn, Apparel apparel )
 {
     if(
         ( pawn.outfits != null )&&
         ( pawn.outfits.forcedHandler != null )
     )
     {
         pawn.outfits.forcedHandler.SetForced( apparel, true );
     }
     pawn.Drawer.renderer.graphics.ResolveApparelGraphics();
     if( apparel.IsSlaveCollar() )
     {
         ApplyCollarEffects( pawn, apparel );
     }
     if( apparel.IsRestraints() )
     {
         ApplyRestraintsEffects( pawn, apparel );
     }
 }