Advertisement
Ober3550

Burner Lab

Feb 7th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. data.raw.lab.lab.fast_replaceable_group = "lab"
  2. local burner_lab = table.deepcopy(data.raw.lab.lab)
  3. burner_lab.name = "burner-lab"
  4. burner_lab.inputs = {"science-pack-1"}
  5. burner_lab.minable.result = "burner-lab"
  6. burner_lab.energy_source = {
  7. type = "burner",
  8. fuel_category = "chemical",
  9. effectivity = 0.9,
  10. fuel_inventory_size = 1,
  11. emissions = 0.05,
  12. smoke =
  13. {
  14. {
  15. name = "smoke",
  16. deviation = {0.1, 0.1},
  17. position = {0.0, -0.9},
  18. frequency = 4
  19. }
  20. }
  21. }
  22. burner_lab.icon = "__aai-industry__/graphics/icons/burner-lab.png"
  23. burner_lab.on_animation =
  24. {
  25. layers =
  26. {
  27. {
  28. filename = "__aai-industry__/graphics/entity/burner-lab/burner-lab.png",
  29. width = 97,
  30. height = 87,
  31. frame_count = 33,
  32. line_length = 11,
  33. animation_speed = 1 / 3,
  34. shift = util.by_pixel(0, 1.5),
  35. hr_version = {
  36. filename = "__aai-industry__/graphics/entity/burner-lab/hr-burner-lab.png",
  37. width = 194,
  38. height = 174,
  39. frame_count = 33,
  40. line_length = 11,
  41. animation_speed = 1 / 3,
  42. shift = util.by_pixel(0, 1.5),
  43. scale = 0.5
  44. }
  45. },
  46. {
  47. filename = "__base__/graphics/entity/lab/lab-integration.png",
  48. width = 122,
  49. height = 81,
  50. frame_count = 1,
  51. line_length = 1,
  52. repeat_count = 33,
  53. animation_speed = 1 / 3,
  54. shift = util.by_pixel(0, 15.5),
  55. hr_version = {
  56. filename = "__base__/graphics/entity/lab/hr-lab-integration.png",
  57. width = 242,
  58. height = 162,
  59. frame_count = 1,
  60. line_length = 1,
  61. repeat_count = 33,
  62. animation_speed = 1 / 3,
  63. shift = util.by_pixel(0, 15.5),
  64. scale = 0.5
  65. }
  66. },
  67. {
  68. filename = "__base__/graphics/entity/lab/lab-shadow.png",
  69. width = 122,
  70. height = 68,
  71. frame_count = 1,
  72. line_length = 1,
  73. repeat_count = 33,
  74. animation_speed = 1 / 3,
  75. shift = util.by_pixel(13, 11),
  76. draw_as_shadow = true,
  77. hr_version = {
  78. filename = "__base__/graphics/entity/lab/hr-lab-shadow.png",
  79. width = 242,
  80. height = 136,
  81. frame_count = 1,
  82. line_length = 1,
  83. repeat_count = 33,
  84. animation_speed = 1 / 3,
  85. shift = util.by_pixel(13, 11),
  86. scale = 0.5,
  87. draw_as_shadow = true
  88. }
  89. }
  90. }
  91. }
  92. burner_lab.off_animation =
  93. {
  94. layers =
  95. {
  96. {
  97. filename = "__aai-industry__/graphics/entity/burner-lab/burner-lab.png",
  98. width = 97,
  99. height = 87,
  100. frame_count = 1,
  101. shift = util.by_pixel(0, 1.5),
  102. hr_version = {
  103. filename = "__aai-industry__/graphics/entity/burner-lab/hr-burner-lab.png",
  104. width = 194,
  105. height = 174,
  106. frame_count = 1,
  107. shift = util.by_pixel(0, 1.5),
  108. scale = 0.5
  109. }
  110. },
  111. {
  112. filename = "__base__/graphics/entity/lab/lab-integration.png",
  113. width = 122,
  114. height = 81,
  115. frame_count = 1,
  116. shift = util.by_pixel(0, 15.5),
  117. hr_version = {
  118. filename = "__base__/graphics/entity/lab/hr-lab-integration.png",
  119. width = 242,
  120. height = 162,
  121. frame_count = 1,
  122. shift = util.by_pixel(0, 15.5),
  123. scale = 0.5
  124. }
  125. },
  126. {
  127. filename = "__base__/graphics/entity/lab/lab-shadow.png",
  128. width = 122,
  129. height = 68,
  130. frame_count = 1,
  131. shift = util.by_pixel(13, 11),
  132. draw_as_shadow = true,
  133. hr_version = {
  134. filename = "__base__/graphics/entity/lab/hr-lab-shadow.png",
  135. width = 242,
  136. height = 136,
  137. frame_count = 1,
  138. shift = util.by_pixel(13, 11),
  139. draw_as_shadow = true,
  140. scale = 0.5
  141. }
  142. }
  143. }
  144. }
  145. burner_lab.module_specification = nil
  146.  
  147. data:extend({ burner_lab })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement