Adds full-tile tinted windows. (#6278)

This commit is contained in:
Lamrr
2022-01-24 04:44:12 +11:00
committed by GitHub
parent 13d428095b
commit af1aa7ec77
13 changed files with 109 additions and 0 deletions

View File

@@ -47,6 +47,25 @@
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: entity
parent: ReinforcedWindow
id: TintedWindow
name: tinted window
components:
- type: Sprite
drawdepth: WallTops
sprite: Structures/Windows/tinted_window.rsi
- type: Icon
sprite: Structures/Windows/tinted_window.rsi
- type: IconSmooth
base: twindow
- type: Construction
graph: window
node: tintedWindow
- type: Occluder
sizeX: 32
sizeY: 32
- type: entity
id: WindowReinforcedDirectional
parent: WindowDirectional

View File

@@ -16,6 +16,12 @@
amount: 2
doAfter: 2
- to: tintedWindow
steps:
- material: ReinforcedGlass
amount: 2
doAfter: 2
- to: reinforcedPlasmaWindow
steps:
- material: ReinforcedPlasmaGlass
@@ -62,6 +68,25 @@
- tool: Anchoring
doAfter: 2
- node: tintedWindow
entity: TintedWindow
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetRGlass1
amount: 2
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 1
- tool: Prying
doAfter: 2
- tool: Screwing
doAfter: 1
- tool: Anchoring
doAfter: 2
- node: plasmaWindow
entity: PlasmaWindow
edges:

View File

@@ -107,6 +107,25 @@
placementMode: SnapgridCenter
canRotate: false
- type: construction
name: tinted window
id: TintedWindow
graph: window
startNode: start
targetNode: tintedWindow
category: Structures
description: Not clear but tough.
canBuildInImpassable: true
conditions:
- !type:EmptyOrWindowValidInTile
- !type:NoWindowsInTile
icon:
sprite: Structures/Windows/tinted_window.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canRotate: false
- type: construction
name: plasma window
id: PlasmaWindow

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,46 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/ f141c349e063f7318d8c8a2417d840f0b2d06600, modified",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "full"
},
{
"name": "twindow0",
"directions": 4
},
{
"name": "twindow1",
"directions": 4
},
{
"name": "twindow2",
"directions": 4
},
{
"name": "twindow3",
"directions": 4
},
{
"name": "twindow4",
"directions": 4
},
{
"name": "twindow5",
"directions": 4
},
{
"name": "twindow6",
"directions": 4
},
{
"name": "twindow7",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB