Correction de bugs et ajout de plusieurs choses

This commit is contained in:
2020-01-05 04:20:08 +01:00
parent 3a9de93cc0
commit 4e94d4e140
41 changed files with 44 additions and 45 deletions

View File

@@ -38,6 +38,26 @@ minetest.override_item(
sounds = data.sounds,
})
minetest.override_item(
"default:dry_dirt_with_dry_grass", {
tiles = {"default_snow.png", "default_dry_dirt.png",
{name = "default_dry_dirt.png^default_snow_side.png",
tileable_vertical = false}},
sounds = data.sounds,
})
minetest.override_item(
"default:dirt_with_rainforest_litter", {
tiles = data.tiles,
sounds = data.sounds,
})
minetest.override_item(
"default:dirt_with_coniferous_litter", {
tiles = data.tiles,
sounds = data.sounds,
})
local nodebox = {
type = "fixed",
fixed = {
@@ -62,6 +82,7 @@ minetest.override_item("default:bush_leaves", leavesoverride)
-- replace grass
for i=1,5 do
minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}})
minetest.override_item("default:dry_grass_" .. i, {tiles = {"christmas_dry_grass_"..i..".png"}})
end
-- Replace junglegrass
@@ -95,7 +116,7 @@ if minetest.registered_items["woodsoils:dirt_with_leaves_2"] then
end
-- replace flowers
for _,name in pairs({"dandelion_yellow", "geranium", "rose", "tulip", "dandelion_white", "viola"}) do
for _,name in pairs({"dandelion_yellow", "geranium", "rose", "tulip", "dandelion_white", "viola", "chrysanthemum_green", "tulip_black"}) do
local flowername = "flowers:"..name
local tiles = { "snow_" .. name .. ".png" }
minetest.override_item(flowername, { tiles = tiles })