Add forcefields, and start building the map.

This commit is contained in:
Signal 2025-11-20 03:15:30 -05:00
parent 5fd67703c0
commit dd73665a23
19 changed files with 511 additions and 15 deletions

View file

@ -257,7 +257,7 @@ artifact.register_node("vines", {
type = "fixed",
fixed = {
-0.5, -0.5, 0.5,
0.5, 0.5, 0.45
0.5, 0.5, 0.35
}
},
paramtype = "light",
@ -279,7 +279,7 @@ artifact.register_node("vines_dry", {
type = "fixed",
fixed = {
-0.5, -0.5, 0.5,
0.5, 0.5, 0.45
0.5, 0.5, 0.35
}
},
paramtype = "light",
@ -354,7 +354,16 @@ local function register_lamp(color, brightness)
2/16, 4/16, 2/16
}
}
}
},
selection_box = {
type = "fixed",
fixed = {
{
-2/16,0,-2/16,
2/16, 4/16, 2/16
}
}
},
})
artifact.register_node("lamp_"..color.."_wall", {
drawtype = "mesh",
@ -376,6 +385,19 @@ local function register_lamp(color, brightness)
1/16, 6/16, 8/16
},
}
},
selection_box = {
type = "fixed",
fixed = {
{
-2/16,-1/16,-1/16,
2/16, 3/16, 3/16
},
{
-1/16,4/16,-1/16,
1/16, 6/16, 8/16
},
}
}
})
artifact.register_node("lamp_"..color.."_hanging", {
@ -393,13 +415,23 @@ local function register_lamp(color, brightness)
2/16, 4/16, 2/16
}
}
},
selection_box = {
type = "fixed",
fixed = {
{
-2/16,0,-2/16,
2/16, 4/16, 2/16
}
}
}
})
end
register_lamp("red", 6)
register_lamp("gold", 8)
register_lamp("green", 8)
register_lamp("blue", 10)
register_lamp("gold", 12)
artifact.register_node("light", {
@ -420,7 +452,7 @@ if artifact.debug then
minetest.register_decoration {
deco_type = "simple",
decoration = "lamp_blue",
decoration = "lamp_gold",
place_on = "stone",
fill_ratio = 0.02,
}

View file

@ -1,4 +0,0 @@
# Made in Blockbench 4.12.5
newmtl m_e3e69eb0-b6c9-b9c2-690f-4d510df185b2
map_Kd artifact_torch.png
newmtl none

View file

@ -1 +1 @@
{"(45, 21, 52)":{"fields":null,"inventory":null}}
{"(24, 24, 41)":{"fields":{"_config":"return {type=\"cube\",offset={z=1,x=4,y=0},radius=3,axis=\"x\"}","config":"return {radius=3,axis=\"x\",offset={z=1,x=4,y=0},type=\"cube\"}"},"inventory":null},"(24, 24, 43)":{"fields":{"_config":"return {type=\"cube\",offset={z=-1,x=4,y=0},radius=3,axis=\"x\"}","config":"return {radius=3,axis=\"x\",offset={z=-1,x=4,y=0},type=\"cube\"}"},"inventory":null},"(39, 33, 33)":{"fields":null,"inventory":null},"(39, 34, 52)":{"fields":{"inverted":"true"},"inventory":null},"(41, 33, 34)":{"fields":{"_config":"return {type=\"plane\",offset={z=12,x=-6,y=0},radius=15,axis=\"x\"}","config":"return {radius=15,axis=\"x\",offset={z=12,x=-6,y=0},type=\"plane\"}"},"inventory":null},"(43, 33, 33)":{"fields":{"inverted":"true"},"inventory":null},"(43, 34, 52)":{"fields":null,"inventory":null},"(44, 24, 33)":{"fields":{"open":"false"},"inventory":null},"(44, 24, 38)":{"fields":{"_config":"return {type=\"plane\",radius=15,offset={z=0,x=-8,y=0},axis=\"x\"}","config":"return {offset={z=0,x=-8,y=0},axis=\"x\",radius=15,type=\"plane\"}"},"inventory":null},"(44, 24, 47)":{"fields":{"_config":"return {type=\"plane\",radius=15,offset={z=0,x=-7,y=0},axis=\"x\"}","config":"return {offset={z=0,x=-7,y=0},axis=\"x\",radius=15,type=\"plane\"}"},"inventory":null},"(44, 24, 52)":{"fields":{"locked":"true","open":"false"},"inventory":null},"(62, 24, 42)":{"fields":null,"inventory":null},"(62, 24, 43)":{"fields":{"inverted":"true"},"inventory":null},"(62, 34, 42)":{"fields":null,"inventory":null},"(62, 34, 43)":{"fields":{"inverted":"true"},"inventory":null}}

Binary file not shown.