minetest.register_node("industrial_decor:planks",{ description = "Planks", drawtype = "signlike", tiles = {"industrial_decor_planks.png"}, inventory_image = "industrial_decor_planks.png", wield_image = "industrial_decor_planks.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {choppy = 2}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:planks_destroyed",{ description = "Destroyed Planks", drawtype = "signlike", tiles = {"industrial_decor_planks_destroyed.png"}, inventory_image = "industrial_decor_planks_destroyed.png", wield_image = "industrial_decor_planks_destroyed.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = true, groups = {choppy = 3}, selection_box = { type = "wallmounted", }, }) --Lamps minetest.register_node("industrial_decor:lamp",{ description = "Industrial Lamp", drawtype = "plantlike", tiles = {"industrial_decor_lamp.png"}, inventory_image = "industrial_decor_lamp.png", wield_image = "industrial_decor_lamp.png", light_source = 14, light_propagates = true, sunlight_propagates = true, is_ground_content = false, walkable = false, groups = {cracky = 1}, selection_box = { type = "fixed", fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, }, on_punch = function(pos, node, player, pointed_thing) minetest.set_node({x = pos.x, y = pos.y, z = pos.z}, {name = "industrial_decor:lamp_damaged"}) end }) minetest.register_node("industrial_decor:lamp_damaged",{ description = "Damaged Industrial Lamp", drawtype = "plantlike", tiles = {"industrial_decor_lamp_damaged.png"}, inventory_image = "industrial_decor_lamp_damaged.png", wield_image = "industrial_decor_lamp_damaged.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", is_ground_content = false, walkable = false, groups = {cracky = 2}, selection_box = { type = "fixed", fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, }, }) minetest.register_node("industrial_decor:wires_hanging",{ description = "Hanging Wires", drawtype = "plantlike", tiles = {"industrial_decor_wires_hanging.png"}, inventory_image = "industrial_decor_wires_hanging.png", wield_image = "industrial_decor_wires_hanging.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", is_ground_content = false, walkable = false, groups = {snappy = 3}, selection_box = { type = "fixed", fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, }, }) minetest.register_node("industrial_decor:lamp_fixed",{ description = "Fixed Industrial Lamp", drawtype = "plantlike", tiles = {"industrial_decor_lamp_fixed.png"}, inventory_image = "industrial_decor_lamp_fixed.png", wield_image = "industrial_decor_lamp_fixed.png", light_source = 10, light_propagates = true, sunlight_propagates = true, is_ground_content = false, walkable = false, groups = {cracky = 1}, selection_box = { type = "fixed", fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, }, on_punch = function(pos, node, player, pointed_thing) minetest.set_node({x = pos.x, y = pos.y, z = pos.z}, {name = "industrial_decor:lamp_damaged"}) end }) minetest.register_node("industrial_decor:sheet_tin",{ description = "Industrial Tin Sheet", tiles = {"industrial_decor_sheet_tin.png"}, groups = {cracky = 1}, }) minetest.register_node("industrial_decor:shelf_empty",{ paramtype = "light", description = "Empty Metal Shelf", tiles = {"industrial_decor_sheet_tin.png", "industrial_decor_sheet_tin.png", "industrial_decor_sheet_tin.png", "industrial_decor_sheet_tin.png", "industrial_decor_shelf_empty.png",}, groups = {choppy = 2}, }) minetest.register_node("industrial_decor:crate_upsidedown",{ drawtype = "allfaces_optional", paramtype = "light", description = "Food Crate", tiles = {"industrial_decor_crate_upsidedown.png"}, groups = {choppy = 3}, }) minetest.register_node("industrial_decor:hvdevice_pol",{ description = "Polish High Voltage Device", drawtype = "signlike", tiles = {"industrial_decor_hvdevice_polish.png"}, inventory_image = "industrial_decor_hvdevice_polish.png", wield_image = "industrial_decor_hvdevice_polish.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:hvdevice_usa",{ description = "American High Voltage Device", drawtype = "signlike", tiles = {"industrial_decor_hvdevice_american.png"}, inventory_image = "industrial_decor_hvdevice_american.png", wield_image = "industrial_decor_hvdevice_american.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) --Hazard signs minetest.register_node("industrial_decor:hazardsign_generic",{ description = "Generic Caution Hazard Sign", drawtype = "signlike", tiles = {"industrial_decor_hazardsign_generic.png"}, inventory_image = "industrial_decor_hazardsign_generic.png", wield_image = "industrial_decor_hazardsign_generic.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:hazardsign_poison",{ description = "Poison Hazard Sign", drawtype = "signlike", tiles = {"industrial_decor_hazardsign_poison.png"}, inventory_image = "industrial_decor_hazardsign_poison.png", wield_image = "industrial_decor_hazardsign_poison.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:hazardsign_laser",{ description = "Laser Hazard Sign", drawtype = "signlike", tiles = {"industrial_decor_hazardsign_laser.png"}, inventory_image = "industrial_decor_hazardsign_laser.png", wield_image = "industrial_decor_hazardsign_laser.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:hazardsign_radiation_ion",{ description = "Ionizing Radiation Hazard Sign", drawtype = "signlike", tiles = {"industrial_decor_hazardsign_ionradiation.png"}, inventory_image = "industrial_decor_hazardsignion_ionradiation.png", wield_image = "industrial_decor_hazardsign_ionradiation.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, }) minetest.register_node("industrial_decor:hazardsign_radiation_nonion",{ description = "Non-Ionizing Radiation Hazard Sign", drawtype = "signlike", tiles = {"industrial_decor_hazardsign_nonionradiation.png"}, inventory_image = "industrial_decor_hazardsign_nonionradiation.png", wield_image = "industrial_decor_hazardsign_nonionradiation.png", light_propagates = true, sunlight_propagates = true, paramtype = "light", paramtype2 = "wallmounted", walkable = false, groups = {cracky = 1}, selection_box = { type = "wallmounted", }, })