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

Commit

Permalink
Fix grass _5 inventory images and drop the ones from grass _1-4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kilbith committed Nov 24, 2015
1 parent a1e5eda commit 9e9e9fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mods/default/nodes/grass.lua
Expand Up @@ -43,6 +43,7 @@ minetest.register_node("default:grass_5", {
drawtype = "plantlike",
waving = 1,
tiles = {"default_grass_5.png"},
inventory_image = "default_grass_3.png",
--wield_image = "default_grass_3.png",
paramtype = "light",
sunlight_propagates = true,
Expand All @@ -69,6 +70,7 @@ minetest.register_node("default:dry_grass_5", {
drawtype = "plantlike",
waving = 1,
tiles = {"default_dry_grass_5.png"},
inventory_image = "default_dry_grass_3.png",
--wield_image = "default_dry_grass_3.png",
paramtype = "light",
sunlight_propagates = true,
Expand Down Expand Up @@ -96,8 +98,6 @@ for i = 1, 4 do
drawtype = "plantlike",
waving = 1,
tiles = {"default_grass_" .. i .. ".png"},
inventory_image = "default_grass_" .. i .. ".png",
wield_image = "default_grass_" .. i .. ".png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
Expand All @@ -117,8 +117,6 @@ for i = 1, 4 do
drawtype = "plantlike",
waving = 1,
tiles = {"default_dry_grass_" .. i .. ".png"},
inventory_image = "default_dry_grass_" .. i .. ".png",
wield_image = "default_dry_grass_" .. i .. ".png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
Expand Down

0 comments on commit 9e9e9fc

Please sign in to comment.