@@ -148,6 +148,60 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
148148 },
149149 })
150150
151+ local water_miner_graphics_set = {
152+ animation = {
153+ north = {
154+ layers = {
155+ {
156+ priority = " high" ,
157+ filename = " __bobmining__/graphics/entity/water-miner/water-miner-horsehead.png" ,
158+ animation_speed = 0.5 ,
159+ scale = 0.5 ,
160+ line_length = 8 ,
161+ width = 206 ,
162+ height = 202 ,
163+ frame_count = 40 ,
164+ shift = util .by_pixel (- 4 , - 24 )
165+ },
166+ {
167+ priority = " high" ,
168+ filename = " __bobmining__/graphics/entity/water-miner/water-miner-horsehead-shadow.png" ,
169+ animation_speed = 0.5 ,
170+ draw_as_shadow = true ,
171+ line_length = 8 ,
172+ width = 309 ,
173+ height = 82 ,
174+ frame_count = 40 ,
175+ scale = 0.5 ,
176+ shift = util .by_pixel (17.75 , 14.5 )
177+ }
178+ },
179+ },
180+ },
181+ }
182+
183+ local water_miner_base_picture = {
184+ sheets =
185+ {
186+ {
187+ filename = " __bobmining__/graphics/entity/water-miner/water-miner-base.png" ,
188+ priority = " extra-high" ,
189+ width = 261 ,
190+ height = 273 ,
191+ shift = util .by_pixel (- 2.25 , - 4.75 ),
192+ scale = 0.5
193+ },
194+ {
195+ filename = " __bobmining__/graphics/entity/water-miner/water-miner-base-shadow.png" ,
196+ width = 220 ,
197+ height = 220 ,
198+ scale = 0.5 ,
199+ draw_as_shadow = true ,
200+ shift = util .by_pixel (6 , 0.5 )
201+ }
202+ }
203+ }
204+
151205 data :extend ({
152206 {
153207 type = " mining-drill" ,
@@ -197,22 +251,8 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
197251 height = 12 ,
198252 },
199253 monitor_visualization_tint = { r = 78 , g = 173 , b = 255 },
200- base_picture = data .raw [" mining-drill" ].pumpjack .base_picture ,
201- graphics_set = {
202- animation = {
203- north = {
204- priority = " extra-high" ,
205- width = 116 ,
206- height = 110 ,
207- line_length = 10 ,
208- shift = { 0.125 , - 0.609375 },
209- filename = " __bobmining__/graphics/entity/water-miner/water-miner-animation.png" ,
210- tint = { r = 0.2 , g = 0.8 , b = 1 },
211- frame_count = 40 ,
212- animation_speed = 0.5 ,
213- },
214- },
215- },
254+ base_picture = water_miner_base_picture ,
255+ graphics_set = water_miner_graphics_set ,
216256 working_sound = {
217257 sound = { filename = " __base__/sound/pumpjack.ogg" },
218258 },
@@ -270,22 +310,8 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
270310 height = 12 ,
271311 },
272312 monitor_visualization_tint = { r = 78 , g = 173 , b = 255 },
273- base_picture = data .raw [" mining-drill" ].pumpjack .base_picture ,
274- graphics_set = {
275- animation = {
276- north = {
277- priority = " extra-high" ,
278- width = 116 ,
279- height = 110 ,
280- line_length = 10 ,
281- shift = { 0.125 , - 0.609375 },
282- filename = " __bobmining__/graphics/entity/water-miner/water-miner-animation.png" ,
283- tint = { r = 0.2 , g = 0.8 , b = 1 },
284- frame_count = 40 ,
285- animation_speed = 0.5 ,
286- },
287- },
288- },
313+ base_picture = water_miner_base_picture ,
314+ graphics_set = water_miner_graphics_set ,
289315 working_sound = {
290316 sound = { filename = " __base__/sound/pumpjack.ogg" },
291317 },
@@ -341,23 +367,9 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
341367 width = 12 ,
342368 height = 12 ,
343369 },
344- base_picture = data . raw [ " mining-drill " ]. pumpjack . base_picture ,
370+ base_picture = water_miner_base_picture ,
345371 monitor_visualization_tint = { r = 78 , g = 173 , b = 255 },
346- graphics_set = {
347- animation = {
348- north = {
349- priority = " extra-high" ,
350- width = 116 ,
351- height = 110 ,
352- line_length = 10 ,
353- shift = { 0.125 , - 0.609375 },
354- filename = " __bobmining__/graphics/entity/water-miner/water-miner-animation.png" ,
355- tint = { r = 0.2 , g = 0.8 , b = 1 },
356- frame_count = 40 ,
357- animation_speed = 0.5 ,
358- },
359- },
360- },
372+ graphics_set = water_miner_graphics_set ,
361373 working_sound = {
362374 sound = { filename = " __base__/sound/pumpjack.ogg" },
363375 },
@@ -395,7 +407,7 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
395407 },
396408 },
397409 },
398- energy_usage = " 180W " ,
410+ energy_usage = " 180kW " ,
399411 mining_speed = 5 ,
400412 resource_searching_radius = 0.49 ,
401413 vector_to_place_result = { 0 , 0 },
@@ -414,22 +426,8 @@ if settings.startup["bobmods-mining-waterminers"].value == true and data.raw["re
414426 height = 12 ,
415427 },
416428 monitor_visualization_tint = { r = 78 , g = 173 , b = 255 },
417- base_picture = data .raw [" mining-drill" ].pumpjack .base_picture ,
418- graphics_set = {
419- animation = {
420- north = {
421- priority = " extra-high" ,
422- width = 116 ,
423- height = 110 ,
424- line_length = 10 ,
425- shift = { 0.125 , - 0.609375 },
426- filename = " __bobmining__/graphics/entity/water-miner/water-miner-animation.png" ,
427- tint = { r = 0.2 , g = 0.8 , b = 1 },
428- frame_count = 40 ,
429- animation_speed = 0.5 ,
430- },
431- },
432- },
429+ base_picture = water_miner_base_picture ,
430+ graphics_set = water_miner_graphics_set ,
433431 working_sound = {
434432 sound = { filename = " __base__/sound/pumpjack.ogg" },
435433 },
0 commit comments