mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-25 02:00:20 +01:00
Ethanol Bottle can now be placed
This commit is contained in:
parent
34f61731fa
commit
d2a9e695e1
16
corn.lua
16
corn.lua
@ -31,9 +31,21 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
-- ethanol (thanks to JKMurray for this idea)
|
||||
minetest.register_craftitem("farming:bottle_ethanol", {
|
||||
description = S("Bottle of Ethanol"),
|
||||
minetest.register_node("farming:bottle_ethanol", {
|
||||
description = "Bottle of Ethanol",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"farming_bottle_ethanol.png"},
|
||||
inventory_image = "farming_bottle_ethanol.png",
|
||||
wield_image = "farming_bottle_ethanol.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( {
|
||||
|
Loading…
Reference in New Issue
Block a user