Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
56 changes: 36 additions & 20 deletions angelspetrochem/prototypes/buildings/separator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,20 @@ data:extend({
sound = { filename = "__angelspetrochemgraphics__/sound/separator.ogg", volume = 0.65 },
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
},
forced_symmetry = "horizontal",
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 +102,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 +112,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 @@ -192,17 +196,20 @@ data:extend({
sound = { filename = "__angelspetrochemgraphics__/sound/separator.ogg", volume = 0.65 },
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
},
forced_symmetry = "horizontal",
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 +218,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 +228,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 @@ -303,17 +311,20 @@ data:extend({
sound = { filename = "__angelspetrochemgraphics__/sound/separator.ogg", volume = 0.65 },
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
},
forced_symmetry = "horizontal",
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 +333,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 +343,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 @@ -413,17 +425,20 @@ data:extend({
sound = { filename = "__angelspetrochemgraphics__/sound/separator.ogg", volume = 0.65 },
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
},
forced_symmetry = "horizontal",
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 +447,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 +457,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