Files
HeroesStone_PRC8/_module/utt/dst_trigger007.utt.json
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

122 lines
4.8 KiB
JSON

{
"__data_type": "UTT ",
"AutoRemoveKey": {
"type": "byte",
"value": 0
},
"Comment": {
"type": "cexostring",
"value": "Generic Descriptive Skill Trigger/Placeable.\r\nby OldManWhistler\r\n\r\nUse PGUP/PGDW to scroll. The PDF file that came with this script has this information available in an easy to print form.\r\n\r\nThis is an automated trigger where all the information about how the trigger is supposed to work is contained in the trigger instance. This script works with the OnUsed event for placeables or the OnEnter/OnClick event for triggers.\r\n\r\nThe NAME of the trigger will control the text that is displayed on success.\r\n\r\nThe TAG of the trigger will control the rest of the variables:\r\nSAD_DC_SET_XP_OBJ_FC_RESREF\r\n\r\nSAD: The number for the skill, ability or description.\r\nDC: The DC that has to be beaten by a d20+modifier roll.\r\nSET: Determines how the trigger will function.\r\nXP: The amount of XP to reward on success.\r\nOBJ: Specifies the type of object to create.\r\nFC: Specifies the orientation/direction of the created object.\r\nRESREF: Must match a valid ResRef of the object to be created or sound to be played.\r\nThe RESREF *can* contain underscores. Remember that resrefs are case sensitive.\r\n\r\nNote: Any values that are not filled in will be taken as a value of zero or an empty string. You *must* fill all the values up to your last significant value.\r\n\r\nValid values for SAD:\r\n0 - Animal Empathy\r\n1 - Concentration\r\n2 - Disable Trap\r\n3 - Discipline\r\n4 - Heal\r\n5 - Hide\r\n6 - Listen\r\n7 - Lore\r\n8 - Move Silently\r\n9 - Open Lock\r\n10 - Parry\r\n11 - Perform\r\n12 - Persuade\r\n13 - Pick Pocket\r\n14 - Search\r\n15 - Set Trap\r\n16 - Spellcraft\r\n17 - Spot\r\n18 - Taunt\r\n19 - Use Magic Device\r\n20 - Appraise\r\n21 - Tumble\r\n22 - Craft Trap\r\n50 - Strength\r\n51 - Dexterity\r\n52 - Constitution\r\n53 - Intelligence\r\n54 - Wisdom\r\n55 - Charisma\r\n56 - Description (no check, always succeeds)\r\n57 - Tracking (only rangers can pass DC>10, -5 penalty if in passive detect mode)\r\n\r\nValid values for SET: (Value in brackets is with DM notification)\r\n0 (32) Display to player who triggered, can be repeated\r\n2 (34) Display to player, check until successful\r\n3 (35) Display to party, check until successful \r\n6 (38) Display to player, only one chance to be successful \r\n7 (39) Display to party, only one chance to be successful \r\n8 (40) Display to player, trigger destroys itself on success\r\n9 (41) Display to party, trigger destroys itself on success\r\n12 (44) Display to player, only one chance to be successful, destroys itself on success\r\n13 (45) Display to party, only one chance to be successful, destroys itself on success\r\n24 (56) Display to player, trigger destroys itself after one check \r\n25 (57) Display to party, trigger destroys itself after one check \r\n\r\nValid values for OBJ:\r\n1 - Creature\r\n2 - Item\r\n3 - Placeable\r\n4 - Sound\r\n\r\nValid values for FC:\r\n0 - East\r\n1 - North East\r\n2 - North\r\n3 - North West\r\n4 - West\r\n5 - South West\r\n6 - South\r\n7 - South East"
},
"Cursor": {
"type": "byte",
"value": 0
},
"DisarmDC": {
"type": "byte",
"value": 10
},
"Faction": {
"type": "dword",
"value": 1
},
"HighlightHeight": {
"type": "float",
"value": 3.0
},
"KeyName": {
"type": "cexostring",
"value": ""
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LinkedToFlags": {
"type": "byte",
"value": 0
},
"LoadScreenID": {
"type": "word",
"value": 0
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "Generic Non-plot Trigger (see comments for instructions)"
}
},
"OnClick": {
"type": "resref",
"value": ""
},
"OnDisarm": {
"type": "resref",
"value": ""
},
"OnTrapTriggered": {
"type": "resref",
"value": ""
},
"PaletteID": {
"type": "byte",
"value": 0
},
"PortraitId": {
"type": "word",
"value": 0
},
"ScriptHeartbeat": {
"type": "resref",
"value": ""
},
"ScriptOnEnter": {
"type": "resref",
"value": "trig_skill_desc"
},
"ScriptOnExit": {
"type": "resref",
"value": ""
},
"ScriptUserDefine": {
"type": "resref",
"value": ""
},
"Tag": {
"type": "cexostring",
"value": "SAD_DC_7_XP_OBJ_FC_RESREF"
},
"TemplateResRef": {
"type": "resref",
"value": "dst_trigger007"
},
"TrapDetectable": {
"type": "byte",
"value": 1
},
"TrapDetectDC": {
"type": "byte",
"value": 10
},
"TrapDisarmable": {
"type": "byte",
"value": 1
},
"TrapFlag": {
"type": "byte",
"value": 0
},
"TrapOneShot": {
"type": "byte",
"value": 1
},
"TrapType": {
"type": "byte",
"value": 0
},
"Type": {
"type": "int",
"value": 0
}
}