ChooseRandomNPBuilding

comment

Returns the rawcode ID of a random neutral passive building, such as the buildings "Goblin Merchant" or "Tavern".

note

The building returned is not necessarily on the map already.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
integer
Source code
native ChooseRandomNPBuilding   takes nothing returns integer