1
0
mirror of https://github.com/AntumMT/mod-kpgmobs.git synced 2025-06-30 13:50:34 +02:00

5 Commits
v6 ... antum

Author SHA1 Message Date
b7c25748fc cow drops 'mobs:leather' 2017-05-28 17:09:25 -07:00
a99b55dccf deer & wolf drop 'animalmaterials:bone' 2017-05-28 17:09:19 -07:00
0a12498eff Move 'kpgmobs:uley' craft registration 2017-05-28 17:09:13 -07:00
da0285cf01 Disable sheep:
- Using sheep from 'creatures_mob_engine'
2017-05-28 17:09:07 -07:00
98003e4f89 Initialize local variable 'v' to '0' 2017-05-28 17:09:01 -07:00
2 changed files with 25 additions and 7 deletions

View File

@ -1 +1,3 @@
default
mobs
animalmaterials

View File

@ -1,5 +1,7 @@
dofile(minetest.get_modpath("kpgmobs").."/api.lua")
local v = 0
minetest.register_node("kpgmobs:uley", {
description = "Uley",
drawtype = "plantlike",
@ -21,13 +23,6 @@ minetest.register_node("kpgmobs:uley", {
})
minetest.register_craft({
output = 'kpgmobs:uley',
recipe = {
{'kpgmobs:bee','kpgmobs:bee','kpgmobs:bee'},
}
})
--HORSE go go goooo :)
local horse = {
@ -474,6 +469,7 @@ end
--END HORSE
--[[ DISABLE sheep (using sheep from creatures_mod_engine)
kpgmobs:register_mob("kpgmobs:sheep", {
type = "animal",
hp_max = 5,
@ -546,6 +542,7 @@ kpgmobs:register_mob("kpgmobs:sheep", {
end,
})
kpgmobs:register_spawn("kpgmobs:sheep", {"default:dirt_with_grass"}, 20, 8, 9000, 1, 31000)
--]]
minetest.register_craftitem("kpgmobs:meat_raw", {
@ -671,6 +668,13 @@ minetest.register_craftitem("kpgmobs:med_cooked", {
})
minetest.register_craft({
output = 'kpgmobs:uley',
recipe = {
{'kpgmobs:bee','kpgmobs:bee','kpgmobs:bee'},
}
})
minetest.register_craft({
type = "cooking",
output = "kpgmobs:med_cooked",
@ -693,6 +697,10 @@ kpgmobs:register_mob("kpgmobs:deer", {
chance = 1,
min = 2,
max = 3,},
{name = "animalmaterials:bone",
chance = 0.5,
min = 1,
max = 1,},
},
drawtype = "front",
water_damage = 1,
@ -813,6 +821,10 @@ kpgmobs:register_mob("kpgmobs:wolf", {
chance = 1,
min = 2,
max = 3,},
{name = "animalmaterials:bone",
chance = 0.75,
min = 1,
max = 1,},
},
drawtype = "front",
water_damage = 1,
@ -1039,6 +1051,10 @@ kpgmobs:register_mob("kpgmobs:cow", {
chance = 1,
min = 5,
max = 10,},
{name = 'mobs:leather',
chance = 1,
min = 1,
max = 1,},
},
drawtype = "front",
water_damage = 1,