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>
37
Resources/Prototypes/Entities/Structures/Windows/rplasma.yml
Normal 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
|
||||
@@ -38,7 +38,7 @@
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 15
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- type: constructionGraph
|
||||
- type: constructionGraph
|
||||
id: window
|
||||
start: start
|
||||
graph:
|
||||
@@ -6,14 +6,9 @@
|
||||
edges:
|
||||
- to: plasmaWindow
|
||||
steps:
|
||||
- material: Steel
|
||||
- material: PlasmaGlass
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
- material: Glass
|
||||
amount: 2
|
||||
- material: Plasma
|
||||
amount: 2
|
||||
doAfter: 3
|
||||
|
||||
- to: reinforcedWindow
|
||||
steps:
|
||||
@@ -21,6 +16,12 @@
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- to: reinforcedPlasmaWindow
|
||||
steps:
|
||||
- material: ReinforcedPlasmaGlass
|
||||
amount: 2
|
||||
doAfter: 3
|
||||
|
||||
- to: window
|
||||
steps:
|
||||
- material: Glass
|
||||
@@ -67,13 +68,26 @@
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetGlass1
|
||||
amount: 2
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetPlasma1
|
||||
prototype: SheetPGlass1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
- 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
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- type: construction
|
||||
- type: construction
|
||||
name: girder
|
||||
id: girder
|
||||
graph: girder
|
||||
@@ -123,6 +123,24 @@
|
||||
placementMode: SnapgridCenter
|
||||
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
|
||||
name: firelock
|
||||
id: Firelock
|
||||
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 910 B |