Differences From
Artifact [5740080b38]:
1 1 local lib = starlit.mod.lib
2 2 local W = starlit.world
3 3 local M = W.material
4 4
5 5 M.element.meld {
6 6 hydrogen = {
7 - name = 'hydrogen', sym = 'H', n = 1;
7 + name = 'hydrogen', sym = 'H', n = 1; density = 8.988e-5;
8 8 gas = true;
9 9 color = lib.color(1,0.8,.3);
10 10 };
11 11 beryllium = {
12 - name = 'Beryllium', sym = 'Be', n = 4;
12 + name = 'beryllium', sym = 'Be', n = 4; density = 0;
13 13 metal = true; -- rare emerald-stuff
14 14 color = lib.color(0.2,1,0.2);
15 15 };
16 16 oxygen = {
17 - name = 'oxygen', sym = 'O', n = 8;
17 + name = 'oxygen', sym = 'O', n = 8; density = 0.001429;
18 18 gas = true;
19 19 color = lib.color(.2,1,.2);
20 20 };
21 21 carbon = {
22 - name = 'carbon', sym = 'C', n = 6;
22 + name = 'carbon', sym = 'C', n = 6, density = 2.266; -- g/cm³
23 23 color = lib.color(.7,.2,.1);
24 24 };
25 25 silicon = {
26 - name = 'silicon', sym = 'Si', n = 14;
26 + name = 'silicon', sym = 'Si', n = 14, density = 2.329;
27 27 metal = true; -- can be forged into an ingot
28 28 color = lib.color(.6,.6,.4);
29 29 };
30 30 potassium = {
31 - name = 'potassium', sym = 'K', n = 19;
31 + name = 'potassium', sym = 'K', n = 19, density = 0.862;
32 32 -- potassium is technically a metal but it's so soft
33 33 -- it can be easily nanoworked without high temps, so
34 34 -- ingots make no sense
35 35 color = lib.color(1,.8,0.1);
36 36 };
37 37 calcium = {
38 - name = 'calcium', sym = 'Ca', n = 20;
38 + name = 'calcium', sym = 'Ca', n = 20; density = 1.55;
39 39 metal = true;
40 40 color = lib.color(1,1,0.7);
41 41 };
42 42 aluminum = {
43 - name = 'aluminum', sym = 'Al', n = 13;
43 + name = 'aluminum', sym = 'Al', n = 13; density = 2.7;
44 44 metal = true;
45 45 color = lib.color(0.9,.95,1);
46 46 };
47 47 iron = {
48 - name = 'iron', sym = 'Fe', n = 26;
48 + name = 'iron', sym = 'Fe', n = 26; density = 7.874;
49 49 metal = true;
50 50 color = lib.color(.3,.3,.3);
51 51 };
52 52 copper = {
53 - name = 'copper', sym = 'Cu', n = 29;
53 + name = 'copper', sym = 'Cu', n = 29; density = 8.96;
54 54 metal = true;
55 55 color = lib.color(.8,.4,.1);
56 56 };
57 57 lithium = {
58 - name = 'lithium', sym = 'Li', n = 3;
58 + name = 'lithium', sym = 'Li', n = 3; density = 0.534;
59 59 -- i think lithium is considered a metal but we don't mark it as
60 60 -- one here because making a 'lithium ingot' is insane (even possible?)
61 61 color = lib.color(1,0.8,.3);
62 62 };
63 63 titanium = {
64 - name = 'titanium', sym = 'Ti', n = 22;
64 + name = 'titanium', sym = 'Ti', n = 22; density = 4.506;
65 65 metal = true;
66 66 color = lib.color(.7,.7,.7);
67 67 };
68 68 vanadium = {
69 - name = 'vanadium', sym = 'V', n = 23;
69 + name = 'vanadium', sym = 'V', n = 23; density = 6;
70 70 metal = true;
71 71 color = lib.color(.3,0.5,.3);
72 72 };
73 73 xenon = {
74 - name = 'xenon', sym = 'Xe', n = 54;
74 + name = 'xenon', sym = 'Xe', n = 54; density = 0.005894;
75 75 gas = true;
76 76 color = lib.color(.5,.1,1);
77 77 };
78 78 argon = {
79 - name = 'argon', sym = 'Ar', n = 18;
79 + name = 'argon', sym = 'Ar', n = 18; density = 0.001784;
80 80 gas = true;
81 81 color = lib.color(0,0.1,.9);
82 82 };
83 83 osmium = {
84 - name = 'osmium', sym = 'Os', n = 76;
84 + name = 'osmium', sym = 'Os', n = 76; density = 22.59;
85 85 metal = true;
86 86 color = lib.color(.8,.1,1);
87 87 };
88 88 iridium = {
89 - name = 'iridium', sym = 'Ir', n = 77;
89 + name = 'iridium', sym = 'Ir', n = 77; density = 22.56;
90 90 metal = true;
91 91 color = lib.color(.8,0,.5);
92 92 };
93 93 technetium = {
94 - name = 'technetium', sym = 'Tc', n = 43;
94 + name = 'technetium', sym = 'Tc', n = 43; density = 11;
95 95 desc = 'Prized by the higher Powers for subtle interactions that elude mere human scholars, technetium is of particular use in nuclear nanobatteries.';
96 96 metal = true;
97 97 color = lib.color(.2,0.2,1);
98 98 };
99 99 uranium = {
100 - name = 'uranium', sym = 'U', n = 92;
100 + name = 'uranium', sym = 'U', n = 92; density = 19.1;
101 101 desc = 'A weak but relatively plentiful nuclear fuel.';
102 102 metal = true;
103 103 color = lib.color(.2,.7,0);
104 104 };
105 105 thorium = {
106 - name = 'thorium', sym = 'Th', n = 90;
106 + name = 'thorium', sym = 'Th', n = 90; density = 11.7;
107 107 desc = 'A frighteningly powerful nuclear fuel.';
108 108 metal = true;
109 109 color = lib.color(.7,.3,.1);
110 110 };
111 111 silver = {
112 - name = 'silver', sym = 'Ag', n = 47;
112 + name = 'silver', sym = 'Ag', n = 47; density = 10.49;
113 113 metal = true;
114 114 color = lib.color(.7,.7,.8);
115 115 };
116 116 gold = {
117 - name = 'gold', sym = 'Au', n = 79;
117 + name = 'gold', sym = 'Au', n = 79; density = 19.30;
118 118 metal = true;
119 119 color = lib.color(1,.8,0);
120 120 };
121 121 }