tools/realign_sheet.py strips the blank spacer rows from a documented Animals/Monsters sheet, drops the dark-box preview copies and moves the light frames into the manifest's slot columns, so a sheet pastes into the template as one block. Both sheets are pasted; the manifest gains the fifth foal/horse pair the Animals sheet actually has. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
119 lines
2.7 KiB
TOML
119 lines
2.7 KiB
TOML
# Sidecar manifest for entities.png.
|
||
#
|
||
# The sheet is a grid of 8×8 cells: one entity per row, one fixed column slot per
|
||
# state. States are Idle, Sit, Walk, Action 1, Action 2, Hit, Dead; a slot holds up to
|
||
# `max` frames, left to right. Frames present in a slot are detected from the PNG
|
||
# (a fully transparent cell ends the animation, an empty slot means the entity has no
|
||
# such state and Idle is shown instead) — so this file only says WHERE things are,
|
||
# never how many frames exist.
|
||
#
|
||
# `assets/tilesets/entities-template.png` (from `tools/mktemplate.py`) shows the
|
||
# same layout with labels and slot guides: paste sprites into it, save it as
|
||
# entities.png. The label column and header are outside `origin` and never loaded.
|
||
|
||
[layout]
|
||
cell = 8
|
||
origin = [64, 16] # x, y of the first sprite cell (right of the labels, below the header)
|
||
|
||
# state = [first column (cells, relative to origin), max frames]
|
||
[layout.states]
|
||
idle = [0, 2]
|
||
sit = [2, 2]
|
||
walk = [4, 4]
|
||
action1 = [8, 4]
|
||
action2 = [12, 2]
|
||
hit = [14, 2]
|
||
dead = [16, 2]
|
||
|
||
# name = row (0-based). Order is free, rows must be unique.
|
||
[entities]
|
||
player = 0
|
||
|
||
ghost1 = 1
|
||
ghost2 = 2
|
||
mutant_rat = 3
|
||
slime1 = 4
|
||
slime2 = 5
|
||
slime3 = 6
|
||
ent = 7
|
||
shroom = 8
|
||
floating_eye = 9
|
||
|
||
chick = 10
|
||
hen = 11
|
||
rooster = 12
|
||
fox_kit = 13
|
||
fox = 14
|
||
rabbit_kit = 15
|
||
rabbit = 16
|
||
mouse_pup = 17
|
||
mouse = 18
|
||
kitten1 = 19
|
||
cat1 = 20
|
||
kitten2 = 21
|
||
cat2 = 22
|
||
puppy = 23
|
||
dog = 24
|
||
foal1 = 25
|
||
horse1 = 26
|
||
foal2 = 27
|
||
horse2 = 28
|
||
foal3 = 29
|
||
horse3 = 30
|
||
foal4 = 31
|
||
horse4 = 32
|
||
foal5 = 33
|
||
horse5 = 34
|
||
|
||
baby_bird1 = 35
|
||
bird1 = 36
|
||
baby_bird2 = 37
|
||
bird2 = 38
|
||
cardinal_chick = 39
|
||
cardinal = 40
|
||
baby_eagle = 41
|
||
eagle = 42
|
||
baby_crow = 43
|
||
crow = 44
|
||
|
||
piglet = 45
|
||
pig = 46
|
||
calf = 47
|
||
cattle = 48
|
||
kid = 49
|
||
goat = 50
|
||
lamb = 51
|
||
sheep = 52
|
||
duckling = 53
|
||
duck = 54
|
||
wolf_pup = 55
|
||
wolf = 56
|
||
doe = 57
|
||
buck = 58
|
||
boar_piglet = 59
|
||
boar = 60
|
||
bear_cub = 61
|
||
bear = 62
|
||
squirrel_kit = 63
|
||
squirrel = 64
|
||
turkey_chick = 65
|
||
turkey = 66
|
||
opossum_joey = 67
|
||
opossum = 68
|
||
skunk_kit = 69
|
||
skunk = 70
|
||
raccoon_cub = 71
|
||
raccoon = 72
|
||
|
||
fish1 = 73
|
||
fish2 = 74
|
||
fish3 = 75
|
||
fish4 = 76
|
||
bees = 77
|
||
bugs1 = 78
|
||
bugs2 = 79
|
||
butterfly1 = 80
|
||
butterfly2 = 81
|
||
butterfly3 = 82
|
||
butterfly4 = 83
|