301 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			301 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "__data_type": "UTP ",
 | 
						|
  "AnimationState": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Appearance": {
 | 
						|
    "type": "dword",
 | 
						|
    "value": 445
 | 
						|
  },
 | 
						|
  "AutoRemoveKey": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "BodyBag": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "CloseLockDC": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Comment": {
 | 
						|
    "type": "cexostring",
 | 
						|
    "value": "IMPORTANT:\r\n\r\nAlways create these chest in the palette then place them in the module.\r\n\r\nThe Tag name and Res Ref name must both be in small case letters, no capitals, and be exactly the same for object to be able to respawn.\r\n\r\nSo when you create a respawning chest, make sure you name it both the same name for resref and tagname in lower case letters.\r\n\r\nExample:\r\n\r\nName: Treasure  Chest\r\n\r\ntagname:       rtchest33  (located below the name of the placeable)\r\nresrefname:    rtchest33 (located in the advanced tab)\r\n\r\n\r\nYou can edit the script here to execute base NWN scripts to spawn treasure in the chest as well, just read the script.\r\n\r\nEnjoy\r\n\r\nGenisys."
 | 
						|
  },
 | 
						|
  "Conversation": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "CurrentHP": {
 | 
						|
    "type": "short",
 | 
						|
    "value": 200
 | 
						|
  },
 | 
						|
  "Description": {
 | 
						|
    "type": "cexolocstring",
 | 
						|
    "value": {
 | 
						|
      "id": 14595
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "DisarmDC": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 15
 | 
						|
  },
 | 
						|
  "Faction": {
 | 
						|
    "type": "dword",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "Fort": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 66
 | 
						|
  },
 | 
						|
  "Hardness": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 20
 | 
						|
  },
 | 
						|
  "HasInventory": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "HP": {
 | 
						|
    "type": "short",
 | 
						|
    "value": 200
 | 
						|
  },
 | 
						|
  "Interruptable": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "ItemList": {
 | 
						|
    "type": "list",
 | 
						|
    "value": [
 | 
						|
      {
 | 
						|
        "__struct_id": 0,
 | 
						|
        "InventoryRes": {
 | 
						|
          "type": "resref",
 | 
						|
          "value": "brilliantemer043"
 | 
						|
        },
 | 
						|
        "Repos_PosX": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        },
 | 
						|
        "Repos_Posy": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "__struct_id": 1,
 | 
						|
        "InventoryRes": {
 | 
						|
          "type": "resref",
 | 
						|
          "value": "shadowpotion034"
 | 
						|
        },
 | 
						|
        "Repos_PosX": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 1
 | 
						|
        },
 | 
						|
        "Repos_Posy": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "__struct_id": 2,
 | 
						|
        "InventoryRes": {
 | 
						|
          "type": "resref",
 | 
						|
          "value": "potofmagicpur001"
 | 
						|
        },
 | 
						|
        "Repos_PosX": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 2
 | 
						|
        },
 | 
						|
        "Repos_Posy": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "__struct_id": 3,
 | 
						|
        "InventoryRes": {
 | 
						|
          "type": "resref",
 | 
						|
          "value": "restorepotion045"
 | 
						|
        },
 | 
						|
        "Repos_PosX": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 3
 | 
						|
        },
 | 
						|
        "Repos_Posy": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        }
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "__struct_id": 4,
 | 
						|
        "InventoryRes": {
 | 
						|
          "type": "resref",
 | 
						|
          "value": "geg_01"
 | 
						|
        },
 | 
						|
        "Repos_PosX": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 4
 | 
						|
        },
 | 
						|
        "Repos_Posy": {
 | 
						|
          "type": "word",
 | 
						|
          "value": 0
 | 
						|
        }
 | 
						|
      }
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "KeyName": {
 | 
						|
    "type": "cexostring",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "KeyRequired": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Lockable": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Locked": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "LocName": {
 | 
						|
    "type": "cexolocstring",
 | 
						|
    "value": {
 | 
						|
      "0": "Drow Chest",
 | 
						|
      "id": 5348
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "OnClick": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnClosed": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnDamaged": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnDeath": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": "respawnhigh"
 | 
						|
  },
 | 
						|
  "OnDisarm": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnHeartbeat": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnInvDisturbed": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnLock": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnMeleeAttacked": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnOpen": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": "respawnhigh_oo"
 | 
						|
  },
 | 
						|
  "OnSpellCastAt": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnTrapTriggered": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnUnlock": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnUsed": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OnUserDefined": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": ""
 | 
						|
  },
 | 
						|
  "OpenLockDC": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 18
 | 
						|
  },
 | 
						|
  "PaletteID": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 253
 | 
						|
  },
 | 
						|
  "Plot": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "PortraitId": {
 | 
						|
    "type": "word",
 | 
						|
    "value": 928
 | 
						|
  },
 | 
						|
  "Ref": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Static": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Tag": {
 | 
						|
    "type": "cexostring",
 | 
						|
    "value": "drowhighchst"
 | 
						|
  },
 | 
						|
  "TemplateResRef": {
 | 
						|
    "type": "resref",
 | 
						|
    "value": "drowhighchst"
 | 
						|
  },
 | 
						|
  "TrapDetectable": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "TrapDetectDC": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "TrapDisarmable": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "TrapFlag": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "TrapOneShot": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "TrapType": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Type": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  },
 | 
						|
  "Useable": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 1
 | 
						|
  },
 | 
						|
  "Will": {
 | 
						|
    "type": "byte",
 | 
						|
    "value": 0
 | 
						|
  }
 | 
						|
}
 |