Toolboxes (#24305)
* Added animations for opening toolboxes * Fix cow toolbox
@@ -4,6 +4,9 @@
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ base ]
|
||||
state: icon
|
||||
- type: EmitSoundOnLand
|
||||
sound:
|
||||
path: /Audio/Items/toolbox_drop.ogg
|
||||
@@ -23,6 +26,13 @@
|
||||
tags:
|
||||
- DroneUsable
|
||||
- Toolbox
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.StorageVisuals.Open:
|
||||
base:
|
||||
True: { state: icon-open }
|
||||
False: { state: icon }
|
||||
- type: Appearance
|
||||
|
||||
- type: entity
|
||||
name: emergency toolbox
|
||||
|
||||
|
After Width: | Height: | Size: 256 B |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
@@ -8,7 +8,10 @@
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "cow_toolbox"
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
|
||||
|
After Width: | Height: | Size: 343 B |
@@ -17,6 +17,9 @@
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -39,6 +39,31 @@
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon-open",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 336 B |
@@ -17,6 +17,9 @@
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 360 B |
@@ -17,6 +17,9 @@
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 388 B |
@@ -16,7 +16,10 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 344 B |
@@ -17,6 +17,9 @@
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||