Esempio n. 1
0
 static void Postfix(Pawn_EquipmentTracker __instance, ThingWithComps newEq)
 {
     if (__instance.pawn.Faction == Faction.OfPlayerSilentFail && WorldComp.HasStorages() &&
         WorldComp.CreateOrGetAssignedWeapons(__instance.pawn, out AssignedWeaponContainer aw))
     {
         aw.Add(newEq);
     }
 }