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:
parent
58cde21ade
commit
45d4f97dba
|
@ -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"},
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user