tests, load materials start
This commit is contained in:
26
assets/materials/commons.json
Normal file
26
assets/materials/commons.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"material_flags": [
|
||||
{
|
||||
"metal": {
|
||||
"conducts_elictricity": true,
|
||||
"blocks_liquid": true,
|
||||
"acid_resistant": true,
|
||||
"blocks_gas": true,
|
||||
"flammable": false,
|
||||
"conducts_heat": true,
|
||||
"radiates": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"wood": {
|
||||
"conducts_elictricity": false,
|
||||
"blocks_liquid": true,
|
||||
"acid_resistant": false,
|
||||
"blocks_gas": true,
|
||||
"flammable": true,
|
||||
"conducts_heat": false,
|
||||
"radiates": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
28
assets/materials/metals/metals.json
Normal file
28
assets/materials/metals/metals.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"materials": [
|
||||
{
|
||||
"steel": {
|
||||
"name": "steel",
|
||||
"material_flags": {
|
||||
"$ref": "#/material_flags/metal"
|
||||
},
|
||||
"density": "7800",
|
||||
"fracture_toughness": "30",
|
||||
"melting_point": "1400",
|
||||
"boiling_point": "3200"
|
||||
}
|
||||
},
|
||||
{
|
||||
"iron": {
|
||||
"name": "iron",
|
||||
"material_flags": {
|
||||
"$ref": "#/material_flags/metal"
|
||||
},
|
||||
"density": "7800",
|
||||
"fracture_toughness": "12",
|
||||
"melting_point": "1400",
|
||||
"boiling_point": "3200"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
15
assets/materials/misc.json
Normal file
15
assets/materials/misc.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"material_flags": [
|
||||
{
|
||||
"acme-fiber": {
|
||||
"conducts_elictricity": false,
|
||||
"blocks_liquid": true,
|
||||
"acid_resistant": true,
|
||||
"blocks_gas": true,
|
||||
"flammable": false,
|
||||
"conducts_heat": false,
|
||||
"radiates": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
16
assets/materials/wood/wood.json
Normal file
16
assets/materials/wood/wood.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"materials": [
|
||||
{
|
||||
"oakwood": {
|
||||
"name": "testoakwood",
|
||||
"material_flags": {
|
||||
"$ref": "#/material_flags/wood"
|
||||
},
|
||||
"density": "700",
|
||||
"fracture_toughness": "4.5",
|
||||
"melting_point": "600",
|
||||
"boiling_point": null
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user