Dry vines and leaves, hanging lamps, and nicer ladders.

This commit is contained in:
Signal 2025-11-09 19:29:36 -05:00
parent 1b8091e26b
commit 5211cc20f2
10 changed files with 335 additions and 26 deletions

View file

@ -41,10 +41,16 @@ end
artifact.register_node("stone", {
tiles = {"artifact_stone.png"}
})
artifact.register_node("stone_mossy", {
tiles = {{name = rep("artifact_stone.png", 4).."^artifact_moss.png", align_style = "world", scale = 4}}
})
artifact.register_node("stone_bricks", {
tiles = {"artifact_stone_bricks.png"}
})
artifact.register_node("stone_bricks_mossy", {
tiles = {{name = rep("artifact_stone_bricks.png", 4).."^artifact_moss_bricks.png", align_style = "world", scale = 4}}
})
artifact.register_node("stone_bricks_small", {
tiles = {"artifact_stone_bricks_small.png"}
@ -81,6 +87,28 @@ artifact.register_node("vines", {
tiles = {"artifact_vines.png"},
use_texture_alpha = true
})
artifact.register_node("vines_dry", {
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
-0.5, -0.5, 0.48,
0.5, 0.5, 0.48
}
},
walkable = false,
selection_box = {
type = "fixed",
fixed = {
-0.5, -0.5, 0.5,
0.5, 0.5, 0.45
}
},
paramtype = "light",
paramtype2 = "facedir",
tiles = {"artifact_vines_dry.png"},
use_texture_alpha = true
})
artifact.register_node("leaves", {
drawtype = "allfaces",
@ -88,6 +116,12 @@ artifact.register_node("leaves", {
tiles = {"artifact_leaves.png"},
use_texture_alpha = true
})
artifact.register_node("leaves_dry", {
drawtype = "allfaces",
-- paramtype = "light",
tiles = {"artifact_leaves_dry.png"},
use_texture_alpha = true
})
artifact.register_node("wood_planks", {
@ -106,33 +140,28 @@ artifact.register_node("ladder_wood", {
artifact.register_node("lamp_gold", {
drawtype = "mesh",
mesh = "artifact_lamp.obj",
tiles = {"artifact_lamp_gold.png"},
light_source = 8,
paramtype = "light",
sunlight_propagates = true
})
artifact.register_node("lamp_red", {
drawtype = "mesh",
mesh = "artifact_lamp.obj",
tiles = {"artifact_lamp_red.png"},
light_source = 6,
paramtype = "light",
sunlight_propagates = true
})
artifact.register_node("lamp_blue", {
drawtype = "mesh",
mesh = "artifact_lamp.obj",
tiles = {"artifact_lamp_blue.png"},
light_source = 10,
paramtype = "light",
sunlight_propagates = true
})
local function register_lamp(color, brightness)
artifact.register_node("lamp_"..color, {
drawtype = "mesh",
mesh = "artifact_lamp.obj",
tiles = {"artifact_lamp_"..color..".png"},
light_source = brightness,
paramtype = "light",
sunlight_propagates = true
})
artifact.register_node("lamp_"..color.."_hanging", {
drawtype = "mesh",
mesh = "artifact_lamp_hanging.obj",
tiles = {"artifact_lamp_"..color..".png"},
light_source = brightness,
paramtype = "light",
sunlight_propagates = true
})
end
register_lamp("red", 6)
register_lamp("gold", 8)
register_lamp("blue", 10)
artifact.register_node("light", {
@ -141,6 +170,7 @@ artifact.register_node("light", {
light_source = 14
})
-- Make darkness the default.
minetest.override_item("air", {
sunlight_propagates = false,
light_source = 2

View file

@ -0,0 +1,279 @@
# Made in Blockbench 4.12.5
mtllib artifact_lamp_hanging.mtl
o cube
v 0.125 0.25 0.125
v 0.125 0.25 -0.125
v 0.125 0 0.125
v 0.125 0 -0.125
v -0.125 0.25 -0.125
v -0.125 0.25 0.125
v -0.125 0 -0.125
v -0.125 0 0.125
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vn 0 0 -1
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 4/4/1 7/3/1 5/2/1 2/1/1
f 3/8/2 4/7/2 2/6/2 1/5/2
f 8/12/3 3/11/3 1/10/3 6/9/3
f 7/16/4 8/15/4 6/14/4 5/13/4
f 6/20/5 1/19/5 2/18/5 5/17/5
f 7/24/6 4/23/6 3/22/6 8/21/6
o cube
v -0.03125 0.375 0.03125
v -0.03125 0.375 -0.03125
v -0.03125 0.25 0.03125
v -0.03125 0.25 -0.03125
v -0.09375 0.375 -0.03125
v -0.09375 0.375 0.03125
v -0.09375 0.25 -0.03125
v -0.09375 0.25 0.03125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.8125
vt 0.875 0.8125
vt 0.875 0.75
vt 0.8125 0.75
vn 0 0 -1
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 12/28/7 15/27/7 13/26/7 10/25/7
f 11/32/8 12/31/8 10/30/8 9/29/8
f 16/36/9 11/35/9 9/34/9 14/33/9
f 15/40/10 16/39/10 14/38/10 13/37/10
f 14/44/11 9/43/11 10/42/11 13/41/11
f 15/48/12 12/47/12 11/46/12 16/45/12
o cube
v 0.09375 0.375 0.03125
v 0.09375 0.375 -0.03125
v 0.09375 0.25 0.03125
v 0.09375 0.25 -0.03125
v 0.03125 0.375 -0.03125
v 0.03125 0.375 0.03125
v 0.03125 0.25 -0.03125
v 0.03125 0.25 0.03125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.75
vt 0.8125 0.75
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.8125
vt 0.875 0.8125
vt 0.875 0.75
vt 0.8125 0.75
vn 0 0 -1
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 20/52/13 23/51/13 21/50/13 18/49/13
f 19/56/14 20/55/14 18/54/14 17/53/14
f 24/60/15 19/59/15 17/58/15 22/57/15
f 23/64/16 24/63/16 22/62/16 21/61/16
f 22/68/17 17/67/17 18/66/17 21/65/17
f 23/72/18 20/71/18 19/70/18 24/69/18
o cube
v -0.03125000000000001 0.5 -0.031249999999999993
v 0.031249999999999993 0.5 -0.03125000000000001
v -0.03125000000000001 0.3125 -0.031249999999999993
v 0.031249999999999993 0.3125 -0.03125000000000001
v 0.03124999999999998 0.5 -0.09375
v -0.03125000000000002 0.5 -0.09375
v 0.03124999999999998 0.3125 -0.09375
v -0.03125000000000002 0.3125 -0.09375
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.8125
vt 0.75 0.8125
vt 0.75 0.75
vt 0.8125 0.75
vt 0.8125 0.6875
vt 0.75 0.6875
vn 1 0 -2.220446049250313e-16
vn 2.220446049250313e-16 0 1
vn -1 0 2.220446049250313e-16
vn -2.220446049250313e-16 0 -1
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 28/76/19 31/75/19 29/74/19 26/73/19
f 27/80/20 28/79/20 26/78/20 25/77/20
f 32/84/21 27/83/21 25/82/21 30/81/21
f 31/88/22 32/87/22 30/86/22 29/85/22
f 30/92/23 25/91/23 26/90/23 29/89/23
f 31/96/24 28/95/24 27/94/24 32/93/24
o cube
v -0.03124999999999998 0.5 0.09375
v 0.03125000000000002 0.5 0.09375
v -0.03124999999999998 0.3125 0.09375
v 0.03125000000000002 0.3125 0.09375
v 0.03125000000000001 0.5 0.031249999999999993
v -0.031249999999999993 0.5 0.03125000000000001
v 0.03125000000000001 0.3125 0.031249999999999993
v -0.031249999999999993 0.3125 0.03125000000000001
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.6875
vt 0.75 0.6875
vt 0.75 0.875
vt 0.8125 0.875
vt 0.8125 0.8125
vt 0.75 0.8125
vt 0.75 0.75
vt 0.8125 0.75
vt 0.8125 0.6875
vt 0.75 0.6875
vn 1 0 -2.220446049250313e-16
vn 2.220446049250313e-16 0 1
vn -1 0 2.220446049250313e-16
vn -2.220446049250313e-16 0 -1
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 36/100/25 39/99/25 37/98/25 34/97/25
f 35/104/26 36/103/26 34/102/26 33/101/26
f 40/108/27 35/107/27 33/106/27 38/105/27
f 39/112/28 40/111/28 38/110/28 37/109/28
f 38/116/29 33/115/29 34/114/29 37/113/29
f 39/120/30 36/119/30 35/118/30 40/117/30
o cube
v 0.03125 0.375 0.03125
v 0.03125 0.375 -0.03125
v 0.03125 0.3125 0.03125
v 0.03125 0.3125 -0.03125
v -0.03125 0.375 -0.03125
v -0.03125 0.375 0.03125
v -0.03125 0.3125 -0.03125
v -0.03125 0.3125 0.03125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vt 0.8125 0.875
vt 0.875 0.875
vt 0.875 0.8125
vt 0.8125 0.8125
vn 0 0 -1
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn 0 1 0
vn 0 -1 0
usemtl m_ce9dfcf1-fabc-7821-ade4-7b668787e451
f 44/124/31 47/123/31 45/122/31 42/121/31
f 43/128/32 44/127/32 42/126/32 41/125/32
f 48/132/33 43/131/33 41/130/33 46/129/33
f 47/136/34 48/135/34 46/134/34 45/133/34
f 46/140/35 41/139/35 42/138/35 45/137/35
f 47/144/36 44/143/36 43/142/36 48/141/36

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 436 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 273 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 B

After

Width:  |  Height:  |  Size: 288 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 284 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B