Adds stair entities (with new sprites,) nukes stair decals (#20279)

* nukes stair decals, adds entity stairs

* FUCK. my furniture

* fix deprecated sprites
This commit is contained in:
Flareguy
2023-09-18 14:17:19 -05:00
committed by GitHub
parent c4bb9753d5
commit b75fd719cb
36 changed files with 137 additions and 179 deletions

View File

@@ -1,195 +1,170 @@
#TODO: Remove all of these when possible, apparently decals aren't possible to just remove right now without causing mapper issues.
#Please do not make any of these into the new entity stairs unless you want to make new sprites for them.
- type: decal - type: decal
id: StairsMaterialE id: StairsMaterialE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: material_e state: deprecated
- type: decal - type: decal
id: StairsMaterialN id: StairsMaterialN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: material_n state: deprecated
- type: decal - type: decal
id: StairsMaterialS id: StairsMaterialS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: material_s state: deprecated
- type: decal - type: decal
id: StairsMaterialW id: StairsMaterialW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: material_w state: deprecated
- type: decal - type: decal
id: StairsE id: StairsE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_e state: deprecated
- type: decal - type: decal
id: StairsN id: StairsN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_n state: deprecated
- type: decal - type: decal
id: StairsS id: StairsS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_s state: deprecated
- type: decal - type: decal
id: StairsW id: StairsW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_w state: deprecated
- type: decal - type: decal
id: StairsLE id: StairsLE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_l_e state: deprecated
- type: decal - type: decal
id: StairsLN id: StairsLN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_l_n state: deprecated
- type: decal - type: decal
id: StairsLS id: StairsLS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_l_s state: deprecated
- type: decal - type: decal
id: StairsLW id: StairsLW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_l_w state: deprecated
- type: decal - type: decal
id: StairsME id: StairsME
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_m_e state: deprecated
- type: decal - type: decal
id: StairsMN id: StairsMN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_m_n state: deprecated
- type: decal - type: decal
id: StairsMS id: StairsMS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_m_s state: deprecated
- type: decal - type: decal
id: StairsMW id: StairsMW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_m_w state: deprecated
- type: decal - type: decal
id: StairsRE id: StairsRE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_r_e state: deprecated
- type: decal - type: decal
id: StairsRN id: StairsRN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_r_n state: deprecated
- type: decal - type: decal
id: StairsRS id: StairsRS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_r_s state: deprecated
- type: decal - type: decal
id: StairsRW id: StairsRW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stairs_r_w state: deprecated
- type: decal - type: decal
id: StairsStoneE id: StairsStoneE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stone_e state: deprecated
- type: decal - type: decal
id: StairsStoneN id: StairsStoneN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stone_n state: deprecated
- type: decal - type: decal
id: StairsStoneS id: StairsStoneS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stone_s state: deprecated
- type: decal - type: decal
id: StairsStoneW id: StairsStoneW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: stone_w state: deprecated
- type: decal - type: decal
id: StairsWoodE id: StairsWoodE
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: wood_e state: deprecated
- type: decal - type: decal
id: StairsWoodN id: StairsWoodN
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: wood_n state: deprecated
- type: decal - type: decal
id: StairsWoodS id: StairsWoodS
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: wood_s state: deprecated
- type: decal - type: decal
id: StairsWoodW id: StairsWoodW
tags: ["station", "stairs"]
sprite: sprite:
sprite: Decals/stairs.rsi sprite: deprecated.rsi
state: wood_w state: deprecated

View File

@@ -0,0 +1,46 @@
- type: entity
id: Stairs
name: stairs
description: The greatest invention since rocket-propelled grenades.
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: Sprite
sprite: Structures/stairs.rsi
state: stairs
drawdepth: FloorTiles
- type: Transform
anchored: true
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 500
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 2
max: 4
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: StairStage
parent: Stairs
suffix: stage
components:
- type: Sprite
sprite: Structures/stairs.rsi
state: stairs_stage
drawdepth: FloorTiles

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

View File

@@ -1,95 +0,0 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation/blob/2ddbdca1b7fb5cb85cbdcd566a489cbc4794edcf/icons/obj/stairs.dmi and https://github.com/tgstation/tgstation/blob/b2dda940c5abb74d1a53d21c371788edffd0db5b/icons/turf/floors.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "material_e"
},
{
"name": "material_n"
},
{
"name": "material_s"
},
{
"name": "material_w"
},
{
"name": "stairs_e"
},
{
"name": "stairs_n"
},
{
"name": "stairs_s"
},
{
"name": "stairs_w"
},
{
"name": "stairs_l_e"
},
{
"name": "stairs_l_n"
},
{
"name": "stairs_l_s"
},
{
"name": "stairs_l_w"
},
{
"name": "stairs_m_e"
},
{
"name": "stairs_m_n"
},
{
"name": "stairs_m_s"
},
{
"name": "stairs_m_w"
},
{
"name": "stairs_r_e"
},
{
"name": "stairs_r_n"
},
{
"name": "stairs_r_s"
},
{
"name": "stairs_r_w"
},
{
"name": "stone_e"
},
{
"name": "stone_n"
},
{
"name": "stone_s"
},
{
"name": "stone_w"
},
{
"name": "wood_e"
},
{
"name": "wood_n"
},
{
"name": "wood_s"
},
{
"name": "wood_w"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -0,0 +1,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/02b9f6894af4419c9f7e699a22c402b086d8067e",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "stairs",
"directions": 4
},
{
"name": "stairs_stage"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Made by Flareguy for Space Station 14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "deprecated"
}
]
}