[solved] Custom pipe not appearing in game
Posted: Sun Oct 09, 2016 5:49 pm
I get no errors, but for some reason the pipe just won't show up in game.
Here's data.raw dumps of the prototypes:
Any ideas?
Here's data.raw dumps of the prototypes:
Code: Select all
-- data.raw.item["wood-pipe"]
1.572 Script wood-pipe.lua:22: {
default_request_amount = 8,
flags = {
"goes-to-quickbar",
"goes-to-main-inventory"
},
icon = "__Epoch__/graphics/icon/wood-pipe.png",
icon_size = 32,
name = "wood-pipe",
order = "a[pipe]-b[wood-pipe]",
place_result = "wood-pipe",
stack_size = 16,
subgroup = "energy-pipe-distribution",
type = "item"
}
-- data.raw.pipe["wood-pipe"]
1.575 Script wood-pipe.lua:137: {
collision_box = {
{
-0.29,
-0.29
},
{
0.29,
0.29
}
},
corpse = "small-remnants",
fast_replaceable_group = "pipe",
flags = {
"placeable-neutral",
"player-creation"
},
fluid_box = {
base_area = 1,
pipe_connections = {
{
position = {
0,
-1
}
},
{
position = {
1,
0
}
},
{
position = {
0,
1
}
},
{
position = {
-1,
0
}
}
}
},
horizontal_window_bounding_box = {
{
-0.25,
-0.25
},
{
0.25,
0.15625
}
},
icon = "__Epoch__/graphics/icon/wood-pipe.png",
max_health = 50,
minable = {
hardness = 0.2,
mining_time = 0.5,
result = "wood-pipe"
},
name = "wood-pipe",
pictures = {
corner_down_left = {
filename = "__Epoch__/graphics/wood-pipe/wp-cdl.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
corner_down_right = {
filename = "__Epoch__/graphics/wood-pipe/wp-cdr.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
corner_up_left = {
filename = "__Epoch__/graphics/wood-pipe/wp-cul.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
corner_up_right = {
filename = "__Epoch__/graphics/wood-pipe/wp-cur.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
cross = {
filename = "__Epoch__/graphics/wood-pipe/wp-cross.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
ending_down = {
filename = "__Epoch__/graphics/wood-pipe/wp-ed.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
ending_left = {
filename = "__Epoch__/graphics/wood-pipe/wp-el.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
ending_right = {
filename = "__Epoch__/graphics/wood-pipe/wp-er.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
ending_up = {
filename = "__Epoch__/graphics/wood-pipe/wp-eu.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
fluid_background = {
filename = "__base__/graphics/entity/pipe/fluid-background.png",
height = 20,
priority = "extra-high",
width = 32
},
high_temperature_flow = {
filename = "__base__/graphics/entity/pipe/fluid-flow-high-temperature.png",
height = 18,
priority = "extra-high",
width = 160
},
horizontal_window_background = {
filename = "__base__/graphics/entity/pipe/pipe-horizontal-window-background.png",
height = 42,
priority = "extra-high",
width = 32
},
low_temperature_flow = {
filename = "__base__/graphics/entity/pipe/fluid-flow-low-temperature.png",
height = 18,
priority = "extra-high",
width = 160
},
middle_temperature_flow = {
filename = "__base__/graphics/entity/pipe/fluid-flow-medium-temperature.png",
height = 18,
priority = "extra-high",
width = 160
},
straight_horizontal = {
filename = "__Epoch__/graphics/wood-pipe/wp-we.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
straight_horizontal_window = {
filename = "__base__/graphics/entity/pipe/pipe-straight-horizontal-window.png",
height = 42,
priority = "extra-high",
width = 32
},
straight_vertical = {
filename = "__Epoch__/graphics/wood-pipe/wp-ns.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
straight_vertical_single = {
filename = "__Epoch__/graphics/wood-pipe/wp-ns-c.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
straight_vertical_window = {
filename = "__base__/graphics/entity/pipe/pipe-straight-vertical-window.png",
height = 32,
priority = "extra-high",
width = 44
},
t_down = {
filename = "__Epoch__/graphics/wood-pipe/wp-td.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
t_left = {
filename = "__Epoch__/graphics/wood-pipe/wp-tl.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
t_right = {
filename = "__Epoch__/graphics/wood-pipe/wp-tr.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
t_up = {
filename = "__Epoch__/graphics/wood-pipe/wp-tu.png",
height = 42,
priority = "extra-high",
width = 42,
x = 0,
y = 0
},
vertical_window_background = {
filename = "__base__/graphics/entity/pipe/pipe-vertical-window-background.png",
height = 32,
priority = "extra-high",
width = 44
}
},
selection_box = {
{
-0.5,
-0.5
},
{
0.5,
0.5
}
},
type = "pipe",
vertical_window_bounding_box = {
{
-0.28125,
-0.40625
},
{
0.03125,
0.125
}
},
working_sound = {
match_volume_to_activity = true,
max_sounds_per_type = 3,
sound = {
{
filename = "__base__/sound/pipe.ogg",
preload = true,
volume = 0.85
}
}
}
}