Skip to content

atl/sm/tunnelgenerator

import "atl/sm/tunnelgenerator"

Tunnel generation (sm.tunnelGenerator).

func Generate(seed int, min, max sm.Vec3, pathingSettings, tunnelRequests, blockers atl.Value,
gridSize float64) atl.Value

Paths tunnels through the box min..max (see the game's docs for the table formats).