mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
Merge pull request 'Add shadow under grass texture like on paths' (#2472) from SumianVoice/MineClone2_c:add_shadow_on_dirt into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2472 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
cae53a8230
@ -361,7 +361,7 @@ minetest.register_node("mcl_core:dirt_with_grass", {
|
|||||||
_doc_items_longdesc = S("A grass block is dirt with a grass cover. Grass blocks are resourceful blocks which allow the growth of all sorts of plants. They can be turned into farmland with a hoe and turned into grass paths with a shovel. In light, the grass slowly spreads onto dirt nearby. Under an opaque block or a liquid, a grass block may turn back to dirt."),
|
_doc_items_longdesc = S("A grass block is dirt with a grass cover. Grass blocks are resourceful blocks which allow the growth of all sorts of plants. They can be turned into farmland with a hoe and turned into grass paths with a shovel. In light, the grass slowly spreads onto dirt nearby. Under an opaque block or a liquid, a grass block may turn back to dirt."),
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
tiles = {"mcl_core_grass_block_top.png", { name="default_dirt.png", color="white" }},
|
tiles = {"mcl_core_grass_block_top.png", { name="default_dirt.png^mcl_dirt_grass_shadow.png", color="white" }},
|
||||||
overlay_tiles = {"mcl_core_grass_block_top.png", "", {name="mcl_core_grass_block_side_overlay.png", tileable_vertical=false}},
|
overlay_tiles = {"mcl_core_grass_block_top.png", "", {name="mcl_core_grass_block_side_overlay.png", tileable_vertical=false}},
|
||||||
palette = "mcl_core_palette_grass.png",
|
palette = "mcl_core_palette_grass.png",
|
||||||
palette_index = 0,
|
palette_index = 0,
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 1.8 KiB |
BIN
mods/ITEMS/mcl_core/textures/mcl_dirt_grass_shadow.png
Normal file
BIN
mods/ITEMS/mcl_core/textures/mcl_dirt_grass_shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue
Block a user