Update 'mods/farming/crops/groundapple.lua'
This commit is contained in:
parent
00d9ada0a5
commit
34b57766f4
|
@ -4,7 +4,7 @@ local S = farming.intllib
|
||||||
-- groundapple
|
-- groundapple
|
||||||
minetest.register_craftitem("farming:groundapple", {
|
minetest.register_craftitem("farming:groundapple", {
|
||||||
description = S("Groundapple"),
|
description = S("Groundapple"),
|
||||||
inventory_image = "farming_groundapple.png",
|
inventory_image = "groundapple.png",
|
||||||
groups = {seed = 2, food_groundapple = 1, flammable = 2},
|
groups = {seed = 2, food_groundapple = 1, flammable = 2},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:groundapple_1")
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:groundapple_1")
|
||||||
|
@ -14,7 +14,7 @@ minetest.register_craftitem("farming:groundapple", {
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
tiles = {"farming_groundapple_1.png"},
|
tiles = {"groundapple_1.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
waving = 1,
|
waving = 1,
|
||||||
|
@ -33,23 +33,23 @@ local def = {
|
||||||
minetest.register_node("farming:groundapple_1", table.copy(def))
|
minetest.register_node("farming:groundapple_1", table.copy(def))
|
||||||
|
|
||||||
-- stage 2
|
-- stage 2
|
||||||
def.tiles = {"farming_groundapple_2.png"}
|
def.tiles = {"groundapple_2.png"}
|
||||||
minetest.register_node("farming:groundapple_2", table.copy(def))
|
minetest.register_node("farming:groundapple_2", table.copy(def))
|
||||||
|
|
||||||
-- stage 3
|
-- stage 3
|
||||||
def.tiles = {"farming_groundapple_3.png"}
|
def.tiles = {"groundapple_3.png"}
|
||||||
minetest.register_node("farming:groundapple_3", table.copy(def))
|
minetest.register_node("farming:groundapple_3", table.copy(def))
|
||||||
|
|
||||||
-- stage 4
|
-- stage 4
|
||||||
def.tiles = {"farming_groundapple_4.png"}
|
def.tiles = {"groundapple_4.png"}
|
||||||
minetest.register_node("farming:groundapple_4", table.copy(def))
|
minetest.register_node("farming:groundapple_4", table.copy(def))
|
||||||
|
|
||||||
-- stage 5
|
-- stage 5
|
||||||
def.tiles = {"farming_groundapple_5.png"}
|
def.tiles = {"groundapple_5.png"}
|
||||||
minetest.register_node("farming:groundapple_5", table.copy(def))
|
minetest.register_node("farming:groundapple_5", table.copy(def))
|
||||||
|
|
||||||
-- stage 6
|
-- stage 6
|
||||||
def.tiles = {"farming_groundapple_6.png"}
|
def.tiles = {"groundapple_6.png"}
|
||||||
def.groups.growing = nil
|
def.groups.growing = nil
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 2, items = {
|
max_items = 2, items = {
|
||||||
|
|
Loading…
Reference in New Issue