mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-01-12 10:50:20 +01:00
Make hemp oil bottle placable
This commit is contained in:
parent
d2a9e695e1
commit
d8d2fe86d6
2
corn.lua
2
corn.lua
@ -32,7 +32,7 @@ minetest.register_craft({
|
|||||||
|
|
||||||
-- ethanol (thanks to JKMurray for this idea)
|
-- ethanol (thanks to JKMurray for this idea)
|
||||||
minetest.register_node("farming:bottle_ethanol", {
|
minetest.register_node("farming:bottle_ethanol", {
|
||||||
description = "Bottle of Ethanol",
|
description = S("Bottle of Ethanol"),
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
tiles = {"farming_bottle_ethanol.png"},
|
tiles = {"farming_bottle_ethanol.png"},
|
||||||
inventory_image = "farming_bottle_ethanol.png",
|
inventory_image = "farming_bottle_ethanol.png",
|
||||||
|
16
hemp.lua
16
hemp.lua
@ -26,9 +26,21 @@ minetest.register_craftitem("farming:hemp_leaf", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- hemp oil
|
-- hemp oil
|
||||||
minetest.register_craftitem("farming:hemp_oil", {
|
minetest.register_node("farming:hemp_oil", {
|
||||||
description = S("Hemp Oil"),
|
description = S("Bottle of Hemp Oil"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_hemp_oil.png"},
|
||||||
inventory_image = "farming_hemp_oil.png",
|
inventory_image = "farming_hemp_oil.png",
|
||||||
|
wield_image = "farming_hemp_oil.png",
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = false,
|
||||||
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||||
|
},
|
||||||
|
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
|
Loading…
Reference in New Issue
Block a user