DanielBoling

chem

Mar 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function main()
  2.     while true do
  3.   display()
  4.         input = read()
  5.         if input == "Hydrogen" then
  6.             hydrogen()
  7.         elseif input == "hydrogen" then
  8.             hydrogen()
  9.         elseif input == "H" then
  10.             hydrogen()
  11.         elseif input == "Helium" then
  12.             helium()
  13.         elseif input == "helium" then
  14.             helium()
  15.         elseif input == "He" then
  16.             helium()
  17.         elseif input == "Lithium" then
  18.             lithium()
  19.         elseif input == "litium" then
  20.             lithium()
  21.         elseif input == "Li" then
  22.             lithium()
  23.         elseif input == "Beryllium" then
  24.             beryllium()
  25.         elseif input == "beryllium" then
  26.             beryllium()
  27.         elseif input == "Be" then
  28.             beryllium()
  29.         elseif input == "Boron" then
  30.             boron()
  31.         elseif input == "boron" then
  32.             boron()
  33.         elseif input == "B" then
  34.             boron()
  35.         elseif input == "Carbon" then
  36.             carbon()
  37.         elseif input == "carbon" then
  38.             carbon()
  39.         elseif input == "C" then
  40.             carbon()
  41.         elseif input == "Nitrogen" then
  42.             nitrogen()
  43.         elseif input == "nitrogen" then
  44.             nitrogen()
  45.         elseif input == "N" then
  46.             nitrogen()
  47.         elseif input == "Oxygen" then
  48.             oxygen()
  49.         elseif input == "oxygen" then
  50.             oxygen()
  51.         elseif input == "O" then
  52.             oxygen()
  53.         elseif input == "Fluorine" then
  54.             fluorine()
  55.         elseif input == "fluorine" then
  56.             fluorine()
  57.         elseif input == "F" then
  58.             fluorine()
  59.         elseif input == "Neon" then
  60.             neon()
  61.         elseif input == "neon" then
  62.             neon()
  63.         elseif input == "Ne" then
  64.             neon()
  65.         elseif input == "Sodium" then
  66.             sodium()
  67.         elseif input == "sodium" then
  68.             sodium()
  69.         elseif input == "Na" then
  70.             sodium()
  71.         elseif input == "Magnesium" then
  72.             magnesium()
  73.         elseif input == "magnesium" then
  74.             magnesium()
  75.         elseif input == "Mg" then
  76.             magnesium()
  77.         elseif input == "Aluminum" then
  78.             aluminum()
  79.         elseif input == "aluminum" then
  80.             aluminum()
  81.         elseif input == "Al" then
  82.             aluminum()
  83.         elseif input == "Silicon" then
  84.             silicon()
  85.         elseif input == "silicon" then
  86.             silicon()
  87.         elseif input == "Si" then
  88.             silicon()
  89.         elseif input == "Phosphorus" then
  90.             phosphorus()
  91.         elseif input == "phosphorus" then
  92.             phosphorus()
  93.         elseif input == "P" then
  94.             phosphorus()
  95.         elseif input == "Sulfur" then
  96.             sulfur()
  97.         elseif input == "sulfur" then
  98.             sulfur()
  99.         elseif input == "S" then
  100.             sulfur()
  101.         elseif input == "Chlorine" then
  102.             chlorine()
  103.         elseif input == "chlorine" then
  104.             chlorine()
  105.         elseif input == "Cl" then
  106.             chlorine()
  107.         elseif input == "Argon" then
  108.             argon()
  109.         elseif input == "argon" then
  110.             argon()
  111.         elseif input == "Ar" then
  112.             argon()
  113.         elseif input == "Potassium" then
  114.             potassium()
  115.         elseif input == "potassium" then
  116.             potassium()
  117.         elseif input == "K" then
  118.             potassium()
  119.         elseif input == "Calcium" then
  120.             calcium()
  121.         elseif input == "calcium" then
  122.             calcium()
  123.         elseif input == "Ca" then
  124.             calcium()
  125.       elseif input == "Scandium" then
  126.             scandium()
  127.         elseif input == "scandium" then
  128.             scandium()
  129.         elseif input == "Sc" then
  130.             scandium()
  131.         elseif input == "Titanium" then
  132.             titanium()
  133.         elseif input == "titanium" then
  134.             titanium()
  135.         elseif input == "Ti" then
  136.             titanium()
  137.         elseif input == "Vanadium" then
  138.             vanadium()
  139.         elseif input == "vanadium" then
  140.             vanadium()
  141.         elseif input == "V" then
  142.             vanadium()
  143.         elseif input == "Chromium" then
  144.             chromium()
  145.         elseif input == "chromium" then
  146.             chromium()
  147.         elseif input == "Cr" then
  148.             chromium()
  149.         elseif input == "Manganese" then
  150.             manganese()
  151.         elseif input == "manganese" then
  152.             manganese()
  153.         elseif input == "Mn" then
  154.             manganese()
  155.         elseif input == "Iron" then
  156.             iron()
  157.         elseif input == "iron" then
  158.             iron()
  159.         elseif input == "Fe" then
  160.             iron()
  161.         elseif input == "Cobalt" then
  162.             cobalt()
  163.         elseif input == "cobalt" then
  164.             cobalt()
  165.         elseif input == "Co" then
  166.             cobalt()
  167.         elseif input == "Nickel" then
  168.             nickel()
  169.         elseif input == "nickel" then
  170.             nickel()
  171.         elseif input == "Ni" then
  172.             nickel()
  173.         elseif input == "Copper" then
  174.             copper()
  175.         elseif input == "copper" then
  176.             copper()
  177.         elseif input == "Cu" then
  178.             copper()
  179.         elseif input == "Zinc" then
  180.             zinc()
  181.         elseif input == "zinc" then
  182.             zinc()
  183.         elseif input == "Zn" then
  184.             zinc()
  185.         elseif input == "Gallium" then
  186.             galluim()
  187.         elseif input == "gallium" then
  188.             gallium()
  189.         elseif input == "Ga" then
  190.             gallium()
  191.         elseif input == "Germanium" then
  192.             germanium()
  193.         elseif input == "germanium" then
  194.             germanium()
  195.         elseif input == "Ge" then
  196.             germanium()
  197.         elseif input == "Arsenic" then
  198.             arsenic()
  199.         elseif input == "arsenic" then
  200.             arsenic()
  201.         elseif input == "As" then
  202.             arsenic()
  203.         elseif input == "Selenium" then
  204.             selenium()
  205.         elseif input == "selenium" then
  206.             selenium()
  207.         elseif input == "Se" then
  208.             selenium()
  209.         elseif input == "Bromine" then
  210.             bromine()
  211.         elseif input == "bromine" then
  212.             bromine()
  213.         elseif input == "Br" then
  214.             bromine()
  215.         elseif input == "Krypton" then
  216.             krypton()
  217.         elseif input == "krypton" then
  218.             krypton()
  219.         elseif input == "Kr" then
  220.             krypton()
  221.         elseif input == "Rubidium" then
  222.             rubidium()
  223.         elseif input == "rubidium" then
  224.             rubidium()
  225.         elseif input == "Rb" then
  226.             rubidium()
  227.         elseif input == "Strontium" then
  228.             strontium()
  229.         elseif input == "strontium" then
  230.             strontium()
  231.         elseif input == "Sr" then
  232.             strontium()
  233.         elseif input == "Yttrium" then
  234.             yttrium()
  235.         elseif input == "yttrium" then
  236.             yttrium()
  237.         elseif input == "Y" then
  238.             yttrium()
  239.         elseif input == "Zirconium" then
  240.             zirconium()
  241.         elseif input == "zirconium" then
  242.             zirconium()
  243.         elseif input == "Zr" then
  244.             zirconium()
  245.         elseif input == "Niobium" then
  246.             niobium()
  247.         elseif input == "niobium" then
  248.             niobium()
  249.         elseif input == "Nb" then
  250.             niobium()
  251.         elseif input == "Molybdenur" then
  252.             molybdenur()
  253.         elseif input == "molybdenur" then
  254.             molybdenur()
  255.         elseif input == "Mo" then
  256.             molybdenur()
  257.         elseif input == "Technetium" then
  258.             technetium()
  259.         elseif input == "technetium" then
  260.             technetium()
  261.         elseif input == "Tc" then
  262.             technetium()
  263.         elseif input == "Ruthenium" then
  264.             ruthenium()
  265.         elseif input == "ruthenium" then
  266.             ruthenium()
  267.         elseif input == "Ru" then
  268.             ruthenium()
  269.         elseif input == "Rhodium" then
  270.             rhodium()
  271.         elseif input == "rhodium" then
  272.             rhodium()
  273.         elseif input == "Rh" then
  274.             rhodium()
  275.         elseif input == "Palladium" then
  276.             palladium()
  277.         elseif input == "palladium" then
  278.             palladium()
  279.         elseif input == "Pd" then
  280.             palladium()
  281.         elseif input == "Silver" then
  282.             silver()
  283.         elseif input == "silver" then
  284.             silver()
  285.         elseif input == "Ag" then
  286.             silver()
  287.         elseif input == "Cadmium" then
  288.             cadmium()
  289.         elseif input == "cadmium" then
  290.             cadmium()
  291.         elseif input == "Cd" then
  292.             cadmium()
  293.         elseif input == "Indium" then
  294.             indium()
  295.         elseif input == "indium" then
  296.             indium()
  297.         elseif input == "In" then
  298.             indium()
  299.         elseif input == "Tin" then
  300.             tin()
  301.         elseif input == "tin" then
  302.             tin()
  303.         elseif input == "Sn" then
  304.             tin()
  305.         elseif input == "Antimony" then
  306.             antimony()
  307.         elseif input == "antimony" then
  308.             antimony()
  309.         elseif input == "Sb" then
  310.             antimony()
  311.         elseif input == "Tellurium" then
  312.             tellurium()
  313.         elseif input == "tellurium" then
  314.             tellurium()
  315.         elseif input == "Te" then
  316.             tellurium()
  317.         elseif input == "Iodine" then
  318.             iodine()
  319.         elseif input == "iodine" then
  320.             iodine()
  321.         elseif input == "I" then
  322.             iodine()
  323.         elseif input == "Xenon" then
  324.             xenon()
  325.         elseif input == "xenon" then
  326.             xenon()
  327.         elseif input == "Xe" then
  328.             xenon()
  329.         elseif input == "Cesium" then
  330.             cesium()
  331.         elseif input == "cesium" then
  332.             cesium()
  333.         elseif input == "Cs" then
  334.             cesium()
  335.         elseif input == "Barium" then
  336.             barium()
  337.         elseif input == "barium" then
  338.             barium()
  339.         elseif input == "Ba" then
  340.             barium()
  341.         elseif input == "Hafnium" then
  342.             hafnium()
  343.         elseif input == "hafnium" then
  344.             hafnium()
  345.         elseif input == "Hf" then
  346.             hafnium()
  347.         elseif input == "Tantalum" then
  348.             tantalum()
  349.         elseif input == "tantalum" then
  350.             tantalum()
  351.         elseif input == "Ta" then
  352.             tantalum()
  353.         elseif input == "Tungsten" then
  354.             tungsten()
  355.         elseif input == "tungsten" then
  356.             tungsten()
  357.         elseif input == "W" then
  358.             tungsten()
  359.         elseif input == "Rhenium" then
  360.             rhenium()
  361.         elseif input == "rhenium" then
  362.             rhenium()
  363.         elseif input == "Re" then
  364.             rhenium()
  365.         elseif input == "Osmium" then
  366.             osmium()
  367.         elseif input == "osmium" then
  368.             osmium()
  369.         elseif input == "Os" then
  370.             osmium()
  371.         elseif input == "Iridium" then
  372.             iridium()
  373.         elseif input == "iridium" then
  374.             iridium()
  375.         elseif input == "Ir" then
  376.             iridium()
  377.         elseif input == "Platinum" then
  378.             platinum()
  379.         elseif input == "platinium" then
  380.             platinum()
  381.         elseif input == "Pt" then
  382.             platinum()
  383.         elseif input == "Gold" then
  384.             gold()
  385.         elseif input == "gold" then
  386.             gold()
  387.         elseif input == "Au" then
  388.             gold()
  389.         elseif input == "Mercury" then
  390.             mercury()
  391.         elseif input == "mercury" then
  392.             mercury()
  393.         elseif input == "Hg" then
  394.             mercury()
  395.         elseif input == "Thallium" then
  396.             thallium()
  397.         elseif input == "thallium" then
  398.             thallium()
  399.         elseif input == "Tl" then
  400.             thallium()
  401.         elseif input == "Lead" then
  402.             lead()
  403.         elseif input == "lead" then
  404.             lead()
  405.         elseif input == "Pb" then
  406.             lead()
  407.         elseif input == "Bismuth" then
  408.             bismuth()
  409.         elseif input == "bismuth" then
  410.             bismuth()
  411.         elseif input == "Bi" then
  412.             bismuth()
  413.         elseif input == "Polonium" then
  414.             polonium()
  415.         elseif input == "polonium" then
  416.             polonium()
  417.         elseif input == "Po" then
  418.             polonium()
  419.         elseif input == "Astatine" then
  420.             astatine()
  421.         elseif input == "astatine" then
  422.             astatine()
  423.         elseif input == "At" then
  424.             astatine()
  425.         elseif input == "Radon" then
  426.             radon()
  427.         elseif input == "radon" then
  428.             radon()
  429.         elseif input == "Rn" then
  430.             radon()
  431.         elseif input == "Francium" then
  432.             francium()
  433.         elseif input == "francium" then
  434.             francium()
  435.         elseif input == "Fr" then
  436.             francium()
  437.         elseif input == "Radium" then
  438.             radium()
  439.         elseif input == "radium" then
  440.             radium()
  441.         elseif input == "Ra" then
  442.             radium()
  443.         elseif input then
  444.             term.clear()
  445.             term.setCursorPos(1,1)
  446.             print("INVALID: PLEASE TRY AGAIN...")
  447.             sleep(2)
  448.             main()
  449.         end
  450.         print("Press SHIFT to search again...")
  451.         wait()
  452.     end
  453. end
  454.  
  455. function wait()
  456.      event, key = os.pullEvent("key")
  457.      if key then
  458.      sleep(.1)
  459.      end
  460. end
  461.  
  462. function color()
  463.      term.setBackgroundColor(colors.blue)
  464.      term.setTextColor(colors.white)
  465. end
  466.  
  467. function display()
  468.   color()
  469.      term.clear()
  470.      term.setCursorPos(1,1)
  471.      print("Chemistry Assistant 1.0 Alpha")
  472.      print("")
  473.      print("Element Name/Symbol:")
  474.      write("> ")
  475. end
  476.  
  477. function radium()
  478. term.clear()
  479. term.setCursorPos(1,1)
  480. print[[
  481. Atomic Name: Radium
  482. Atomic Symbol: Ra
  483. Atomic #: 88
  484. Atomic Mass #: 226
  485. Group: 2
  486. Period: 7
  487. Element Category: Alkaline Earth Metals
  488. Block: S-Block
  489. Electron Configuration: [Rn], 7s^2
  490. Valence Electrons: 2
  491. Electronegativity: 0.9
  492. ]]
  493. end
  494.  
  495. function francium()
  496. term.clear()
  497. term.setCursorPos(1,1)
  498. print[[
  499. Atomic Name: Francium
  500. Atomic Symbol: Fr
  501. Atomic #: 87
  502. Atomic Mass #: 223
  503. Group: 1
  504. Period: 7
  505. Element Category: Alkali Metals
  506. Block: S-Block
  507. Electron Configuration: [Rn], 7s^1
  508. Valence Electrons: 1
  509. Electronegativity: 0.7
  510. ]]
  511. end
  512.  
  513. function radon()
  514. term.clear()
  515. term.setCursorPos(1,1)
  516. print[[
  517. Atomic Name: Radon
  518. Atomic Symbol: Rn
  519. Atomic #: 86
  520. Atomic Mass #: 222
  521. Group: 18 (8)
  522. Period: 6
  523. Element Category: Noble Gases
  524. Block: P-Block
  525. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^6; [Rn]
  526. Valence Electrons: 8
  527. Electronegativity: null
  528. ]]
  529. end
  530.  
  531. function astatine()
  532. term.clear()
  533. term.setCursorPos(1,1)
  534. print[[
  535. Atomic Name: Astatine
  536. Atomic Symbol: At
  537. Atomic #: 85
  538. Atomic Mass #: 210
  539. Group: 17 (7)
  540. Period: 6
  541. Element Category: Metalloids
  542. Block: P-Block
  543. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^5
  544. Valence Electrons: 7
  545. Electronegativity: 2.2
  546. ]]
  547. end
  548.  
  549. function polonium()
  550. term.clear()
  551. term.setCursorPos(1,1)
  552. print[[
  553. Atomic Name: Polonium
  554. Atomic Symbol: Po
  555. Atomic #: 84
  556. Atomic Mass #: 209
  557. Group: 16 (6)
  558. Period: 6
  559. Element Category: Post-Transition Metals
  560. Block: P-Block
  561. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^4
  562. Valence Electrons: 6
  563. Electronegativity: 2.0
  564. ]]
  565. end
  566.  
  567. function bismuth()
  568. term.clear()
  569. term.setCursorPos(1,1)
  570. print[[
  571. Atomic Name: Bismuth
  572. Atomic Symbol: Bi
  573. Atomic #: 83
  574. Atomic Mass #: 209
  575. Group: 15 (5)
  576. Period: 6
  577. Element Category: Post-Transition Metals
  578. Block: P-Block
  579. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^3
  580. Valence Electrons: 5
  581. Electronegativity: 2.02
  582. ]]
  583. end
  584.  
  585. function lead()
  586. term.clear()
  587. term.setCursorPos(1,1)
  588. print[[
  589. Atomic Name: Lead
  590. Atomic Symbol: Pb
  591. Atomic #: 82
  592. Atomic Mass #: 207
  593. Group: 14 (4)
  594. Period: 6
  595. Element Category: Post-Transition Metals
  596. Block: P-Block
  597. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^2
  598. Valence Electrons: 4
  599. Electronegativity: 2.33
  600. ]]
  601. end
  602.  
  603. function thallium()
  604. term.clear()
  605. term.setCursorPos(1,1)
  606. print[[
  607. Atomic Name: Thallium
  608. Atomic Symbol: Tl
  609. Atomic #: 81
  610. Atomic Mass #: 204
  611. Group: 13 (3)
  612. Period: 6
  613. Element Category: Post-Transition Metals
  614. Block: P-Block
  615. Electron Configuration: [Xe], 6s^2, 5d^10, 6p^1
  616. Valence Electrons: 3
  617. Electronegativity: 1.62
  618. ]]
  619. end
  620.  
  621. function mercury()
  622. term.clear()
  623. term.setCursorPos(1,1)
  624. print[[
  625. Atomic Name: Mercury
  626. Atomic Symbol: Hg
  627. Atomic #: 80
  628. Atomic Mass #: 201
  629. Group: 12
  630. Period: 6
  631. Element Category: Transition Metals
  632. Block: D-Block
  633. Electron Configuration: [Xe], 6s^2, 5d^10
  634. Valence Electrons: 12
  635. Electronegativity: 2.0
  636. ]]
  637. end
  638.  
  639. function gold()
  640. term.clear()
  641. term.setCursorPos(1,1)
  642. print[[
  643. Atomic Name: Gold
  644. Atomic Symbol: Au
  645. Atomic #: 79
  646. Atomic Mass #: 197
  647. Group: 11
  648. Period: 6
  649. Element Category: Transition Metals
  650. Block: D-Block
  651. Electron Configuration: [Xe], 6s^2, 5d^9
  652. Valence Electrons: 11
  653. Electronegativity: 2.54
  654. ]]
  655. end
  656.  
  657. function platinum()
  658. term.clear()
  659. term.setCursorPos(1,1)
  660. print[[
  661. Atomic Name: Platinum
  662. Atomic Symbol: Pt
  663. Atomic #: 78
  664. Atomic Mass #: 195
  665. Group: 10
  666. Period: 6
  667. Element Category: Transition Metals
  668. Block: D-Block
  669. Electron Configuration: [Xe], 6s^2, 5d^8
  670. Valence Electrons: 10
  671. Electronegativity: 2.28
  672. ]]
  673. end
  674.  
  675. function iridium()
  676. term.clear()
  677. term.setCursorPos(1,1)
  678. print[[
  679. Atomic Name: Iridium
  680. Atomic Symbol: Ir
  681. Atomic #: 77
  682. Atomic Mass #: 192
  683. Group: 9
  684. Period: 6
  685. Element Category: Transition Metals
  686. Block: D-Block
  687. Electron Configuration: [Xe], 6s^2, 5d^7
  688. Valence Electrons: 9
  689. Electronegativity: 2.20
  690. ]]
  691. end
  692.  
  693. function osmium()
  694. term.clear()
  695. term.setCursorPos(1,1)
  696. print[[
  697. Atomic Name: Osmium
  698. Atomic Symbol: Os
  699. Atomic #: 76
  700. Atomic Mass #: 190
  701. Group: 8
  702. Period: 6
  703. Element Category: Transition Metals
  704. Block: D-Block
  705. Electron Configuration: [Xe], 6s^2, 5d^6
  706. Valence Electrons: 8
  707. Electronegativity: 2.2
  708. ]]
  709. end
  710.  
  711. function rhenium()
  712. term.clear()
  713. term.setCursorPos(1,1)
  714. print[[
  715. Atomic Name: Rhenium
  716. Atomic Symbol: Re
  717. Atomic #: 75
  718. Atomic Mass #: 186
  719. Group: 7
  720. Period: 6
  721. Element Category: Transition Metals
  722. Block: D-Block
  723. Electron Configuration: [Xe], 6s^2, 5d^5
  724. Valence Electrons: 7
  725. Electronegativity: 1.9
  726. ]]
  727. end
  728.  
  729. function tungsten()
  730. term.clear()
  731. term.setCursorPos(1,1)
  732. print[[
  733. Atomic Name: Tungsten
  734. Atomic Symbol: W
  735. Atomic #: 74
  736. Atomic Mass #: 184
  737. Group: 6
  738. Period: 6
  739. Element Category: Transition Metals
  740. Block: D-Block
  741. Electron Configuration: [Xe], 6s^2, 5d^4
  742. Valence Electrons: 6
  743. Electronegativity: 2.36
  744. ]]
  745. end
  746.  
  747. function tantalum()
  748. term.clear()
  749. term.setCursorPos(1,1)
  750. print[[
  751. Atomic Name: Tantalum
  752. Atomic Symbol: Ta
  753. Atomic #: 73
  754. Atomic Mass #: 180
  755. Group: 5
  756. Period: 6
  757. Element Category: Transition Metals
  758. Block: D-Block
  759. Electron Configuration: [Xe], 6s^2, 5d^3
  760. Valence Electrons: 5
  761. Electronegativity: 1.5
  762. ]]
  763. end
  764.  
  765. function hafnium()
  766. term.clear()
  767. term.setCursorPos(1,1)
  768. print[[
  769. Atomic Name: Hafnium
  770. Atomic Symbol: Hf
  771. Atomic #: 72
  772. Atomic Mass #: 178
  773. Group: 4
  774. Period: 6
  775. Element Category: Transition Metals
  776. Block: D-Block
  777. Electron Configuration: [Xe], 6s^2, 5d^2
  778. Valence Electrons: 4
  779. Electronegativity: 1.3
  780. ]]
  781. end
  782.  
  783. function barium()
  784. term.clear()
  785. term.setCursorPos(1,1)
  786. print[[
  787. Atomic Name: Barium
  788. Atomic Symbol: Ba
  789. Atomic #: 56
  790. Atomic Mass #: 137
  791. Group: 2
  792. Period: 6
  793. Element Category: Alkaline Earth Metals
  794. Block: S-Block
  795. Electron Configuration: [Xe], 6s^2
  796. Valence Electrons: 2
  797. Electronegativity: 0.89
  798. ]]
  799. end
  800.  
  801. function cesium()
  802. term.clear()
  803. term.setCursorPos(1,1)
  804. print[[
  805. Atomic Name: Cesium
  806. Atomic Symbol: Cs
  807. Atomic #: 55
  808. Atomic Mass #: 133
  809. Group: 1
  810. Period: 6
  811. Element Category: Alkali Metals
  812. Block: S-Block
  813. Electron Configuration: [Xe], 6s^1
  814. Valence Electrons: 1
  815. Electronegativity: 0.79
  816. ]]
  817. end
  818.  
  819. function xenon()
  820. term.clear()
  821. term.setCursorPos(1,1)
  822. print[[
  823. Atomic Name: Xenon
  824. Atomic Symbol: Xe
  825. Atomic #: 54
  826. Atomic Mass #: 131
  827. Group: 18 (8)
  828. Period: 5
  829. Element Category: Noble Gases
  830. Block: P-Block
  831. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^6; [Xe]
  832. Valence Electrons: 8
  833. Electronegativity: 2.6
  834. ]]
  835. end
  836.  
  837. function iodine()
  838. term.clear()
  839. term.setCursorPos(1,1)
  840. print[[
  841. Atomic Name: Iodine
  842. Atomic Symbol: I
  843. Atomic #: 53
  844. Atomic Mass #: 127
  845. Group: 17 (7)
  846. Period: 5
  847. Element Category: Other Non-Metals
  848. Block: P-Block
  849. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^5
  850. Valence Electrons: 7
  851. Electronegativity: 2.66
  852. ]]
  853. end
  854.  
  855. function tellurium()
  856. term.clear()
  857. term.setCursorPos(1,1)
  858. print[[
  859. Atomic Name: Tellurium
  860. Atomic Symbol: Te
  861. Atomic #: 52
  862. Atomic Mass #: 128
  863. Group: 16 (6)
  864. Period: 5
  865. Element Category: Metalloids
  866. Block: P-Block
  867. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^4
  868. Valence Electrons: 6
  869. Electronegativity: 2.1
  870. ]]
  871. end
  872.  
  873. function antimony()
  874. term.clear()
  875. term.setCursorPos(1,1)
  876. print[[
  877. Atomic Name: Antimony
  878. Atomic Symbol: Sb
  879. Atomic #: 51
  880. Atomic Mass #: 122
  881. Group: 15 (5)
  882. Period: 5
  883. Element Category: Metalloids
  884. Block: P-Block
  885. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^3
  886. Valence Electrons: 5
  887. Electronegativity: 2.05
  888. ]]
  889. end
  890.  
  891. function tin()
  892. term.clear()
  893. term.setCursorPos(1,1)
  894. print[[
  895. Atomic Name: Tin
  896. Atomic Symbol: Sn
  897. Atomic #: 50
  898. Atomic Mass #: 119
  899. Group: 14 (4)
  900. Period: 5
  901. Element Category: Post-Transition Metals
  902. Block: P-Block
  903. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^2
  904. Valence Electrons: 4
  905. Electronegativity: 1.96
  906. ]]
  907. end
  908.  
  909. function indium()
  910. term.clear()
  911. term.setCursorPos(1,1)
  912. print[[
  913. Atomic Name: Indium
  914. Atomic Symbol: In
  915. Atomic #: 49
  916. Atomic Mass #: 115
  917. Group: 13 (3)
  918. Period: 5
  919. Element Category: Post-Transition Metals
  920. Block: P-Block
  921. Electron Configuration: [Kr], 5s^2, 4d^10, 4p^1
  922. Valence Electrons: 3
  923. Electronegativity: 1.78
  924. ]]
  925. end
  926.  
  927. function cadmium()
  928. term.clear()
  929. term.setCursorPos(1,1)
  930. print[[
  931. Atomic Name: Cadmium
  932. Atomic Symbol: Cd
  933. Atomic #: 48
  934. Atomic Mass #: 112
  935. Group: 12
  936. Period: 5
  937. Element Category: Transition Metals
  938. Block: D-Block
  939. Electron Configuration: [Kr], 5s^2, 4d^10
  940. Valence Electrons: 12
  941. Electronegativity: 1.69
  942. ]]
  943. end
  944.  
  945. function silver()
  946. term.clear()
  947. term.setCursorPos(1,1)
  948. print[[
  949. Atomic Name: Silver
  950. Atomic Symbol: Ag
  951. Atomic #: 47
  952. Atomic Mass #: 108
  953. Group: 11
  954. Period: 5
  955. Element Category: Transition Metals
  956. Block: D-Block
  957. Electron Configuration: [Kr], 5s^2, 4d^9
  958. Valence Electrons: 11
  959. Electronegativity: 1.93
  960. ]]
  961. end
  962.  
  963. function palladium()
  964. term.clear()
  965. term.setCursorPos(1,1)
  966. print[[
  967. Atomic Name: Palladium
  968. Atomic Symbol: Pd
  969. Atomic #: 46
  970. Atomic Mass #: 106
  971. Group: 10
  972. Period: 5
  973. Element Category: Transition Metals
  974. Block: D-Block
  975. Electron Configuration: [Kr], 5s^2, 4d^8
  976. Valence Electrons: 10
  977. Electronegativity: 2.20
  978. ]]
  979. end
  980.  
  981. function rhodium()
  982. term.clear()
  983. term.setCursorPos(1,1)
  984. print[[
  985. Atomic Name: Rhodium
  986. Atomic Symbol: Rh
  987. Atomic #: 45
  988. Atomic Mass #: 103
  989. Group: 9
  990. Period: 5
  991. Element Category: Transition Metals
  992. Block: D-Block
  993. Electron Configuration: [Kr], 5s^2, 4d^7
  994. Valence Electrons: 9
  995. Electronegativity: 2.28
  996. ]]
  997. end
  998.  
  999. function ruthenium()
  1000. term.clear()
  1001. term.setCursorPos(1,1)
  1002. print[[
  1003. Atomic Name: Reuthenium
  1004. Atomic Symbol: Ru
  1005. Atomic #: 44
  1006. Atomic Mass #: 101
  1007. Group: 8
  1008. Period: 5
  1009. Element Category: Transition Metals
  1010. Block: D-Block
  1011. Electron Configuration: [Kr], 5s^2, 4d^6
  1012. Valence Electrons: 8
  1013. Electronegativity: 2.2
  1014. ]]
  1015. end
  1016.  
  1017. function technetium()
  1018. term.clear()
  1019. term.setCursorPos(1,1)
  1020. print[[
  1021. Atomic Name: Technetium
  1022. Atomic Symbol: Tc
  1023. Atomic #: 43
  1024. Atomic Mass #: 98
  1025. Group: 7
  1026. Period: 5
  1027. Element Category: Transition Metals
  1028. Block: D-Block
  1029. Electron Configuration: [Kr], 5s^2, 4d^5
  1030. Valence Electrons: 7
  1031. Electronegativity: 1.9
  1032. ]]
  1033. end
  1034.  
  1035. function molybdenur()
  1036. term.clear()
  1037. term.setCursorPos(1,1)
  1038. print[[
  1039. Atomic Name: Molybdenur
  1040. Atomic Symbol: Mo
  1041. Atomic #: 42
  1042. Atomic Mass #: 96
  1043. Group: 6
  1044. Period: 5
  1045. Element Category: Transition Metals
  1046. Block: D-Block
  1047. Electron Configuration: [Kr], 5s^2, 4d^4
  1048. Valence Electrons: 6
  1049. Electronegativity: 2.16
  1050. ]]
  1051. end
  1052.  
  1053. function niobium()
  1054. term.clear()
  1055. term.setCursorPos(1,1)
  1056. print[[
  1057. Atomic Name: Niobium
  1058. Atomic Symbol: Nb
  1059. Atomic #: 41
  1060. Atomic Mass #: 93
  1061. Group: 5
  1062. Period: 5
  1063. Element Category: Transition Metals
  1064. Block: D-Block
  1065. Electron Configuration: [Kr], 5s^2, 4d^3
  1066. Valence Electrons: 5
  1067. Electronegativity: 1.6
  1068. ]]
  1069. end
  1070.  
  1071. function zirconium()
  1072. term.clear()
  1073. term.setCursorPos(1,1)
  1074. print[[
  1075. Atomic Name: Zirconium
  1076. Atomic Symbol: Zr
  1077. Atomic #: 40
  1078. Atomic Mass #: 91
  1079. Group: 4
  1080. Period: 5
  1081. Element Category: Transition Metals
  1082. Block: D-Block
  1083. Electron Configuration: [Kr], 5s^2, 4d^2
  1084. Valence Electrons: 4
  1085. Electronegativity: 1.33
  1086. ]]
  1087. end
  1088.  
  1089. function yttrium()
  1090. term.clear()
  1091. term.setCursorPos(1,1)
  1092. print[[
  1093. Atomic Name: Yttrium
  1094. Atomic Symbol: Y
  1095. Atomic #: 39
  1096. Atomic Mass #: 89
  1097. Group: 3
  1098. Period: 5
  1099. Element Category: Transition Metals
  1100. Block: D-Block
  1101. Electron Configuration: [Kr], 5s^2, 4d^1
  1102. Valence Electrons: 3
  1103. Electronegativity: 1.22
  1104. ]]
  1105. end
  1106.  
  1107. function strontium()
  1108. term.clear()
  1109. term.setCursorPos(1,1)
  1110. print[[
  1111. Atomic Name: Strontium
  1112. Atomic Symbol: Sr
  1113. Atomic #: 38
  1114. Atomic Mass #: 88
  1115. Group: 2
  1116. Period: 5
  1117. Element Category: Alkaline Earth Metals
  1118. Block: S-Block
  1119. Electron Configuration: [Kr], 5s^2
  1120. Valence Electrons: 2
  1121. Electronegativity: 0.95
  1122. ]]
  1123. end
  1124.  
  1125. function rubidium()
  1126. term.clear()
  1127. term.setCursorPos(1,1)
  1128. print[[
  1129. Atomic Name: Rubidium
  1130. Atomic Symbol: Rb
  1131. Atomic #: 37
  1132. Atomic Mass #: 85
  1133. Group: 1
  1134. Period: 5
  1135. Element Category: Alkali Metals
  1136. Block: S-Block
  1137. Electron Configuration: [Kr], 5s^1
  1138. Valence Electrons: 1
  1139. Electronegativity: 0.82
  1140. ]]
  1141. end
  1142.  
  1143. function krypton()
  1144. term.clear()
  1145. term.setCursorPos(1,1)
  1146. print[[
  1147. Atomic Name: Krypton
  1148. Atomic Symbol: Kr
  1149. Atomic #: 36
  1150. Atomic Mass #: 84
  1151. Group: 18 (8)
  1152. Period: 4
  1153. Element Category: Noble Gases
  1154. Block: P-Block
  1155. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^5; [Kr]
  1156. Valence Electrons: 8
  1157. Electronegativity: 3.0
  1158. ]]
  1159. end
  1160.  
  1161. function bromine()
  1162. term.clear()
  1163. term.setCursorPos(1,1)
  1164. print[[
  1165. Atomic Name: Bromine
  1166. Atomic Symbol: Br
  1167. Atomic #: 35
  1168. Atomic Mass #: 80
  1169. Group: 17 (7)
  1170. Period: 4
  1171. Element Category: Other Non-Metals
  1172. Block: P-Block
  1173. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^5
  1174. Valence Electrons: 7
  1175. Electronegativity: 2.96
  1176. ]]
  1177. end
  1178.  
  1179. function selenium()
  1180. term.clear()
  1181. term.setCursorPos(1,1)
  1182. print[[
  1183. Atomic Name: Selenium
  1184. Atomic Symbol: Se
  1185. Atomic #: 34
  1186. Atomic Mass #: 79
  1187. Group: 16 (6)
  1188. Period: 4
  1189. Element Category: Other Non-Metals
  1190. Block: P-Block
  1191. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^4
  1192. Valence Electrons: 6
  1193. Electronegativity: 2.55
  1194. ]]
  1195. end
  1196.  
  1197. function arsenic()
  1198. term.clear()
  1199. term.setCursorPos(1,1)
  1200. print[[
  1201. Atomic Name: Arsenic
  1202. Atomic Symbol: As
  1203. Atomic #: 33
  1204. Atomic Mass #: 75
  1205. Group: 15 (5)
  1206. Period: 4
  1207. Element Category: Metalloids
  1208. Block: P-Block
  1209. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^3
  1210. Valence Electrons: 5
  1211. Electronegativity: 2.18
  1212. ]]
  1213. end
  1214.  
  1215. function germanium()
  1216. term.clear()
  1217. term.setCursorPos(1,1)
  1218. print[[
  1219. Atomic Name: Germanium
  1220. Atomic Symbol: Ge
  1221. Atomic #: 32
  1222. Atomic Mass #: 73
  1223. Group: 14 (4)
  1224. Period: 4
  1225. Element Category: Metalloids
  1226. Block: P-Block
  1227. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^2
  1228. Valence Electrons: 4
  1229. Electronegativity: 2.01
  1230. ]]
  1231. end
  1232.  
  1233. function gallium()
  1234. term.clear()
  1235. term.setCursorPos(1,1)
  1236. print[[
  1237. Atomic Name: Gallium
  1238. Atomic Symbol: Ga
  1239. Atomic #: 31
  1240. Atomic Mass #: 70
  1241. Group: 13 (3)
  1242. Period: 4
  1243. Element Category: Post-Transition Metals
  1244. Block: P-Block
  1245. Electron Configuration: [Ar], 4s^2, 3d^10, 3p^1
  1246. Valence Electrons: 3
  1247. Electronegativity: 1.81
  1248. ]]
  1249. end
  1250.  
  1251. function zinc()
  1252. term.clear()
  1253. term.setCursorPos(1,1)
  1254. print[[
  1255. Atomic Name: Zinc
  1256. Atomic Symbol: Zn
  1257. Atomic #: 30
  1258. Atomic Mass #: 65
  1259. Group: 12
  1260. Period: 4
  1261. Element Category: Transition Metals
  1262. Block: D-Block
  1263. Electron Configuration: [Ar], 4s^2, 3d^10
  1264. Valence Electrons: 12
  1265. Electronegativity: 1.65
  1266. ]]
  1267. end
  1268.  
  1269. function copper()
  1270. term.clear()
  1271. term.setCursorPos(1,1)
  1272. print[[
  1273. Atomic Name: Copper
  1274. Atomic Symbol: Cu
  1275. Atomic #: 29
  1276. Atomic Mass #: 64
  1277. Group: 11
  1278. Period: 4
  1279. Element Category: Transition Metals
  1280. Block: D-Block
  1281. Electron Configuration: [Ar], 4s^2, 3d^9
  1282. Valence Electrons: 11
  1283. Electronegativity: 1.90
  1284. ]]
  1285. end
  1286.  
  1287. function nickel()
  1288. term.clear()
  1289. term.setCursorPos(1,1)
  1290. print[[
  1291. Atomic Name: Nickel
  1292. Atomic Symbol: Ni
  1293. Atomic #: 28
  1294. Atomic Mass #: 59
  1295. Group: 10
  1296. Period: 4
  1297. Element Category: Transition Metals
  1298. Block: D-Block
  1299. Electron Configuration: [Ar], 4s^2, 3d^8
  1300. Valence Electrons: 10
  1301. Electronegativity: 1.91
  1302. ]]
  1303. end
  1304.  
  1305. function cobalt()
  1306. term.clear()
  1307. term.setCursorPos(1,1)
  1308. print[[
  1309. Atomic Name: Cobalt
  1310. Atomic Symbol: Co
  1311. Atomic #: 27
  1312. Atomic Mass #: 59
  1313. Group: 9
  1314. Period: 4
  1315. Element Category: Transition Metals
  1316. Block: D-Block
  1317. Electron Configuration: [Ar], 4s^2, 3d^7
  1318. Valence Electrons: 9
  1319. Electronegativity: 1.88
  1320. ]]
  1321. end
  1322.  
  1323. function iron()
  1324. term.clear()
  1325. term.setCursorPos(1,1)
  1326. print[[
  1327. Atomic Name: Iron
  1328. Atomic Symbol: Fe
  1329. Atomic #: 26
  1330. Atomic Mass #: 56
  1331. Group: 8
  1332. Period: 4
  1333. Element Category: Transition Metals
  1334. Block: D-Block
  1335. Electron Configuration: [Ar], 4s^2, 3d^6
  1336. Valence Electrons: 8
  1337. Electronegativity: 1.83
  1338. ]]
  1339. end
  1340.  
  1341. function manganese()
  1342. term.clear()
  1343. term.setCursorPos(1,1)
  1344. print[[
  1345. Atomic Name: Manganese
  1346. Atomic Symbol: Mn
  1347. Atomic #: 25
  1348. Atomic Mass #: 55
  1349. Group: 7
  1350. Period: 4
  1351. Element Category: Transition Metals
  1352. Block: D-Block
  1353. Electron Configuration: [Ar], 4s^2, 3d^5
  1354. Valence Electrons: 7
  1355. Electronegativity: 1.55
  1356. ]]
  1357. end
  1358.  
  1359. function chromium()
  1360. term.clear()
  1361. term.setCursorPos(1,1)
  1362. print[[
  1363. Atomic Name: Chromium
  1364. Atomic Symbol: Cr
  1365. Atomic #: 24
  1366. Atomic Mass #: 52
  1367. Group: 6
  1368. Period: 4
  1369. Element Category: Transition Metals
  1370. Block: D-Block
  1371. Electron Configuration: [Ar], 4s^2, 3d^4
  1372. Elcetrons Per Shell: 2,8,8,6
  1373. Valence Electrons: 6
  1374. Electronegativity: 1.66
  1375. ]]
  1376. end
  1377.  
  1378. function vanadium()
  1379. term.clear()
  1380. term.setCursorPos(1,1)
  1381. print[[
  1382. Atomic Name: Vanadium
  1383. Atomic Symbol: V
  1384. Atomic #: 23
  1385. Atomic Mass #: 51
  1386. Group: 6
  1387. Period: 4
  1388. Element Category: Transition Metals
  1389. Block: D-Block
  1390. Electron Configuration: [Ar], 4s^2, 3d^3
  1391. Elcetrons Per Shell: 2,8,8,5
  1392. Valence Electrons: 5
  1393. Electronegativity: 1.63
  1394. ]]
  1395. end
  1396.  
  1397. function titanium()
  1398. term.clear()
  1399. term.setCursorPos(1,1)
  1400. print[[
  1401. Atomic Name: Titanium
  1402. Atomic Symbol: Ti
  1403. Atomic #: 22
  1404. Atomic Mass #: 48
  1405. Group: 5
  1406. Period: 4
  1407. Element Category: Transition Metals
  1408. Block: D-Block
  1409. Electron Configuration: [Ar], 4s^2, 3d^2
  1410. Elcetrons Per Shell: 2,8,8,4
  1411. Valence Electrons: 4
  1412. Electronegativity: 1.54
  1413. ]]
  1414. end
  1415.  
  1416. function scandium()
  1417. term.clear()
  1418. term.setCursorPos(1,1)
  1419. print[[
  1420. Atomic Name: Scandium
  1421. Atomic Symbol: Sc
  1422. Atomic #: 21
  1423. Atomic Mass #: 45
  1424. Group: 3
  1425. Period: 4
  1426. Element Category: Transition Metals
  1427. Block: D-Block
  1428. Electron Configuration: [Ar], 4s^2, 3d^1
  1429. Elcetrons Per Shell: 2,8,8,3
  1430. Valence Electrons: 3
  1431. Electronegativity: 1.36
  1432. ]]
  1433. end
  1434.  
  1435. function calcium()
  1436. term.clear()
  1437. term.setCursorPos(1,1)
  1438. print[[
  1439. Atomic Name: Calcium
  1440. Atomic Symbol: Ca
  1441. Atomic #: 20
  1442. Atomic Mass #: 40
  1443. Group: 2
  1444. Period: 4
  1445. Element Category: Alkaline Earth Metals
  1446. Block: S-Block
  1447. Electron Configuration: [Ar], 4s^2
  1448. Electrons Per Shell: 2,8,8,2
  1449. Valence Electrons: 2
  1450. Electronegativity: 1.0
  1451. ]]
  1452. end
  1453.  
  1454. function potassium()
  1455. term.clear()
  1456. term.setCursorPos(1,1)
  1457. print[[
  1458. Atomic Name: Potassium
  1459. Atomic Symbol: K
  1460. Atomic #: 19
  1461. Atomic Mass #: 39
  1462. Group: 1
  1463. Period: 4
  1464. Element Category: Alkali Metals
  1465. Block: S-Block
  1466. Electron Configuration: [Ar], 4s^1
  1467. Electrons Per Shell: 2,8,8,1
  1468. Valence Electrons: 1
  1469. Electronegativity: 0.82
  1470. ]]
  1471. end
  1472.  
  1473. function argon()
  1474. term.clear()
  1475. term.setCursorPos(1,1)
  1476. print[[
  1477. Atomic Name: Argon
  1478. Atomic Symbol: Ar
  1479. Atomic #: 18
  1480. Atomic Mass #: 40
  1481. Group: 18 (8)
  1482. Period: 3
  1483. Element Category: Noble Gasses
  1484. Block: P-Block
  1485. Electron Configuration: [Ne], 3s^2, 3s^6; [Ar]
  1486. Electrons Per Shell: 2,8,8
  1487. Valence Electrons: 8
  1488. Electronegativity: null
  1489. ]]
  1490. end
  1491.  
  1492. function chlorine()
  1493. term.clear()
  1494. term.setCursorPos(1,1)
  1495. print[[
  1496. Atomic Name: Chlorine
  1497. Atomic Symbol: Cl
  1498. Atomic #: 17
  1499. Atomic Mass #: 35
  1500. Group: 17 (7)
  1501. Period: 3
  1502. Element Category: Other Non-Metals
  1503. Block: P-Block
  1504. Electron Configuration: [Ne], 3s^2, 3p^5
  1505. Electrons Per Shell: 2,8,7
  1506. Valence Electrons: 7
  1507. Electronegativity: 3.16
  1508. ]]
  1509. end
  1510.  
  1511. function sulfur()
  1512. term.clear()
  1513. term.setCursorPos(1,1)
  1514. print[[
  1515. Atomic Name: Sulfur
  1516. Atomic Symbol: S
  1517. Atomic #: 16
  1518. Atomic Mass #: 32
  1519. Group: 16 (6)
  1520. Period: 3
  1521. Element Category: Other Non-Metals
  1522. Block: P-Block
  1523. Electron Configuration: [Ne], 3s^2, 3p^4
  1524. Electrons Per Shell: 2,8,6
  1525. Valence Electrons: 6
  1526. Electronegativity: 2.58
  1527. ]]
  1528. end
  1529.  
  1530. function phosphorus()
  1531. term.clear()
  1532. term.setCursorPos(1,1)
  1533. print[[
  1534. Atomic Name: Phosphorus
  1535. Atomic Symbol: P
  1536. Atomic #: 15
  1537. Atomic Mass #: 31
  1538. Group: 15 (5)
  1539. Period: 3
  1540. Element Category: Other Non-Metals
  1541. Block: P-Block
  1542. Electron Configuration: [Ne], 3s^2, 3p^3
  1543. Electrons Per Shell: 2,8,5
  1544. Valence Electrons: 5
  1545. Electronegativity: 2.19
  1546. ]]
  1547. end
  1548.  
  1549. function silicon()
  1550. term.clear()
  1551. term.setCursorPos(1,1)
  1552. print[[
  1553. Atomic Name: Silicon
  1554. Atomic Symbol: Si
  1555. Atomic #: 14
  1556. Atomic Mass #: 28
  1557. Group: 14 (4)
  1558. Period: 3
  1559. Element Category: Metalloids
  1560. Block: P-Block
  1561. Electron Configuration: [Ne], 3s^2, 3p^2
  1562. Electrons Per Shell: 2,8,4
  1563. Valence Electrons: 4
  1564. Electronegativity: 1.90
  1565. ]]
  1566. end
  1567.  
  1568. function aluminum()
  1569. term.clear()
  1570. term.setCursorPos(1,1)
  1571. print[[
  1572. Atomic Name: Aluminum
  1573. Atomic Symbol: Al
  1574. Atomic #: 13
  1575. Atomic Mass #: 27
  1576. Group: 13 (3)
  1577. Period: 3
  1578. Element Category: Post-Transition Metals
  1579. Block: P-Block
  1580. Electron Configuration: [Ne], 3s^2, 3p^1
  1581. Electrons Per Shell: 2,8,3
  1582. Valence Electrons: 3
  1583. Electronegativity: 1.61
  1584. ]]
  1585. end
  1586.  
  1587. function magnesium()
  1588. term.clear()
  1589. term.setCursorPos(1,1)
  1590. print[[
  1591. Atomic Name: Magnesium
  1592. Atomic Symbol: Mg
  1593. Atomic #: 12
  1594. Atomic Mass #: 24
  1595. Group: 2
  1596. Period: 3
  1597. Element Category: Alkaline Earth Metals
  1598. Block: S-Block
  1599. Electron Configuration: [Ne], 3s^2
  1600. Electrons Per Shell: 2,8,2
  1601. Valence Electrons: 2
  1602. Electronegativity: 1.31
  1603. ]]
  1604. end
  1605.  
  1606. function sodium()
  1607. term.clear()
  1608. term.setCursorPos(1,1)
  1609. print[[
  1610. Atomic Name: Sodium
  1611. Atomic Symbol: Na
  1612. Atomic #: 11
  1613. Atomic Mass #: 23
  1614. Group: 1
  1615. Period: 3
  1616. Element Category: Alkali Metals
  1617. Block: S-Block
  1618. Electron Configuration: [Ne], 3s^1
  1619. Electrons Per Shell: 2,8,1
  1620. Valence Electrons: 1
  1621. Electronegativity: 0.93
  1622. ]]
  1623. end
  1624.  
  1625. function neon()
  1626. term.clear()
  1627. term.setCursorPos(1,1)
  1628. print[[
  1629. Atomic Name: Neon
  1630. Atomic Symbol: Ne
  1631. Atomic #: 10
  1632. Atomic Mass #: 20
  1633. Group: 18 (8)
  1634. Period: 2
  1635. Element Category: Noble Gasses
  1636. Block: P-Block
  1637. Electron Configuration: [He], 2s^2, 2p^6; [Ne]
  1638. Electrons Per Shell: 2,8
  1639. Valence Electrons: 8
  1640. Electronegativity: null
  1641. ]]
  1642. end
  1643.  
  1644. function fluorine()
  1645. term.clear()
  1646. term.setCursorPos(1,1)
  1647. print[[
  1648. Atomic Name: Fluorine
  1649. Atomic Symbol: F
  1650. Atomic #: 9
  1651. Atomic Mass #: 19
  1652. Group: 17 (7)
  1653. Period: 2
  1654. Element Category: Other Non-Metals
  1655. Block: P-Block
  1656. Electron Configuration: [He], 2s^2, 2p^5
  1657. Electrons Per Shell: 2,7
  1658. Valence Electrons: 7
  1659. Electronegativity: 3.98
  1660. ]]
  1661. end
  1662.  
  1663. function oxygen()
  1664. term.clear()
  1665. term.setCursorPos(1,1)
  1666. print[[
  1667. Atomic Name: Oxygen
  1668. Atomic Symbol: O
  1669. Atomic #: 8
  1670. Atomic Mass #: 16
  1671. Group: 16 (6)
  1672. Period: 2
  1673. Element Category: Other Non-Metals
  1674. Block: P-Block
  1675. Electron Configuration: [He], 2s^2, 2p^4
  1676. Electron(s) Per Shell: 2,6
  1677. Valence Electron(s): 6
  1678. Electronegativity: 3.44
  1679. ]]
  1680. end
  1681.  
  1682. function nitrogen()
  1683. term.clear()
  1684. term.setCursorPos(1,1)
  1685. print[[
  1686. Atomic Name: Nitrogen
  1687. Atomic Symbol: N
  1688. Atomic #: 7
  1689. Atomic Mass #: 14
  1690. Group: 15 (5)
  1691. Period: 2
  1692. Element Category: Other Non-Metals
  1693. Block: P-Block
  1694. Electron Configuration: [He], 2s^2, 2p^3
  1695. Electron(s) Per Shell: 2,5
  1696. Valence Electron(s): 5
  1697. Electronegativity: 3.04
  1698. ]]
  1699. end
  1700.  
  1701. function carbon()
  1702. term.clear()
  1703. term.setCursorPos(1,1)
  1704. print[[
  1705. Atomic Name: Carbon
  1706. Atomic Symbol: C
  1707. Atomic #: 6
  1708. Atomic Mass #: 12
  1709. Group: 14 (4)
  1710. Period: 2
  1711. Element Category: Other Non-Metals
  1712. Block: P-Block
  1713. Electron Configuration: [He], 2s^2, 2p^2
  1714. Electron(s) Per Shell: 2,4
  1715. Valence Electron(s): 4
  1716. Electronegativity: 2.55
  1717. ]]
  1718. end
  1719.  
  1720. function boron()
  1721. term.clear()
  1722. term.setCursorPos(1,1)
  1723. print[[
  1724. Atomic Name: Boron
  1725. Atomic Symbol: B
  1726. Atomic #: 5
  1727. Atomic Mass #: 11
  1728. Group: 13 (3)
  1729. Period: 2
  1730. Element Category: Metalloids
  1731. Block: P-Block
  1732. Electron Configuration: [He], 2s^2, 2p^1
  1733. Electron(s) Per Shell: 2,3
  1734. Valence Electron(s): 3
  1735. Electronegativity: 2.04
  1736. ]]
  1737. end
  1738.  
  1739. function beryllium()
  1740. term.clear()
  1741. term.setCursorPos(1,1)
  1742. print[[
  1743. Atomic Name: Beryllium
  1744. Atomic Symbol: Be
  1745. Atomic #: 4
  1746. Atomic Mass #: 9
  1747. Group: 2
  1748. Period: 2
  1749. Element Category: Alkaline Earth Metals
  1750. Block: S-Block
  1751. Electron Configuration: [He], 2s^2
  1752. Electron(s) Per Shell: 2,2
  1753. Valence Electron(s): 2
  1754. Electronegativity: 1.57
  1755. ]]
  1756. end
  1757.  
  1758. function lithium()
  1759. term.clear()
  1760. term.setCursorPos(1,1)
  1761. print[[
  1762. Atomic Name: Lithium
  1763. Atomic Symbol: Li
  1764. Atomic #: 3
  1765. Atomic Mass #: 7
  1766. Group: 1
  1767. Period: 2
  1768. Element Category: Alkali Metals
  1769. Block: S-Block
  1770. Electron Configuration: [He], 2s^1
  1771. Electron(s) Per Shell: 2,1
  1772. Valence Electron(s): 1
  1773. Electronegtivity: 0.98
  1774. ]]
  1775. end
  1776.  
  1777. function helium()
  1778. term.clear()
  1779. term.setCursorPos(1,1)
  1780. print[[
  1781. Atomic Name: Helium
  1782. Atomic Symbol: He
  1783. Atomic #: 2
  1784. Atomic Mass #: 4
  1785. Group: 18
  1786. Period: 1
  1787. Element Category: Noble Gasses
  1788. Block: S-Block
  1789. Electron Configuration: 1s^2; [He]
  1790. Electron(s) Per Shell: 2
  1791. Valence Electron(s): 2
  1792. Electronegativity: null
  1793. ]]
  1794. end
  1795.  
  1796. function hydrogen()
  1797. term.clear()
  1798. term.setCursorPos(1,1)
  1799. print[[
  1800. Atomic Name: Hydrogen
  1801. Atomic Symbol: H
  1802. Atomic #: 1
  1803. Atomic Mass #: 1
  1804. Group: 1
  1805. Period: 1
  1806. Element Category: Diatomic Non-Metals
  1807. Block: S-Block
  1808. Electron Configuration: 1s^1
  1809. Electron(s) Per Shell: 1
  1810. Valence Electron(s): 1
  1811. Electronegativity: 2.20
  1812. ]]
  1813. end
  1814.  
  1815. main()
Add Comment
Please, Sign In to add comment