> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/library-functions/goods/goods.addpileex.md).

# Goods.AddPileEx

## ~~`Goods.AddPileEx(x,y, Ware, Menge)`~~

Fügt **einen einzigen** Warenstapel an einer bestimmten Stelle hinzu.

⇒ Für eine beliebige Anzahl an Warenstapel sollte diese Funktion verwendet werden: [SU.Goods.AddPileEx](/s4-lua-api-de/su-library-functions/su.goods/su.goods.addpileex.md) oder [Mehr als 8 Waren spawnen](/s4-lua-api-de/tutorials/code-snippets/mehr-als-8-waren-spawnen.md)

#### Rückgabewert

none

#### Beispiel

```lua
Goods.AddPileEx(151, 22, Goods.SWORD, 8)
```
