1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 01:50:25 +01:00

[christmas_craft] Adjust the amount of snow needed/given

This commit is contained in:
LeMagnesium 2015-12-23 18:51:11 +01:00
parent 58cde21ade
commit 45d4f97dba
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,9 @@ minetest.register_craft({
minetest.register_craft({
output = "christmas_craft:snow_block",
recipe = {
{"default:snow","default:snow"},
{"default:snow","default:snow"},
{"default:snow","default:snow","default:snow"},
{"default:snow","default:snow","default:snow"},
{"default:snow","default:snow","default:snow"},
}
})
@ -52,7 +53,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "default:snow 4",
output = "default:snow 9",
recipe = {
{"christmas_craft:snow_block"},
}

View File

@ -119,7 +119,6 @@ function snow_snowball_ENTITY.on_step(self, dtime)
if self.timer > 0.15 then
for i, v in pairs(minetest.get_objects_inside_radius(self.object:getpos(), 1)) do
if v ~= self.object and v:get_entity_name() ~= "__builtin:item" then
print("moo")
v:punch(minetest.get_player_by_name(self.thrower), 1.0,{full_punch_interval=1.0, damage_groups = {fleshy=1} })
minetest.add_item(self.object:getpos(), "default:snow")
self.object:remove()