More progress on the texture update, like new grass plants, sandstone,

gravel, granite, andesite, clay
This commit is contained in:
IamPyu 2024-10-09 19:33:15 -06:00
parent b8ed19d598
commit e4647f8757
14 changed files with 15 additions and 6 deletions

View File

@ -5,7 +5,8 @@ PyuTest.make_flower = function (name, desc, texture, dye, add_to_registry, drawt
flower = 1,
attached_node = 3,
dig_immediate = 1,
oddly_breakable_by_hand = PyuTest.BLOCK_FAST
oddly_breakable_by_hand = PyuTest.BLOCK_FAST,
snappy = PyuTest.BLOCK_FAST
}, {texture}, PyuTest.util.tableconcat({
drawtype = drawtype or "plantlike",
walkable = false,
@ -37,7 +38,6 @@ PyuTest.make_flower("pyutest_flowers:blue_daisy", "Blue Daisy", "pyutest-flower3
PyuTest.make_flower("pyutest_flowers:lavender", "Lavender", "pyutest-flower4.png", "pyutest_flowers:purple_dye", true)
PyuTest.make_flower("pyutest_flowers:deadbush", "Deadbush", "pyutest-deadbush.png", "pyutest_flowers:brown_dye")
PyuTest.make_flower("pyutest_flowers:grass_plant", "Grass", "pyutest-grass-plant.png", "pyutest_flowers:green_dye")
PyuTest.make_flower("pyutest_flowers:sugarcane", "Sugarcane", "pyutest-sugarcane.png", "pyutest_flowers:green_dye", false, nil)
PyuTest.make_node("pyutest_flowers:lilypad", "Lily Pad", {

View File

@ -28,7 +28,7 @@ PyuTest.make_node("pyutest_furnace:furnace", "Furnace", {
}, {
is_ground_content = false,
paramtype2 = "facedir",
on_construct = function(pos, placer)
on_construct = function(pos)
local meta = minetest.get_meta(pos)
local inventory = meta:get_inventory()
inventory:set_size("src", 1)

View File

@ -9,6 +9,10 @@ PyuTest.make_grass = function (name, desc, groups, color, ttex, stex, dtex)
}), {
overlay_tiles = {"", "", _stex}
})
PyuTest.make_flower(name.."_plant", desc .. " Plant", "pyutest-grass-plant.png", nil, false, nil, {
color = color
})
end
PyuTest.make_grass("pyutest_grass:grass", "Grass", {
@ -42,3 +46,8 @@ PyuTest.make_grass("pyutest_grass:jungle_grass", "Jungle Grass", {
crumbly = PyuTest.BLOCK_FAST,
acid_vulnerable = 1,
}, "#3b562d")
PyuTest.make_grass("pyutest_grass:snowy_grass", "Snowy Grass", {
crumbly = PyuTest.BLOCK_FAST,
acid_vulnerable = 1,
}, "#f2f6fb")

View File

@ -1 +1 @@
depends = pyutest_blocks
depends = pyutest_blocks,pyutest_flowers

View File

@ -12,7 +12,7 @@ minetest.override_item("pyutest_blocks:gravel_block", {
max_items = 1,
items = {
{
rarity = 2.1,
rarity = 3.1,
items = {"pyutest_tools:flint"}
},

View File

@ -23,7 +23,7 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.048,
biomes = {"grassland"},
decoration = "pyutest_flowers:grass_plant"
decoration = "pyutest_grass:grass_plant"
})
minetest.register_decoration({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 235 B