Reinforced Plasma Windows (#4962)

* submodule

* adds reinforced plasma windows

* Fixed some of le issues

* removing the module

* empty

literal nothing

* empty

same empty

* request fixes

* ups forgot to add that

* small change

change do after and camel reinforcedPlasmaWindow

* Update structures.yml

* Update rplasma.yml

* Update meta.json

* Update structures.yml

* Update structures.yml

* Update window.yml

* Update structures.yml

* small fixes

* literary nothing why is this here

* Update window.yml

* Update structures.yml

Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
This commit is contained in:
SethLafuente
2021-10-24 05:46:38 -07:00
committed by GitHub
parent 250b44ff61
commit 2b2211a468
14 changed files with 131 additions and 16 deletions

View File

@@ -0,0 +1,37 @@
- type: entity
id: ReinforcedPlasmaWindow
name: reinforced plasma window
parent: Window
components:
- type: Sprite
drawdepth: WallTops
sprite: Structures/Windows/reinforced_plasma_window.rsi
- type: Icon
sprite: Structures/Windows/reinforced_plasma_window.rsi
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 600
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:
min: 1
max: 2
PartRodMetal:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: IconSmooth
base: rpwindow
- type: Construction
graph: window
node: reinforcedPlasmaWindow

View File

@@ -38,7 +38,7 @@
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 15 damage: 50
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:

View File

@@ -1,4 +1,4 @@
- type: constructionGraph - type: constructionGraph
id: window id: window
start: start start: start
graph: graph:
@@ -6,14 +6,9 @@
edges: edges:
- to: plasmaWindow - to: plasmaWindow
steps: steps:
- material: Steel - material: PlasmaGlass
amount: 2 amount: 2
doAfter: 2 doAfter: 2
- material: Glass
amount: 2
- material: Plasma
amount: 2
doAfter: 3
- to: reinforcedWindow - to: reinforcedWindow
steps: steps:
@@ -21,6 +16,12 @@
amount: 2 amount: 2
doAfter: 2 doAfter: 2
- to: reinforcedPlasmaWindow
steps:
- material: ReinforcedPlasmaGlass
amount: 2
doAfter: 3
- to: window - to: window
steps: steps:
- material: Glass - material: Glass
@@ -67,13 +68,26 @@
- to: start - to: start
completed: completed:
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: SheetGlass1 prototype: SheetPGlass1
amount: 2 amount: 2
- !type:SpawnPrototype - !type:DeleteEntity {}
prototype: SheetSteel1 steps:
amount: 2 - tool: Screwing
- !type:SpawnPrototype doAfter: 2
prototype: SheetPlasma1 - tool: Prying
doAfter: 3
- tool: Screwing
doAfter: 2
- tool: Anchoring
doAfter: 3
- node: reinforcedPlasmaWindow
entity: ReinforcedPlasmaWindow
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetRPGlass1
amount: 2 amount: 2
- !type:DeleteEntity {} - !type:DeleteEntity {}
steps: steps:

View File

@@ -1,4 +1,4 @@
- type: construction - type: construction
name: girder name: girder
id: girder id: girder
graph: girder graph: girder
@@ -123,6 +123,24 @@
placementMode: SnapgridCenter placementMode: SnapgridCenter
canRotate: false canRotate: false
- type: construction
name: reinforced plasma window
id: ReinforcedPlasmaWindow
graph: window
startNode: start
targetNode: reinforcedPlasmaWindow
category: Structures
description: Fire resistant and even tougher, with a purple tint.
conditions:
- !type:EmptyOrWindowValidInTile {}
- !type:NoWindowsInTile {}
icon:
sprite: Structures/Windows/reinforced_plasma_window.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canRotate: false
- type: construction - type: construction
name: firelock name: firelock
id: Firelock id: Firelock

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 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/9c7d509354ee030300f63c701da63c17928c3b3b",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "full"
},
{
"name": "rpwindow0",
"directions": 4
},
{
"name": "rpwindow1",
"directions": 4
},
{
"name": "rpwindow2",
"directions": 4
},
{
"name": "rpwindow3",
"directions": 4
},
{
"name": "rpwindow4",
"directions": 4
},
{
"name": "rpwindow5",
"directions": 4
},
{
"name": "rpwindow6",
"directions": 4
},
{
"name": "rpwindow7",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B