resource

fun resource(name: String, capacity: Int = 1): SResource(source)

Declares a free-standing resource. See StationNetwork.resource.