Ejemplo n.º 1
0
 public void EmptyOut()
 {
     while (chunkRecords.Count != 0)
     {
         Thing   thing = ProduceThing();
         IntVec3 cell  = parent.OccupiedRect().RandomCell;
         if (GenPlace.TryPlaceThing(thing, cell, parent.Map, ThingPlaceMode.Near))
         {
             cell.DropSound(parent.Map, thing.def);
         }
     }
 }