pipe covers + silo tank fluid box fixes

This commit is contained in:
PreLeyZero 2022-04-05 22:07:57 +02:00
parent 874aacd6e4
commit 8383168078
11 changed files with 125 additions and 4 deletions

View file

@ -1,3 +1,4 @@
require('prototypes/pipe_covers')
require('prototypes/electronic/el_solar')
require('prototypes/electronic/el_tank')
require('prototypes/electronic/el_water_generator')
@ -16,7 +17,6 @@ require('prototypes/electronic/el_diesel_train')
require('prototypes/electronic/el_train_fuel')
require('prototypes/electronic/el_train_equipment')
require('prototypes/electronic/el_energy_crystal')
require('prototypes/electronic/el_arc_furnace')
require('prototypes/electronic/el_caster')
require('prototypes/electronic/el_purifier')
@ -35,7 +35,6 @@ require('prototypes/fission/fi_crushed')
require('prototypes/fission/fi_energy_crystal')
require('prototypes/fission/fi_robo')
require('prototypes/fission/fi_modules')
require('prototypes/fission/fi_fiberer')
require('prototypes/fission/fi_compound_machine')
require('prototypes/fission/fi_castor')
@ -51,11 +50,9 @@ require('prototypes/fusion/fu_activator')
require('prototypes/fusion/fu_star_engine/fu_star_engine_core')
require('prototypes/fusion/fu_star_engine/fu_star_engine_cooler')
require('prototypes/fusion/fu_star_engine/fu_star_engine_cooler_up')
--require('prototypes/fusion/fu_star_engine/fu_star_engine_caster')
require('prototypes/fusion/fu_star_engine/fu_star_engine_heater')
require('prototypes/fusion/fu_star_engine/fu_star_engine_heater_left')
require('prototypes/fusion/fu_space_probe')
require('prototypes/fusion/fu_laser')
require('prototypes/fusion/fu_plasma')
require('prototypes/fusion/fu_materials')

View file

@ -82,6 +82,7 @@ data:extend({
height = 1,
base_level = 0,
pipe_covers = pipecoverspictures(),
pipe_picture = grey_south_pipe_picture,
pipe_connections =
{
{type = "input-output", position = {-4, 1}},

123
prototypes/pipe_covers.lua Normal file
View file

@ -0,0 +1,123 @@
local function sprite(name)
return "__248k__/ressources/pipe_covers/"..name..".png"
end
empty_sprite = {
filename = sprite("64_empty"),
priority = "high",
width = 64,
height =64
}
assembler_pipe_picture = {
north = {
filename = sprite("north_covers"),
priority = "high",
width = 71,
height = 38,
shift = util.by_pixel(2.25, 13.5),
scale = 0.5
},
south = {
filename = sprite("south_covers"),
priority = "high",
width = 88,
height = 61,
shift = util.by_pixel(0, -31.25),
scale = 0.5
},
west = {
filename = sprite("west_covers"),
priority = "high",
width = 39,
height = 73,
shift = util.by_pixel(25.75, 1.25),
scale = 0.5
},
east = {
filename = sprite("east_covers"),
priority = "high",
width = 42,
height = 76,
shift = util.by_pixel(-24.5, 1),
scale = 0.5
}
}
basic_pipe_picture = {
north = {
filename = sprite("north_covers"),
priority = "high",
width = 71,
height = 38,
shift = util.by_pixel(2.25, 13.5),
scale = 0.5
},
south = {
filename = sprite("south_covers"),
priority = "high",
width = 88,
height = 61,
shift = util.by_pixel(0, -31.25),
scale = 0.5
},
west = {
filename = sprite("west_covers"),
priority = "high",
width = 39,
height = 73,
shift = util.by_pixel(25.75, 1.25),
scale = 0.5
},
east = {
filename = sprite("east_covers"),
priority = "high",
width = 42,
height = 76,
shift = util.by_pixel(-24.5, 1),
scale = 0.5
}
}
south_pipe_picture = {
north = empty_sprite,
south = {
filename = sprite("south_covers"),
priority = "high",
width = 88,
height = 61,
shift = util.by_pixel(0, -31.25),
scale = 0.5
},
west = empty_sprite,
east = empty_sprite
}
grey_south_pipe_picture = {
north = empty_sprite,
south = {
filename = sprite("south_covers_grey"),
priority = "high",
width = 88,
height = 61,
shift = util.by_pixel(0, -31.25),
scale = 0.5
},
west = empty_sprite,
east = empty_sprite
}
north_south_basic_pipe_picture = {
north = empty_sprite,
south = {
filename = sprite("south_basic_covers"),
priority = "high",
width = 55,
height = 50,
shift = {0.01, -0.58},
scale = 0.5
},
west = empty_sprite,
east = empty_sprite
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB