Fix walls of underground. Add alien floor.
parent
d9a2d0262e
commit
5b960f30ac
|
@ -330,7 +330,10 @@ function loud_walking.generate(p_minp, p_maxp, seed)
|
||||||
else
|
else
|
||||||
if biome == "control" then
|
if biome == "control" then
|
||||||
data[ivm] = node(glass[3])
|
data[ivm] = node(glass[3])
|
||||||
elseif biome ~= "underground" and dy < half then
|
elseif dy < half then
|
||||||
|
data[ivm] = node("loud_walking:scrith")
|
||||||
|
lightmap[ivm] = 0
|
||||||
|
elseif biome == "underground" then
|
||||||
data[ivm] = node("loud_walking:scrith")
|
data[ivm] = node("loud_walking:scrith")
|
||||||
lightmap[ivm] = 0
|
lightmap[ivm] = 0
|
||||||
elseif dy == csize.y - 1 then
|
elseif dy == csize.y - 1 then
|
||||||
|
@ -341,11 +344,11 @@ function loud_walking.generate(p_minp, p_maxp, seed)
|
||||||
end
|
end
|
||||||
in_cave = false
|
in_cave = false
|
||||||
elseif biome == "control" and dy % 5 == 0 then
|
elseif biome == "control" and dy % 5 == 0 then
|
||||||
data[ivm] = node("default:steelblock")
|
data[ivm] = node("loud_walking:alien_floor")
|
||||||
elseif biome == "control" and (math.abs(dx - half) < 3 or math.abs(dz - half) < 3) then
|
elseif biome == "control" and (math.abs(dx - half) < 3 or math.abs(dz - half) < 3) then
|
||||||
data[ivm] = node("air")
|
data[ivm] = node("air")
|
||||||
elseif biome == "control" and ((math.abs(dx - half) % 20 == 3 and (math.abs(dz - half) - 12) % 20 > 3) or (math.abs(dz - half) % 20 == 3 and (math.abs(dx - half) - 12) % 20 > 3)) then
|
elseif biome == "control" and ((math.abs(dx - half) % 20 == 3 and (math.abs(dz - half) - 12) % 20 > 3) or (math.abs(dz - half) % 20 == 3 and (math.abs(dx - half) - 12) % 20 > 3)) then
|
||||||
data[ivm] = node("default:steelblock")
|
data[ivm] = node("loud_walking:alien_floor")
|
||||||
elseif biome == "control" then
|
elseif biome == "control" then
|
||||||
--
|
--
|
||||||
elseif (((dx == 35 or dx == 45) and dz >= 35 and dz <= 45) or ((dz == 35 or dz == 45) and dx >= 35 and dx <= 45)) and dx ~= 40 and dz ~= 40 and dy == csize.y - 2 then
|
elseif (((dx == 35 or dx == 45) and dz >= 35 and dz <= 45) or ((dz == 35 or dz == 45) and dx >= 35 and dx <= 45)) and dx ~= 40 and dz ~= 40 and dy == csize.y - 2 then
|
||||||
|
|
10
nodes.lua
10
nodes.lua
|
@ -40,6 +40,16 @@ local node = loud_walking.clone_node("loud_walking:sky_scrith")
|
||||||
node.tiles = {"loud_walking_glass_detail.png"}
|
node.tiles = {"loud_walking_glass_detail.png"}
|
||||||
minetest.register_node("loud_walking:transparent_scrith", node)
|
minetest.register_node("loud_walking:transparent_scrith", node)
|
||||||
|
|
||||||
|
minetest.register_node("loud_walking:alien_floor", {
|
||||||
|
description = "Floor",
|
||||||
|
paramtype = "light",
|
||||||
|
tiles = {"loud_walking_alien_floor.png"},
|
||||||
|
use_texture_alpha = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("loud_walking:controls", {
|
minetest.register_node("loud_walking:controls", {
|
||||||
description = "Alien control system",
|
description = "Alien control system",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -1 +1,2 @@
|
||||||
The alien controls are based on a work by Steve LeMaster (http://obnoxiousnox.deviantart.com/art/Alien-control-panel-264724297), and used with permission.
|
The alien controls are based on a work by Steve LeMaster (http://obnoxiousnox.deviantart.com/art/Alien-control-panel-264724297), and used with permission.
|
||||||
|
The alien floor is based on Piotr Siedlecki's work (http://www.publicdomainpictures.net/view-image.php?image=40539&picture=alien-wires-texture), in the public domain.
|
||||||
|
|
Loading…
Reference in New Issue