1234567891011121314151617181920212223242526272829303132333435 |
- minetest.register_node("witchcraft:eyeweed", {
- description = "Eye weed",
- drawtype = "plantlike",
- tiles = {"witchcraft_eyeweed.png"},
- paramtype = "light",
- is_ground_content = false,
- buildable_to = true,
- sunlight_propagates = true,
- inventory_image = "witchcraft_eyeweed.png",
- visual_scale = 1,
- wield_scale = {x=0.5, y=0.5, z=0.5},
- groups = {snappy=3, flammable=1, attached_node=1, flora=1},
- drop = "witchcraft:eye",
- selection_box = {
- type = "fixed",
- fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
- },
- walkable = false,
- })
- minetest.register_craftitem("witchcraft:eye", {
- description = "Eyeball",
- inventory_image = "witchcraft_eye.png"
- })
- minetest.register_decoration({
- deco_type = "simple",
- place_on = "default:desert_sand",
- sidelen = 26,
- fill_ratio = 0.005,
- biomes = {"desert"},
- decoration = "witchcraft:eyeweed",
- height = 1,
- })
|