Advertisement
SuperCoder79

Untitled

Jan 18th, 2018
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. {
  2. type = "generator",
  3. name = "oil-generator",
  4. icon = "__base__/graphics/icons/steam-engine.png",
  5. icon_size = 32,
  6. flags = {"placeable-neutral","player-creation"},
  7. minable = {mining_time = 1, result = "oil-generator"},
  8. max_power_output = 0.05 .. "MJ",
  9. max_health = 600,
  10. corpse = "big-remnants",
  11. dying_explosion = "medium-explosion",
  12. alert_icon_shift = util.by_pixel(0, -12),
  13. effectivity = 1,
  14. fluid_usage_per_tick = 0.05,
  15. burns_fluid = true,
  16. maximum_temperature = 25,
  17. maximum_temperature = 25,
  18. resistances =
  19. {
  20. {
  21. type = "fire",
  22. percent = 70
  23. }
  24. },
  25. fast_replaceable_group = "steam-engine",
  26. collision_box = {{-1.35, -2.35}, {1.35, 2.35}},
  27. selection_box = {{-1.5, -2.5}, {1.5, 2.5}},
  28. fluid_box =
  29. {
  30. base_area = 1,
  31. height = 2,
  32. base_level = -1,
  33. pipe_covers = pipecoverspictures(),
  34. pipe_connections =
  35. {
  36. { type = "input-output", position = {0, 3} },
  37. { type = "input-output", position = {0, -3} },
  38. },
  39. production_type = "input-output",
  40. filter = "crude-oil"
  41. },
  42. energy_source =
  43. {
  44. type = "electric",
  45. usage_priority = "secondary-output"
  46. },
  47. horizontal_animation =
  48. {
  49. layers =
  50. {
  51. {
  52. filename = "__base__/graphics/entity/steam-engine/steam-engine-H.png",
  53. width = 160,
  54. height = 123,
  55. frame_count = 8,
  56. line_length = 4,
  57. shift = util.by_pixel(0, -2.5),
  58. hr_version = {
  59. filename = "__base__/graphics/entity/steam-engine/hr-steam-engine-H.png",
  60. width = 320,
  61. height = 245,
  62. frame_count = 8,
  63. line_length = 4,
  64. shift = util.by_pixel(0, -2.75),
  65. scale = 0.5
  66. },
  67. },
  68. {
  69. filename = "__base__/graphics/entity/steam-engine/steam-engine-H-shadow.png",
  70. width = 217,
  71. height = 74,
  72. repeat_count = 8,
  73. frame_count = 1,
  74. line_length = 1,
  75. draw_as_shadow = true,
  76. shift = util.by_pixel(28.75, 18),
  77. hr_version = {
  78. filename = "__base__/graphics/entity/steam-engine/hr-steam-engine-H-shadow.png",
  79. width = 435,
  80. height = 150,
  81. repeat_count = 8,
  82. frame_count = 1,
  83. line_length = 1,
  84. draw_as_shadow = true,
  85. shift = util.by_pixel(28.5, 18),
  86. scale = 0.5
  87. },
  88. },
  89. },
  90. },
  91. vertical_animation =
  92. {
  93. layers =
  94. {
  95. {
  96. filename = "__base__/graphics/entity/steam-engine/steam-engine-V.png",
  97. width = 108,
  98. height = 173,
  99. frame_count = 8,
  100. line_length = 4,
  101. shift = util.by_pixel(5, 6.5),
  102. hr_version = {
  103. filename = "__base__/graphics/entity/steam-engine/hr-steam-engine-V.png",
  104. width = 217,
  105. height = 347,
  106. frame_count = 8,
  107. line_length = 4,
  108. shift = util.by_pixel(4.75, 6.75),
  109. scale = 0.5
  110. },
  111. },
  112. {
  113. filename = "__base__/graphics/entity/steam-engine/steam-engine-V-shadow.png",
  114. width = 151,
  115. height = 131,
  116. repeat_count = 8,
  117. frame_count = 1,
  118. line_length = 1,
  119. draw_as_shadow = true,
  120. shift = util.by_pixel(39.5, 24.5),
  121. hr_version = {
  122. filename = "__base__/graphics/entity/steam-engine/hr-steam-engine-V-shadow.png",
  123. width = 302,
  124. height = 260,
  125. repeat_count = 8,
  126. frame_count = 1,
  127. line_length = 1,
  128. draw_as_shadow = true,
  129. shift = util.by_pixel(39.5, 24.5),
  130. scale = 0.5
  131. },
  132. },
  133. },
  134. },
  135. smoke =
  136. {
  137. {
  138. name = "turbine-smoke",
  139. north_position = {0.0, -1.0},
  140. east_position = {0.75, -0.75},
  141. frequency = 10 / 32,
  142. starting_vertical_speed = 0.08,
  143. slow_down_factor = 1,
  144. starting_frame_deviation = 60
  145. }
  146. },
  147. vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
  148. working_sound =
  149. {
  150. sound =
  151. {
  152. filename = "__base__/sound/steam-engine-90bpm.ogg",
  153. volume = 0.6
  154. },
  155. match_speed_to_activity = true,
  156. },
  157. min_perceived_performance = 0.25,
  158. performance_to_sound_speedup = 0.5
  159. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement