ContainerMudBeans.groovy

groovy/mudspace/domains/minnovar/objects/containers/ContainerMudBeans.groovy · 632 B

From the archive groovymud-0.3.4-alpha-bin.tar.gz

Download the archive   « Back to the archive contents

package domains.minnovar.objects.containers

import std.game.objects.containers.ContainerImpl
/**
 * included beans file, not an area
 */


beans {
	// needs to restrict the objects to only torches
	"townCentre:torchBundle"(ContainerImpl){bean ->		
	    bean.lazyInit = true
	    bean.parent = ref("baseContainer", true)
		name = "bundle of torches"
		shortNames = ['bundle', 'torch bundle']
		weight = 1
		//items = [ref("townCentre:Torch") * 5]
	}
	
	"townCentre:sack"(ContainerImpl){bean ->
        bean.lazyInit = true
	    bean.parent = ref("baseContainer", true)
	    name = "sack"
		shortNames = ['sack']
		weight = 0.1	
	}
}

Site Stats

Snippets: 1791
Codebases: 571