Centers some sprites
@@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
- type: itemAction
|
- type: itemAction
|
||||||
actionType: ToggleLight
|
actionType: ToggleLight
|
||||||
icon: Objects/Tools/flashlight.rsi/lantern_off.png
|
icon: Objects/Tools/flashlight.rsi/flashlight.png
|
||||||
iconOn: Objects/Tools/flashlight.rsi/lantern_on.png
|
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
|
||||||
name: "Toggle Light"
|
name: "Toggle Light"
|
||||||
description: "Turn the light on."
|
description: "Turn the light on."
|
||||||
filters:
|
filters:
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/flashlight.rsi
|
sprite: Objects/Tools/flashlight.rsi
|
||||||
layers:
|
layers:
|
||||||
- state: lantern_off
|
- state: flashlight
|
||||||
- state: HandheldLightOnOverlay
|
- state: flashlight-overlay
|
||||||
shader: unshaded
|
shader: unshaded
|
||||||
visible: false
|
visible: false
|
||||||
- type: Item
|
- type: Item
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 164 B |
|
After Width: | Height: | Size: 538 B |
|
After Width: | Height: | Size: 361 B |
BIN
Resources/Textures/Objects/Tools/flashlight.rsi/flashlight.png
Normal file
|
After Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 259 B |
|
Before Width: | Height: | Size: 293 B |
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from vgstation at https://github.com/vgstation-coders/vgstation13/blob/Bleeding-Edge/icons/obj/lighting.dmi",
|
"copyright": "Taken from vgstation and modified by Swept at https://github.com/vgstation-coders/vgstation13/blob/Bleeding-Edge/icons/obj/lighting.dmi",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"name": "lantern_off"
|
"name": "flashlight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "lantern_on"
|
"name": "flashlight-on"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "HandheldLightOnOverlay"
|
"name": "flashlight-overlay"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "off-inhand-left",
|
"name": "off-inhand-left",
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 227 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 331 B |
|
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 228 B |