1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-28 03:30:19 +01:00

change barley textures, increase steps to 8

This commit is contained in:
tenplus1 2022-11-14 18:06:56 +00:00
parent fd89705307
commit 962bb6aeff
10 changed files with 14 additions and 10 deletions

View File

@ -72,12 +72,6 @@ minetest.register_node("farming:barley_4", table.copy(def))
-- stage 5 -- stage 5
def.tiles = {"farming_barley_5.png"} 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)) minetest.register_node("farming:barley_5", table.copy(def))
-- stage 6 -- stage 6
@ -85,13 +79,23 @@ def.tiles = {"farming_barley_6.png"}
def.drop = { def.drop = {
items = { items = {
{items = {"farming:barley"}, rarity = 2}, {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)) minetest.register_node("farming:barley_6", table.copy(def))
-- stage 7 (final) -- stage 7
def.tiles = {"farming_barley_7.png"} 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.groups.growing = nil
def.selection_box = farming.select_final def.selection_box = farming.select_final
def.drop = { def.drop = {
@ -102,7 +106,7 @@ def.drop = {
{items = {"farming:seed_barley"}, rarity = 3} {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 -- add to registered_plants
farming.registered_plants["farming:barley"] = { farming.registered_plants["farming:barley"] = {
@ -110,7 +114,7 @@ farming.registered_plants["farming:barley"] = {
seed = "farming:seed_barley", seed = "farming:seed_barley",
minlight = farming.min_light, minlight = farming.min_light,
maxlight = farming.max_light, maxlight = farming.max_light,
steps = 7 steps = 8
} }
-- Fuel -- Fuel

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B