This commit is contained in:
Judah 2026-04-01 18:47:18 -06:00
parent 2db8069271
commit 4f50717650
5 changed files with 23 additions and 15 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
.DS_Store .DS_Store
*lock*

View file

@ -6,8 +6,8 @@
"name": "Rapid Response", "name": "Rapid Response",
"type": "Passive", "type": "Passive",
"cost": 0, "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", "image": "https://docs.brut.systems/judah/entropy/passive-base.png",
"isHorizontal": true "isHorizontal": false
} }
}, },
"name": "Rapid Response", "name": "Rapid Response",
@ -26,8 +26,8 @@
"name": "Breaker", "name": "Breaker",
"type": "Passive", "type": "Passive",
"cost": 0, "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", "image": "https://docs.brut.systems/judah/entropy/passive-base.png",
"isHorizontal": true "isHorizontal": false
} }
}, },
"name": "Breaker", "name": "Breaker",
@ -46,8 +46,8 @@
"name": "Inverse Entropy", "name": "Inverse Entropy",
"type": "Passive", "type": "Passive",
"cost": 0, "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", "image": "https://docs.brut.systems/judah/entropy/passive-base.png",
"isHorizontal": true "isHorizontal": false
} }
}, },
"name": "Inverse Entropy", "name": "Inverse Entropy",

View file

@ -12,7 +12,12 @@
"cardBack": "" "cardBack": ""
}, },
"deckBuilding": { "deckBuilding": {
"mainFilters": [], "mainFilters": [
"Type",
"Lane",
"Entropy",
"Force"
],
"formats": [ "formats": [
{ {
"title": "Classic", "title": "Classic",
@ -39,7 +44,7 @@
"defaultNotes": "", "defaultNotes": "",
"tokens": [], "tokens": [],
"countersStartingValues": [ "countersStartingValues": [
"1" "0"
], ],
"hideFacedDownCards": false, "hideFacedDownCards": false,
"sections": { "sections": {
@ -78,7 +83,7 @@
"opponentAlignment": false, "opponentAlignment": false,
"noAutoPayTo": true, "noAutoPayTo": true,
"isHorizontalAllowed": false, "isHorizontalAllowed": false,
"displayedTitle": "Ressources", "displayedTitle": "",
"noQuickActions": false, "noQuickActions": false,
"enterTapped": false, "enterTapped": false,
"enterSpun": false, "enterSpun": false,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 KiB

After

Width:  |  Height:  |  Size: 13 KiB

12
main.go
View file

@ -105,16 +105,18 @@ func main() {
card.name = generateTemporaryName() card.name = generateTemporaryName()
} }
baseurl := "https://docs.brut.systems/judah/entropy/"
var imgurl string var imgurl string
switch card.lane { switch card.lane {
case Red: 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: 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: 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: 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) id := fmt.Sprintf("%03d", i)
@ -128,7 +130,7 @@ func main() {
Type: card.typ.String(), Type: card.typ.String(),
Image: imgurl, Image: imgurl,
Cost: card.entropy, Cost: card.entropy,
Horizontal: true, Horizontal: false,
}, },
}, },
Token: card.typ == Token, Token: card.typ == Token,