2017-12-07 03:30:56 +01:00
|
|
|
{
|
2018-01-07 23:00:58 +01:00
|
|
|
"http": {
|
|
|
|
"port": 3002
|
|
|
|
},
|
2018-01-07 22:58:48 +01:00
|
|
|
"discord": {
|
|
|
|
"token": "<discord bot token>",
|
|
|
|
"client_id": "<discord client id>"
|
|
|
|
},
|
|
|
|
"templates": {
|
|
|
|
"bee": {
|
|
|
|
"src": "./resources/BeeTemplate.png",
|
|
|
|
"z": 0,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 475,
|
|
|
|
"size": 600
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 530
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"turtle": {
|
|
|
|
"src": "./resources/TurtleTemplate.png",
|
|
|
|
"z": 0,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 210,
|
|
|
|
"size": 150
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 150
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"santa": {
|
|
|
|
"src": "./resources/SantaHat.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 275,
|
|
|
|
"size": 350
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 150
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"birthday": {
|
|
|
|
"src": "./resources/BirthdayHat.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 512,
|
|
|
|
"size": 1000
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 700
|
|
|
|
}
|
|
|
|
}
|
2018-01-05 13:54:35 +01:00
|
|
|
},
|
2018-01-07 22:58:48 +01:00
|
|
|
"dank": {
|
|
|
|
"src": "./resources/DankHat.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 150,
|
|
|
|
"size": 320
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 220
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-02-09 15:32:26 +01:00
|
|
|
"space": [{
|
|
|
|
"src": "./resources/AstronautMask.png",
|
2018-01-07 22:58:48 +01:00
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 300,
|
|
|
|
"size": 500
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 500,
|
|
|
|
"size": 500
|
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
|
|
|
},
|
2018-02-09 15:32:26 +01:00
|
|
|
{
|
|
|
|
"src": "./resources/AstronautHelmet.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 600
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 565
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}],
|
2018-01-07 22:58:48 +01:00
|
|
|
"comfy": [
|
2018-02-09 15:32:26 +01:00
|
|
|
{
|
|
|
|
"src": "./resources/ComfyBackground.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x":{
|
|
|
|
"position":0,
|
|
|
|
"offset":0,
|
|
|
|
"size":500
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 500
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
|
|
|
}
|
|
|
|
},
|
2018-01-07 22:58:48 +01:00
|
|
|
{
|
|
|
|
"src": "./resources/ComfyTemplate.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 45,
|
|
|
|
"offset": 210,
|
|
|
|
"size": 380
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 480,
|
|
|
|
"size": 380
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "./resources/ComfyBackground.png",
|
|
|
|
"z": 0,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 500
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 500
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"netneutrality": {
|
|
|
|
"src": "./resources/NetNeutrality.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 256,
|
|
|
|
"size": 512
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 256,
|
|
|
|
"size": 512
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"anger": {
|
|
|
|
"src": "./resources/anger.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 75,
|
|
|
|
"offset": 22.5,
|
|
|
|
"size": 100
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 25,
|
|
|
|
"offset": 22.5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-02-09 15:32:26 +01:00
|
|
|
"snowglobe": [{
|
|
|
|
"src": "./resources/SnowGlobeMask.png",
|
2018-01-07 22:58:48 +01:00
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 92.5,
|
|
|
|
"size": 185
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
2018-02-09 15:32:26 +01:00
|
|
|
"offset": 0,
|
|
|
|
"size": 185
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},{
|
|
|
|
"src": "./resources/SnowGlobe.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 185
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 212
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
"ice": [{
|
|
|
|
"src": "./resources/IceCubeMask.png",
|
2018-01-07 22:58:48 +01:00
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 128,
|
|
|
|
"size": 200
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 128,
|
|
|
|
"size": 200
|
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},{
|
|
|
|
"src": "./resources/IceCube.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 256
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 256
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}],
|
2018-01-07 22:58:48 +01:00
|
|
|
"snowman": [
|
|
|
|
{
|
|
|
|
"src": "./resources/SnowMan.png",
|
|
|
|
"z": 0,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 125,
|
|
|
|
"size": 120
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 60
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "./resources/SnowManHat.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 60,
|
|
|
|
"size": 200
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 50
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thinking": {
|
|
|
|
"src": "./resources/thinking.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": -25,
|
|
|
|
"size": 190
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 100,
|
|
|
|
"offset": 70
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-02-09 15:32:26 +01:00
|
|
|
"window": [{
|
|
|
|
"src": "./resources/WindowMask.png",
|
2018-01-07 22:58:48 +01:00
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 64,
|
|
|
|
"size": 100
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 64,
|
|
|
|
"size": 100
|
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},{
|
|
|
|
"src": "./resources/WindowTemplate.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 128
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 128
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}],
|
2018-01-07 22:58:48 +01:00
|
|
|
"omegalul": [
|
|
|
|
{
|
2018-02-09 15:32:26 +01:00
|
|
|
"src": "./resources/OmegaLULBackground.png",
|
2018-01-07 22:58:48 +01:00
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 61,
|
|
|
|
"size": 100
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 64,
|
|
|
|
"size": 100
|
|
|
|
}
|
2018-02-09 15:32:26 +01:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"globalCompositeOperation": "destination-in"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "./resources/OmegaLULTemplate.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 122
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
|
|
|
"size": 128
|
|
|
|
}
|
2018-01-07 22:58:48 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "./resources/OmegaLULBackground.png",
|
|
|
|
"z": 0,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
2018-02-09 15:32:26 +01:00
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
2018-01-07 22:58:48 +01:00
|
|
|
"size": 122
|
|
|
|
},
|
|
|
|
"y": {
|
2018-02-09 15:32:26 +01:00
|
|
|
"position": 0,
|
|
|
|
"offset": 0,
|
2018-01-07 22:58:48 +01:00
|
|
|
"size": 128
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-01-07 03:15:32 +01:00
|
|
|
"shoot": {
|
|
|
|
"src": "./resources/BulletHole.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"absolute": true,
|
|
|
|
"position": 0,
|
2018-01-07 03:20:48 +01:00
|
|
|
"offset": "Math.random()*(imgWidth - 123/5)",
|
2018-01-07 03:15:32 +01:00
|
|
|
"size": "123*5"
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"absolute": true,
|
|
|
|
"position": 0,
|
2018-01-07 03:20:48 +01:00
|
|
|
"offset": "Math.random()*(imgHeight - 130/5)",
|
2018-01-07 03:15:32 +01:00
|
|
|
"size": "130*5"
|
|
|
|
}
|
|
|
|
}
|
2018-01-07 22:58:48 +01:00
|
|
|
},
|
|
|
|
"ban": {
|
|
|
|
"src": "./resources/BanTemplate.png",
|
|
|
|
"z": 2,
|
|
|
|
"anchor": {
|
|
|
|
"x": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 512,
|
|
|
|
"size": 1200
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": 50,
|
|
|
|
"offset": 500,
|
|
|
|
"size": 1200
|
|
|
|
}
|
|
|
|
}
|
2018-01-07 03:15:32 +01:00
|
|
|
}
|
|
|
|
}
|
2018-01-04 21:44:39 +01:00
|
|
|
}
|