add lightsource presets
This commit is contained in:
@@ -0,0 +1,498 @@
|
||||
{
|
||||
"_id": "YsC5j6N3xaqFPnQF",
|
||||
"name": "Torch - Sconce A",
|
||||
"pages": [],
|
||||
"folder": "p04T1S3r6doFvu9R",
|
||||
"flags": {
|
||||
"multi-token-edit": {
|
||||
"preset": {
|
||||
"id": "YsC5j6N3xaqFPnQF",
|
||||
"name": "Torch - Sconce A",
|
||||
"data": [
|
||||
{
|
||||
"texture": {
|
||||
"scaleX": 1,
|
||||
"scaleY": 1,
|
||||
"src": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Orange_A_Lit_1x1.webp",
|
||||
"anchorX": 0.5,
|
||||
"anchorY": 0.5,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"fit": "fill",
|
||||
"rotation": 0,
|
||||
"tint": "#ffffff",
|
||||
"alphaThreshold": 0.75
|
||||
},
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"x": 896,
|
||||
"y": 768,
|
||||
"rotation": 0,
|
||||
"elevation": 0,
|
||||
"sort": 11,
|
||||
"occlusion": {
|
||||
"mode": 0,
|
||||
"alpha": 0
|
||||
},
|
||||
"alpha": 1,
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"restrictions": {
|
||||
"light": false,
|
||||
"weather": false
|
||||
},
|
||||
"video": {
|
||||
"loop": true,
|
||||
"autoplay": true,
|
||||
"volume": 0
|
||||
},
|
||||
"flags": {
|
||||
"monks-active-tiles": {
|
||||
"name": "",
|
||||
"active": true,
|
||||
"record": false,
|
||||
"restriction": "all",
|
||||
"controlled": "gm",
|
||||
"trigger": [
|
||||
"dblclick",
|
||||
"rightclick"
|
||||
],
|
||||
"allowpaused": true,
|
||||
"usealpha": true,
|
||||
"pointer": false,
|
||||
"vision": false,
|
||||
"pertoken": false,
|
||||
"minrequired": null,
|
||||
"cooldown": null,
|
||||
"chance": 100,
|
||||
"fileindex": 2,
|
||||
"actions": [
|
||||
{
|
||||
"action": "checkvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"type": "all",
|
||||
"name": "litImage",
|
||||
"value": "= null",
|
||||
"fail": "skipSetup"
|
||||
},
|
||||
"id": "B83dwq6Qs9vnjM3s"
|
||||
},
|
||||
{
|
||||
"action": "setvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"name": "litImage",
|
||||
"value": "= 3"
|
||||
},
|
||||
"id": "yehaqzg3CNtJ08YQ"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "skipSetup",
|
||||
"stop": false
|
||||
},
|
||||
"id": "eqr62bJYHWYqSvXW"
|
||||
},
|
||||
{
|
||||
"action": "checkvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"type": "all",
|
||||
"name": "isOff",
|
||||
"value": "= \"yes\"",
|
||||
"fail": "turnOff"
|
||||
},
|
||||
"id": "ZYER36pqxbBy2SgT"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "turnOn",
|
||||
"stop": false
|
||||
},
|
||||
"id": "tqtnh8jiKRacab8i"
|
||||
},
|
||||
{
|
||||
"action": "setvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"name": "isOff",
|
||||
"value": "no"
|
||||
},
|
||||
"id": "hJAqUoGolo9bWYMM"
|
||||
},
|
||||
{
|
||||
"action": "activate",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tagger:torch_{#}",
|
||||
"match": "all",
|
||||
"scene": "_active",
|
||||
"name": "<i class=\"fas fa-tag fa-sm\"></i> torch_{#}"
|
||||
},
|
||||
"collection": "tiles",
|
||||
"activate": "activate"
|
||||
},
|
||||
"id": "IFybMYxYiM5c260U"
|
||||
},
|
||||
{
|
||||
"action": "tileimage",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"select": "{{variable.litImage}}",
|
||||
"transition": "none",
|
||||
"speed": 1,
|
||||
"loop": 1
|
||||
},
|
||||
"id": "7QK9HmfD49s1ZD4n"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "turnOff",
|
||||
"stop": true
|
||||
},
|
||||
"id": "QS1YxfTL3zoS1zyv"
|
||||
},
|
||||
{
|
||||
"action": "setvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"name": "isOff",
|
||||
"value": "yes"
|
||||
},
|
||||
"id": "PSTJJKvtinlXX30b"
|
||||
},
|
||||
{
|
||||
"action": "activate",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tagger:torch_{#}",
|
||||
"match": "all",
|
||||
"scene": "_active",
|
||||
"name": "<i class=\"fas fa-tag fa-sm\"></i> torch_{#}"
|
||||
},
|
||||
"collection": "tiles",
|
||||
"activate": "deactivate"
|
||||
},
|
||||
"id": "Es7WG2CqLIbXAPmL"
|
||||
},
|
||||
{
|
||||
"action": "tileimage",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"select": "1",
|
||||
"transition": "none",
|
||||
"speed": 1,
|
||||
"loop": 1
|
||||
},
|
||||
"id": "eiQUaLarhn370zEJ"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "Reset",
|
||||
"stop": true
|
||||
},
|
||||
"id": "XBQCkJpW7FKofos0"
|
||||
},
|
||||
{
|
||||
"action": "goto",
|
||||
"data": {
|
||||
"tag": "turnOn",
|
||||
"limit": "",
|
||||
"rollmode": "roll",
|
||||
"resume": false
|
||||
},
|
||||
"id": "KjCGb8AA7df9FokT"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "_rightclick",
|
||||
"stop": true
|
||||
},
|
||||
"id": "7fqxawgrfdebzn4f"
|
||||
},
|
||||
{
|
||||
"action": "dialog",
|
||||
"data": {
|
||||
"dialogtype": "custom",
|
||||
"id": "",
|
||||
"title": "Choose Torch Color",
|
||||
"showto": "trigger",
|
||||
"content": "<form>\n<div>Select a torch color.</div>\n<select name=\"color\">\n <option value=\"2\">Red</option>\n <option value=\"3\">Orange</option>\n <option value=\"4\">Green</option>\n <option value=\"5\">Blue</option>\n <option value=\"6\">Purple</option>\n</select>\n</form>",
|
||||
"file": "",
|
||||
"classes": "",
|
||||
"width": "",
|
||||
"height": "",
|
||||
"yes": "",
|
||||
"no": "",
|
||||
"close": "",
|
||||
"buttons": [
|
||||
{
|
||||
"id": "qqwf5PtAZUr2dRSP",
|
||||
"name": "Set Color",
|
||||
"goto": "setColor",
|
||||
"icon": "",
|
||||
"submit": true
|
||||
},
|
||||
{
|
||||
"id": "C7egWzMwVUEcwNg6",
|
||||
"name": "Cancel",
|
||||
"goto": "",
|
||||
"icon": "",
|
||||
"submit": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "EnrAqcfF3lQXyvbo"
|
||||
},
|
||||
{
|
||||
"action": "anchor",
|
||||
"data": {
|
||||
"tag": "setColor",
|
||||
"stop": true
|
||||
},
|
||||
"id": "JS6D9vFCCFkClNdM"
|
||||
},
|
||||
{
|
||||
"action": "setvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"name": "litImage",
|
||||
"value": "= {{value.color}}"
|
||||
},
|
||||
"id": "biyjBjoHkrnF8lUA"
|
||||
},
|
||||
{
|
||||
"action": "setvariable",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tile",
|
||||
"name": "This Tile"
|
||||
},
|
||||
"name": "litColor",
|
||||
"value": "= ({{value.color}} == 2 ? \"#cc0000\" : ({{value.color}} == 3 ? \"#ffe894\" : ({{value.color}} == 4 ? \"#6af868\" : ({{value.color}} == 5 ? \"#c6c2ff\" : ({{value.color}} == 6 ? \"#fd75ff\" : \"#000000\")))))"
|
||||
},
|
||||
"id": "JiRPK9U0T489qmt0"
|
||||
},
|
||||
{
|
||||
"action": "alter",
|
||||
"data": {
|
||||
"entity": {
|
||||
"id": "tagger:torch_{#}",
|
||||
"match": "all",
|
||||
"scene": "_active",
|
||||
"name": "<i class=\"fas fa-tag fa-sm\"></i> torch_{#}"
|
||||
},
|
||||
"collection": "tokens",
|
||||
"attribute": "config.color",
|
||||
"value": "{{variable.litColor}}",
|
||||
"chatMessage": false,
|
||||
"rollmode": "roll"
|
||||
},
|
||||
"id": "xbpBUgaMGTm4kRje"
|
||||
},
|
||||
{
|
||||
"action": "goto",
|
||||
"data": {
|
||||
"tag": "turnOn",
|
||||
"limit": "",
|
||||
"rollmode": "roll",
|
||||
"resume": false
|
||||
},
|
||||
"id": "Rv65qjpPMmcC4ErO"
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"id": "NohiqvXigDe5jSeX",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Sconce_A_1x1.webp",
|
||||
"selected": false
|
||||
},
|
||||
{
|
||||
"id": "Fw1pvuduvv0ftbe9",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Red_A_Lit_1x1.webp",
|
||||
"selected": false
|
||||
},
|
||||
{
|
||||
"id": "fWeFn16nPbKEKt1k",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Orange_A_Lit_1x1.webp",
|
||||
"selected": true
|
||||
},
|
||||
{
|
||||
"id": "aqBftVLWbIku7kUt",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Green_A_Lit_1x1.webp",
|
||||
"selected": false
|
||||
},
|
||||
{
|
||||
"id": "H50KPLYDMLAZsV9r",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Blue_A_Lit_1x1.webp",
|
||||
"selected": false
|
||||
},
|
||||
{
|
||||
"id": "ncs84nTNsjSFnIj6",
|
||||
"name": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Purple_A_Lit_1x1.webp",
|
||||
"selected": false
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"isOff": "no",
|
||||
"litImage": 3,
|
||||
"litColor": "#ffe894"
|
||||
}
|
||||
},
|
||||
"levels": {
|
||||
"rangeTop": null,
|
||||
"showIfAbove": false,
|
||||
"showAboveRange": null,
|
||||
"noCollision": false,
|
||||
"noFogHide": false,
|
||||
"isBasement": false,
|
||||
"allWallBlockSight": true
|
||||
},
|
||||
"tagger": {
|
||||
"tags": "Torch,Reset_Trigger,Torch_Sconce_A,Lightsource"
|
||||
},
|
||||
"multiface-tiles": {
|
||||
"originalImage": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Blue_A_Lit_1x1.webp"
|
||||
},
|
||||
"multi-token-edit": {
|
||||
"links": [
|
||||
{
|
||||
"id": "l2uQ03tgNWKgg98a",
|
||||
"type": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_id": "ZMseKZUm0jpD7Mvn"
|
||||
}
|
||||
],
|
||||
"sort": 200000,
|
||||
"folder": "p04T1S3r6doFvu9R",
|
||||
"uuid": "Compendium.world.mass-edit-presets-main.JournalEntry.YsC5j6N3xaqFPnQF",
|
||||
"documentName": "Tile",
|
||||
"addSubtract": [],
|
||||
"randomize": [],
|
||||
"img": "fa/assets/!Core_Settlements/Lightsources/Torches_and_Sconces/Lit/Sconce_Orange_A_Lit_1x1.webp",
|
||||
"gridSize": 128,
|
||||
"preSpawnScript": "",
|
||||
"postSpawnScript": "",
|
||||
"spawnRandom": false,
|
||||
"attached": [
|
||||
{
|
||||
"documentName": "AmbientLight",
|
||||
"data": {
|
||||
"x": 974,
|
||||
"y": 833,
|
||||
"elevation": 0,
|
||||
"rotation": 0,
|
||||
"walls": true,
|
||||
"vision": false,
|
||||
"config": {
|
||||
"negative": false,
|
||||
"priority": 0,
|
||||
"alpha": 0.15,
|
||||
"angle": 360,
|
||||
"bright": 4,
|
||||
"color": "#ffe894",
|
||||
"coloration": 10,
|
||||
"dim": 5,
|
||||
"attenuation": 0.5,
|
||||
"luminosity": 0.5,
|
||||
"saturation": 0,
|
||||
"contrast": 0,
|
||||
"shadows": 0,
|
||||
"animation": {
|
||||
"type": "flame",
|
||||
"speed": 5,
|
||||
"intensity": 1,
|
||||
"reverse": false
|
||||
},
|
||||
"darkness": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
},
|
||||
"hidden": false,
|
||||
"flags": {
|
||||
"levels": {
|
||||
"rangeTop": null
|
||||
},
|
||||
"tagger": {
|
||||
"tags": [
|
||||
"torch_{#}",
|
||||
"torch",
|
||||
"magic_torch"
|
||||
]
|
||||
},
|
||||
"multi-token-edit": {
|
||||
"links": [
|
||||
{
|
||||
"id": "l2uQ03tgNWKgg98a",
|
||||
"type": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_id": "yzOXl2OUbkKec2OZ"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"torch",
|
||||
"colorchange",
|
||||
"lightsource",
|
||||
"sconce"
|
||||
],
|
||||
"preserveLinks": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"categories": [],
|
||||
"sort": 0,
|
||||
"ownership": {
|
||||
"default": 0,
|
||||
"sVoCvBU1knmXzoYe": 3
|
||||
},
|
||||
"_stats": {
|
||||
"compendiumSource": null,
|
||||
"duplicateSource": null,
|
||||
"exportSource": null,
|
||||
"coreVersion": "13.347",
|
||||
"systemId": "swade",
|
||||
"systemVersion": "5.0.4",
|
||||
"createdTime": 1755660601982,
|
||||
"modifiedTime": 1755660601982,
|
||||
"lastModifiedBy": "sVoCvBU1knmXzoYe"
|
||||
},
|
||||
"_key": "!journal!YsC5j6N3xaqFPnQF"
|
||||
}
|
||||
Reference in New Issue
Block a user