Make Access Point and Lava Furnce into nodebox nodes, update their textures

This commit is contained in:
Zenon Seth 2024-03-16 02:02:03 +00:00
parent ef570ca6e7
commit a99c0dcdbd
6 changed files with 26 additions and 1 deletions

View File

@ -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,

View File

@ -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,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB