Library
Places
Random points, things spawned round a place, waiting for somebody to come.
- Random point near
fn/game.RandomPointNearA place picked by chance within so many metres of another, any way round it. - Random point on a ring
fn/game.RandomPointOnRingA place picked by chance between two distances from another - Spawn around
fn/game.SpawnAroundMakes so many of a catalog thing at places picked by chance round a place, and gives them back as a list. - Spawn a band
fn/game.SpawnBandMakes so many people of a kit (brigand, peasant, militia, knight...) on a side, at places picked by chance round a place, and gives them back as a list. - Spawn a band against
fn/game.SpawnBandAgainstMakes a band of a kit on a side round a place and sets every one of them on somebody - an ambush on the player, say. - Drop items around
fn/game.DropItemsAroundLays so many of an item on the ground, one by one, at places picked by chance round a place. - Wait until near
fn/game.WaitUntilNearWaits until somebody is within so many metres of a place, or the seconds are up. - Wait for a player
fn/game.WaitForPlayerWaits until any player comes within so many metres of a place, or the seconds are up, and gives back who came. - Wait until indoors
fn/game.WaitUntilIndoorsWaits until somebody is under a roof that keeps the rain off - a house, a hall, a tent - looking once a second, or until the seconds are up. - Wait until outdoors
fn/game.WaitUntilOutdoorsWaits until somebody is out from under every roof, looking once a second, or until the seconds are up. - Is any player near
fn/game.IsAnyPlayerNearWhether any player is within so many metres of a place just now.
Modding