Readds Iconcomponent (#2142)

* icon fix

* stuff

* directional texture rework
This commit is contained in:
Paul Ritter
2020-09-28 20:53:47 +02:00
committed by GitHub
parent b24d36eda0
commit 68031990a2
7 changed files with 71 additions and 28 deletions

View File

@@ -10,7 +10,6 @@
netsync: false
drawdepth: Mobs # They're on the same layer as mobs, perspective.
sprite: Constructible/Structures/Doors/airlock_basic.rsi
preview_state: closed
layers:
- state: closed
map: ["enum.DoorVisualLayers.Base"]
@@ -24,7 +23,9 @@
map: ["enum.DoorVisualLayers.BaseBolted"]
- state: panel_open
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Icon
sprite: Constructible/Structures/Doors/airlock_basic.rsi
state: closed
- type: Collidable
shapes:
- !type:PhysShapeAabb

View File

@@ -9,9 +9,10 @@
- type: Sprite
netsync: false
sprite: Constructible/Tiles/catwalk.rsi
preview_state: catwalk_preview
drawdepth: FloorTiles
- type: Icon
sprite: Constructible/Tiles/catwalk.rsi
state: catwalk_preview
- type: SnapGrid
offset: Center
- type: IconSmooth

View File

@@ -9,7 +9,9 @@
- type: Sprite
netsync: false
sprite: Constructible/Structures/Tables/generic.rsi
- type: Icon
sprite: Constructible/Structures/Tables/generic.rsi
state: plain_preview
- type: Collidable
shapes:
- !type:PhysShapeAabb
@@ -38,6 +40,9 @@
netsync: false
sprite: Constructible/Structures/Tables/wood.rsi
preview_state: icon
- type: Icon
sprite: Constructible/Structures/Tables/wood.rsi
state: icon
- type: Collidable
shapes:
- !type:PhysShapeAabb

View File

@@ -14,7 +14,8 @@
- type: Sprite
netsync: false
drawdepth: Walls
- type: Icon
state: full
- type: Collidable
shapes:
- !type:PhysShapeAabb
@@ -34,7 +35,6 @@
- type: SnapGrid
offset: Center
- type: Airtight
- type: IconSmooth
key: walls
base: solid
@@ -46,7 +46,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/brick.rsi
- type: Icon
sprite: Constructible/Structures/Walls/brick.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -62,7 +63,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/clock.rsi
- type: Icon
sprite: Constructible/Structures/Walls/clock.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -78,7 +80,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/clown.rsi
- type: Icon
sprite: Constructible/Structures/Walls/clown.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -95,7 +98,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/cult.rsi
- type: Icon
sprite: Constructible/Structures/Walls/cult.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -111,7 +115,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/debug.rsi
- type: Icon
sprite: Constructible/Structures/Walls/debug.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -127,7 +132,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/diamond.rsi
- type: Icon
sprite: Constructible/Structures/Walls/diamond.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -144,7 +150,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/gold.rsi
- type: Icon
sprite: Constructible/Structures/Walls/gold.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -160,7 +167,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/ice.rsi
- type: Icon
sprite: Constructible/Structures/Walls/ice.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -176,7 +184,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/metal.rsi
- type: Icon
sprite: Constructible/Structures/Walls/metal.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -192,7 +201,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/plasma.rsi
- type: Icon
sprite: Constructible/Structures/Walls/plasma.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -208,7 +218,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/plastic.rsi
- type: Icon
sprite: Constructible/Structures/Walls/plastic.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -225,7 +236,9 @@
- type: Sprite
color: "#889192"
sprite: Constructible/Structures/Walls/solid.rsi
- type: Icon
sprite: Constructible/Structures/Walls/solid.rsi
state: rgeneric
- type: Destructible
deadThreshold: 600
spawnOnDestroy: Girder
@@ -243,7 +256,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/riveted.rsi
- type: Icon
sprite: Constructible/Structures/Walls/riveted.rsi
- type: Destructible
deadThreshold: 1000
spawnOnDestroy: Girder
@@ -259,7 +273,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/sandstone.rsi
- type: Icon
sprite: Constructible/Structures/Walls/sandstone.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -275,7 +290,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/silver.rsi
- type: Icon
sprite: Constructible/Structures/Walls/silver.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -292,7 +308,8 @@
- type: Sprite
color: "#889192"
sprite: Constructible/Structures/Walls/solid.rsi
- type: Icon
sprite: Constructible/Structures/Walls/solid.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -309,7 +326,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/uranium.rsi
- type: Icon
sprite: Constructible/Structures/Walls/uranium.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder
@@ -325,7 +343,8 @@
components:
- type: Sprite
sprite: Constructible/Structures/Walls/wood.rsi
- type: Icon
sprite: Constructible/Structures/Walls/wood.rsi
- type: Destructible
deadThreshold: 300
spawnOnDestroy: Girder

View File

@@ -32,6 +32,9 @@
- type: Inventory
- type: Clickable
- type: InteractionOutline
- type: Icon
sprite: Mobs/Species/Human/parts.rsi
state: full
- type: Sprite
netsync: false
drawdepth: Mobs
@@ -209,6 +212,9 @@
components:
- type: Hands
- type: Inventory
- type: Icon
sprite: Mobs/Species/Human/parts.rsi
state: full
- type: Sprite
netsync: false
drawdepth: Mobs