302 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			302 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "items" : [
 | 
						|
 | 
						|
 | 
						|
 | 
						|
        {
 | 
						|
            "itemId" : "Katana",
 | 
						|
            "modelPath" : "Models/items/weapons/katana1alt.fbx",
 | 
						|
            "weaponData" : {
 | 
						|
                "weaponClass" : "sword1h",
 | 
						|
                "damage" : 10,
 | 
						|
                "hitboxes" : [
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade1",
 | 
						|
                        "radius": 0.04
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade2",
 | 
						|
                        "radius": 0.04
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade3",
 | 
						|
                        "radius": 0.04
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "weapon"
 | 
						|
            },
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "MELEE",
 | 
						|
                "TARGETABLE",
 | 
						|
                "OUTLINE"
 | 
						|
            ],
 | 
						|
            "idleAnim" : "Sword|Idle",
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.03,
 | 
						|
                "dimension2" : 0.03,
 | 
						|
                "dimension3" : 0.2,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0.0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0.0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconWeapon.png"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "itemId" : "Katana2H",
 | 
						|
            "modelPath" : "Models/items/weapons/katana1alt.glb",
 | 
						|
            "weaponData" : {
 | 
						|
                "weaponClass" : "sword2h",
 | 
						|
                "damage" : 10,
 | 
						|
                "hitboxes" : [
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade1",
 | 
						|
                        "radius": 0.04
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade2",
 | 
						|
                        "radius": 0.04
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade3",
 | 
						|
                        "radius": 0.04
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "type": "hit_connected",
 | 
						|
                        "bone": "Blade3",
 | 
						|
                        "radius": 0.04,
 | 
						|
                        "offset": [0, 0, 0.15]
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "weapon2H"
 | 
						|
            },
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "MELEE",
 | 
						|
                "TARGETABLE",
 | 
						|
                "OUTLINE"
 | 
						|
            ],
 | 
						|
            "idleAnim" : "Idle",
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.03,
 | 
						|
                "dimension2" : 0.03,
 | 
						|
                "dimension3" : 0.2,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0.0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0.0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconWeapon.png"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "itemId" : "bow1",
 | 
						|
            "modelPath": "Models/bow1.fbx",
 | 
						|
            "weaponData" : {
 | 
						|
                "weaponClass" : "bow2h",
 | 
						|
                "damage" : 10,
 | 
						|
                "projectileModel" : "Models/arrow1.fbx"
 | 
						|
            },
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "weapon"
 | 
						|
            },
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "RANGED",
 | 
						|
                "TARGETABLE",
 | 
						|
                "OUTLINE"
 | 
						|
            ],
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.1,
 | 
						|
                "dimension2" : 0.1,
 | 
						|
                "dimension3" : 0.35,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconWeapon.png"
 | 
						|
        },
 | 
						|
 | 
						|
        {
 | 
						|
            "itemId" : "shorts1",
 | 
						|
            "modelPath": "Models/items/itemEntityShorts.fbx",
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "clothing",
 | 
						|
                "equipWhitelist" : [
 | 
						|
                    {
 | 
						|
                        "creatureId" : "human",
 | 
						|
                        "model" : "Models/creatures/person2/clothing/shorts1.fbx",
 | 
						|
                        "meshList" : [
 | 
						|
                            "ClothingItem"
 | 
						|
                        ],
 | 
						|
                        "meshMaskList" : [
 | 
						|
                            "Shorts"
 | 
						|
                        ]
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "TARGETABLE"
 | 
						|
            ],
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.1,
 | 
						|
                "dimension2" : 0.1,
 | 
						|
                "dimension3" : 0.35,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconItemGeneric.png"
 | 
						|
        },
 | 
						|
 | 
						|
        {
 | 
						|
            "itemId" : "hairshort1",
 | 
						|
            "modelPath": "Models/itemEntityShorts.fbx",
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "trait",
 | 
						|
                "equipWhitelist" : [
 | 
						|
                    {
 | 
						|
                        "creatureId" : "human",
 | 
						|
                        "model" : "Models/hairshort1.fbx",
 | 
						|
                        "meshList" : [
 | 
						|
                            "Hair"
 | 
						|
                        ],
 | 
						|
                        "meshMaskList" : []
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "ARMOR",
 | 
						|
                "TARGETABLE"
 | 
						|
            ],
 | 
						|
            "equipClass" : "trait",
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.1,
 | 
						|
                "dimension2" : 0.1,
 | 
						|
                "dimension3" : 0.35,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconItemGeneric.png"
 | 
						|
        },
 | 
						|
 | 
						|
        {
 | 
						|
            "itemId" : "boots1",
 | 
						|
            "modelPath": "Models/boots1.glb",
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "ARMOR",
 | 
						|
                "TARGETABLE"
 | 
						|
            ],
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "clothing",
 | 
						|
                "equipWhitelist" : [
 | 
						|
                    {
 | 
						|
                        "creatureId" : "human",
 | 
						|
                        "model" : "Models/boots1.glb",
 | 
						|
                        "meshList" : [
 | 
						|
                            "BootLeft",
 | 
						|
                            "BootRight"
 | 
						|
                        ],
 | 
						|
                        "meshMaskList" : [
 | 
						|
                        ]
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.1,
 | 
						|
                "dimension2" : 0.1,
 | 
						|
                "dimension3" : 0.35,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconItemGeneric.png"
 | 
						|
        },
 | 
						|
 | 
						|
        {
 | 
						|
            "itemId" : "shirt1",
 | 
						|
            "modelPath": "Models/itemEntityShorts.fbx",
 | 
						|
            "tokens" : [
 | 
						|
                "GRAVITY",
 | 
						|
                "ARMOR",
 | 
						|
                "TARGETABLE"
 | 
						|
            ],
 | 
						|
            "equipData": {
 | 
						|
                "equipClass" : "clothing",
 | 
						|
                "equipWhitelist" : [
 | 
						|
                    {
 | 
						|
                        "creatureId" : "human",
 | 
						|
                        "model" : "Models/shirt1.fbx",
 | 
						|
                        "meshList" : [
 | 
						|
                            "ClothingItem"
 | 
						|
                        ],
 | 
						|
                        "meshMaskList" : [
 | 
						|
                            "ShoulderLeft",
 | 
						|
                            "ShoulderRight"
 | 
						|
                        ]
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "collidable": {
 | 
						|
                "type" : "CUBE",
 | 
						|
                "dimension1" : 0.1,
 | 
						|
                "dimension2" : 0.1,
 | 
						|
                "dimension3" : 0.35,
 | 
						|
                "rotX": 0,
 | 
						|
                "rotY": 0,
 | 
						|
                "rotZ": 0,
 | 
						|
                "rotW": 1,
 | 
						|
                "offsetX" : 0,
 | 
						|
                "offsetY" : 0.05,
 | 
						|
                "offsetZ" : 0
 | 
						|
            },
 | 
						|
            "iconPath" : "Textures/icons/itemIconItemGeneric.png"
 | 
						|
        }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    ]
 | 
						|
} |