38 lines
1002 B
JSON
38 lines
1002 B
JSON
{
|
|
"objects": [
|
|
{
|
|
"name": "firebox",
|
|
"texturePath": "resources/w/Cube001.png",
|
|
"meshPath": "resources/w/firebox.txt",
|
|
"rotationX": 0.0,
|
|
"rotationY": -1.5707963267948966,
|
|
"rotationZ": 0.0,
|
|
"positionX": 0.0,
|
|
"positionY": 0.0,
|
|
"positionZ": 0.0,
|
|
"scale": 1.0,
|
|
"interactive": false
|
|
},
|
|
{
|
|
"name": "medik",
|
|
"texturePath": "resources/w/red.png",
|
|
"meshPath": "resources/w/firebox.txt",
|
|
"rotationX": 0.0,
|
|
"rotationY": -1.5707963267948966,
|
|
"rotationZ": 0.0,
|
|
"positionX": 0.0,
|
|
"positionY": 0.0,
|
|
"positionZ": 4.0,
|
|
"scale": 1.0,
|
|
"interactive": true,
|
|
"item": {
|
|
"id": "health_potion",
|
|
"name": "Health Potion",
|
|
"description": "Restores 50 HP",
|
|
"icon": "resources/w/red.png",
|
|
"radius": 2.0
|
|
},
|
|
"activateFunction" : "on_health_pickup"
|
|
}
|
|
]
|
|
} |