80 {
81 if (target)
82 {
83 string surface_type;
84 vector position;
85 position = target.GetCursorHitPos();
86
88
89 if (
GetGame().IsSurfaceFertile(surface_type))
90 {
91 return true;
92 }
93 }
94
95 return false;
96 }
proto float SurfaceGetType(float x, float z, out string type)
Returns: Y position the surface was found.
proto native CGame GetGame()