Advertisement
gamers4-lua

Untitled

Nov 3rd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. ---------------------------------------------------------------------------------------------------------------------------------------
  2. Made by gamers4 with help from ssccsscc. Contains copper.
  3. ---------------------------------------------------------------------------------------------------------------------------------------
  4. local PCPR = elements.allocate('gamers4','PCPR')
  5. elements.element(PCPR, elements.element(elements.DEFAULT_PT_BRMT))
  6. elements.property(PCPR, "Gravity", 0.7)
  7. elements.property(PCPR, "Name", 'PCPR')
  8. elements.property(PCPR, "Description", 'Powdered copper. Conducts electricity (not yet).')
  9. elements.property(PCPR, "Weight", 30)
  10. elements.property(PCPR, "Color", 0xC8CC8C)
  11. elements.property(PCPR, "Falldown", 1)
  12. elements.property(PCPR, "Advection", 0.20)
  13. elements.property(PCPR, "AirLoss", 0.6)
  14. elements.property(PCPR, "HeatConduct", 10)
  15. elements.property(PCPR, "MenuSection", elem.SC_POWDERS)
  16. elements.property(PCPR, "Properties", elem.TYPE_SOLID + elem.PROP_CONDUCTS + elem.PROP_LIFE_DEC)
  17. elements.property(PCPR, "MenuVisible", 1)
  18. elements.property(PCPR, "Hardness", '1')
  19. elements.property(PCPR, "Meltable", '1')
  20. elements.property(PCPR, "HighTemperature", 1083)
  21. elements.property(PCPR, "HighTemperatureTransition", elements.DEFAULT_PT_LAVA)
  22. elements.property(PCPR, "Update", --*1
  23. function(i,x,y) --1
  24. end --*1
  25. ) --
  26.  
  27. local CPPR = elements.allocate("gamers4" , "CPPR")
  28. elements.element(CPPR, elements.element(elements.DEFAULT_PT_IRON))
  29. elements.property(CPPR, "Name" , "CPPR")
  30. elements.property(CPPR, "Description" , "Copper. Conducts electricity.")
  31. elements.property(CPPR, "Color", 0xE4D185)
  32. elements.property(CPPR, 'MenuSection', elem.SC_SOLIDS)
  33. elements.property(CPPR, "Properties", elem.TYPE_SOLID + elem.PROP_CONDUCTS + elem.PROP_LIFE_DEC)
  34. elements.property(CPPR, 'MenuVisible', 1)
  35. elements.property(CPPR, "HeatConduct", 10)
  36. elements.property(CPPR, "HighTemperature", 1083.15)
  37. elements.property(CPPR, "HighTemperatureTransition", elements.DEFAULT_PT_LAVA)
  38. elements.property(CPPR, "Update", --*1
  39. function(i,x,y) --1
  40. end --*1
  41. ) --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement