391 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			391 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "__data_type": "UTP ",
 | |
|   "AnimationState": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "Appearance": {
 | |
|     "type": "dword",
 | |
|     "value": 8
 | |
|   },
 | |
|   "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": "brilliantemer002"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 1,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "restorepotion045"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 1
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 2,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "shadowpotion034"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 2
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 3,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "it_mpotion029"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 3
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 4,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "grtclkofperfe001"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 4
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 5,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "undrwrldring44"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 6
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 6,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "underband044"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 1
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 7,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "geg_133"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 6
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 1
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 8,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "geg_124"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 0
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 2
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 9,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "geg_150"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 1
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 2
 | |
|         }
 | |
|       },
 | |
|       {
 | |
|         "__struct_id": 10,
 | |
|         "InventoryRes": {
 | |
|           "type": "resref",
 | |
|           "value": "geg_141"
 | |
|         },
 | |
|         "Repos_PosX": {
 | |
|           "type": "word",
 | |
|           "value": 2
 | |
|         },
 | |
|         "Repos_Posy": {
 | |
|           "type": "word",
 | |
|           "value": 2
 | |
|         }
 | |
|       }
 | |
|     ]
 | |
|   },
 | |
|   "KeyName": {
 | |
|     "type": "cexostring",
 | |
|     "value": ""
 | |
|   },
 | |
|   "KeyRequired": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "Lockable": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "Locked": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "LocName": {
 | |
|     "type": "cexolocstring",
 | |
|     "value": {
 | |
|       "0": "Treasure Chest",
 | |
|       "id": 5348
 | |
|     }
 | |
|   },
 | |
|   "OnClick": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnClosed": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnDamaged": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnDeath": {
 | |
|     "type": "resref",
 | |
|     "value": "respawnmed"
 | |
|   },
 | |
|   "OnDisarm": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnHeartbeat": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnInvDisturbed": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnLock": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnMeleeAttacked": {
 | |
|     "type": "resref",
 | |
|     "value": ""
 | |
|   },
 | |
|   "OnOpen": {
 | |
|     "type": "resref",
 | |
|     "value": "respawnmed_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": 15
 | |
|   },
 | |
|   "Plot": {
 | |
|     "type": "byte",
 | |
|     "value": 1
 | |
|   },
 | |
|   "PortraitId": {
 | |
|     "type": "word",
 | |
|     "value": 366
 | |
|   },
 | |
|   "Ref": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "Static": {
 | |
|     "type": "byte",
 | |
|     "value": 0
 | |
|   },
 | |
|   "Tag": {
 | |
|     "type": "cexostring",
 | |
|     "value": "medspecchst1"
 | |
|   },
 | |
|   "TemplateResRef": {
 | |
|     "type": "resref",
 | |
|     "value": "medspecchst1"
 | |
|   },
 | |
|   "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
 | |
|   }
 | |
| }
 |