forked from mtcontrib/christmas_craft
Compare commits
7 Commits
4835ba258e
...
master
Author | SHA1 | Date | |
---|---|---|---|
4a9b79e933 | |||
9c88d44223 | |||
c6cbae450b | |||
0acdd5435b | |||
63627b0c5b | |||
b8b5339bc1 | |||
da17b6365c |
@ -1,6 +0,0 @@
|
||||
default
|
||||
youngtrees?
|
||||
bushes?
|
||||
woodsoils?
|
||||
flowers?
|
||||
moretrees?
|
5
mod.conf
Normal file
5
mod.conf
Normal 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
|
@ -101,7 +101,7 @@ minetest.register_node("christmas_craft:glass_bauble",{
|
||||
},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
node_box = {
|
||||
|
12
snow.lua
12
snow.lua
@ -114,8 +114,20 @@ if minetest.get_modpath("moretrees") then
|
||||
"moretrees_"..leaves.."_leaves.png^christmas_snow_leaves.png"
|
||||
}})
|
||||
end
|
||||
|
||||
-- fir with bright needles
|
||||
minetest.override_item("moretrees:fir_leaves_bright", {
|
||||
tiles = {
|
||||
"moretrees_fir_leaves_bright.png^christmas_snow_leaves.png"
|
||||
}})
|
||||
end
|
||||
|
||||
-- Replace apple by the snow version
|
||||
minetest.override_item("default:apple", {
|
||||
tiles = {"snow_apple.png"},
|
||||
inventory_image = "snow_apple.png"
|
||||
})
|
||||
|
||||
-- replace grass
|
||||
for i=1,5 do
|
||||
minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}})
|
||||
|
Reference in New Issue
Block a user