{ "__data_type": "UTP ", "AnimationState": { "type": "byte", "value": 0 }, "Appearance": { "type": "dword", "value": 157 }, "AutoRemoveKey": { "type": "byte", "value": 0 }, "BodyBag": { "type": "byte", "value": 0 }, "CloseLockDC": { "type": "byte", "value": 0 }, "Comment": { "type": "cexostring", "value": "Glyph of Warding\r\n\r\nThis object will create a glyph of warding at its location in the game. There are a couple of Variables you can set on this object to change the glyphs behavior.\r\n\r\nint X2_PLC_GLYPH_CASTER_LEVEL - The caster level used for the spellscript\r\n\r\nint X2_PLC_GLYPH_CASTER_METAMAGIC - Metamagic conditions like with (GetMetaMagicFeat());\r\n\r\nint X2_PLC_GLYPH_SPELL - The ID of the spell to run when someone triggers the glyph (default = 764, fireball = 58, basically may spells from spells.2da work, some, especially spells that rely frequent on caster level calculations may not work)\r\n\r\nint X2_PLC_GLYPH_PERMANENT - if set to 1 the glyph will not have a duration based on the caster level but instead remain until triggered.\r\n\r\nint X2_PLC_GLYPH_CHARGES - you can set the number of times the glyph will fire until destroyed here. -1 means permanent, 0 means 1 time, 1 means 2 times, etc... Player created glyphs always last only one time/\r\n\r\nstring X2_GLYPH_SPELLSCRIPT - if you set the name of a script in here, this script will be run on the target when the glyph fires, in addition to casting a fake spell vfx taken from X2_PLC_GLYPH_SPELL " }, "Conversation": { "type": "resref", "value": "" }, "CurrentHP": { "type": "short", "value": 15 }, "Description": { "type": "cexolocstring", "value": { "id": 14662 } }, "DisarmDC": { "type": "byte", "value": 15 }, "Faction": { "type": "dword", "value": 1 }, "Fort": { "type": "byte", "value": 16 }, "Hardness": { "type": "byte", "value": 5 }, "HasInventory": { "type": "byte", "value": 0 }, "HP": { "type": "short", "value": 15 }, "Interruptable": { "type": "byte", "value": 1 }, "KeyName": { "type": "cexostring", "value": "" }, "KeyRequired": { "type": "byte", "value": 0 }, "Lockable": { "type": "byte", "value": 0 }, "Locked": { "type": "byte", "value": 0 }, "LocName": { "type": "cexolocstring", "value": { "id": 91362 } }, "OnClosed": { "type": "resref", "value": "" }, "OnDamaged": { "type": "resref", "value": "" }, "OnDeath": { "type": "resref", "value": "" }, "OnDisarm": { "type": "resref", "value": "" }, "OnHeartbeat": { "type": "resref", "value": "x2_o0_glyphhb" }, "OnInvDisturbed": { "type": "resref", "value": "" }, "OnLock": { "type": "resref", "value": "" }, "OnMeleeAttacked": { "type": "resref", "value": "" }, "OnOpen": { "type": "resref", "value": "" }, "OnSpellCastAt": { "type": "resref", "value": "x2_o0_glyphspell" }, "OnTrapTriggered": { "type": "resref", "value": "" }, "OnUnlock": { "type": "resref", "value": "" }, "OnUsed": { "type": "resref", "value": "" }, "OnUserDefined": { "type": "resref", "value": "x2_o0_glyphude" }, "OpenLockDC": { "type": "byte", "value": 18 }, "PaletteID": { "type": "byte", "value": 15 }, "Plot": { "type": "byte", "value": 1 }, "PortraitId": { "type": "word", "value": 515 }, "Ref": { "type": "byte", "value": 0 }, "Static": { "type": "byte", "value": 0 }, "Tag": { "type": "cexostring", "value": "X2_PLC_GLYPH" }, "TemplateResRef": { "type": "resref", "value": "ozglyph01" }, "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": 0 }, "VarTable": { "type": "list", "value": [ { "__struct_id": 0, "Name": { "type": "cexostring", "value": "X2_PLC_GLYPH_PERMANENT" }, "Type": { "type": "dword", "value": 1 }, "Value": { "type": "int", "value": 1 } }, { "__struct_id": 0, "Name": { "type": "cexostring", "value": "X2_PLC_GLYPH_SPELL" }, "Type": { "type": "dword", "value": 1 }, "Value": { "type": "int", "value": 764 } }, { "__struct_id": 0, "Name": { "type": "cexostring", "value": "X2_PLC_GLYPH_CASTER_LEVEL" }, "Type": { "type": "dword", "value": 1 }, "Value": { "type": "int", "value": 6 } } ] }, "Will": { "type": "byte", "value": 0 } }