Skip to content

Commit

Permalink
fix: tileset misplaced field name error (cataclysmbnteam#3345)
Browse files Browse the repository at this point in the history
for some reason object format errors wheras array format doesn't
  • Loading branch information
scarf005 authored Oct 2, 2023
1 parent 8b4336b commit dd4963d
Showing 1 changed file with 31 additions and 32 deletions.
63 changes: 31 additions & 32 deletions data/json/external_tileset/alternative_mutation.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"type": "mod_tileset",
"compatibility": [
"UNDEAD_PEOPLE_BASE",
"UNDEAD_PEOPLE"
],
"tiles-new": [
{
"file": "external_tileset/alternative_mutation.png",
"sprite_width": 32,
"sprite_height": 32,
"sprite_offset_y": -16,
"tiles": [
{ "id": "overlay_mutation_FELINE_EARS", "fg": 0, "rotates": false },
{ "id": "overlay_mutation_LUPINE_EARS", "fg": 1, "rotates": false },
{ "id": "overlay_mutation_MOUSE_EARS", "fg": 2, "rotates": false },
{ "id": "overlay_mutation_CANINE_EARS", "fg": 3, "rotates": false },
{ "id": "overlay_mutation_URSINE_EARS", "fg": 4, "rotates": false }
]
},
{
"file": "external_tileset/alternative_mutation.png",
"sprite_width": 32,
"sprite_height": 32,
"sprite_offset_y": 16,
"tiles": [
{ "id": "overlay_mutation_TAIL_FLUFFY", "fg": 9, "rotates": false },
{ "id": "overlay_mutation_TAIL_STUB", "fg": 12, "rotates": false }
]
}
]
}
[
{
"type": "mod_tileset",
"compatibility": [ "UNDEAD_PEOPLE_BASE", "UNDEAD_PEOPLE" ],
"tiles-new": [
{
"file": "external_tileset/alternative_mutation.png",
"sprite_width": 32,
"sprite_height": 32,
"sprite_offset_y": -16,
"tiles": [
{ "id": "overlay_mutation_FELINE_EARS", "fg": 0, "rotates": false },
{ "id": "overlay_mutation_LUPINE_EARS", "fg": 1, "rotates": false },
{ "id": "overlay_mutation_MOUSE_EARS", "fg": 2, "rotates": false },
{ "id": "overlay_mutation_CANINE_EARS", "fg": 3, "rotates": false },
{ "id": "overlay_mutation_URSINE_EARS", "fg": 4, "rotates": false }
]
},
{
"file": "external_tileset/alternative_mutation.png",
"sprite_width": 32,
"sprite_height": 32,
"sprite_offset_y": 16,
"tiles": [
{ "id": "overlay_mutation_TAIL_FLUFFY", "fg": 9, "rotates": false },
{ "id": "overlay_mutation_TAIL_STUB", "fg": 12, "rotates": false }
]
}
]
}
]

0 comments on commit dd4963d

Please sign in to comment.