first commit yay

This commit is contained in:
2026-07-19 15:10:13 +03:00
parent 09e76f1135
commit 93dff7680d
253 changed files with 1765 additions and 2 deletions

View File

@@ -1,3 +1,65 @@
# inscryption-card-generator # Inscryption Card Generator CLI
Python script for Inscryption cards generation To generate a single card:
```
python main.py grizzly.png -p grizzly -ca 3 -ct blood -r 2 -n Grizzly -hp 6 -d 4
```
To generate a cardset from json:
```
python main.py act1 -cs act1_ru.json
```
cardset.json
```json
[
{
"background": "common",
"name": "Grizzly",
"portrait": "grizzly",
"symbols": [],
"cost-type": "blood",
"cost-amount": 3,
"hp": 4,
"damage": 6
}
]
```
## Assets Directory Structure
```
assets/
├── backgrounds/
│ ├── blank.png
│ ├── common.png
│ ├── golden.png
│ ├── rare.png
│ └── terrain.png
├── costs/
│ ├── cost_1blood.png
│ ├── cost_1bone.png
│ └── [other card costs up to 4 blood and 10 bone]
├── deathcard/
│ ├── deathcard_eyes_1.png
│ ├── deathcard_eyes_2.png
│ └── [other deathcard portrait parts]
├── decals/
│ ├── decal_blood_1.png
│ ├── decal_smoke.png
│ └── [other card decals up to blood 4]
├── portraits/
│ ├── portrait_amalgam.png
│ └── [other card portraits]
├── symbols/
│ ├── portrait_amalgam.png
│ └── [other card symbols]
├── tribes/
│ ├── tribe_bird.png
│ ├── tribe_canine.png
│ ├── tribe_hooved.png
│ ├── tribe_insect.png
│ └── tribe_reptile.png
├── squid_title.png (name for squid cards)
└── HEAVYWEIGHT.ttf
```

246
act1_deathcards_ru.json Normal file
View File

@@ -0,0 +1,246 @@
[
{
"background": "common",
"name": "берке",
"portrait": {
"base": 3,
"mouth": 2,
"eyes": 5
},
"symbols": [
"icecube",
"guarddog"
],
"hp": 1,
"cost-type": "blood",
"cost-amount": 2,
"damage": 2
},
{
"background": "common",
"name": "горностай",
"portrait": "pozstoat",
"cost-type": "blood",
"cost-amount": 1,
"hp": 3,
"damage": 1
},
{
"background": "common",
"name": "дэвид",
"portrait": {
"base": 4,
"mouth": 3,
"eyes": 3
},
"symbols": [
"strafepush",
"sharp"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 4,
"damage": 2
},
{
"background": "common",
"name": "дэниел",
"portrait": {
"base": 3,
"mouth": 4,
"eyes": 2
},
"symbols": [
"doublestrike"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 2,
"damage": 2
},
{
"background": "common",
"name": "камински",
"portrait": {
"base": 7,
"mouth": 4,
"eyes": 2
},
"symbols": [
"guarddog",
"sharp"
],
"cost-type": "bone",
"cost-amount": 1,
"hp": 1,
"damage": 0
},
{
"background": "common",
"name": "кевин",
"portrait": {
"base": 4,
"mouth": 3,
"eyes": 2
},
"symbols": [
"strafeswap",
"tailonhit"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 3,
"damage": 2
},
{
"background": "common",
"name": "кейси",
"portrait": {
"base": 9,
"mouth": 2,
"eyes": 9
},
"symbols": [
"splitstrike",
"sharp"
],
"cost-type": "blood",
"cost-amount": 1,
"hp": 2,
"damage": 1
},
{
"background": "common",
"name": "клоп-вонючка",
"portrait": "stinkbug",
"symbols": [
"debuffenemy"
],
"cost-type": "bone",
"cost-amount": 2,
"tribe": "insect",
"hp": 2,
"damage": 1
},
{
"background": "common",
"name": "коди",
"portrait": {
"base": 6,
"mouth": 3,
"eyes": 3
},
"symbols": [
"whackamole",
"tailonhit"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 1,
"damage": 3
},
{
"background": "common",
"name": "луи",
"portrait": {
"base": 1,
"mouth": 3,
"eyes": 1
},
"symbols": [
"strafe",
"submerge"
],
"cost-type": "blood",
"cost-amount": 1,
"hp": 1,
"damage": 1
},
{
"background": "common",
"name": "люк кардер",
"portrait": {
"base": 3,
"mouth": 1,
"eyes": 1
},
"hp": 4,
"damage": 4
},
{
"background": "common",
"name": "малорослый волк",
"portrait": "magewolf",
"cost-type": "blood",
"cost-amount": 1,
"tribe": "canine",
"hp": 2,
"damage": 2
},
{
"background": "common",
"name": "окт 19",
"portrait": {
"base": 9,
"mouth": 6,
"eyes": 3
},
"symbols": [
"deathtouch"
],
"cost-type": "blood",
"cost-amount": 1,
"hp": 2,
"damage": 3
},
{
"background": "common",
"name": "реджинальд",
"portrait": {
"base": 6,
"mouth": 6,
"eyes": 3
},
"symbols": [
"deathtouch"
],
"cost-type": "bone",
"cost-amount": 3,
"hp": 3,
"damage": 1
},
{
"background": "common",
"name": "тамара",
"portrait": {
"base": 2,
"mouth": 4,
"eyes": 4
},
"symbols": [
"strafepush",
"tailonhit"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 3,
"damage": 2
},
{
"background": "common",
"name": "шон",
"portrait": {
"base": 5,
"mouth": 1,
"eyes": 1
},
"symbols": [
"reach",
"deathtouch"
],
"cost-type": "blood",
"cost-amount": 2,
"hp": 6,
"damage": 1
}
]

102
act1_items_ru.json Normal file
View File

@@ -0,0 +1,102 @@
[
{
"background": "blank",
"name": "пассатижи",
"portrait": "pliers"
},
{
"background": "blank",
"name": "ножницы",
"portrait": "scissors"
},
{
"background": "blank",
"name": "белка в бутылке",
"portrait": "squirrelbottle"
},
{
"background": "blank",
"name": "камень в бутылке",
"portrait": "terrainbottle"
},
{
"background": "blank",
"name": "амёба в бутылке",
"portrait": "amoebabottle"
},
{
"background": "blank",
"name": "шкуросъёмный нож",
"portrait": "trapperknife"
},
{
"background": "blank",
"name": "опоссум в бутылке",
"portrait": "frozenopossumbottle"
},
{
"background": "blank",
"name": "коза в бутылке",
"portrait": "goatbottle"
},
{
"background": "blank",
"name": "рыболовный крюк",
"portrait": "fishhook"
},
{
"background": "blank",
"name": "сорочья лупа",
"portrait": "magnifyingglass"
},
{
"background": "blank",
"name": "веер гарпии",
"portrait": "birdlegfan"
},
{
"background": "blank",
"name": "круговорот",
"portrait": "pocketwatch"
},
{
"background": "blank",
"name": "надгробие",
"portrait": "grave"
},
{
"background": "blank",
"name": "цветок",
"portrait": "flower"
},
{
"background": "blank",
"name": "отбеливатель",
"portrait": "bleachpot"
},
{
"background": "blank",
"name": "песочные часы",
"portrait": "hourglass"
},
{
"background": "blank",
"name": "свинка-копилка",
"portrait": "piggybank"
},
{
"background": "blank",
"name": "провал",
"portrait": "goobottle"
},
{
"background": "blank",
"name": "особый кинжал",
"portrait": "specialdagger"
},
{
"background": "blank",
"name": "[ERROR] в бутылке",
"portrait": "whitenoisebottle"
}
]

1048
act1_ru.json Normal file

File diff suppressed because it is too large Load Diff

BIN
assets/HEAVYWEIGHT.ttf Normal file

Binary file not shown.

BIN
assets/back/aqua.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
assets/back/bees.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
assets/back/common.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
assets/back/item.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
assets/back/squirrel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
assets/backgrounds/rare.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

BIN
assets/costs/cost_1bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

BIN
assets/costs/cost_2bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
assets/costs/cost_3bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

BIN
assets/costs/cost_4bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/costs/cost_5bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/costs/cost_6bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/costs/cost_7bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/costs/cost_8bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/costs/cost_9bone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Some files were not shown because too many files have changed in this diff Show More