Added uranium glass and uranium window (#15869)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -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
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
|
||||
Reference in New Issue
Block a user