Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 163 additions & 0 deletions angelspetrochem/prototypes/buildings/pipes-overlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,166 @@ local function polypictures3()
},
}
end
function angelsmods.petrochem.separatorpipepictures1()
return {
north = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/pipe-north2.png",
priority = "extra-high",
width = 96,
height = 96,
scale = 0.5,
shift = util.by_pixel(4, 36),
},
east = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
south = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
west = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
}
end
function angelsmods.petrochem.separatorpipepictures2()
return {
north = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/pipe-north1.png",
priority = "extra-high",
width = 96,
height = 96,
scale = 0.5,
shift = util.by_pixel(3, 36),
},
east = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
south = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
west = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
}
end
function angelsmods.petrochem.separatorpipepictures2mirror()
return {
north = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
east = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
south = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
west = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
}
end
function angelsmods.petrochem.steamcrackerpipepictures1()
return {
north = {
filename = "__angelspetrochemgraphics__/graphics/entity/steam-cracker/pipe-north1.png",
priority = "extra-high",
width = 64,
height = 64,
scale = 0.5,
shift = {0, 1},
},
east = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
south = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
west = {
filename = "__angelspetrochemgraphics__/graphics/entity/separator/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
}
end
function angelsmods.petrochem.steamcrackerpipepictures1mirror()
return {
north = {
filename = "__angelspetrochemgraphics__/graphics/entity/steam-cracker/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
east = {
filename = "__angelspetrochemgraphics__/graphics/entity/steam-cracker/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
south = {
filename = "__angelspetrochemgraphics__/graphics/entity/steam-cracker/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
west = {
filename = "__angelspetrochemgraphics__/graphics/entity/steam-cracker/blank.png",
priority = "extra-high",
width = 1,
height = 1,
shift = { 0, 0 },
},
}
end
52 changes: 32 additions & 20 deletions angelspetrochem/prototypes/buildings/separator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@ data:extend({
fluid_boxes = {
{
production_type = "input",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = { { flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south } },
pipe_connections = {
{ flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south }
},
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -99,7 +101,8 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2mirror(),
pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -108,7 +111,7 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand Down Expand Up @@ -195,14 +198,16 @@ data:extend({
fluid_boxes = {
{
production_type = "input",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = { { flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south } },
pipe_connections = {
{ flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south }
},
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -211,7 +216,8 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2mirror(),
pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -220,7 +226,7 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand Down Expand Up @@ -306,14 +312,16 @@ data:extend({
fluid_boxes = {
{
production_type = "input",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = { { flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south } },
pipe_connections = {
{ flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south }
},
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -322,7 +330,8 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2mirror(),
pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -331,7 +340,7 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand Down Expand Up @@ -416,14 +425,16 @@ data:extend({
fluid_boxes = {
{
production_type = "input",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = { { flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south } },
pipe_connections = {
{ flow_direction = "input", position = { 0, 2 }, direction = defines.direction.south }
},
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
pipe_picture = angelsmods.petrochem.separatorpipepictures1(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -432,7 +443,8 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2mirror(),
pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand All @@ -441,7 +453,7 @@ data:extend({
},
{
production_type = "output",
--pipe_picture = floatationpipepictures(),
mirrored_pipe_picture = angelsmods.petrochem.separatorpipepictures2(),
pipe_covers = pipecoverspictures(),
volume = 100,
pipe_connections = {
Expand Down
Loading