Adjust bee spawns and pie recipes.
This commit is contained in:
parent
8f4c8f7668
commit
323bf1d0ca
3 changed files with 39 additions and 21 deletions
2
abms.lua
2
abms.lua
|
@ -527,7 +527,7 @@ minetest.register_abm({
|
|||
minetest.register_abm({
|
||||
nodenames = {"default:leaves"},
|
||||
interval = 20 * time_factor,
|
||||
chance = 100,
|
||||
chance = 200,
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
if not (pos and node) then
|
||||
|
|
2
mobs.lua
2
mobs.lua
|
@ -364,7 +364,7 @@ mobs:register_mob("fun_caves:star", {
|
|||
mobs:spawn_specific("fun_caves:star", {'default:stone', 'fun_caves:asteroid_water'}, {'fun_caves:vacuum'}, -1, 20, nil, 300, 2, 11168, 15168, nil)
|
||||
|
||||
if minetest.registered_entities["mobs:bee"] then
|
||||
mobs:register_spawn("mobs_animal:bee", {"group:flower"}, 20, 10, 4000, 1, 31000, true)
|
||||
mobs:register_spawn("mobs_animal:bee", {"group:flower"}, 20, 10, 300, 1, 31000, true)
|
||||
|
||||
local function bee_summon(self)
|
||||
if not (self and self.state == 'attack') then
|
||||
|
|
56
nodes.lua
56
nodes.lua
|
@ -277,7 +277,41 @@ minetest.register_craftitem("fun_caves:apple_pie_uncooked", {
|
|||
inventory_image = "fun_caves_apple_pie_uncooked.png",
|
||||
})
|
||||
|
||||
if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then
|
||||
minetest.register_craft({
|
||||
output = 'fun_caves:apple_pie_uncooked',
|
||||
type = 'shapeless',
|
||||
recipe = {
|
||||
'default:apple',
|
||||
'default:apple',
|
||||
'farming:flour',
|
||||
'fun_caves:syrup',
|
||||
'fun_caves:syrup',
|
||||
'fun_caves:syrup',
|
||||
},
|
||||
replacements = {
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
},
|
||||
})
|
||||
|
||||
if minetest.registered_items['mobs:bucket_milk'] then
|
||||
minetest.register_craft({
|
||||
output = 'fun_caves:apple_pie_uncooked',
|
||||
type = 'shapeless',
|
||||
recipe = {
|
||||
'default:apple',
|
||||
'default:apple',
|
||||
'farming:flour',
|
||||
'mobs:bucket_milk',
|
||||
},
|
||||
replacements = {
|
||||
{'mobs:bucket_milk', 'fun_caves:bucket_empty'},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.registered_items['mobs:honey'] then
|
||||
minetest.register_craft({
|
||||
output = 'fun_caves:apple_pie_uncooked',
|
||||
type = 'shapeless',
|
||||
|
@ -288,7 +322,9 @@ if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then
|
|||
'mobs:honey',
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.registered_items['mobs:meat_raw'] then
|
||||
minetest.register_craftitem("fun_caves:meat_pie_uncooked", {
|
||||
description = "Uncooked Meat Pie",
|
||||
inventory_image = "fun_caves_meat_pie_uncooked.png",
|
||||
|
@ -402,24 +438,6 @@ minetest.register_node("fun_caves:onion", {
|
|||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'fun_caves:apple_pie_uncooked',
|
||||
type = 'shapeless',
|
||||
recipe = {
|
||||
'default:apple',
|
||||
'default:apple',
|
||||
'farming:flour',
|
||||
'fun_caves:syrup',
|
||||
'fun_caves:syrup',
|
||||
'fun_caves:syrup',
|
||||
},
|
||||
replacements = {
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
{'fun_caves:syrup', 'vessels:glass_bottle'},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 15,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue