people-cd2025/weaponstand.lua

22 lines
623 B
Lua
Raw Permalink Normal View History

2023-01-21 16:48:47 +01:00
local S = minetest.get_translator("people")
2021-03-02 08:08:35 +01:00
minetest.register_node("people:weaponstand", {
2023-01-21 16:48:47 +01:00
description = S"Weaponstand",
2021-03-02 08:08:35 +01:00
visual_scale = 1,
mesh = "Weaponstand.b3d",
tiles = {"textureweaponstand.png"},
inventory_image = "aweaponstand.png",
paramtype = "light",
paramtype2 = "facedir",
2023-01-21 16:48:47 +01:00
walkable = false,
2021-03-02 08:08:35 +01:00
groups = {choppy = 3},
drawtype = "mesh",
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.4, 0.4},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "cooking",
output = "default:steel_ingot",
recipe = "people:weaponstand",
})