updating extraction scripts
This commit is contained in:
41
.image-extraction/add_new_shikigami.md
Normal file
41
.image-extraction/add_new_shikigami.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# Adding new Shikigami
|
||||
|
||||
Remove all current images:
|
||||
|
||||
`fd -e png -x rm {}**`
|
||||
|
||||
After convert, copy to the character folder in assets:
|
||||
|
||||
`fd -e png hououka -x mv {} /Users/dtomlinson/git-repos/web-dev/onmyoji-deck-builder/src/assets/cards/hououka`
|
||||
|
||||
Print all cards (excluding char and avatar):
|
||||
|
||||
`fd -E '*char*' -E '*avatar*'`
|
||||
|
||||
Blank JSON template:
|
||||
|
||||
- Paste template in
|
||||
- Fill in with new char name
|
||||
- Fill in filenames
|
||||
- Copy `cards`
|
||||
- Select all items in `cards`
|
||||
- New line and paste to duplicate
|
||||
- Update GUID
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "Hououka",
|
||||
"character_card": "hououka/hououka-char.png",
|
||||
"cards": [
|
||||
{ "id": "d6fc26b2", "name": "", "url": "" },
|
||||
{ "id": "1217f957", "name": "", "url": "" },
|
||||
{ "id": "a507638d", "name": "", "url": "" },
|
||||
{ "id": "a3e876ec", "name": "", "url": "" },
|
||||
{ "id": "8fa65d84", "name": "", "url": "" },
|
||||
{ "id": "914c6cbb", "name": "", "url": "" },
|
||||
{ "id": "f1f8ce7d", "name": "", "url": "" },
|
||||
{ "id": "1d30d350", "name": "", "url": "" },
|
||||
],
|
||||
"avatar": "hououka/hououka-avatar.png"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user