medical.lua 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. minetest.register_node('furniture:physician_scale', {
  2. description = 'Physician\'s Scale',
  3. drawtype = 'mesh',
  4. mesh = 'furniture_physician_scale.obj',
  5. tiles = {'furniture_physician_scale.png'},
  6. use_texture_alpha = 'clip',
  7. paramtype = 'light',
  8. paramtype2 = 'facedir',
  9. selection_box = {
  10. type = 'fixed',
  11. fixed = {{-.4375, -.5, -.4375, .4375, -.375, .5},
  12. {-.375, -.375, .375, .375, 1.125, .5}}
  13. },
  14. collision_box = {
  15. type = 'fixed',
  16. fixed = {{-.4375, -.5, -.4375, .4375, -.375, .5},
  17. {-.375, -.375, .375, .375, 1.125, .5}}
  18. },
  19. groups = {breakable=1}
  20. })
  21. minetest.register_node('furniture:exam_table', {
  22. description = 'Exam Table',
  23. drawtype = 'mesh',
  24. mesh = 'furniture_exam_table.obj',
  25. tiles = {'furniture_exam_table.png'},
  26. paramtype = 'light',
  27. paramtype2 = 'facedir',
  28. selection_box = {
  29. type = 'fixed',
  30. fixed = {{-1.125, -.5, -.375, .375, .375, .375},
  31. {-.4375, .375, -.4375, .46875, .5, .4375}}
  32. },
  33. collision_box = {
  34. type = 'fixed',
  35. fixed = {{-1.125, -.5, -.375, .375, .375, .375},
  36. {-.4375, .375, -.4375, .46875, .5, .4375}}
  37. },
  38. groups = {breakable=1, stash=1}
  39. })
  40. minetest.register_node('furniture:hospital_bed', {
  41. description = 'Hospital Bed',
  42. drawtype = 'mesh',
  43. mesh = 'furniture_hospital_bed.obj',
  44. tiles = {'furniture_hospital_bed.png'},
  45. paramtype = 'light',
  46. paramtype2 = 'facedir',
  47. selection_box = {
  48. type = 'fixed',
  49. fixed = {{-.5, -.0625, -.5, .5, .125, 1.5}, --Bed
  50. {-.5625, -.0625, -.5625, .5625, .3125, -.5}, --Footboard
  51. {-.5625, -.0625, 1.5, .5625, .5, 1.5625}, --headboard
  52. {-.4375, -.5, -.3125, .4375, -.0625, 1.3125}} --base
  53. },
  54. collision_box = {
  55. type = 'fixed',
  56. fixed = {{-.5, -.0625, -.5, .5, .125, 1.5},
  57. {-.5625, -.0625, -.5625, .5625, .3125, -.5},
  58. {-.5625, -.0625, 1.5, .5625, .5, 1.5625}}
  59. },
  60. groups = {breakable=1}
  61. })
  62. minetest.register_node('furniture:ekg_machine', {
  63. description = 'EKG Machine',
  64. drawtype = 'mesh',
  65. mesh = 'furniture_ekg_machine.obj',
  66. tiles = {'furniture_ekg_machine.png'},
  67. paramtype = 'light',
  68. paramtype2 = 'facedir',
  69. selection_box = {
  70. type = 'fixed',
  71. fixed = {{-.4375, -.5, -.375, .4375, .5, .375},
  72. {-.375, .5, .25, .375, 1.0625, .375}}
  73. },
  74. collision_box = {
  75. type = 'fixed',
  76. fixed = {{-.4375, -.5, -.375, .4375, .5, .375},
  77. {-.375, .5, .25, .375, 1.0625, .375}}
  78. },
  79. groups = {breakable=1}
  80. })