Material cleanup (#4025)

* work

* more work
This commit is contained in:
Vera Aguilera Puerto
2021-05-20 10:37:34 +02:00
committed by GitHub
parent afc8c9163c
commit 3a27490c59
17 changed files with 267 additions and 318 deletions

View File

@@ -18,11 +18,11 @@
parent: SheetGlassBase
id: SheetGlass
name: glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: glass
- Glass
- type: Stack
stackType: Glass
- type: Sprite
@@ -47,6 +47,7 @@
parent: SheetGlass
id: SheetGlass1
name: glass
suffix: Single
components:
- type: Sprite
state: glass
@@ -57,11 +58,11 @@
parent: SheetGlassBase
id: SheetRGlass
name: reinforced glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: rglass
- ReinforcedGlass
- type: Stack
stackType: ReinforcedGlass
- type: Sprite
@@ -86,6 +87,7 @@
parent: SheetRGlass
id: SheetRGlass1
name: reinforced glass
suffix: Single
components:
- type: Sprite
state: rglass
@@ -96,11 +98,11 @@
parent: SheetGlassBase
id: SheetPGlass
name: plasma glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: pglass
- PlasmaGlass
- type: Stack
stackType: PlasmaGlass
- type: Sprite
@@ -122,6 +124,7 @@
parent: SheetPGlass
id: SheetPGlass1
name: plasma glass
suffix: Single
components:
- type: Sprite
state: pglass
@@ -132,11 +135,11 @@
parent: SheetGlassBase
id: SheetRPGlass
name: reinforced plasma glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: rpglass
- ReinforcedPlasmaGlass
- type: Stack
stackType: ReinforcedPlasmaGlass
- type: Sprite
@@ -158,6 +161,7 @@
parent: SheetPGlass
id: SheetRPGlass1
name: reinforced plasma glass
suffix: Single
components:
- type: Sprite
state: rpglass
@@ -168,11 +172,11 @@
parent: SheetGlassBase
id: SheetTitaniumGlass
name: titanium glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: titaniumglass
- TitaniumGlass
- type: Stack
stackType: TitaniumGlass
- type: Sprite
@@ -191,6 +195,7 @@
parent: SheetTitaniumGlass
id: SheetTitaniumGlass1
name: titanium glass
suffix: Single
components:
- type: Sprite
state: titaniumglass
@@ -201,11 +206,11 @@
parent: SheetGlassBase
id: SheetPlastitaniumGlass
name: plastitanium glass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: plastitaniumglass
- PlastitaniumGlass
- type: Stack
stackType: PlastitaniumGlass
- type: Sprite
@@ -224,6 +229,7 @@
parent: SheetPlastitaniumGlass
id: SheetPlastitaniumGlass1
name: plastitanium glass
suffix: Single
components:
- type: Sprite
state: plastitaniumglass

View File

@@ -18,11 +18,11 @@
parent: SheetMetalBase
id: SheetSteel
name: steel
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: steel
- Steel
- type: Stack
stackType: Steel
- type: Sprite
@@ -44,6 +44,7 @@
parent: SheetSteel
id: SheetSteel1
name: steel
suffix: Single
components:
- type: Sprite
state: steel
@@ -54,11 +55,11 @@
parent: SheetMetalBase
id: SheetPlasteel
name: plasteel
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: plasteel
- Plasteel
- type: Stack
stackType: Plasteel
- type: Sprite
@@ -77,6 +78,7 @@
parent: SheetPlasteel
id: SheetPlasteel1
name: plasteel
suffix: Single
components:
- type: Sprite
state: plasteel
@@ -87,11 +89,11 @@
parent: SheetMetalBase
id: SheetTitanium
name: titanium
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: titanium
- Titanium
- type: Stack
stackType: Titanium
- type: Sprite
@@ -110,6 +112,7 @@
parent: SheetTitanium
id: SheetTitanium1
name: titanium
suffix: Single
components:
- type: Sprite
state: titanium
@@ -120,11 +123,11 @@
parent: SheetMetalBase
id: SheetPlastitanium
name: plastitanium
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: plastitanium
- Plastitanium
- type: Stack
stackType: Plastitanium
- type: Sprite
@@ -143,6 +146,7 @@
parent: SheetPlastitanium
id: SheetPlastitanium1
name: plastitanium
suffix: Single
components:
- type: Sprite
state: plastitanium
@@ -153,11 +157,11 @@
parent: SheetMetalBase
id: SheetBrass
name: brass
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: brass
- Brass
- type: Stack
stackType: Brass
- type: Sprite
@@ -176,6 +180,7 @@
parent: SheetBrass
id: SheetBrass1
name: brass
suffix: Single
components:
- type: Sprite
state: brass

View File

@@ -18,6 +18,7 @@
parent: SheetOtherBase
id: SheetPaper
name: paper
suffix: Full
components:
- type: Stack
stackType: Paper
@@ -37,6 +38,7 @@
parent: SheetPaper
id: SheetPaper1
name: paper
suffix: Single
components:
- type: Sprite
state: paper
@@ -47,11 +49,11 @@
parent: SheetOtherBase
id: SheetPhoron
name: phoron
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: phoron
- Phoron
- type: Stack
stackType: Phoron
- type: Sprite
@@ -63,7 +65,7 @@
parent: SheetPhoron
id: SheetPhoron1
name: phoron
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -72,11 +74,11 @@
parent: SheetOtherBase
id: SheetPlasma
name: plasma
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: plasma
- Plasma
- type: Stack
stackType: Plasma
- type: Sprite
@@ -95,6 +97,7 @@
parent: SheetPlasma
id: SheetPlasma1
name: plasma
suffix: Single
components:
- type: Sprite
state: plasma
@@ -105,11 +108,11 @@
parent: SheetOtherBase
id: SheetPlastic
name: plastic
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: plastic
- Plastic
- type: Stack
stackType: Plastic
- type: Sprite
@@ -128,6 +131,7 @@
parent: SheetPlastic
id: SheetPlastic1
name: plastic
suffix: Single
components:
- type: Sprite
state: plastic
@@ -138,6 +142,7 @@
parent: SheetOtherBase
id: SheetUranium
name: uranium
suffix: Full
components:
- type: Stack
stackType: Uranium
@@ -150,7 +155,7 @@
parent: SheetUranium
id: SheetUranium1
name: uranium
suffix: 1
suffix: Single
components:
- type: Stack
count: 1

View File

@@ -18,11 +18,11 @@
parent: IngotBase
id: IngotAdamantine
name: adamantine bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: adamantine
- Adamantine
- type: Stack
stackType: Adamantine
- type: Sprite
@@ -41,6 +41,7 @@
parent: IngotAdamantine
id: IngotAdamantine1
name: adamantine bar
suffix: Single
components:
- type: Sprite
state: adamantine
@@ -51,11 +52,11 @@
parent: IngotBase
id: IngotCopper
name: copper bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: copper
- Copper
- type: Stack
stackType: Copper
- type: Sprite
@@ -74,6 +75,7 @@
parent: IngotCopper
id: IngotCopper1
name: copper bar
suffix: Single
components:
- type: Sprite
state: copper
@@ -84,11 +86,11 @@
parent: IngotBase
id: IngotGold
name: gold bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: gold
- Gold
- type: Stack
stackType: Gold
- type: Sprite
@@ -107,6 +109,7 @@
parent: IngotGold
id: IngotGold1
name: gold bar
suffix: Single
components:
- type: Sprite
state: gold
@@ -117,11 +120,11 @@
parent: IngotBase
id: IngotHydrogen
name: hydrogen bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: hydrogen
- Hydrogen
- type: Stack
stackType: Hydrogen
- type: Sprite
@@ -140,6 +143,7 @@
parent: IngotHydrogen
id: IngotHydrogen1
name: hydrogen bar
suffix: Single
components:
- type: Sprite
state: hydrogen
@@ -150,11 +154,11 @@
parent: IngotBase
id: IngotIron
name: iron bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: iron
- Iron
- type: Stack
stackType: Iron
- type: Sprite
@@ -173,6 +177,7 @@
parent: IngotIron
id: IngotIron1
name: iron bar
suffix: Single
components:
- type: Sprite
state: iron
@@ -183,11 +188,11 @@
parent: IngotBase
id: IngotSilver
name: silver bar
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: silver
- Silver
- type: Stack
stackType: Silver
- type: Sprite
@@ -206,6 +211,7 @@
parent: IngotSilver
id: IngotSilver1
name: silver bar
suffix: Single
components:
- type: Sprite
state: silver

View File

@@ -15,6 +15,7 @@
parent: MaterialBase
id: MaterialBananium
name: bananium
suffix: Full
components:
- type: Stack
stackType: Bananium
@@ -24,7 +25,7 @@
- type: entity
parent: MaterialBananium
id: MaterialBananium1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -33,6 +34,7 @@
parent: MaterialBase
id: MaterialCloth
name: cloth
suffix: Full
components:
- type: Stack
stackType: Cloth
@@ -49,6 +51,7 @@
- type: entity
parent: MaterialCloth
id: MaterialCloth1
suffix: Single
components:
- type: Sprite
state: cloth
@@ -59,6 +62,7 @@
parent: MaterialBase
id: MaterialCotton
name: cotton
suffix: Full
components:
- type: Stack
stackType: Cotton
@@ -75,6 +79,7 @@
- type: entity
parent: MaterialCotton
id: MaterialCotton1
suffix: Single
components:
- type: Sprite
state: cotton
@@ -85,6 +90,7 @@
parent: MaterialBase
id: MaterialDiamond
name: refined diamond
suffix: Full
components:
- type: Stack
stackType: Diamond
@@ -96,7 +102,7 @@
- type: entity
parent: MaterialDiamond
id: MaterialDiamond1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -105,6 +111,7 @@
parent: MaterialBase
id: MaterialDurathread
name: durathread
suffix: Full
components:
- type: Stack
stackType: Durathread
@@ -121,6 +128,7 @@
- type: entity
parent: MaterialDurathread
id: MaterialDurathread1
suffix: Single
components:
- type: Sprite
state: durathread
@@ -131,6 +139,7 @@
parent: MaterialBase
id: MaterialDurathreadRaw
name: raw durathread
suffix: Full
components:
- type: Stack
stackType: RawDurathread
@@ -147,6 +156,7 @@
- type: entity
parent: MaterialDurathreadRaw
id: MaterialDurathreadRaw1
suffix: Single
components:
- type: Sprite
state: durathreadraw
@@ -157,6 +167,7 @@
parent: MaterialBase
id: MaterialHide
name: hide
suffix: Full
components:
- type: Stack
stackType: Hide
@@ -173,6 +184,7 @@
- type: entity
parent: MaterialHide
id: MaterialHide1
suffix: Single
components:
- type: Sprite
state: hide
@@ -183,6 +195,7 @@
parent: MaterialBase
id: MaterialLeather
name: leather
suffix: Full
components:
- type: Stack
stackType: Leather
@@ -199,6 +212,7 @@
- type: entity
parent: MaterialLeather
id: MaterialLeather1
suffix: Single
components:
- type: Sprite
state: leather
@@ -209,11 +223,11 @@
parent: MaterialBase
id: MaterialWoodPlank
name: wood
suffix: Full
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: wood
- Wood
- type: Stack
stackType: WoodPlank
- type: Sprite
@@ -224,7 +238,7 @@
- type: entity
parent: MaterialWoodPlank
id: MaterialWoodPlank1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1

View File

@@ -18,6 +18,7 @@
parent: OreBase
id: AdamantineOre
name: adamantine ore
suffix: Full
components:
- type: Stack
stackType: AdamantineOre
@@ -27,7 +28,7 @@
- type: entity
parent: AdamantineOre
id: AdamantineOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -36,6 +37,7 @@
parent: OreBase
id: Ammonia
name: ammonia
suffix: Full
components:
- type: Stack
stackType: Ammonia
@@ -45,7 +47,7 @@
- type: entity
parent: Ammonia
id: Ammonia1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -54,6 +56,7 @@
parent: OreBase
id: BananiumOre
name: bananium ore
suffix: Full
components:
- type: Stack
stackType: BananiumOre
@@ -63,7 +66,7 @@
- type: entity
parent: BananiumOre
id: BananiumOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -72,6 +75,7 @@
parent: OreBase
id: DiamondRaw
name: raw diamond
suffix: Full
components:
- type: Stack
stackType: DiamondOre
@@ -81,7 +85,7 @@
- type: entity
parent: DiamondRaw
id: DiamondRaw1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -90,6 +94,7 @@
parent: OreBase
id: GoldOre
name: gold ore
suffix: Full
components:
- type: Stack
stackType: GoldOre
@@ -99,7 +104,7 @@
- type: entity
parent: GoldOre
id: GoldOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -108,6 +113,7 @@
parent: OreBase
id: IronOre
name: iron ore
suffix: Full
components:
- type: Stack
stackType: IronOre
@@ -117,7 +123,7 @@
- type: entity
id: IronOre1
parent: IronOre
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -126,6 +132,7 @@
parent: OreBase
id: PhoronOre
name: phoron ore
suffix: Full
components:
- type: Stack
stackType: PhoronOre
@@ -135,7 +142,7 @@
- type: entity
parent: PhoronOre
id: PhoronOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -144,6 +151,7 @@
parent: OreBase
id: PlasmaOre
name: plasma ore
suffix: Full
components:
- type: Stack
stackType: PlasmaOre
@@ -153,7 +161,7 @@
- type: entity
parent: PlasmaOre
id: PlasmaOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -162,6 +170,7 @@
parent: OreBase
id: Sand
name: sand
suffix: Full
components:
- type: Stack
stackType: Sand
@@ -171,7 +180,7 @@
- type: entity
parent: Sand
id: Sand1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -180,6 +189,7 @@
parent: OreBase
id: SandBlack
name: black sand
suffix: Full
components:
- type: Stack
stackType: BlackSand
@@ -189,7 +199,7 @@
- type: entity
parent: SandBlack
id: SandBlack1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -198,6 +208,7 @@
parent: OreBase
id: SilverOre
name: silver ore
suffix: Full
components:
- type: Stack
stackType: SilverOre
@@ -207,7 +218,7 @@
- type: entity
parent: SilverOre
id: SilverOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -216,6 +227,7 @@
parent: OreBase
id: Slag
name: slag
suffix: Full
components:
- type: Stack
stackType: Slag
@@ -225,7 +237,7 @@
- type: entity
parent: Slag
id: Slag1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -234,6 +246,7 @@
parent: OreBase
id: TitaniumOre
name: titanium ore
suffix: Full
components:
- type: Stack
stackType: TitaniumOre
@@ -243,7 +256,7 @@
- type: entity
parent: TitaniumOre
id: TitaniumOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1
@@ -252,6 +265,7 @@
parent: OreBase
id: UraniumOre
name: uranium ore
suffix: Full
components:
- type: Stack
stackType: UraniumOre
@@ -261,7 +275,7 @@
- type: entity
parent: UraniumOre
id: UraniumOre1
suffix: 1
suffix: Single
components:
- type: Stack
count: 1

View File

@@ -15,6 +15,7 @@
parent: PartBase
id: PartRodMetal
name: metals rods
suffix: Full
components:
- type: Stack
stackType: MetalRod
@@ -43,6 +44,7 @@
parent: PartRodMetal
id: PartRodMetal1
name: metal rod
suffix: Single
components:
- type: Sprite
state: rods

View File

@@ -1,45 +1,35 @@
- type: material
id: GlassMaterialBase
density: 2500
electricResistivity: 1.0e+13
thermalConductivity: 0.9
specificHeat: 840
- type: material
id: glass
id: Glass
stack: Glass
name: glass
icon: Objects/Materials/Sheets/glass.rsi/glass.png
parent: GlassMaterialBase
- type: material
id: rglass
id: ReinforcedGlass
stack: ReinforcedGlass
name: reinforced glass
icon: Objects/Materials/Sheets/glass.rsi/rglass.png
density: 5000
electricResistivity: 1.0e+13
thermalConductivity: 0.9
specificHeat: 5000
- type: material
id: pglass
id: PlasmaGlass
stack: PlasmaGlass
name: plasma glass
icon: Objects/Materials/Sheets/glass.rsi/pglass.png
parent: GlassMaterialBase
- type: material
id: rpglass
id: ReinforcedPlasmaGlass
stack: ReinforcedPlasmaGlass
name: reinforced plasma glass
icon: Objects/Materials/Sheets/glass.rsi/rpglass.png
parent: GlassMaterialBase
- type: material
id: titaniumglass
id: TitaniumGlass
stack: TitaniumGlass
name: titanium glass
icon: Objects/Materials/Sheets/glass.rsi/titaniumglass.png
parent: GlassMaterialBase
- type: material
id: plastitaniumglass
id: PlastitaniumGlass
stack: PlastitaniumGlass
name: plastitanium glass
icon: Objects/Materials/Sheets/glass.rsi/plastitaniumglass.png
parent: GlassMaterialBase

View File

@@ -1,42 +1,23 @@
- type: material
id: MaterialBase
density: 5000
electricResistivity: 6.9e-7
thermalConductivity: 18
specificHeat: 500
- type: material
id: plasma
id: Plasma
stack: Plasma
name: plasma
icon: Objects/Materials/Sheets/other.rsi/plasma.png
density: 200
electricResistivity: 2.1e-1
thermalConductivity: 80
specificHeat: 2000
- type: material
id: phoron
id: Phoron
stack: Phoron
name: phoron
icon: Objects/Materials/Sheets/other.rsi/phoron.png
density: 200
electricResistivity: 2.1e-1
thermalConductivity: 80
specificHeat: 2000
- type: material
id: plastic
id: Plastic
stack: Plastic
name: plastic
icon: Objects/Materials/Sheets/other.rsi/plastic.png
density: 6500
electricResistivity: 1.0e+13
thermalConductivity: 1.5
specificHeat: 600
- type: material
id: wood
id: Wood
stack: WoodPlank
name: wood
icon: Objects/Materials/materials.rsi/wood.png
density: 6000
electricResistivity: 1.0e+13
thermalConductivity: 1.5
specificHeat: 600

View File

@@ -1,78 +1,65 @@
- type: material
id: MetalMaterialBase
density: 7700
electricResistivity: 6.9e-7
thermalConductivity: 18
specificHeat: 500
- type: material
id: steel
id: Steel
stack: Steel
name: steel
icon: Objects/Materials/Sheets/metal.rsi/steel.png
parent: MetalMaterialBase
- type: material
id: adamantine
id: Adamantine
stack: Adamantine
name: adamantine
icon: Objects/Materials/ingots.rsi/adamantine.png
parent: MetalMaterialBase
- type: material
id: copper
id: Copper
stack: Copper
name: copper
icon: Objects/Materials/ingots.rsi/copper.png
parent: MetalMaterialBase
- type: material
id: gold
id: Gold
stack: Gold
name: gold
icon: Objects/Materials/ingots.rsi/gold.png
density: 10000
electricResistivity: 8.0e-9
thermalConductivity: 30
specificHeat: 1000
- type: material
id: hydrogen
id: Hydrogen
stack: Hydrogen
name: hydrogen
icon: Objects/Materials/ingots.rsi/hydrogen.png
parent: MetalMaterialBase
- type: material
id: iron
id: Iron
stack: Iron
name: iron
icon: Objects/Materials/ingots.rsi/iron.png
parent: MetalMaterialBase
- type: material
id: silver
id: Silver
stack: Silver
name: silver
icon: Objects/Materials/ingots.rsi/silver.png
parent: MetalMaterialBase
- type: material
id: plasteel
id: Plasteel
stack: Plasteel
name: plasteel
icon: Objects/Materials/Sheets/metal.rsi/plasteel.png
density: 15400 # literally arbitrary values...
electricResistivity: 6.9e-7
thermalConductivity: 18
specificHeat: 200
- type: material
id: brass
id: Brass
stack: Brass
name: brass
icon: Objects/Materials/Sheets/metal.rsi/brass.png
parent: MetalMaterialBase
- type: material
id: titanium
id: Titanium
stack: Titanium
name: titanium
icon: Objects/Materials/Sheets/metal.rsi/titanium.png
parent: MetalMaterialBase
- type: material
id: plastitanium
id: Plastitanium
stack: Plastitanium
name: plastitanium
icon: Objects/Materials/Sheets/metal.rsi/plastitanium.png
parent: MetalMaterialBase