Compare commits

7 Commits

Author SHA1 Message Date
4a9b79e933 Merge remote-tracking branch 'upstream/master' 2024-09-15 08:42:34 +02:00
Nico Schönerstedt
9c88d44223 fixed use_texture_alpha of glass_bauble 2024-08-06 21:14:03 +02:00
Nico Schönerstedt
c6cbae450b added mod.conf, fixed use_texture_alpha 2024-08-06 21:03:42 +02:00
Nico Schönerstedt
0acdd5435b added mod.conf, fixed use_texture_alpha 2024-08-06 20:59:18 +02:00
63627b0c5b Delete depends.txt, add mod.conf 2022-07-07 21:36:24 +02:00
b8b5339bc1 Fix deprecated use of use_texture_alpha 2021-03-21 11:27:53 +01:00
da17b6365c Add christmas_craft support to fir leaves bright and apple 2021-01-02 22:05:23 +01:00
4 changed files with 18 additions and 7 deletions

View File

@@ -1,6 +0,0 @@
default
youngtrees?
bushes?
woodsoils?
flowers?
moretrees?

5
mod.conf Normal file
View File

@@ -0,0 +1,5 @@
name = christmas_craft
title = Christmas Craft
description = Bring the joy of Christmas to Minetest. This mod adds Christmas related things such as presents, baubles , decorations and more, also the mod can also allows you to cover the grass with snow, and make things such as snowmen. You can even have a snowball fight!
depends = default
optional_depends = youngtrees,bushes,woodsoils,flowers,moretrees

View File

@@ -101,7 +101,7 @@ minetest.register_node("christmas_craft:glass_bauble",{
}, },
is_ground_content = true, is_ground_content = true,
paramtype = "light", paramtype = "light",
use_texture_alpha = true, use_texture_alpha = "blend",
groups = {crumbly=3}, groups = {crumbly=3},
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
node_box = { node_box = {

View File

@@ -114,8 +114,20 @@ if minetest.get_modpath("moretrees") then
"moretrees_"..leaves.."_leaves.png^christmas_snow_leaves.png" "moretrees_"..leaves.."_leaves.png^christmas_snow_leaves.png"
}}) }})
end end
-- fir with bright needles
minetest.override_item("moretrees:fir_leaves_bright", {
tiles = {
"moretrees_fir_leaves_bright.png^christmas_snow_leaves.png"
}})
end end
-- Replace apple by the snow version
minetest.override_item("default:apple", {
tiles = {"snow_apple.png"},
inventory_image = "snow_apple.png"
})
-- replace grass -- replace grass
for i=1,5 do for i=1,5 do
minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}}) minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}})