Create elements.js
new elements: boron graphite plutonium (BETA)
This commit is contained in:
parent
b2c2cddd45
commit
b7e042244a
|
|
@ -0,0 +1,47 @@
|
||||||
|
addElement("boron", {
|
||||||
|
color: "#635F62",
|
||||||
|
category: "powders",
|
||||||
|
state: "solid",
|
||||||
|
|
||||||
|
behavior: [
|
||||||
|
"RL:radiation%0.001",
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
reactions: {
|
||||||
|
neutron: {elem2: "radiation"},
|
||||||
|
},
|
||||||
|
|
||||||
|
}),
|
||||||
|
|
||||||
|
addElement("Graphite", {
|
||||||
|
color: "#635F62",
|
||||||
|
category: "powders",
|
||||||
|
state: "solid",
|
||||||
|
|
||||||
|
behavior: [
|
||||||
|
"RL:radiation%2, AND RL:neutron%5",
|
||||||
|
],
|
||||||
|
|
||||||
|
}),
|
||||||
|
|
||||||
|
addElement("Plutonium", {
|
||||||
|
color: "#FFFF7F",
|
||||||
|
category: "powders",
|
||||||
|
state: "solid",
|
||||||
|
|
||||||
|
behavior: [
|
||||||
|
"RL:radiation%10 AND RL:proton%0.05",
|
||||||
|
],
|
||||||
|
|
||||||
|
reactions: {
|
||||||
|
neutron: {
|
||||||
|
elem2: "radiation",
|
||||||
|
|
||||||
|
onReact: function(elem1, elem2) {
|
||||||
|
elem1.temp = elem1.temp + 25
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
})
|
||||||
Loading…
Reference in New Issue