Add forcefields, and start building the map.
This commit is contained in:
parent
5fd67703c0
commit
b5bc0a34ea
12 changed files with 509 additions and 15 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue