nodes.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. core.register_node('kobo:dirth', {
  2. description = 'Dirth',
  3. tiles = {{name='kobo_dirth.png', align_style='world', scale=8}},
  4. groups = {ground=1}
  5. })
  6. core.register_node('kobo:grass', {
  7. description = 'Grass',
  8. tiles = {{name='kobo_grass.png', align_style='world', scale=8}},
  9. groups = {ground=3}
  10. })
  11. core.register_node('kobo:sand', {
  12. description = 'Sand',
  13. tiles = {{name='kobo_sand.png', align_style='world', scale=8}},
  14. groups = {ground=2}
  15. })
  16. core.register_node('kobo:mapgen_stone', {
  17. description = 'Stone',
  18. tiles = {{name='kobo_mapgen_stone.png', align_style='world', scale=8}},
  19. })
  20. core.register_node('kobo:mountain_stone', {
  21. description = 'Stone',
  22. tiles = {{name='kobo_mountain_stone.png', align_style='world', scale=8}},
  23. })
  24. core.register_node('kobo:water', {
  25. description = 'Water',
  26. tiles = {{name='kobo_water.png', align_style='world', scale=8}},
  27. })
  28. core.register_node('kobo:void', {
  29. description = 'Water',
  30. tiles = {{name='kobo_mapgen_stone.png', align_style='world', scale=8}},
  31. })
  32. core.register_node('kobo:light', {
  33. description = 'Light Source',
  34. drawtype = 'airlike',
  35. pointable = false,
  36. light_source = 14,
  37. walkable = false,
  38. buildable_to = true,
  39. })
  40. core.register_node('kobo:light_2', {
  41. description = 'Light Source',
  42. drawtype = 'airlike',
  43. pointable = false,
  44. light_source = 8,
  45. walkable = false,
  46. buildable_to = true,
  47. })
  48. core.register_node('kobo:empty', {
  49. description = 'empty node',
  50. drawtype = 'airlike',
  51. paramtype = 'light',
  52. pointable = false,
  53. walkable = false,
  54. })
  55. core.register_node('kobo:repair', {
  56. description = 'repair flag',
  57. drawtype = 'mesh',
  58. mesh = 'kobo_repair_flag.obj',
  59. tiles = {'kobo_repair_flag.png'},
  60. paramtype = 'light',
  61. pointable = false,
  62. walkable = false,
  63. })