change barley textures, increase steps to 8
@ -72,12 +72,6 @@ minetest.register_node("farming:barley_4", table.copy(def))
|
||||
|
||||
-- stage 5
|
||||
def.tiles = {"farming_barley_5.png"}
|
||||
def.drop = {
|
||||
items = {
|
||||
{items = {"farming:barley"}, rarity = 2},
|
||||
{items = {"farming:seed_barley"}, rarity = 2}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:barley_5", table.copy(def))
|
||||
|
||||
-- stage 6
|
||||
@ -85,13 +79,23 @@ def.tiles = {"farming_barley_6.png"}
|
||||
def.drop = {
|
||||
items = {
|
||||
{items = {"farming:barley"}, rarity = 2},
|
||||
{items = {"farming:seed_barley"}, rarity = 1}
|
||||
{items = {"farming:seed_barley"}, rarity = 2}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:barley_6", table.copy(def))
|
||||
|
||||
-- stage 7 (final)
|
||||
-- stage 7
|
||||
def.tiles = {"farming_barley_7.png"}
|
||||
def.drop = {
|
||||
items = {
|
||||
{items = {"farming:barley"}, rarity = 2},
|
||||
{items = {"farming:seed_barley"}, rarity = 1}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:barley_7", table.copy(def))
|
||||
|
||||
-- stage 8 (final)
|
||||
def.tiles = {"farming_barley_8.png"}
|
||||
def.groups.growing = nil
|
||||
def.selection_box = farming.select_final
|
||||
def.drop = {
|
||||
@ -102,7 +106,7 @@ def.drop = {
|
||||
{items = {"farming:seed_barley"}, rarity = 3}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:barley_7", table.copy(def))
|
||||
minetest.register_node("farming:barley_8", table.copy(def))
|
||||
|
||||
-- add to registered_plants
|
||||
farming.registered_plants["farming:barley"] = {
|
||||
@ -110,7 +114,7 @@ farming.registered_plants["farming:barley"] = {
|
||||
seed = "farming:seed_barley",
|
||||
minlight = farming.min_light,
|
||||
maxlight = farming.max_light,
|
||||
steps = 7
|
||||
steps = 8
|
||||
}
|
||||
|
||||
-- Fuel
|
||||
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 256 B |
BIN
textures/farming_barley_8.png
Normal file
After Width: | Height: | Size: 329 B |