More progress on the texture update, like new grass plants, sandstone,
gravel, granite, andesite, clay
@ -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", {
|
||||
|
@ -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)
|
||||
|
@ -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")
|
||||
|
@ -1 +1 @@
|
||||
depends = pyutest_blocks
|
||||
depends = pyutest_blocks,pyutest_flowers
|
||||
|
@ -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"}
|
||||
},
|
||||
|
||||
|
@ -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({
|
||||
|
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 235 B |