Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- while true do
- display()
- input = read()
- if input == "Hydrogen" then
- hydrogen()
- elseif input == "hydrogen" then
- hydrogen()
- elseif input == "H" then
- hydrogen()
- elseif input == "Helium" then
- helium()
- elseif input == "helium" then
- helium()
- elseif input == "He" then
- helium()
- elseif input == "Lithium" then
- lithium()
- elseif input == "litium" then
- lithium()
- elseif input == "Li" then
- lithium()
- elseif input == "Beryllium" then
- beryllium()
- elseif input == "beryllium" then
- beryllium()
- elseif input == "Be" then
- beryllium()
- elseif input == "Boron" then
- boron()
- elseif input == "boron" then
- boron()
- elseif input == "B" then
- boron()
- elseif input == "Carbon" then
- carbon()
- elseif input == "carbon" then
- carbon()
- elseif input == "C" then
- carbon()
- elseif input == "Nitrogen" then
- nitrogen()
- elseif input == "nitrogen" then
- nitrogen()
- elseif input == "N" then
- nitrogen()
- elseif input == "Oxygen" then
- oxygen()
- elseif input == "oxygen" then
- oxygen()
- elseif input == "O" then
- oxygen()
- elseif input == "Fluorine" then
- fluorine()
- elseif input == "fluorine" then
- fluorine()
- elseif input == "F" then
- fluorine()
- elseif input == "Neon" then
- neon()
- elseif input == "neon" then
- neon()
- elseif input == "Ne" then
- neon()
- elseif input == "Sodium" then
- sodium()
- elseif input == "sodium" then
- sodium()
- elseif input == "Na" then
- sodium()
- elseif input == "Magnesium" then
- magnesium()
- elseif input == "magnesium" then
- magnesium()
- elseif input == "Mg" then
- magnesium()
- elseif input == "Aluminum" then
- aluminum()
- elseif input == "aluminum" then
- aluminum()
- elseif input == "Al" then
- aluminum()
- elseif input == "Silicon" then
- silicon()
- elseif input == "silicon" then
- silicon()
- elseif input == "Si" then
- silicon()
- elseif input == "Phosphorus" then
- phosphorus()
- elseif input == "phosphorus" then
- phosphorus()
- elseif input == "P" then
- phosphorus()
- elseif input == "Sulfur" then
- sulfur()
- elseif input == "sulfur" then
- sulfur()
- elseif input == "S" then
- sulfur()
- elseif input == "Chlorine" then
- chlorine()
- elseif input == "chlorine" then
- chlorine()
- elseif input == "Cl" then
- chlorine()
- elseif input == "Argon" then
- argon()
- elseif input == "argon" then
- argon()
- elseif input == "Ar" then
- argon()
- elseif input == "Potassium" then
- potassium()
- elseif input == "potassium" then
- potassium()
- elseif input == "K" then
- potassium()
- elseif input == "Calcium" then
- calcium()
- elseif input == "calcium" then
- calcium()
- elseif input == "Ca" then
- calcium()
- elseif input == "Scandium" then
- scandium()
- elseif input == "scandium" then
- scandium()
- elseif input == "Sc" then
- scandium()
- elseif input == "Titanium" then
- titanium()
- elseif input == "titanium" then
- titanium()
- elseif input == "Ti" then
- titanium()
- elseif input == "Vanadium" then
- vanadium()
- elseif input == "vanadium" then
- vanadium()
- elseif input == "V" then
- vanadium()
- elseif input == "Chromium" then
- chromium()
- elseif input == "chromium" then
- chromium()
- elseif input == "Cr" then
- chromium()
- elseif input == "Manganese" then
- manganese()
- elseif input == "manganese" then
- manganese()
- elseif input == "Mn" then
- manganese()
- elseif input == "Iron" then
- iron()
- elseif input == "iron" then
- iron()
- elseif input == "Fe" then
- iron()
- elseif input == "Cobalt" then
- cobalt()
- elseif input == "cobalt" then
- cobalt()
- elseif input == "Co" then
- cobalt()
- elseif input == "Nickel" then
- nickel()
- elseif input == "nickel" then
- nickel()
- elseif input == "Ni" then
- nickel()
- elseif input == "Copper" then
- copper()
- elseif input == "copper" then
- copper()
- elseif input == "Cu" then
- copper()
- elseif input == "Zinc" then
- zinc()
- elseif input == "zinc" then
- zinc()
- elseif input == "Zn" then
- zinc()
- elseif input == "Gallium" then
- galluim()
- elseif input == "gallium" then
- gallium()
- elseif input == "Ga" then
- gallium()
- elseif input == "Germanium" then
- germanium()
- elseif input == "germanium" then
- germanium()
- elseif input == "Ge" then
- germanium()
- elseif input == "Arsenic" then
- arsenic()
- elseif input == "arsenic" then
- arsenic()
- elseif input == "As" then
- arsenic()
- elseif input == "Selenium" then
- selenium()
- elseif input == "selenium" then
- selenium()
- elseif input == "Se" then
- selenium()
- elseif input == "Bromine" then
- bromine()
- elseif input == "bromine" then
- bromine()
- elseif input == "Br" then
- bromine()
- elseif input == "Krypton" then
- krypton()
- elseif input == "krypton" then
- krypton()
- elseif input == "Kr" then
- krypton()
- elseif input == "Rubidium" then
- rubidium()
- elseif input == "rubidium" then
- rubidium()
- elseif input == "Rb" then
- rubidium()
- elseif input == "Strontium" then
- strontium()
- elseif input == "strontium" then
- strontium()
- elseif input == "Sr" then
- strontium()
- elseif input == "Yttrium" then
- yttrium()
- elseif input == "yttrium" then
- yttrium()
- elseif input == "Y" then
- yttrium()
- elseif input == "Zirconium" then
- zirconium()
- elseif input == "zirconium" then
- zirconium()
- elseif input == "Zr" then
- zirconium()
- elseif input == "Niobium" then
- niobium()
- elseif input == "niobium" then
- niobium()
- elseif input == "Nb" then
- niobium()
- elseif input == "Molybdenur" then
- molybdenur()
- elseif input == "molybdenur" then
- molybdenur()
- elseif input == "Mo" then
- molybdenur()
- elseif input == "Technetium" then
- technetium()
- elseif input == "technetium" then
- technetium()
- elseif input == "Tc" then
- technetium()
- elseif input == "Ruthenium" then
- ruthenium()
- elseif input == "ruthenium" then
- ruthenium()
- elseif input == "Ru" then
- ruthenium()
- elseif input == "Rhodium" then
- rhodium()
- elseif input == "rhodium" then
- rhodium()
- elseif input == "Rh" then
- rhodium()
- elseif input == "Palladium" then
- palladium()
- elseif input == "palladium" then
- palladium()
- elseif input == "Pd" then
- palladium()
- elseif input == "Silver" then
- silver()
- elseif input == "silver" then
- silver()
- elseif input == "Ag" then
- silver()
- elseif input == "Cadmium" then
- cadmium()
- elseif input == "cadmium" then
- cadmium()
- elseif input == "Cd" then
- cadmium()
- elseif input == "Indium" then
- indium()
- elseif input == "indium" then
- indium()
- elseif input == "In" then
- indium()
- elseif input == "Tin" then
- tin()
- elseif input == "tin" then
- tin()
- elseif input == "Sn" then
- tin()
- elseif input == "Antimony" then
- antimony()
- elseif input == "antimony" then
- antimony()
- elseif input == "Sb" then
- antimony()
- elseif input == "Tellurium" then
- tellurium()
- elseif input == "tellurium" then
- tellurium()
- elseif input == "Te" then
- tellurium()
- elseif input == "Iodine" then
- iodine()
- elseif input == "iodine" then
- iodine()
- elseif input == "I" then
- iodine()
- elseif input == "Xenon" then
- xenon()
- elseif input == "xenon" then
- xenon()
- elseif input == "Xe" then
- xenon()
- elseif input == "Cesium" then
- cesium()
- elseif input == "cesium" then
- cesium()
- elseif input == "Cs" then
- cesium()
- elseif input == "Barium" then
- barium()
- elseif input == "barium" then
- barium()
- elseif input == "Ba" then
- barium()
- elseif input == "Hafnium" then
- hafnium()
- elseif input == "hafnium" then
- hafnium()
- elseif input == "Hf" then
- hafnium()
- elseif input == "Tantalum" then
- tantalum()
- elseif input == "tantalum" then
- tantalum()
- elseif input == "Ta" then
- tantalum()
- elseif input == "Tungsten" then
- tungsten()
- elseif input == "tungsten" then
- tungsten()
- elseif input == "W" then
- tungsten()
- elseif input == "Rhenium" then
- rhenium()
- elseif input == "rhenium" then
- rhenium()
- elseif input == "Re" then
- rhenium()
- elseif input == "Osmium" then
- osmium()
- elseif input == "osmium" then
- osmium()
- elseif input == "Os" then
- osmium()
- elseif input == "Iridium" then
- iridium()
- elseif input == "iridium" then
- iridium()
- elseif input == "Ir" then
- iridium()
- elseif input == "Platinum" then
- platinum()
- elseif input == "platinium" then
- platinum()
- elseif input == "Pt" then
- platinum()
- elseif input == "Gold" then
- gold()
- elseif input == "gold" then
- gold()
- elseif input == "Au" then
- gold()
- elseif input == "Mercury" then
- mercury()
- elseif input == "mercury" then
- mercury()
- elseif input == "Hg" then
- mercury()
- elseif input == "Thallium" then
- thallium()
- elseif input == "thallium" then
- thallium()
- elseif input == "Tl" then
- thallium()
- elseif input == "Lead" then
- lead()
- elseif input == "lead" then
- lead()
- elseif input == "Pb" then
- lead()
- elseif input == "Bismuth" then
- bismuth()
- elseif input == "bismuth" then
- bismuth()
- elseif input == "Bi" then
- bismuth()
- elseif input == "Polonium" then
- polonium()
- elseif input == "polonium" then
- polonium()
- elseif input == "Po" then
- polonium()
- elseif input == "Astatine" then
- astatine()
- elseif input == "astatine" then
- astatine()
- elseif input == "At" then
- astatine()
- elseif input == "Radon" then
- radon()
- elseif input == "radon" then
- radon()
- elseif input == "Rn" then
- radon()
- elseif input == "Francium" then
- francium()
- elseif input == "francium" then
- francium()
- elseif input == "Fr" then
- francium()
- elseif input == "Radium" then
- radium()
- elseif input == "radium" then
- radium()
- elseif input == "Ra" then
- radium()
- elseif input then
- term.clear()
- term.setCursorPos(1,1)
- print("INVALID: PLEASE TRY AGAIN...")
- sleep(2)
- main()
- end
- print("Press SHIFT to search again...")
- wait()
- end
- end
- function wait()
- event, key = os.pullEvent("key")
- if key then
- sleep(.1)
- end
- end
- function color()
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.white)
- end
- function display()
- color()
- term.clear()
- term.setCursorPos(1,1)
- print("Chemistry Assistant 1.0 Alpha")
- print("")
- print("Element Name/Symbol:")
- write("> ")
- end
- function radium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Radium
- Atomic Symbol: Ra
- Atomic #: 88
- Atomic Mass #: 226
- Group: 2
- Period: 7
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [Rn], 7s^2
- Valence Electrons: 2
- Electronegativity: 0.9
- ]]
- end
- function francium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Francium
- Atomic Symbol: Fr
- Atomic #: 87
- Atomic Mass #: 223
- Group: 1
- Period: 7
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [Rn], 7s^1
- Valence Electrons: 1
- Electronegativity: 0.7
- ]]
- end
- function radon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Radon
- Atomic Symbol: Rn
- Atomic #: 86
- Atomic Mass #: 222
- Group: 18 (8)
- Period: 6
- Element Category: Noble Gases
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^6; [Rn]
- Valence Electrons: 8
- Electronegativity: null
- ]]
- end
- function astatine()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Astatine
- Atomic Symbol: At
- Atomic #: 85
- Atomic Mass #: 210
- Group: 17 (7)
- Period: 6
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^5
- Valence Electrons: 7
- Electronegativity: 2.2
- ]]
- end
- function polonium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Polonium
- Atomic Symbol: Po
- Atomic #: 84
- Atomic Mass #: 209
- Group: 16 (6)
- Period: 6
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^4
- Valence Electrons: 6
- Electronegativity: 2.0
- ]]
- end
- function bismuth()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Bismuth
- Atomic Symbol: Bi
- Atomic #: 83
- Atomic Mass #: 209
- Group: 15 (5)
- Period: 6
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^3
- Valence Electrons: 5
- Electronegativity: 2.02
- ]]
- end
- function lead()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Lead
- Atomic Symbol: Pb
- Atomic #: 82
- Atomic Mass #: 207
- Group: 14 (4)
- Period: 6
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^2
- Valence Electrons: 4
- Electronegativity: 2.33
- ]]
- end
- function thallium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Thallium
- Atomic Symbol: Tl
- Atomic #: 81
- Atomic Mass #: 204
- Group: 13 (3)
- Period: 6
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Xe], 6s^2, 5d^10, 6p^1
- Valence Electrons: 3
- Electronegativity: 1.62
- ]]
- end
- function mercury()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Mercury
- Atomic Symbol: Hg
- Atomic #: 80
- Atomic Mass #: 201
- Group: 12
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^10
- Valence Electrons: 12
- Electronegativity: 2.0
- ]]
- end
- function gold()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Gold
- Atomic Symbol: Au
- Atomic #: 79
- Atomic Mass #: 197
- Group: 11
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^9
- Valence Electrons: 11
- Electronegativity: 2.54
- ]]
- end
- function platinum()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Platinum
- Atomic Symbol: Pt
- Atomic #: 78
- Atomic Mass #: 195
- Group: 10
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^8
- Valence Electrons: 10
- Electronegativity: 2.28
- ]]
- end
- function iridium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Iridium
- Atomic Symbol: Ir
- Atomic #: 77
- Atomic Mass #: 192
- Group: 9
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^7
- Valence Electrons: 9
- Electronegativity: 2.20
- ]]
- end
- function osmium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Osmium
- Atomic Symbol: Os
- Atomic #: 76
- Atomic Mass #: 190
- Group: 8
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^6
- Valence Electrons: 8
- Electronegativity: 2.2
- ]]
- end
- function rhenium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Rhenium
- Atomic Symbol: Re
- Atomic #: 75
- Atomic Mass #: 186
- Group: 7
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^5
- Valence Electrons: 7
- Electronegativity: 1.9
- ]]
- end
- function tungsten()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Tungsten
- Atomic Symbol: W
- Atomic #: 74
- Atomic Mass #: 184
- Group: 6
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^4
- Valence Electrons: 6
- Electronegativity: 2.36
- ]]
- end
- function tantalum()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Tantalum
- Atomic Symbol: Ta
- Atomic #: 73
- Atomic Mass #: 180
- Group: 5
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^3
- Valence Electrons: 5
- Electronegativity: 1.5
- ]]
- end
- function hafnium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Hafnium
- Atomic Symbol: Hf
- Atomic #: 72
- Atomic Mass #: 178
- Group: 4
- Period: 6
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Xe], 6s^2, 5d^2
- Valence Electrons: 4
- Electronegativity: 1.3
- ]]
- end
- function barium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Barium
- Atomic Symbol: Ba
- Atomic #: 56
- Atomic Mass #: 137
- Group: 2
- Period: 6
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [Xe], 6s^2
- Valence Electrons: 2
- Electronegativity: 0.89
- ]]
- end
- function cesium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Cesium
- Atomic Symbol: Cs
- Atomic #: 55
- Atomic Mass #: 133
- Group: 1
- Period: 6
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [Xe], 6s^1
- Valence Electrons: 1
- Electronegativity: 0.79
- ]]
- end
- function xenon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Xenon
- Atomic Symbol: Xe
- Atomic #: 54
- Atomic Mass #: 131
- Group: 18 (8)
- Period: 5
- Element Category: Noble Gases
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^6; [Xe]
- Valence Electrons: 8
- Electronegativity: 2.6
- ]]
- end
- function iodine()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Iodine
- Atomic Symbol: I
- Atomic #: 53
- Atomic Mass #: 127
- Group: 17 (7)
- Period: 5
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^5
- Valence Electrons: 7
- Electronegativity: 2.66
- ]]
- end
- function tellurium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Tellurium
- Atomic Symbol: Te
- Atomic #: 52
- Atomic Mass #: 128
- Group: 16 (6)
- Period: 5
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^4
- Valence Electrons: 6
- Electronegativity: 2.1
- ]]
- end
- function antimony()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Antimony
- Atomic Symbol: Sb
- Atomic #: 51
- Atomic Mass #: 122
- Group: 15 (5)
- Period: 5
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^3
- Valence Electrons: 5
- Electronegativity: 2.05
- ]]
- end
- function tin()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Tin
- Atomic Symbol: Sn
- Atomic #: 50
- Atomic Mass #: 119
- Group: 14 (4)
- Period: 5
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^2
- Valence Electrons: 4
- Electronegativity: 1.96
- ]]
- end
- function indium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Indium
- Atomic Symbol: In
- Atomic #: 49
- Atomic Mass #: 115
- Group: 13 (3)
- Period: 5
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Kr], 5s^2, 4d^10, 4p^1
- Valence Electrons: 3
- Electronegativity: 1.78
- ]]
- end
- function cadmium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Cadmium
- Atomic Symbol: Cd
- Atomic #: 48
- Atomic Mass #: 112
- Group: 12
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^10
- Valence Electrons: 12
- Electronegativity: 1.69
- ]]
- end
- function silver()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Silver
- Atomic Symbol: Ag
- Atomic #: 47
- Atomic Mass #: 108
- Group: 11
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^9
- Valence Electrons: 11
- Electronegativity: 1.93
- ]]
- end
- function palladium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Palladium
- Atomic Symbol: Pd
- Atomic #: 46
- Atomic Mass #: 106
- Group: 10
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^8
- Valence Electrons: 10
- Electronegativity: 2.20
- ]]
- end
- function rhodium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Rhodium
- Atomic Symbol: Rh
- Atomic #: 45
- Atomic Mass #: 103
- Group: 9
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^7
- Valence Electrons: 9
- Electronegativity: 2.28
- ]]
- end
- function ruthenium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Reuthenium
- Atomic Symbol: Ru
- Atomic #: 44
- Atomic Mass #: 101
- Group: 8
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^6
- Valence Electrons: 8
- Electronegativity: 2.2
- ]]
- end
- function technetium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Technetium
- Atomic Symbol: Tc
- Atomic #: 43
- Atomic Mass #: 98
- Group: 7
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^5
- Valence Electrons: 7
- Electronegativity: 1.9
- ]]
- end
- function molybdenur()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Molybdenur
- Atomic Symbol: Mo
- Atomic #: 42
- Atomic Mass #: 96
- Group: 6
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^4
- Valence Electrons: 6
- Electronegativity: 2.16
- ]]
- end
- function niobium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Niobium
- Atomic Symbol: Nb
- Atomic #: 41
- Atomic Mass #: 93
- Group: 5
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^3
- Valence Electrons: 5
- Electronegativity: 1.6
- ]]
- end
- function zirconium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Zirconium
- Atomic Symbol: Zr
- Atomic #: 40
- Atomic Mass #: 91
- Group: 4
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^2
- Valence Electrons: 4
- Electronegativity: 1.33
- ]]
- end
- function yttrium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Yttrium
- Atomic Symbol: Y
- Atomic #: 39
- Atomic Mass #: 89
- Group: 3
- Period: 5
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Kr], 5s^2, 4d^1
- Valence Electrons: 3
- Electronegativity: 1.22
- ]]
- end
- function strontium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Strontium
- Atomic Symbol: Sr
- Atomic #: 38
- Atomic Mass #: 88
- Group: 2
- Period: 5
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [Kr], 5s^2
- Valence Electrons: 2
- Electronegativity: 0.95
- ]]
- end
- function rubidium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Rubidium
- Atomic Symbol: Rb
- Atomic #: 37
- Atomic Mass #: 85
- Group: 1
- Period: 5
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [Kr], 5s^1
- Valence Electrons: 1
- Electronegativity: 0.82
- ]]
- end
- function krypton()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Krypton
- Atomic Symbol: Kr
- Atomic #: 36
- Atomic Mass #: 84
- Group: 18 (8)
- Period: 4
- Element Category: Noble Gases
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^5; [Kr]
- Valence Electrons: 8
- Electronegativity: 3.0
- ]]
- end
- function bromine()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Bromine
- Atomic Symbol: Br
- Atomic #: 35
- Atomic Mass #: 80
- Group: 17 (7)
- Period: 4
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^5
- Valence Electrons: 7
- Electronegativity: 2.96
- ]]
- end
- function selenium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Selenium
- Atomic Symbol: Se
- Atomic #: 34
- Atomic Mass #: 79
- Group: 16 (6)
- Period: 4
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^4
- Valence Electrons: 6
- Electronegativity: 2.55
- ]]
- end
- function arsenic()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Arsenic
- Atomic Symbol: As
- Atomic #: 33
- Atomic Mass #: 75
- Group: 15 (5)
- Period: 4
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^3
- Valence Electrons: 5
- Electronegativity: 2.18
- ]]
- end
- function germanium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Germanium
- Atomic Symbol: Ge
- Atomic #: 32
- Atomic Mass #: 73
- Group: 14 (4)
- Period: 4
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^2
- Valence Electrons: 4
- Electronegativity: 2.01
- ]]
- end
- function gallium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Gallium
- Atomic Symbol: Ga
- Atomic #: 31
- Atomic Mass #: 70
- Group: 13 (3)
- Period: 4
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Ar], 4s^2, 3d^10, 3p^1
- Valence Electrons: 3
- Electronegativity: 1.81
- ]]
- end
- function zinc()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Zinc
- Atomic Symbol: Zn
- Atomic #: 30
- Atomic Mass #: 65
- Group: 12
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^10
- Valence Electrons: 12
- Electronegativity: 1.65
- ]]
- end
- function copper()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Copper
- Atomic Symbol: Cu
- Atomic #: 29
- Atomic Mass #: 64
- Group: 11
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^9
- Valence Electrons: 11
- Electronegativity: 1.90
- ]]
- end
- function nickel()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Nickel
- Atomic Symbol: Ni
- Atomic #: 28
- Atomic Mass #: 59
- Group: 10
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^8
- Valence Electrons: 10
- Electronegativity: 1.91
- ]]
- end
- function cobalt()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Cobalt
- Atomic Symbol: Co
- Atomic #: 27
- Atomic Mass #: 59
- Group: 9
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^7
- Valence Electrons: 9
- Electronegativity: 1.88
- ]]
- end
- function iron()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Iron
- Atomic Symbol: Fe
- Atomic #: 26
- Atomic Mass #: 56
- Group: 8
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^6
- Valence Electrons: 8
- Electronegativity: 1.83
- ]]
- end
- function manganese()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Manganese
- Atomic Symbol: Mn
- Atomic #: 25
- Atomic Mass #: 55
- Group: 7
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^5
- Valence Electrons: 7
- Electronegativity: 1.55
- ]]
- end
- function chromium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Chromium
- Atomic Symbol: Cr
- Atomic #: 24
- Atomic Mass #: 52
- Group: 6
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^4
- Elcetrons Per Shell: 2,8,8,6
- Valence Electrons: 6
- Electronegativity: 1.66
- ]]
- end
- function vanadium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Vanadium
- Atomic Symbol: V
- Atomic #: 23
- Atomic Mass #: 51
- Group: 6
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^3
- Elcetrons Per Shell: 2,8,8,5
- Valence Electrons: 5
- Electronegativity: 1.63
- ]]
- end
- function titanium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Titanium
- Atomic Symbol: Ti
- Atomic #: 22
- Atomic Mass #: 48
- Group: 5
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^2
- Elcetrons Per Shell: 2,8,8,4
- Valence Electrons: 4
- Electronegativity: 1.54
- ]]
- end
- function scandium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Scandium
- Atomic Symbol: Sc
- Atomic #: 21
- Atomic Mass #: 45
- Group: 3
- Period: 4
- Element Category: Transition Metals
- Block: D-Block
- Electron Configuration: [Ar], 4s^2, 3d^1
- Elcetrons Per Shell: 2,8,8,3
- Valence Electrons: 3
- Electronegativity: 1.36
- ]]
- end
- function calcium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Calcium
- Atomic Symbol: Ca
- Atomic #: 20
- Atomic Mass #: 40
- Group: 2
- Period: 4
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [Ar], 4s^2
- Electrons Per Shell: 2,8,8,2
- Valence Electrons: 2
- Electronegativity: 1.0
- ]]
- end
- function potassium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Potassium
- Atomic Symbol: K
- Atomic #: 19
- Atomic Mass #: 39
- Group: 1
- Period: 4
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [Ar], 4s^1
- Electrons Per Shell: 2,8,8,1
- Valence Electrons: 1
- Electronegativity: 0.82
- ]]
- end
- function argon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Argon
- Atomic Symbol: Ar
- Atomic #: 18
- Atomic Mass #: 40
- Group: 18 (8)
- Period: 3
- Element Category: Noble Gasses
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3s^6; [Ar]
- Electrons Per Shell: 2,8,8
- Valence Electrons: 8
- Electronegativity: null
- ]]
- end
- function chlorine()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Chlorine
- Atomic Symbol: Cl
- Atomic #: 17
- Atomic Mass #: 35
- Group: 17 (7)
- Period: 3
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3p^5
- Electrons Per Shell: 2,8,7
- Valence Electrons: 7
- Electronegativity: 3.16
- ]]
- end
- function sulfur()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Sulfur
- Atomic Symbol: S
- Atomic #: 16
- Atomic Mass #: 32
- Group: 16 (6)
- Period: 3
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3p^4
- Electrons Per Shell: 2,8,6
- Valence Electrons: 6
- Electronegativity: 2.58
- ]]
- end
- function phosphorus()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Phosphorus
- Atomic Symbol: P
- Atomic #: 15
- Atomic Mass #: 31
- Group: 15 (5)
- Period: 3
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3p^3
- Electrons Per Shell: 2,8,5
- Valence Electrons: 5
- Electronegativity: 2.19
- ]]
- end
- function silicon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Silicon
- Atomic Symbol: Si
- Atomic #: 14
- Atomic Mass #: 28
- Group: 14 (4)
- Period: 3
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3p^2
- Electrons Per Shell: 2,8,4
- Valence Electrons: 4
- Electronegativity: 1.90
- ]]
- end
- function aluminum()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Aluminum
- Atomic Symbol: Al
- Atomic #: 13
- Atomic Mass #: 27
- Group: 13 (3)
- Period: 3
- Element Category: Post-Transition Metals
- Block: P-Block
- Electron Configuration: [Ne], 3s^2, 3p^1
- Electrons Per Shell: 2,8,3
- Valence Electrons: 3
- Electronegativity: 1.61
- ]]
- end
- function magnesium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Magnesium
- Atomic Symbol: Mg
- Atomic #: 12
- Atomic Mass #: 24
- Group: 2
- Period: 3
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [Ne], 3s^2
- Electrons Per Shell: 2,8,2
- Valence Electrons: 2
- Electronegativity: 1.31
- ]]
- end
- function sodium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Sodium
- Atomic Symbol: Na
- Atomic #: 11
- Atomic Mass #: 23
- Group: 1
- Period: 3
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [Ne], 3s^1
- Electrons Per Shell: 2,8,1
- Valence Electrons: 1
- Electronegativity: 0.93
- ]]
- end
- function neon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Neon
- Atomic Symbol: Ne
- Atomic #: 10
- Atomic Mass #: 20
- Group: 18 (8)
- Period: 2
- Element Category: Noble Gasses
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^6; [Ne]
- Electrons Per Shell: 2,8
- Valence Electrons: 8
- Electronegativity: null
- ]]
- end
- function fluorine()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Fluorine
- Atomic Symbol: F
- Atomic #: 9
- Atomic Mass #: 19
- Group: 17 (7)
- Period: 2
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^5
- Electrons Per Shell: 2,7
- Valence Electrons: 7
- Electronegativity: 3.98
- ]]
- end
- function oxygen()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Oxygen
- Atomic Symbol: O
- Atomic #: 8
- Atomic Mass #: 16
- Group: 16 (6)
- Period: 2
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^4
- Electron(s) Per Shell: 2,6
- Valence Electron(s): 6
- Electronegativity: 3.44
- ]]
- end
- function nitrogen()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Nitrogen
- Atomic Symbol: N
- Atomic #: 7
- Atomic Mass #: 14
- Group: 15 (5)
- Period: 2
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^3
- Electron(s) Per Shell: 2,5
- Valence Electron(s): 5
- Electronegativity: 3.04
- ]]
- end
- function carbon()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Carbon
- Atomic Symbol: C
- Atomic #: 6
- Atomic Mass #: 12
- Group: 14 (4)
- Period: 2
- Element Category: Other Non-Metals
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^2
- Electron(s) Per Shell: 2,4
- Valence Electron(s): 4
- Electronegativity: 2.55
- ]]
- end
- function boron()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Boron
- Atomic Symbol: B
- Atomic #: 5
- Atomic Mass #: 11
- Group: 13 (3)
- Period: 2
- Element Category: Metalloids
- Block: P-Block
- Electron Configuration: [He], 2s^2, 2p^1
- Electron(s) Per Shell: 2,3
- Valence Electron(s): 3
- Electronegativity: 2.04
- ]]
- end
- function beryllium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Beryllium
- Atomic Symbol: Be
- Atomic #: 4
- Atomic Mass #: 9
- Group: 2
- Period: 2
- Element Category: Alkaline Earth Metals
- Block: S-Block
- Electron Configuration: [He], 2s^2
- Electron(s) Per Shell: 2,2
- Valence Electron(s): 2
- Electronegativity: 1.57
- ]]
- end
- function lithium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Lithium
- Atomic Symbol: Li
- Atomic #: 3
- Atomic Mass #: 7
- Group: 1
- Period: 2
- Element Category: Alkali Metals
- Block: S-Block
- Electron Configuration: [He], 2s^1
- Electron(s) Per Shell: 2,1
- Valence Electron(s): 1
- Electronegtivity: 0.98
- ]]
- end
- function helium()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Helium
- Atomic Symbol: He
- Atomic #: 2
- Atomic Mass #: 4
- Group: 18
- Period: 1
- Element Category: Noble Gasses
- Block: S-Block
- Electron Configuration: 1s^2; [He]
- Electron(s) Per Shell: 2
- Valence Electron(s): 2
- Electronegativity: null
- ]]
- end
- function hydrogen()
- term.clear()
- term.setCursorPos(1,1)
- print[[
- Atomic Name: Hydrogen
- Atomic Symbol: H
- Atomic #: 1
- Atomic Mass #: 1
- Group: 1
- Period: 1
- Element Category: Diatomic Non-Metals
- Block: S-Block
- Electron Configuration: 1s^1
- Electron(s) Per Shell: 1
- Valence Electron(s): 1
- Electronegativity: 2.20
- ]]
- end
- main()
Add Comment
Please, Sign In to add comment