# Game.IsAlmostAllLandExplored

## `Game.IsAlmostAllLandExplored()`

Gibt an, ob die meiste Landfläche bereits erkundet wurde. Wie viel % Land genau erkundet werden muss ist unklar

{% hint style="info" %}
Es muss der Land Explore Check vor dem Aufruf aktiviert worden sein. (siehe [Game.EnableLandExploredCheck](/s4-lua-api-de/library-functions/game/game.enablelandexploredcheck.md))
{% endhint %}

#### Rückgabewert

1 wenn die meiste Landfläche erkundet wurde, ansonsten 0

#### Beispiel

```lua
-- einmalig
Game.EnableLandExploredCheck()

-- danach immer möglich zu benutzen
if Game.IsAlmostAllLandExplored() == 1 then
  dbg.stm("Fast alles an Land wurde erkundet.")
end
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.settlers-united.com/s4-lua-api-de/library-functions/game/game.isalmostalllandexplored.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
