minetest-modern_ish/modern_ish/util.lua

103 lines
2.8 KiB
Lua
Executable File

minetest.register_node("modern_ish:util_drain", {
tiles = {"modern_ish_util_drain.png"},
inventory_image = "modern_ish_util_drain.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "A round steel drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:util_drain_bronze", {
tiles = {"modern_ish_util_drain_bronze.png"},
inventory_image = "modern_ish_util_drain_bronze.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "A round bronze drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:util_drain_gold", {
tiles = {"modern_ish_util_drain_gold.png"},
inventory_image = "modern_ish_util_drain_gold.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "A round gold drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:util_drain_wall", {
tiles = {"modern_ish_util_drain_wall.png"},
inventory_image = "modern_ish_util_drain_wall.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "An arched steel wall drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:util_drain_wall_bronze", {
tiles = {"modern_ish_util_drain_wall_bronze.png"},
inventory_image = "modern_ish_util_drain_wall_bronze.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "An arched bronze wall drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:util_drain_wall_gold", {
tiles = {"modern_ish_util_drain_wall_gold.png"},
inventory_image = "modern_ish_util_drain_wall_gold.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 0,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "An arched gold wall drain.",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})