Add files via upload

This commit is contained in:
Skandarella 2021-02-21 21:13:59 +01:00 committed by GitHub
parent 0adb7923b8
commit dbc8794351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 79 deletions

View File

@ -81,79 +81,3 @@ mobs:spawn({
end
mobs:register_egg("animalworld:blackbird", ("Blackbird"), "ablackbird.png")
-- egg
minetest.register_node(":mobs:egg", {
description = ("Chicken Egg"),
tiles = {"mobs_chicken_egg.png"},
inventory_image = "mobs_chicken_egg.png",
visual_scale = 0.7,
drawtype = "plantlike",
wield_image = "mobs_chicken_egg.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
},
groups = {food_egg = 1, snappy = 2, dig_immediate = 3},
after_place_node = function(pos, placer, itemstack)
if placer:is_player() then
minetest.set_node(pos, {name = "mobs:egg", param2 = 1})
end
end,
on_use = mobs_shoot_egg
})
-- fried egg
minetest.register_craftitem(":animalworld:chicken_egg_fried", {
description = ("Bird Egg"),
inventory_image = "animalworld_chicken_egg_fried.png",
on_use = minetest.item_eat(2),
groups = {food_egg_fried = 1, flammable = 2},
})
minetest.register_craft({
type = "cooking",
recipe = "mobs:egg",
output = "animalworld:chicken_egg_fried",
})
-- raw chicken
minetest.register_craftitem(":animalworld:chicken_raw", {
description = ("Raw Bird Meat"),
inventory_image = "animalworld_chicken_raw.png",
on_use = minetest.item_eat(2),
groups = {food_meat_raw = 1, food_chicken_raw = 1, flammable = 2},
})
-- cooked chicken
minetest.register_craftitem(":animalworld:chicken_cooked", {
description = ("Cooked Bird Meat"),
inventory_image = "animalworld_chicken_cooked.png",
on_use = minetest.item_eat(6),
groups = {food_meat = 1, food_chicken = 1, flammable = 2},
})
minetest.register_craft({
type = "cooking",
recipe = "animalworld:chicken_raw",
output = "animalworld:chicken_cooked",
})
-- feather
minetest.register_craftitem(":animalworld:chicken_feather", {
description = ("Bird Feather"),
inventory_image = "animalworld_chicken_feather.png",
groups = {flammable = 2},
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:chicken_feather",
burntime = 1,
})

View File

@ -72,7 +72,6 @@ if not mobs.custom_spawn_animal then
mobs:spawn({
name = "animalworld:kangaroo",
nodes = {"default:desert_sand", "default:dry_dirt_with_dry_grass"},
neighbors = spawn_by,
min_light = 0,
interval = 60,
chance = 8000, -- 15000

View File

@ -81,7 +81,6 @@ if not mobs.custom_spawn_animal then
mobs:spawn({
name = "animalworld:lobster",
nodes = {"default:water_source"},
neighbors = spawn_by,
min_light = 0,
interval = 60,
chance = 8000, -- 15000

View File

@ -76,7 +76,6 @@ if not mobs.custom_spawn_animal then
mobs:spawn({
name = "animalworld:moose",
nodes = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
neighbors = spawn_by,
min_light = 0,
interval = 60,
chance = 8000, -- 15000