Skip to content

Commit

Permalink
[Ultica] add layering example (#1107)
Browse files Browse the repository at this point in the history
* add layering example

* updated workflows and added layering files for the other Ulticas

* I guess I was missing a newline

* Chibi and Altica handle talls differently so I can't provide my laptop sprite

* added some kitchen layering stuff

* Update layering.json

* Update layering.json

* removed altica and chibi config stuff

* Delete desk_laptop.json
  • Loading branch information
bombasticSlacks authored Nov 25, 2021
1 parent 84f1206 commit 29d79c6
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Altica_ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: ${{ steps.build.outputs.artifact_name }}
path: ${{ steps.build.outputs.artifact_name }}
path: ${{ steps.build.outputs.artifact_name }}
1 change: 1 addition & 0 deletions .github/workflows/Ultica_ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
mv "${BUILD_DIR}"/*.png "$artifact_name"
mv "$BUILD_DIR/tile_config.json" "$artifact_name"
mv "gfx/$TILESET/tileset.txt" "$artifact_name"
mv "gfx/$TILESET/layering.json" "$artifact_name"
echo ::set-output name=artifact_name::"$artifact_name"
Expand Down
79 changes: 79 additions & 0 deletions gfx/UltimateCataclysm/layering.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"item_variants": [
{
"context": "f_desk",
"variants": [
{
"item": "laptop",
"sprite": [{"id": "desk_laptop", "weight": 1}],
"layer": 90
},
{
"item": "pen",
"sprite": [{"id": "desk_pen_1", "weight": 2}, {"id": "desk_pen_2", "weight": 2}],
"layer": 100
}
]
},
{
"context": "f_oven",
"variants": [
{
"item": "pan",
"sprite": [{"id": "oven_pan_1", "weight": 1}, {"id": "oven_pan_2", "weight": 1}],
"layer": 100
}
]
},
{
"context": "f_cupboard",
"variants": [
{
"item": "battery_charger",
"sprite": [{"id": "cupboard_battery_charger", "weight": 1}],
"layer": 90
},
{
"item": "box_small",
"sprite": [{"id": "cupboard_box_small", "weight": 1}],
"layer": 90
},
{
"item": "candle",
"sprite": [{"id": "cupboard_candle", "weight": 1}],
"layer": 90
},
{
"item": "matches",
"sprite": [{"id": "cupboard_matches", "weight": 1}],
"layer": 90
}
]
},
{
"context": "f_sink",
"variants": [
{
"item": "box_small",
"sprite": [{"id": "sink_box_small", "weight": 1}],
"layer": 90
},
{
"item": "brush",
"sprite": [{"id": "sink_brush", "weight": 1}],
"layer": 90
},
{
"item": "dish_towel",
"sprite": [{"id": "sink_dish_towel", "weight": 1}],
"layer": 90
},
{
"item": "sponge",
"sprite": [{"id": "sink_sponge", "weight": 1}],
"layer": 90
}
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 29d79c6

Please sign in to comment.