1
0
Fork 0

Merge pull request 'Add Seagrass Item Texture' (#3088) from FossFanatic/MineClone2:seagrass_item_image_fix into master

Reviewed-on: MineClone2/MineClone2#3088
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
This commit is contained in:
ancientmarinerdev 2022-12-11 02:29:06 +00:00
commit bf34ca5f50
2 changed files with 5 additions and 5 deletions

View File

@ -82,8 +82,8 @@ minetest.register_craftitem("mcl_ocean:seagrass", {
description = S("Seagrass"), description = S("Seagrass"),
_tt_help = S("Grows in water on dirt, sand, gravel"), _tt_help = S("Grows in water on dirt, sand, gravel"),
_doc_items_create_entry = false, _doc_items_create_entry = false,
inventory_image = "mcl_ocean_seagrass.png^[verticalframe:12:0", inventory_image = "mcl_ocean_seagrass_item.png",
wield_image = "mcl_ocean_seagrass.png^[verticalframe:12:0", wield_image = "mcl_ocean_seagrass_item.png",
on_place = seagrass_on_place, on_place = seagrass_on_place,
groups = {deco_block = 1, compostability = 30}, groups = {deco_block = 1, compostability = 30},
}) })
@ -106,7 +106,7 @@ for s=1, #surfaces do
doc_longdesc = S("Seagrass grows inside water on top of dirt, sand or gravel.") doc_longdesc = S("Seagrass grows inside water on top of dirt, sand or gravel.")
desc = S("Seagrass") desc = S("Seagrass")
doc_create = true doc_create = true
doc_img = "mcl_ocean_seagrass.png^[verticalframe:12:0" doc_img = "mcl_ocean_seagrass_item.png"
else else
doc_create = false doc_create = false
end end
@ -126,8 +126,8 @@ for s=1, #surfaces do
animation = {type="vertical_frames", aspect_w=16, aspect_h=16, length=1.0}, animation = {type="vertical_frames", aspect_w=16, aspect_h=16, length=1.0},
} }
}, },
inventory_image = "("..def.tiles[1]..")^(mcl_ocean_seagrass.png^[verticalframe:12:0)", inventory_image = "mcl_ocean_seagrass_item.png",
wield_image = "mcl_ocean_seagrass.png^[verticalframe:12:0", wield_image = "mcl_ocean_seagrass_item.png",
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B