diff --git a/.gitignore b/.gitignore index 496ee2c..17e2744 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +*lock* \ No newline at end of file diff --git a/docs/CardList.json b/docs/CardList.json index 10dc882..074730e 100644 --- a/docs/CardList.json +++ b/docs/CardList.json @@ -6,8 +6,8 @@ "name": "Rapid Response", "type": "Passive", "cost": 0, - "image": "https://media.discordapp.net/attachments/1093017032812929024/1489048592743141426/passive-base.png?ex=69cf0011\u0026is=69cdae91\u0026hm=9e673eb63e15f33d7b5579596b247e1832ccc76bee59477602fa6fd8cc544d73\u0026=\u0026format=webp\u0026quality=lossless\u0026width=2078\u0026height=1488", - "isHorizontal": true + "image": "https://docs.brut.systems/judah/entropy/passive-base.png", + "isHorizontal": false } }, "name": "Rapid Response", @@ -26,8 +26,8 @@ "name": "Breaker", "type": "Passive", "cost": 0, - "image": "https://media.discordapp.net/attachments/1093017032812929024/1489048592743141426/passive-base.png?ex=69cf0011\u0026is=69cdae91\u0026hm=9e673eb63e15f33d7b5579596b247e1832ccc76bee59477602fa6fd8cc544d73\u0026=\u0026format=webp\u0026quality=lossless\u0026width=2078\u0026height=1488", - "isHorizontal": true + "image": "https://docs.brut.systems/judah/entropy/passive-base.png", + "isHorizontal": false } }, "name": "Breaker", @@ -46,8 +46,8 @@ "name": "Inverse Entropy", "type": "Passive", "cost": 0, - "image": "https://media.discordapp.net/attachments/1093017032812929024/1489048592743141426/passive-base.png?ex=69cf0011\u0026is=69cdae91\u0026hm=9e673eb63e15f33d7b5579596b247e1832ccc76bee59477602fa6fd8cc544d73\u0026=\u0026format=webp\u0026quality=lossless\u0026width=2078\u0026height=1488", - "isHorizontal": true + "image": "https://docs.brut.systems/judah/entropy/passive-base.png", + "isHorizontal": false } }, "name": "Inverse Entropy", diff --git a/docs/Game.json b/docs/Game.json index caf5993..d5d1022 100644 --- a/docs/Game.json +++ b/docs/Game.json @@ -12,7 +12,12 @@ "cardBack": "" }, "deckBuilding": { - "mainFilters": [], + "mainFilters": [ + "Type", + "Lane", + "Entropy", + "Force" + ], "formats": [ { "title": "Classic", @@ -39,7 +44,7 @@ "defaultNotes": "", "tokens": [], "countersStartingValues": [ - "1" + "0" ], "hideFacedDownCards": false, "sections": { @@ -78,7 +83,7 @@ "opponentAlignment": false, "noAutoPayTo": true, "isHorizontalAllowed": false, - "displayedTitle": "Ressources", + "displayedTitle": "", "noQuickActions": false, "enterTapped": false, "enterSpun": false, diff --git a/docs/passive-base.png b/docs/passive-base.png index 68fd2dc..759e763 100644 Binary files a/docs/passive-base.png and b/docs/passive-base.png differ diff --git a/main.go b/main.go index e8d0022..6294e64 100644 --- a/main.go +++ b/main.go @@ -105,16 +105,18 @@ func main() { card.name = generateTemporaryName() } + baseurl := "https://docs.brut.systems/judah/entropy/" + var imgurl string switch card.lane { case Red: - imgurl = "https://media.discordapp.net/attachments/1093017032812929024/1489047949337038959/red-base.png?ex=69ceff78&is=69cdadf8&hm=7d2ba991862426bf6fe97f9ccbb0c8c60e6dd5e3c7d32f2a8e206130aad3c37e&=&format=webp&quality=lossless&width=2078&height=1488" + imgurl = baseurl + "red-base.png" case Blue: - imgurl = "https://media.discordapp.net/attachments/1093017032812929024/1489047948531597432/blue-base.png?ex=69ceff78&is=69cdadf8&hm=4cf2d26b195780d4d044702d51f2d6423034978f1245cf49e4b43ea5f998632e&=&format=webp&quality=lossless&width=2078&height=1488" + imgurl = baseurl + "blue-base.png" case Green: - imgurl = "https://media.discordapp.net/attachments/1093017032812929024/1489047948959547483/green-base.png?ex=69ceff78&is=69cdadf8&hm=ffb7d13f9c86bf501b22cf8121f88cf1dd49b3696ef92ba6655934f61cae7448&=&format=webp&quality=lossless&width=2078&height=1488" + imgurl = baseurl + "green-base.png" default: - imgurl = "https://media.discordapp.net/attachments/1093017032812929024/1489048592743141426/passive-base.png?ex=69cf0011&is=69cdae91&hm=9e673eb63e15f33d7b5579596b247e1832ccc76bee59477602fa6fd8cc544d73&=&format=webp&quality=lossless&width=2078&height=1488" + imgurl = baseurl + "passive-base.png" } id := fmt.Sprintf("%03d", i) @@ -128,7 +130,7 @@ func main() { Type: card.typ.String(), Image: imgurl, Cost: card.entropy, - Horizontal: true, + Horizontal: false, }, }, Token: card.typ == Token,