Glass shards can be refined by welder (#2576)
* Added refine component for glass shard * Add refinable to rest of the shards * Fixed windows shard count * Now objects can vary refine time * Windows will spawn correct shards after destruction * Added all requested changes * Client ignore as well Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
spawnOnDestroy:
|
||||
ShardGlass:
|
||||
Min: 1
|
||||
Max: 3
|
||||
Max: 2
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Airtight
|
||||
@@ -58,6 +58,10 @@
|
||||
sprite: Constructible/Structures/Windows/reinforced_window.rsi
|
||||
- type: Destructible
|
||||
deadThreshold: 75
|
||||
spawnOnDestroy:
|
||||
ShardGlassReinforced:
|
||||
Min: 1
|
||||
Max: 2
|
||||
resistances: metallicResistances
|
||||
- type: Window
|
||||
base: rwindow
|
||||
@@ -77,6 +81,10 @@
|
||||
sprite: Constructible/Structures/Windows/phoron_window.rsi
|
||||
- type: Destructible
|
||||
deadThreshold: 100
|
||||
spawnOnDestroy:
|
||||
ShardGlassPhoron:
|
||||
Min: 1
|
||||
Max: 2
|
||||
resistances: metallicResistances
|
||||
- type: Window
|
||||
base: pwindow
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
description: A small piece of glass. It looks sharp, you wouldn't want to step on it barefoot.
|
||||
parent: ShardBase
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#bbeeff"
|
||||
- type: Item
|
||||
color: "#bbeeff"
|
||||
- type: Sprite
|
||||
color: "#bbeeff"
|
||||
- type: Item
|
||||
color: "#bbeeff"
|
||||
- type: WelderRefinable
|
||||
refineResult:
|
||||
- GlassStack
|
||||
|
||||
- type: entity
|
||||
id: ShardGlassReinforced
|
||||
@@ -36,11 +39,14 @@
|
||||
description: A small piece of reinforced glass. It looks sharp, you wouldn't want to step on it barefoot.
|
||||
parent: ShardBase
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#96cdef"
|
||||
- type: Item
|
||||
color: "#96cdef"
|
||||
|
||||
- type: Sprite
|
||||
color: "#96cdef"
|
||||
- type: Item
|
||||
color: "#96cdef"
|
||||
- type: WelderRefinable
|
||||
refineResult:
|
||||
- GlassStack
|
||||
- MetalStack
|
||||
- type: entity
|
||||
id: ShardGlassPhoron
|
||||
name: phoron glass shard
|
||||
@@ -51,3 +57,7 @@
|
||||
color: "#f3b489"
|
||||
- type: Item
|
||||
color: "#f3b489"
|
||||
- type: WelderRefinable
|
||||
refineResult:
|
||||
- GlassStack
|
||||
- PhoronStack
|
||||
|
||||
Reference in New Issue
Block a user