modify trees

This commit is contained in:
2024-04-21 21:15:14 -05:00
parent 04eb497479
commit 27be4d4155
16 changed files with 51 additions and 33 deletions
@@ -91,6 +91,12 @@
"twRadiusPercent": 150,
"padding": 100,
"animated": {
"rotation": {
"animType": "sinOscillation",
"val1": -1,
"val2": 1,
"loopDuration": 5000
},
"twRotation": {
"animType": "sinOscillation",
"val1": -1,
@@ -149,7 +155,7 @@
"assets/tiles/forgotten-adventures/Flora/Trees/Bare_Trees/Bare_Tree_Ashen_B8_10x11.webp",
"assets/tiles/forgotten-adventures/Flora/Trees/Bare_Trees/Bare_Tree_Ashen_B9_9x9.webp"
],
"maintainAspect": true
"maintainAspect": false
}
],
[
@@ -166,7 +172,7 @@
"img": "assets/tiles/forgotten-adventures/Flora/Trees/Bare_Trees/Bare_Tree_Ashen_A1_8x9.webp",
"gridSize": 100,
"preSpawnScript": "",
"postSpawnScript": "",
"postSpawnScript": "let doc = documents[0]\nlet size = doc.texture.src.split('.')[0].split('_').reverse()[0].split('x').map(v => Number(v))\nlet gridSize = game.scenes.current.grid.size\nlet width = gridSize * size[0]\nlet height = gridSize * size[1]\ndoc.update({width, height})\nconsole.log(documents)",
"spawnRandom": false,
"tags": [
"tree",
@@ -184,8 +190,8 @@
"systemId": "swade",
"systemVersion": "3.3.11",
"coreVersion": "11.315",
"createdTime": 1713122967204,
"modifiedTime": 1713122967204,
"createdTime": 1713732992430,
"modifiedTime": 1713732992430,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal!Qotnm3XHVgq8q3P8"
@@ -18,8 +18,8 @@
"systemId": "swade",
"systemVersion": "3.3.11",
"coreVersion": "11.315",
"createdTime": 1713122967193,
"modifiedTime": 1713122967193,
"createdTime": 1713732992413,
"modifiedTime": 1713732992413,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!folders!Q7eMBbwHO1vhJcmY"
@@ -54,6 +54,12 @@
"twRadiusPercent": 150,
"padding": 100,
"animated": {
"rotation": {
"animType": "sinOscillation",
"val1": -1,
"val2": 1,
"loopDuration": 5000
},
"twRotation": {
"animType": "sinOscillation",
"val1": -1,
@@ -164,8 +170,8 @@
"systemId": "swade",
"systemVersion": "3.3.11",
"coreVersion": "11.315",
"createdTime": 1713122967231,
"modifiedTime": 1713122967231,
"createdTime": 1713732992457,
"modifiedTime": 1713732992457,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal!WvG2m7tF204XbwYA"
@@ -91,6 +91,12 @@
"twRadiusPercent": 150,
"padding": 100,
"animated": {
"rotation": {
"animType": "sinOscillation",
"val1": -1,
"val2": 1,
"loopDuration": 5000
},
"twRotation": {
"animType": "sinOscillation",
"val1": -1,
@@ -177,7 +183,7 @@
"img": "assets/tiles/forgotten-adventures/Flora/Trees/Tree_Tops/Tree_Green_A1_6x6.webp",
"gridSize": 100,
"preSpawnScript": "",
"postSpawnScript": "",
"postSpawnScript": "let doc = documents[0]\nlet size = doc.texture.src.split('.')[0].split('_').reverse()[0].split('x').map(v => Number(v))\nlet gridSize = game.scenes.current.grid.size\nlet width = gridSize * size[0]\nlet height = gridSize * size[1]\ndoc.update({width, height})\nconsole.log(documents)",
"spawnRandom": false,
"tags": [
"tree",
@@ -195,8 +201,8 @@
"systemId": "swade",
"systemVersion": "3.3.11",
"coreVersion": "11.315",
"createdTime": 1713122967218,
"modifiedTime": 1713122967218,
"createdTime": 1713732992446,
"modifiedTime": 1713732992446,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal!rFtMnEzao5nT9kLe"
@@ -114,7 +114,7 @@
"systemVersion": "3.3.11",
"coreVersion": "11.315",
"createdTime": 1707793089424,
"modifiedTime": 1713122967237,
"modifiedTime": 1713732992465,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal!MassEditMetaData"