first commit yay
66
README.md
@@ -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
@@ -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
@@ -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
BIN
assets/HEAVYWEIGHT.ttf
Normal file
BIN
assets/back/aqua.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
assets/back/bees.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/back/common.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/back/item.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
assets/back/squirrel.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
assets/backgrounds/blank.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/backgrounds/common.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
assets/backgrounds/golden.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
assets/backgrounds/rare.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
assets/backgrounds/terrain.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
assets/costs/cost_10bone.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/costs/cost_1blood.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
assets/costs/cost_1bone.png
Normal file
|
After Width: | Height: | Size: 738 B |
BIN
assets/costs/cost_2blood.png
Normal file
|
After Width: | Height: | Size: 735 B |
BIN
assets/costs/cost_2bone.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/costs/cost_3blood.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
assets/costs/cost_3bone.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/costs/cost_4blood.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
assets/costs/cost_4bone.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/costs/cost_5bone.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/costs/cost_6bone.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/costs/cost_7bone.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/costs/cost_8bone.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/costs/cost_9bone.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/deathcard/deathcard_base_1.png
Normal file
|
After Width: | Height: | Size: 893 B |
BIN
assets/deathcard/deathcard_base_2.png
Normal file
|
After Width: | Height: | Size: 864 B |
BIN
assets/deathcard/deathcard_base_3.png
Normal file
|
After Width: | Height: | Size: 752 B |
BIN
assets/deathcard/deathcard_base_4.png
Normal file
|
After Width: | Height: | Size: 902 B |
BIN
assets/deathcard/deathcard_base_5.png
Normal file
|
After Width: | Height: | Size: 747 B |
BIN
assets/deathcard/deathcard_base_6.png
Normal file
|
After Width: | Height: | Size: 804 B |
BIN
assets/deathcard/deathcard_base_7.png
Normal file
|
After Width: | Height: | Size: 629 B |
BIN
assets/deathcard/deathcard_base_8.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
assets/deathcard/deathcard_base_9.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/deathcard/deathcard_eyes_1.png
Normal file
|
After Width: | Height: | Size: 303 B |
BIN
assets/deathcard/deathcard_eyes_2.png
Normal file
|
After Width: | Height: | Size: 299 B |
BIN
assets/deathcard/deathcard_eyes_3.png
Normal file
|
After Width: | Height: | Size: 304 B |
BIN
assets/deathcard/deathcard_eyes_4.png
Normal file
|
After Width: | Height: | Size: 280 B |
BIN
assets/deathcard/deathcard_eyes_5.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
assets/deathcard/deathcard_eyes_6.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
assets/deathcard/deathcard_eyes_7.png
Normal file
|
After Width: | Height: | Size: 302 B |
BIN
assets/deathcard/deathcard_eyes_8.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
assets/deathcard/deathcard_eyes_9.png
Normal file
|
After Width: | Height: | Size: 290 B |
BIN
assets/deathcard/deathcard_mouth_1.png
Normal file
|
After Width: | Height: | Size: 266 B |
BIN
assets/deathcard/deathcard_mouth_2.png
Normal file
|
After Width: | Height: | Size: 486 B |
BIN
assets/deathcard/deathcard_mouth_3.png
Normal file
|
After Width: | Height: | Size: 511 B |
BIN
assets/deathcard/deathcard_mouth_4.png
Normal file
|
After Width: | Height: | Size: 519 B |
BIN
assets/deathcard/deathcard_mouth_5.png
Normal file
|
After Width: | Height: | Size: 499 B |
BIN
assets/deathcard/deathcard_mouth_6.png
Normal file
|
After Width: | Height: | Size: 508 B |
BIN
assets/deathcard/deathcard_mouth_7.png
Normal file
|
After Width: | Height: | Size: 466 B |
BIN
assets/deathcard/deathcard_mouth_8.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
assets/deathcard/deathcard_mouth_9.png
Normal file
|
After Width: | Height: | Size: 469 B |
BIN
assets/decals/decal_blood_1.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/decals/decal_blood_2.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/decals/decal_blood_3.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/decals/decal_blood_4.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/decals/decal_smoke.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
assets/decals/decal_snelk.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
assets/portraits/portrait_adder.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_alpha.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/portraits/portrait_amalgam.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/portraits/portrait_amoeba.png
Normal file
|
After Width: | Height: | Size: 906 B |
BIN
assets/portraits/portrait_amoebabottle.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/portraits/portrait_ant.png
Normal file
|
After Width: | Height: | Size: 973 B |
BIN
assets/portraits/portrait_antflying.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/portraits/portrait_antqueen.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_aquasquirrel.png
Normal file
|
After Width: | Height: | Size: 690 B |
BIN
assets/portraits/portrait_baitbucket.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/portraits/portrait_bat.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_beaver.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/portraits/portrait_bee.png
Normal file
|
After Width: | Height: | Size: 706 B |
BIN
assets/portraits/portrait_beehive.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_bird_tail.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_birdlegfan.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/portraits/portrait_bleachpot.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/portraits/portrait_bloodhound.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/portraits/portrait_boulder.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/portraits/portrait_brokenegg.png
Normal file
|
After Width: | Height: | Size: 955 B |
BIN
assets/portraits/portrait_bull.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/portraits/portrait_bullfrog.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/portraits/portrait_cagedwolf.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/portraits/portrait_canine_tail.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
assets/portraits/portrait_cat.png
Normal file
|
After Width: | Height: | Size: 547 B |
BIN
assets/portraits/portrait_cockroach.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/portraits/portrait_coyote.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/portraits/portrait_cuckoo.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_dam.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_daus.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/portraits/portrait_dausbell.png
Normal file
|
After Width: | Height: | Size: 930 B |
BIN
assets/portraits/portrait_deer.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/portraits/portrait_deercub.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/portraits/portrait_direwolf.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/portraits/portrait_direwolfcub.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/portraits/portrait_fieldmice.png
Normal file
|
After Width: | Height: | Size: 975 B |
BIN
assets/portraits/portrait_fishhook.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/portraits/portrait_flower.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |