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

3
.gitignore vendored
View file

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

View file

@ -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",

View file

@ -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,

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()
}
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,