mirror of
https://bitbucket.org/kingarthursteam/christmas_craft.git
synced 2025-11-30 12:13:46 +01:00
Correction de bugs et ajout de plusieurs choses
This commit is contained in:
23
snow.lua
23
snow.lua
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user