techage_modpack_ru_upd/techage/wind_turbine/pillar.lua

41 lines
759 B
Lua
Raw Normal View History

2020-05-31 23:31:18 +03:00
--[[
TechAge
=======
2021-08-01 12:00:22 +03:00
Copyright (C) 2019-2021 Joachim Stolberg
2020-05-31 23:31:18 +03:00
2020-10-25 23:32:47 +03:00
AGPL v3
2020-05-31 23:31:18 +03:00
See LICENSE.txt for more information
pillar
]]--
local S = techage.S
minetest.register_node("techage:pillar", {
description = S("TA4 Pillar"),
tiles = {"techage_concrete.png"},
drawtype = "mesh",
mesh = "techage_cylinder_07.obj",
selection_box = {
type = "fixed",
fixed = {-8/32, -16/32, -8/32, 8/32, 16/32, 8/32},
},
2021-08-01 12:00:22 +03:00
climbable = true,
walkable = false,
2020-05-31 23:31:18 +03:00
paramtype = "light",
backface_culling = true,
groups = {cracky=1},
on_rotate = screwdriver.disallow,
is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
type = "shapeless",
output = "techage:pillar",
recipe = {"basic_materials:concrete_block"},
})