Skip to content
This repository was archived by the owner on Dec 14, 2019. It is now read-only.

Commit 9e9e9fc

Browse files
committed
Fix grass _5 inventory images and drop the ones from grass _1-4
Grass _1-4 : if they're not in the creative_inventory and they always drop the grass _5 on digging -> no need to have an inventory/wield image.
1 parent a1e5eda commit 9e9e9fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mods/default/nodes/grass.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ minetest.register_node("default:grass_5", {
4343
drawtype = "plantlike",
4444
waving = 1,
4545
tiles = {"default_grass_5.png"},
46+
inventory_image = "default_grass_3.png",
4647
--wield_image = "default_grass_3.png",
4748
paramtype = "light",
4849
sunlight_propagates = true,
@@ -69,6 +70,7 @@ minetest.register_node("default:dry_grass_5", {
6970
drawtype = "plantlike",
7071
waving = 1,
7172
tiles = {"default_dry_grass_5.png"},
73+
inventory_image = "default_dry_grass_3.png",
7274
--wield_image = "default_dry_grass_3.png",
7375
paramtype = "light",
7476
sunlight_propagates = true,
@@ -96,8 +98,6 @@ for i = 1, 4 do
9698
drawtype = "plantlike",
9799
waving = 1,
98100
tiles = {"default_grass_" .. i .. ".png"},
99-
inventory_image = "default_grass_" .. i .. ".png",
100-
wield_image = "default_grass_" .. i .. ".png",
101101
paramtype = "light",
102102
sunlight_propagates = true,
103103
walkable = false,
@@ -117,8 +117,6 @@ for i = 1, 4 do
117117
drawtype = "plantlike",
118118
waving = 1,
119119
tiles = {"default_dry_grass_" .. i .. ".png"},
120-
inventory_image = "default_dry_grass_" .. i .. ".png",
121-
wield_image = "default_dry_grass_" .. i .. ".png",
122120
paramtype = "light",
123121
sunlight_propagates = true,
124122
walkable = false,

0 commit comments

Comments
 (0)