99 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "objects" : [
 | 
						|
        {
 | 
						|
            "id" : "Torch",
 | 
						|
            "particleEmitter": {
 | 
						|
                "maxLife": 20,
 | 
						|
                "lifeCurrent": 0,
 | 
						|
                "particleVelocity": {
 | 
						|
                    "x": 0.0,
 | 
						|
                    "y": 0.02,
 | 
						|
                    "z": 0.0
 | 
						|
                },
 | 
						|
                "acceleration": -0.0001,
 | 
						|
                "texture": "flame_05.png",
 | 
						|
                "size": 0.3,
 | 
						|
                "color": {
 | 
						|
                    "x": 0.83,
 | 
						|
                    "y": 0.6,
 | 
						|
                    "z": 0.09
 | 
						|
                },
 | 
						|
                "offset": {
 | 
						|
                    "x": 0,
 | 
						|
                    "y": 1.2,
 | 
						|
                    "z": 0
 | 
						|
                },
 | 
						|
                "radialAcceleration": 0.0001,
 | 
						|
                "transparency": {
 | 
						|
                    "constant": 1,
 | 
						|
                    "linear": 0,
 | 
						|
                    "quadratic": -1
 | 
						|
                },
 | 
						|
                "spread": 15,
 | 
						|
                "frequency": 2
 | 
						|
            },
 | 
						|
            "pointLight" : {
 | 
						|
                "const": 1.0,
 | 
						|
                "linear": 0.9,
 | 
						|
                "quadratic": 0.9,
 | 
						|
                "radius": 3.0,
 | 
						|
                "color": {
 | 
						|
                    "x": 0.83,
 | 
						|
                    "y": 0.6,
 | 
						|
                    "z": 0.09
 | 
						|
                },
 | 
						|
                "offset": {
 | 
						|
                    "x": 0.0,
 | 
						|
                    "y": 1.1,
 | 
						|
                    "z": 0.0
 | 
						|
                }
 | 
						|
            },
 | 
						|
            "graphicsTemplate": {
 | 
						|
                "model": {
 | 
						|
                    "path" : "Models/objects/furniture/torch1.glb"
 | 
						|
                }
 | 
						|
            },
 | 
						|
            "tokens": [
 | 
						|
                "FURNITURE"
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "id" : "Workbench",
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 1.0,
 | 
						|
                "dimension2" : 1.0,
 | 
						|
                "dimension3" : 2.0,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0.0,
 | 
						|
                "offsetY" : 0.5,
 | 
						|
                "offsetZ" : 0.0,
 | 
						|
                "kinematic" : true
 | 
						|
            },
 | 
						|
            "interaction" : {
 | 
						|
                "onInteract" : "menu",
 | 
						|
                "windowTarget" : "crafting"
 | 
						|
            },
 | 
						|
            "spawnItem" : {
 | 
						|
                "graphicsTemplate" : {
 | 
						|
                    "model": {
 | 
						|
                        "path" : "Models/objects/furniture/workbench1.glb"
 | 
						|
                    }
 | 
						|
                }
 | 
						|
            },
 | 
						|
            "graphicsTemplate": {
 | 
						|
                "model": {
 | 
						|
                    "path" : "Models/objects/furniture/workbench1.glb"
 | 
						|
                }
 | 
						|
            },
 | 
						|
            "tokens": [
 | 
						|
                "FURNITURE"
 | 
						|
            ]
 | 
						|
        }
 | 
						|
 | 
						|
    ],
 | 
						|
    "files" : []
 | 
						|
} |