См. определение в файле ActionDigWorms.c строка 79
80 {
81 if (target)
82 {
83 string surface_type;
84 vector position;
85 position = target.GetCursorHitPos();
86
87 g_Game.SurfaceGetType(position[0], position[2], surface_type);
88
89 if (
g_Game.IsSurfaceFertile(surface_type))
90 {
91 return true;
92 }
93 }
94
95 return false;
96 }
Перекрестные ссылки ActionTarget и g_Game.
Используется в ActionCondition().