UW2_PRC8/_module/utp/respawningchest1.utp.json
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

222 lines
4.8 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": {
"0": "This is a respawning object, though it's currently a chest it can be any placeable container (just change the Appearance Type), it however does not generate treasure, you can generate treasure by right clicking on the pregenerated chest or loot bags and editing a copy of one of those.\n\nIMPORTANT: The tagname and the resref name must be the same, though it's not case sensitive, the name needs to be the same for scripting purposes.\n\nThis template was only designed so that you can create objects that are persistent, the object should have an inventory, anything you do to that chest, like lock it, or put a tap on it (edit in the palette always!) will be persistent when the next chest spawns, if you edit the chest (edited object) after you place it in the module, then it's only there for that one time, after the new copy spawns in the changes will not be there!",
"id": 14595
}
},
"DisarmDC": {
"type": "byte",
"value": 15
},
"Faction": {
"type": "dword",
"value": 1
},
"Fort": {
"type": "byte",
"value": 55
},
"Hardness": {
"type": "byte",
"value": 20
},
"HasInventory": {
"type": "byte",
"value": 1
},
"HP": {
"type": "short",
"value": 200
},
"Interruptable": {
"type": "byte",
"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": ".Template (Read Description!)",
"id": 5348
}
},
"OnClick": {
"type": "resref",
"value": ""
},
"OnClosed": {
"type": "resref",
"value": ""
},
"OnDamaged": {
"type": "resref",
"value": ""
},
"OnDeath": {
"type": "resref",
"value": "autorespawn"
},
"OnDisarm": {
"type": "resref",
"value": ""
},
"OnHeartbeat": {
"type": "resref",
"value": ""
},
"OnInvDisturbed": {
"type": "resref",
"value": ""
},
"OnLock": {
"type": "resref",
"value": ""
},
"OnMeleeAttacked": {
"type": "resref",
"value": ""
},
"OnOpen": {
"type": "resref",
"value": "autorespawn"
},
"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": "respawningchest1"
},
"TemplateResRef": {
"type": "resref",
"value": "respawningchest1"
},
"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
}
}