Add more Perlin test nodes
This commit is contained in:
parent
d6182ac633
commit
505d7db92b
60
init.lua
60
init.lua
@ -99,7 +99,7 @@ if COLORIZE_NODES then
|
||||
paramtype2 = "color"
|
||||
end
|
||||
minetest.register_node("perlin_explorer:node", {
|
||||
description = S("Perlin Test Node"),
|
||||
description = S("Solid Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
@ -110,7 +110,7 @@ minetest.register_node("perlin_explorer:node", {
|
||||
drop = "perlin_explorer:node",
|
||||
})
|
||||
minetest.register_node("perlin_explorer:node_negative", {
|
||||
description = S("Negative Perlin Test Node"),
|
||||
description = S("Solid Negative Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
@ -121,27 +121,65 @@ minetest.register_node("perlin_explorer:node_negative", {
|
||||
drop = "perlin_explorer:node_negative",
|
||||
})
|
||||
|
||||
minetest.register_node("perlin_explorer:transp", {
|
||||
description = S("Transparent Perlin Test Node"),
|
||||
minetest.register_node("perlin_explorer:grid", {
|
||||
description = S("Grid Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
tiles = {"perlin_explorer_transp.png"},
|
||||
tiles = {"perlin_explorer_grid.png"},
|
||||
palette = "perlin_explorer_node_palette.png",
|
||||
groups = { dig_immediate = 3 },
|
||||
drop = "perlin_explorer:transp",
|
||||
drop = "perlin_explorer:grid",
|
||||
})
|
||||
minetest.register_node("perlin_explorer:transp_negative", {
|
||||
description = S("Transparent Negative Perlin Test Node"),
|
||||
minetest.register_node("perlin_explorer:grid_negative", {
|
||||
description = S("Grid Negative Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
tiles = {"perlin_explorer_transp_neg.png"},
|
||||
tiles = {"perlin_explorer_grid_neg.png"},
|
||||
use_texture_alpha = "clip",
|
||||
palette = "perlin_explorer_node_palette_neg.png",
|
||||
groups = { dig_immediate = 3 },
|
||||
drop = "perlin_explorer:transp_negative",
|
||||
drop = "perlin_explorer:grid_negative",
|
||||
})
|
||||
|
||||
minetest.register_node("perlin_explorer:mini", {
|
||||
description = S("Minibox Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
climbable = true,
|
||||
walkable = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = { -2/16, -2/16, -2/16, 2/16, 2/16, 2/16 },
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
tiles = {"perlin_explorer_mini.png"},
|
||||
palette = "perlin_explorer_node_palette.png",
|
||||
groups = { dig_immediate = 3 },
|
||||
drop = "perlin_explorer:mini",
|
||||
})
|
||||
minetest.register_node("perlin_explorer:mini_negative", {
|
||||
description = S("Minibox Negative Perlin Test Node"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
climbable = true,
|
||||
walkable = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = { -2/16, -2/16, -2/16, 2/16, 2/16, 2/16 },
|
||||
},
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = paramtype2,
|
||||
tiles = {"perlin_explorer_mini_neg.png"},
|
||||
use_texture_alpha = "clip",
|
||||
palette = "perlin_explorer_node_palette_neg.png",
|
||||
groups = { dig_immediate = 3 },
|
||||
drop = "perlin_explorer:mini_negative",
|
||||
})
|
||||
|
||||
minetest.register_tool("perlin_explorer:getter", {
|
||||
|
BIN
textures/perlin_explorer_grid.png
Normal file
BIN
textures/perlin_explorer_grid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
textures/perlin_explorer_mini_neg.png
Normal file
BIN
textures/perlin_explorer_mini_neg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Loading…
x
Reference in New Issue
Block a user