Ejemplo n.º 1
0
 internal bool <> m__0(IntVec3 c)
 {
     if (c.GetFirstItem(this.map) != null)
     {
         return(false);
     }
     if (!c.Standable(this.map))
     {
         SurfaceType surfaceType = c.GetSurfaceType(this.map);
         if (surfaceType != SurfaceType.Item && surfaceType != SurfaceType.Eat)
         {
             return(false);
         }
     }
     return(true);
 }
Ejemplo n.º 2
0
 public static bool HasEatSurface(this IntVec3 c, Map map)
 {
     return(c.GetSurfaceType(map) == SurfaceType.Eat);
 }