Ejemplo n.º 1
0
 // Before an orbital trade
 static void Postfix(ref IEnumerable <Thing> __result, Pawn playerNegotiator)
 {
     if (playerNegotiator != null && playerNegotiator.Map != null)
     {
         List <Thing> result = new List <Thing>(__result);
         result.AddRange(TradeUtil.EmptyDressers <Thing>(playerNegotiator.Map));
         __result = result;
     }
 }
Ejemplo n.º 2
0
 static void Postfix(bool doCloseSound)
 {
     TradeUtil.ReclaimApparel();
 }
Ejemplo n.º 3
0
 // On Reset from Trade Dialog
 static void Prefix()
 {
     TradeUtil.ReclaimApparel();
 }