* Draft PR, do not merge * Lathe now uses animations. Timing is still wrong, code is very wet, repetitions and unused layers are there. * Removed (unneeded?) PowerDeviceVisualizer from the lathe Refactored & Renamed code and variables Renamed animation names * WIP protolathe animation * Working protolathe animation. I still don't like the solution though.
122 lines
2.6 KiB
JSON
122 lines
2.6 KiB
JSON
{
|
|
"version": 1,
|
|
"size": {
|
|
"x": 32,
|
|
"y": 32
|
|
},
|
|
"states": [
|
|
{
|
|
"name": "autolathe",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
1.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_unlit",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
1.0
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_building",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_building_unlit",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055,
|
|
0.055
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_inserting_metal_plate",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_inserting_glass_plate",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_inserting_unlit",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1,
|
|
0.1
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "autolathe_panel",
|
|
"directions": 1,
|
|
"delays": [
|
|
[
|
|
1.0
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|