Advertisement
gamers4-lua

Copper 1.1

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