Added pure black and white blocks, compressed textures, added ignore-like nodes.
74
init.lua
@ -37,6 +37,28 @@ minetest.register_craft({
|
|||||||
|
|
||||||
-- Nodes
|
-- Nodes
|
||||||
|
|
||||||
|
minetest.register_node("maptools:black", {
|
||||||
|
description = S("Black"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
tiles = {"black.png"},
|
||||||
|
drop = "",
|
||||||
|
post_effect_color = {a=255, r=0, g=0, b=0},
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("maptools:white", {
|
||||||
|
description = S("White"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
tiles = {"white.png"},
|
||||||
|
drop = "",
|
||||||
|
post_effect_color = {a=255, r=128, g=128, b=128},
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("maptools:stone", {
|
minetest.register_node("maptools:stone", {
|
||||||
description = S("Unbreakable Stone"),
|
description = S("Unbreakable Stone"),
|
||||||
range = 12,
|
range = 12,
|
||||||
@ -233,6 +255,58 @@ minetest.register_node("maptools:fullclip", {
|
|||||||
drop = "",
|
drop = "",
|
||||||
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
})
|
})
|
||||||
|
minetest.register_node("maptools:ignore_like", {
|
||||||
|
description = S("Ignore-like"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
inventory_image = "default_steel_block.png^dye_pink.png",
|
||||||
|
tiles = {"invisible.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
drop = "",
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("maptools:ignore_like_no_clip", {
|
||||||
|
description = S("Ignore-like (no clip)"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
inventory_image = "default_steel_block.png^dye_purple.png",
|
||||||
|
tiles = {"invisible.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
drop = "",
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("maptools:ignore_like_no_point", {
|
||||||
|
description = S("Ignore-like (no point)"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
inventory_image = "default_steel_block.png^dye_purple.png",
|
||||||
|
tiles = {"invisible.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
pointable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
drop = "",
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("maptools:ignore_like_no_clip_no_point", {
|
||||||
|
description = S("Ignore-like (no clip, no point)"),
|
||||||
|
range = 12,
|
||||||
|
stack_max = 10000,
|
||||||
|
inventory_image = "default_steel_block.png^dye_pink.png",
|
||||||
|
tiles = {"invisible.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
drop = "",
|
||||||
|
groups = {unbreakable = 1, not_in_creative_inventory = maptools_creative},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("maptools:fullclip_face", {
|
minetest.register_node("maptools:fullclip_face", {
|
||||||
description = S("Full Clip Face"),
|
description = S("Full Clip Face"),
|
||||||
|
BIN
textures/black.png
Normal file
After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 126 B |
BIN
textures/white.png
Normal file
After Width: | Height: | Size: 67 B |