diff --git a/api/access_point.lua b/api/access_point.lua index cf7398e..70d322b 100644 --- a/api/access_point.lua +++ b/api/access_point.lua @@ -77,8 +77,17 @@ function logistica.register_access_point(desc, name, tiles) grps[logistica.TIER_ALL] = 1 local def = { description = desc, - drawtype = "normal", + drawtype = "nodebox", tiles = tiles, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + {-0.4375, -0.5, -0.4375, 0.4375, -0.375, -0.1875}, + {-0.125, -0.5, -0.0625, 0.125, 0.1875, 0.0625}, + {-0.5, -0.3125, -0.125, 0.5, 0.5, -0.0625}, + }, + }, paramtype = "light", paramtype2 = "facedir", is_ground_content = false, diff --git a/api/lava_furnace.lua b/api/lava_furnace.lua index 969a57f..1b85145 100644 --- a/api/lava_furnace.lua +++ b/api/lava_furnace.lua @@ -341,7 +341,23 @@ function logistica.register_lava_furnace(desc, name, lavaCapacity, combinedTiles local lname = name:gsub("%s", "_"):lower() local def = { description = S(desc), + drawtype = "nodebox", tiles = combinedTiles.inactive, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, -0.4375, 0.3125, -0.4375}, + {0.4375, -0.5, -0.5, 0.5, 0.3125, -0.4375}, + {-0.5, -0.5, -0.5, 0.5, -0.4375, -0.4375}, + {-0.5, -0.0625, -0.5, 0.5, 0.0625, -0.4375}, + {-0.5, 0.3125, -0.5, -0.375, 0.5, -0.4375}, + {0.375, 0.3125, -0.5, 0.5, 0.5, -0.4375}, + {-0.375, 0.375, -0.5, -0.3125, 0.5, -0.4375}, + {0.3125, 0.375, -0.5, 0.375, 0.5, -0.4375}, + {-0.3125, 0.4375, -0.5, 0.3125, 0.5, -0.4375}, + {-0.5, -0.5, -0.4375, 0.5, 0.5, 0.5}, + } + }, paramtype2 = "facedir", groups = { cracky= 2, pickaxey = 2, }, is_ground_content = false, diff --git a/textures/logistica_access_point_back.png b/textures/logistica_access_point_back.png index 2207c34..25a738f 100644 Binary files a/textures/logistica_access_point_back.png and b/textures/logistica_access_point_back.png differ diff --git a/textures/logistica_access_point_front.png b/textures/logistica_access_point_front.png index 8c039eb..7ca0c23 100644 Binary files a/textures/logistica_access_point_front.png and b/textures/logistica_access_point_front.png differ diff --git a/textures/logistica_access_point_side.png b/textures/logistica_access_point_side.png index a4d67fe..4c8c7ef 100644 Binary files a/textures/logistica_access_point_side.png and b/textures/logistica_access_point_side.png differ diff --git a/textures/logistica_access_point_top.png b/textures/logistica_access_point_top.png index 8d998fa..5770d79 100644 Binary files a/textures/logistica_access_point_top.png and b/textures/logistica_access_point_top.png differ