Improved icon smoothing to use ECS properly, cables smooth now.
@@ -6,12 +6,20 @@
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
drawdepth: BelowFloor
|
||||
color: Red
|
||||
texture: Objects/eightdirwire.png
|
||||
sprite: Objects/power_cable.rsi
|
||||
state: cable_0
|
||||
- type: Icon
|
||||
texture: Objects/eightdirwire.png
|
||||
- type: PowerTransfer
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: IconSmooth
|
||||
base: cable_
|
||||
key: power_cables
|
||||
mode: CardinalFlags
|
||||
|
||||
snap:
|
||||
- Wire
|
||||
|
||||
BIN
Resources/Textures/Objects/power_cable.rsi/cable_0.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_1.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_10.png
Normal file
|
After Width: | Height: | Size: 249 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_11.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_12.png
Normal file
|
After Width: | Height: | Size: 119 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_13.png
Normal file
|
After Width: | Height: | Size: 271 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_14.png
Normal file
|
After Width: | Height: | Size: 268 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_15.png
Normal file
|
After Width: | Height: | Size: 339 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_2.png
Normal file
|
After Width: | Height: | Size: 186 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_3.png
Normal file
|
After Width: | Height: | Size: 131 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_4.png
Normal file
|
After Width: | Height: | Size: 179 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_5.png
Normal file
|
After Width: | Height: | Size: 235 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_6.png
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_7.png
Normal file
|
After Width: | Height: | Size: 283 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_8.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
Resources/Textures/Objects/power_cable.rsi/cable_9.png
Normal file
|
After Width: | Height: | Size: 202 B |
73
Resources/Textures/Objects/power_cable.rsi/meta.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "cable_0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_3",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_4",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_5",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_6",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_7",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_8",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_9",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_10",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_11",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_12",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_13",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_14",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "cable_15",
|
||||
"directions": 1
|
||||
},
|
||||
]
|
||||
}
|
||||