Added uranium glass and uranium window (#15869)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
@@ -206,3 +206,83 @@
|
||||
- type: Stack
|
||||
stackType: ReinforcedPlasmaGlass
|
||||
count: 1
|
||||
|
||||
- type: entity
|
||||
parent: SheetGlassBase
|
||||
id: SheetUGlass
|
||||
name: uranium glass
|
||||
description: A sheet of uranium glass.
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Material
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
UraniumGlass: 100
|
||||
- type: Stack
|
||||
stackType: UraniumGlass
|
||||
- type: Sprite
|
||||
state: uglass_3
|
||||
- type: Item
|
||||
heldPrefix: uglass
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StackVisualizer
|
||||
stackLayers:
|
||||
- uglass
|
||||
- uglass_2
|
||||
- uglass_3
|
||||
- type: Construction
|
||||
graph: Glass
|
||||
node: SheetUGlass
|
||||
|
||||
- type: entity
|
||||
parent: SheetUGlass
|
||||
id: SheetUGlass1
|
||||
name: uranium glass
|
||||
suffix: Single
|
||||
components:
|
||||
- type: Sprite
|
||||
state: uglass
|
||||
- type: Stack
|
||||
stackType: UraniumGlass
|
||||
count: 1
|
||||
|
||||
- type: entity
|
||||
parent: SheetGlassBase
|
||||
id: SheetRUGlass
|
||||
name: reinforced uranium glass
|
||||
description: A reinforced sheet of uranium.
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Material
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
ReinforcedUraniumGlass: 100
|
||||
- type: Stack
|
||||
stackType: ReinforcedUraniumGlass
|
||||
- type: Sprite
|
||||
state: ruglass_3
|
||||
- type: Item
|
||||
heldPrefix: ruglass
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StackVisualizer
|
||||
stackLayers:
|
||||
- ruglass
|
||||
- ruglass_2
|
||||
- ruglass_3
|
||||
- type: Construction
|
||||
graph: Glass
|
||||
node: SheetRUGlass
|
||||
|
||||
- type: entity
|
||||
parent: SheetRUGlass
|
||||
id: SheetRUGlass1
|
||||
name: reinforced uranium glass
|
||||
suffix: Single
|
||||
components:
|
||||
- type: Sprite
|
||||
state: ruglass
|
||||
- type: Stack
|
||||
stackType: ReinforcedUraniumGlass
|
||||
count: 1
|
||||
|
||||
@@ -133,3 +133,20 @@
|
||||
damage:
|
||||
types:
|
||||
Piercing: 15
|
||||
|
||||
- type: entity
|
||||
parent: ShardBase
|
||||
id: ShardGlassUranium
|
||||
name: uranium glass shard
|
||||
description: A small piece of uranium glass.
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#8eff7a"
|
||||
- type: WelderRefinable
|
||||
refineResult:
|
||||
- SheetGlass1
|
||||
- SheetUranium1
|
||||
- type: DamageUserOnTrigger
|
||||
damage:
|
||||
types:
|
||||
Piercing: 15
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
- type: entity
|
||||
id: ReinforcedUraniumWindow
|
||||
name: reinforced uranium window
|
||||
parent: Window
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: WallTops
|
||||
sprite: Structures/Windows/reinforced_uranium_window.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Windows/reinforced_uranium_window.rsi
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: RGlass
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 1500
|
||||
behaviors: #excess damage, don't spawn entities.
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 850
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
ShardGlassUranium:
|
||||
min: 1
|
||||
max: 2
|
||||
PartRodMetal:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: IconSmooth
|
||||
base: ruwindow
|
||||
- type: Construction
|
||||
graph: Window
|
||||
node: reinforcedUraniumWindow
|
||||
- type: Appearance
|
||||
- type: DamageVisuals
|
||||
thresholds: [4, 8, 12]
|
||||
damageDivisor: 36
|
||||
trackAllDamage: true
|
||||
damageOverlay:
|
||||
sprite: Structures/Windows/cracks.rsi
|
||||
- type: StaticPrice
|
||||
price: 140
|
||||
44
Resources/Prototypes/Entities/Structures/Windows/uranium.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
- type: entity
|
||||
id: UraniumWindow
|
||||
name: uranium window
|
||||
parent: Window
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: WallTops
|
||||
sprite: Structures/Windows/uranium_window.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Windows/uranium_window.rsi
|
||||
state: full
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: RGlass
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 400
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
ShardGlassUranium:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: IconSmooth
|
||||
base: uwindow
|
||||
- type: Construction
|
||||
graph: Window
|
||||
node: uraniumWindow
|
||||
- type: Appearance
|
||||
- type: DamageVisuals
|
||||
thresholds: [4, 8, 12]
|
||||
damageDivisor: 12
|
||||
trackAllDamage: true
|
||||
damageOverlay:
|
||||
sprite: Structures/Windows/cracks.rsi
|
||||
- type: StaticPrice
|
||||
price: 60
|
||||
@@ -29,3 +29,19 @@
|
||||
icon: { sprite: Objects/Materials/Sheets/glass.rsi, state: rpglass }
|
||||
color: "#8c4069"
|
||||
price: 0.66 # 2-2-1 mix of plasma, glass, and metal.
|
||||
|
||||
- type: material
|
||||
id: UraniumGlass
|
||||
stackEntity: SheetUGlass1
|
||||
name: materials-uranium-glass
|
||||
icon: { sprite: Objects/Materials/Sheets/glass.rsi, state: uglass }
|
||||
color: "#3cab38"
|
||||
price: 0.32 # 1-1 mix of uranium and glass.
|
||||
|
||||
- type: material
|
||||
id: ReinforcedUraniumGlass
|
||||
stackEntity: SheetRUGlass1
|
||||
name: materials-reinforced-uranium-glass
|
||||
icon: { sprite: Objects/Materials/Sheets/glass.rsi, state: ruglass }
|
||||
color: "#2d872a"
|
||||
price: 0.7 # 2-2-1 mix of uranium, glass, and metal.
|
||||
|
||||
@@ -33,6 +33,26 @@
|
||||
amount: 1
|
||||
- material: MetalRod
|
||||
amount: 1
|
||||
- to: SheetUGlass
|
||||
completed:
|
||||
- !type:SetStackCount
|
||||
amount: 1
|
||||
steps:
|
||||
- material: Glass
|
||||
amount: 1
|
||||
- material: Uranium
|
||||
amount: 1
|
||||
- to: SheetRUGlass
|
||||
completed:
|
||||
- !type:SetStackCount
|
||||
amount: 1
|
||||
steps:
|
||||
- material: Glass
|
||||
amount: 1
|
||||
- material: Uranium
|
||||
amount: 1
|
||||
- material: MetalRod
|
||||
amount: 1
|
||||
|
||||
- node: SheetGlass
|
||||
entity: SheetGlass
|
||||
@@ -46,3 +66,9 @@
|
||||
- node: SheetRPGlass
|
||||
entity: SheetRPGlass
|
||||
|
||||
- node: SheetUGlass
|
||||
entity: SheetUGlass
|
||||
|
||||
- node: SheetRUGlass
|
||||
entity: SheetRUGlass
|
||||
|
||||
|
||||
@@ -28,6 +28,18 @@
|
||||
amount: 2
|
||||
doAfter: 3
|
||||
|
||||
- to: uraniumWindow
|
||||
steps:
|
||||
- material: UraniumGlass
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- to: reinforcedUraniumWindow
|
||||
steps:
|
||||
- material: ReinforcedUraniumGlass
|
||||
amount: 2
|
||||
doAfter: 3
|
||||
|
||||
- to: window
|
||||
steps:
|
||||
- material: Glass
|
||||
@@ -132,3 +144,45 @@
|
||||
doAfter: 2
|
||||
- tool: Anchoring
|
||||
doAfter: 3
|
||||
|
||||
- node: uraniumWindow
|
||||
entity: UraniumWindow
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetUGlass1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
- tool: Prying
|
||||
doAfter: 3
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
- tool: Anchoring
|
||||
doAfter: 3
|
||||
|
||||
- node: reinforcedUraniumWindow
|
||||
entity: ReinforcedUraniumWindow
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetRUGlass1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 5
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
- tool: Prying
|
||||
doAfter: 3
|
||||
- tool: Welding
|
||||
doAfter: 5
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
- tool: Anchoring
|
||||
doAfter: 3
|
||||
|
||||
@@ -52,3 +52,25 @@
|
||||
description: A high-quality thread used to make durable clothes.
|
||||
icon: { sprite: Objects/Materials/materials.rsi, state: durathread }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: uranium glass
|
||||
description: A sheet of uranium glass.
|
||||
id: SheetUGlass
|
||||
graph: Glass
|
||||
startNode: start
|
||||
targetNode: SheetUGlass
|
||||
category: construction-category-materials
|
||||
icon: { sprite: Objects/Materials/Sheets/glass.rsi, state: uglass }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: reinforced uranium glass
|
||||
description: A reinforced sheet of uranium glass.
|
||||
id: SheetRUGlass
|
||||
graph: Glass
|
||||
startNode: start
|
||||
targetNode: SheetRUGlass
|
||||
category: construction-category-materials
|
||||
icon: { sprite: Objects/Materials/Sheets/glass.rsi, state: ruglass }
|
||||
objectType: Item
|
||||
|
||||
@@ -380,6 +380,44 @@
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
|
||||
- type: construction
|
||||
name: uranium window
|
||||
id: UraniumWindow
|
||||
graph: Window
|
||||
startNode: start
|
||||
targetNode: uraniumWindow
|
||||
category: construction-category-structures
|
||||
canBuildInImpassable: true
|
||||
description: Clear and much tougher than regular glass, with added RadAbsorb to protect you from deadly radiation.
|
||||
conditions:
|
||||
- !type:EmptyOrWindowValidInTile
|
||||
- !type:NoWindowsInTile
|
||||
icon:
|
||||
sprite: Structures/Windows/uranium_window.rsi
|
||||
state: full
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: false
|
||||
|
||||
- type: construction
|
||||
name: reinforced uranium window
|
||||
id: ReinforcedUraniumWindow
|
||||
graph: Window
|
||||
startNode: start
|
||||
targetNode: reinforcedUraniumWindow
|
||||
category: construction-category-structures
|
||||
canBuildInImpassable: true
|
||||
description: Clear and much tougher than regular glass, with added RadAbsorb to protect you from deadly radiation.
|
||||
conditions:
|
||||
- !type:EmptyOrWindowValidInTile
|
||||
- !type:NoWindowsInTile
|
||||
icon:
|
||||
sprite: Structures/Windows/reinforced_uranium_window.rsi
|
||||
state: full
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: false
|
||||
|
||||
- type: construction
|
||||
name: firelock
|
||||
id: Firelock
|
||||
|
||||
@@ -26,3 +26,16 @@
|
||||
spawn: SheetRPGlass1
|
||||
maxCount: 30
|
||||
|
||||
- type: stack
|
||||
id: UraniumGlass
|
||||
name: uranium glass
|
||||
icon: { sprite: /Textures/Objects/Materials/Sheets/glass.rsi, state: uglass }
|
||||
spawn: SheetUGlass1
|
||||
maxCount: 30
|
||||
|
||||
- type: stack
|
||||
id: ReinforcedUraniumGlass
|
||||
name: reinforced uranium glass
|
||||
icon: { sprite: /Textures/Objects/Materials/Sheets/glass.rsi, state: ruglass }
|
||||
spawn: SheetRUGlass1
|
||||
maxCount: 30
|
||||
|
||||
@@ -108,6 +108,40 @@
|
||||
{
|
||||
"name": "titaniumglass-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "uglass"
|
||||
},
|
||||
{
|
||||
"name": "uglass_2"
|
||||
},
|
||||
{
|
||||
"name": "uglass_3"
|
||||
},
|
||||
{
|
||||
"name": "uglass-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uglass-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruglass"
|
||||
},
|
||||
{
|
||||
"name": "ruglass_2"
|
||||
},
|
||||
{
|
||||
"name": "ruglass_3"
|
||||
},
|
||||
{
|
||||
"name": "ruglass-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruglass-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 599 B |
|
After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 922 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 670 B |
|
After Width: | Height: | Size: 453 B |
BIN
Resources/Textures/Objects/Materials/Sheets/glass.rsi/uglass.png
Normal file
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 1000 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "resprited by AsikKEsel | Original source: from vgstation at commit https://github.com/vgstation-coders/vgstation13/raw/99cc2ab62d65a3a7b554dc7b21ff5f57c835f973/icons/turf/walls.dmi and modified by Swept ",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "ruwindow0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "ruwindow7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 267 B |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "resprited by AsikKEsel | Original source: from vgstation at commit https://github.com/vgstation-coders/vgstation13/raw/99cc2ab62d65a3a7b554dc7b21ff5f57c835f973/icons/turf/walls.dmi and modified by Swept",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "uwindow0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "uwindow7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 795 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 297 B |