Add files via upload

master
Skandarella 2021-04-13 16:36:37 +02:00 committed by GitHub
parent da2933a627
commit 7784b9e83c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
45 changed files with 1364 additions and 38 deletions

View File

@ -26,6 +26,8 @@ Lincense for original Code (mobs redo + mobs_animal): (MIT) Copyright (c) 2014 K
Modified Code by Liil/Wilhelmine/Liil (c) 2021
Textures, Models and Animation by Liil/Wilhelmine/Liil under (MIT) License (c) 2021
Sounds are from freesound.org under Creative Commons License. Thanks to Lauramel, Gleith, Theveomammoth11, Vataa, D-Jones, Pol, Robinhood76,
sesmo42, Missburusdeer2011, Hazure, Inspectorj, Benboncan, Spookymodem, Drobiumdesign, J-zazvurek, Benboncan, Felix-blume, Sihil, Kabit, Roubignolle, Egomassive, Florianreichelt, Fxasc, Extrafon, Cognito-perceptu, Jjbubo, Blessedcup, Jaegrover, Yks and Pillonoise for the sounds!
Beluga and Leopard Seal sound by Liil/Wilhelmine/Liil.
Other sounds are from freesound.org under Creative Commons License. Thanks to Lauramel, Gleith, Theveomammoth11, Vataa, D-Jones, Pol, Robinhood76,
sesmo42, Missburusdeer2011, Hazure, Inspectorj, Benboncan, Spookymodem, Drobiumdesign, J-zazvurek, Benboncan, Felix-blume, Sihil, Kabit, Roubignolle,
Egomassive, Florianreichelt, Fxasc, Extrafon, Cognito-perceptu, Jjbubo, Blessedcup, Jaegrover, Yks, Pillonoise, Traade, Tilano408, j0ck0, Mings, Befig and Stackpool for the sounds!
Thanks to Nagaty Studio for the Hyena Sounds! Source: https://www.youtube.com/c/NagatyStudio/about

View File

@ -24,7 +24,7 @@ mobs:register_mob("animalworld:anteater", {
walk_velocity = 0.7,
run_velocity = 2,
runaway = false,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion",},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -23,7 +23,7 @@ stepheight = 3,
walk_velocity = 5,
run_velocity = 6,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
fall_speed = 0,
jump = true,
jump_height = 6,

View File

@ -46,7 +46,7 @@ stepheight = 1,
},
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"ethereal:fish_raw", "animalworld:whalemeat_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "xocean:fish_edible", "farming:melon_slice", "farming:melon_slice", "water_life:meat_raw", "water_life:meat_raw", "fishing:fish_raw", "animalworld:chicken_raw"
},
view_range = 8,

127
beluga.lua Normal file
View File

@ -0,0 +1,127 @@
mobs:register_mob("animalworld:beluga", {
stepheight = 1,
type = "animal",
passive = true,
attack_type = "dogfight",
group_attack = true,
owner_loyal = true,
attack_npcs = false,
reach = 2,
damage = 1,
hp_min = 250,
hp_max = 455,
armor = 100,
collisionbox = {-0.8, -0.01, -0.8, 0.8, 1.2, 0.8},
visual = "mesh",
mesh = "Beluga.b3d",
textures = {
{"texturebeluga.png"},
},
makes_footstep_sound = true,
sounds = {
random = "animalworld_beluga",
attack = "animalworld_beluga2",
damage = "animalworld_beluga3",
death = "animalworld_beluga4",
},
walk_velocity = 2,
run_velocity = 5,
fly = true,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
jump = true,
jump_height = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
pushable = true,
follow = {
"mobs:meat_raw", "animalworld:rawfish", "xocean:fish_edible", "ethereal:fish_raw", "mobs:clownfish_raw", "mobs:bluefish_raw", "fishing:bait_worm", "fishing:clownfish_raw", "fishing:bluewhite_raw", "fishing:exoticfish_raw", "fishing:fish_raw", "fishing:carp_raw", "fishing:perch_raw", "water_life:meat_raw", "fishing:shark_raw", "fishing:pike_raw", "animalworld:rawmollusk", "nativevillages:catfish_raw"
},
view_range = 15,
drops = {
{name = "animalworld:whaleblubber", chance = 1, min = 3, max = 10},
{name = "animalworld:whalemeat_raw", chance = 1, min = 3, max = 10},
},
water_damage = 0,
air_damage = 1,
lava_damage = 5,
light_damage = 0,
fear_height = 0,
animation = {
speed_normal = 50,
stand_start = 0,
stand_end = 100,
fly_start = 150,
fly_end = 250,
fly2_start = 250,
fly2_end = 350,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:beluga",
nodes = {"default:water_source"},
neighbors = {"default:ice", "default:snowblock"},
min_light = 0,
interval = 30,
chance = 2, -- 15000
active_object_count = 3,
min_height = -15,
max_height = 1,
})
end
mobs:register_egg("animalworld:beluga", ("Beluga Whale"), "abeluga.png")
mobs:alias_mob("animalworld:beluga", "animalworld:beluga") -- compatibility
-- raw whale
minetest.register_craftitem(":animalworld:whalemeat_raw", {
description = ("Raw Whale Meat"),
inventory_image = "animalworld_whalemeat_raw.png",
on_use = minetest.item_eat(4),
groups = {food_meat_raw = 1, flammable = 2},
})
-- cooked whale
minetest.register_craftitem(":animalworld:whalemeat_cooked", {
description = ("Cooked Whale Meat"),
inventory_image = "animalworld_whalemeat_cooked.png",
on_use = minetest.item_eat(8),
groups = {food_meat = 1, flammable = 2},
})
minetest.register_craft({
type = "cooking",
output = "animalworld:whalemeat_cooked",
recipe = "animalworld:whalemeat_raw",
cooktime = 2,
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:whaleblubber",
burntime = 10,
})
minetest.register_craftitem("animalworld:whaleblubber", {
description = ("Whale Blubber"),
inventory_image = "animalworld_whaleblubber.png",
})

View File

@ -23,7 +23,7 @@ stepheight = 3,
walk_velocity = 2,
run_velocity = 4,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 6,
stepheight = 3,

View File

@ -25,7 +25,7 @@ mobs:register_mob("animalworld:camel", {
walk_velocity = 2,
run_velocity = 5,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -24,7 +24,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

View File

@ -25,7 +25,7 @@ stepheight = 1,
walk_velocity = 0.7,
run_velocity = 1,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 6,
drops = {

View File

@ -4,4 +4,5 @@ ethereal?
xocean?
farming?
fishing?
hunger_ng?
hunger_ng?
nativevillages?

89
fox.lua Normal file
View File

@ -0,0 +1,89 @@
mobs:register_mob("animalworld:fox", {
stepheight = 1,
type = "animal",
passive = false,
attack_type = "dogfight",
group_attack = true,
owner_loyal = true,
attack_npcs = false,
reach = 2,
damage = 3,
hp_min = 10,
hp_max = 25,
armor = 100,
collisionbox = {-0.5, -0.01, -0.5, 0.5, 0.95, 0.5},
visual = "mesh",
mesh = "Fox.b3d",
textures = {
{"texturefox.png"},
{"texturefox2.png"},
{"texturefox3.png"},
},
makes_footstep_sound = true,
sounds = {
random = "animalworld_fox3",
attack = "animalworld_fox",
damage = "animalworld_fox2",
},
walk_velocity = 2,
run_velocity = 3,
jump = true,
jump_height = 6,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
pushable = true,
follow = {"default:apple", "farming:potato", "ethereal:banana_bread", "farming:melon_slice", "farming:carrot", "farming:seed_rice", "farming:corn", "ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "xocean:fish_edible", "fishing:fish_raw", "water_life:meat_raw", "fishing:carp_raw", "animalworld:chicken_raw"},
view_range = 12,
drops = {
{name = "mobs:leather", chance = 7, min = 1, max = 1},
},
water_damage = 1,
lava_damage = 5,
light_damage = 0,
fear_height = 2,
animation = {
speed_normal = 120,
stand_speed = 50,
stand_start = 0,
stand_end = 100,
stand2_start = 100,
stand2_end = 200,
walk_start = 200,
walk_end = 300,
punch_start = 300,
punch_end = 400,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:fox",
nodes = {"default:permafrost", "default:permafrost_with_moss", "default:permafrost_with_stones"},
neighbors = {"animalworld:animalworld_tundrashrub1"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 2,
min_height = 1,
max_height = 80,
})
end
mobs:register_egg("animalworld:fox", ("Fox"), "afox.png")
mobs:alias_mob("animalworld:fox", "animalworld:fox") -- compatibility

View File

@ -22,7 +22,7 @@ sounds = {
walk_velocity = 2,
run_velocity = 3,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 6,
drops = {

View File

@ -25,7 +25,7 @@ mobs:register_mob("animalworld:gnu", {
walk_velocity = 1,
run_velocity = 4,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -24,7 +24,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

View File

@ -22,7 +22,7 @@ mobs:register_mob("animalworld:goldenmole", {
},
walk_velocity = 1,
run_velocity = 3,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
jump_height = 6,
pushable = true,

View File

@ -20,7 +20,7 @@ stepheight = 1,
walk_velocity = 3,
run_velocity = 6,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 6,
drops = {

View File

@ -71,4 +71,10 @@ hunger_ng.add_hunger_data('animalworld:egg', {
hunger_ng.add_hunger_data('animalworld:bugice', {
satiates = 1.0,
})
hunger_ng.add_hunger_data('animalworld:whalemeat_raw', {
satiates = 5.0,
})
hunger_ng.add_hunger_data('animalworld:whalemeat_cooked', {
satiates = 15.0,
})
end

View File

@ -72,6 +72,15 @@ dofile(path .. "treelobster.lua") --
dofile(path .. "notoptera.lua") --
dofile(path .. "seahorse.lua") --
dofile(path .. "trophies.lua") --
dofile(path .. "tundravegetation.lua") --
dofile(path .. "polarbear.lua") --
dofile(path .. "muskox.lua") --
dofile(path .. "fox.lua") --
dofile(path .. "beluga.lua") --
dofile(path .. "leopardseal.lua") --
dofile(path .. "stellerseagle.lua") --
dofile(path .. "otter.lua") --
dofile(path .. "monkey.lua") --
dofile(path .. "hunger.lua") --

View File

@ -22,7 +22,7 @@ mobs:register_mob("animalworld:kangaroo", {
walk_velocity = 5,
run_velocity = 5,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 8,
pushable = true,

83
leopardseal.lua Normal file
View File

@ -0,0 +1,83 @@
mobs:register_mob("animalworld:leopardseal", {
stepheight = 0.6,
type = "monster",
passive = false,
attack_type = "dogfight",
attack_animals = true,
reach = 2,
damage = 5,
hp_min = 20,
hp_max = 55,
armor = 100,
collisionbox = {-0.4, -0.01, -0.4, 0.8, 0.6, 0.4},
visual = "mesh",
mesh = "Leopardseal.b3d",
visual_size = {x = 1.0, y = 1.0},
textures = {
{"textureleopardseal.png"},
},
sounds = {
random = "animalworld_leopardseal",
attack = "animalworld_leopardseal2",
},
makes_footstep_sound = true,
walk_velocity = 1,
run_velocity = 3,
runaway = false,
jump = false,
stepheight = 1.1,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
},
water_damage = 0,
lava_damage = 4,
light_damage = 0,
fear_height = 2,
animation = {
speed_normal = 100,
stand_speed = 50,
stand_start = 0,
stand_end = 100,
walk_start = 100,
walk_end = 200,
punch_start = 200,
punch_end = 300,
fly_speed = 50,
fly_start = 350, -- swim animation
fly_end = 450,
-- 50-70 is slide/water idle
},
fly_in = {"default:water_source", "default:water_flowing", "default:river_water_flowing", "default:river_water"},
floats = 0,
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible", "mobs:bluefish_raw", "animalworld:rawmollusk", "nativevillages:catfish_raw"
},
view_range = 10,
on_rightclick = function(self, clicker)
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:leopardseal",
nodes = {"default:ice", "default:snowblock"},
neighbors = {"default:water_source"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 1,
min_height = -10,
max_height = 10,
day_toggle = true,
})
end
mobs:register_egg("animalworld:leopardseal", ("Leopard Seal"), "aleopardseal.png")

View File

@ -23,7 +23,7 @@ mobs:register_mob("animalworld:lobster", {
walk_velocity = 0.5,
run_velocity = 1,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -25,7 +25,7 @@ stepheight = 3,
walk_chance = 15,
run_velocity = 4,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 6,
stepheight = 3,

View File

@ -24,7 +24,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

123
monkey.lua Normal file
View File

@ -0,0 +1,123 @@
mobs:register_mob("animalworld:monkey", {
stepheight = 3,
type = "animal",
passive = false,
attack_type = "dogshoot",
dogshoot_switch = 1,
dogshoot_count_max = 3, -- shoot for 10 seconds
dogshoot_count2_max = 5, -- dogfight for 3 seconds
shoot_interval = 1,
arrow = "animalworld:pooball",
shoot_offset = 0.8,
group_attack = true,
owner_loyal = true,
attack_npcs = true,
reach = 2,
damage = 4,
hp_min = 15,
hp_max = 35,
armor = 100,
collisionbox = {-0.5, -0.01, -0.5, 0.5, 0.95, 0.5},
visual = "mesh",
mesh = "Monkey.b3d",
textures = {
{"texturemonkey.png"},
{"texturemonkey2.png"},
{"texturemonkey3.png"},
{"texturemonkey4.png"},
{"texturemonkey5.png"},
},
makes_footstep_sound = true,
sounds = {
random = "animalworld_monkey",
attack = "animalworld_monkey2",
damage = "animalworld_monkey3",
},
walk_velocity = 2,
run_velocity = 3,
walk_chance = 20,
jump = true,
jump_height = 8,
pushable = true,
follow = {"default:apple", "farming:potato", "ethereal:banana_bread", "farming:carrot", "farming:seed_rice", "farming:corn", "farming:wheat", "farming:beans", "farming:barley", "farming:oat", "farming:rye", "mobs:cheese", "farming:bread", "ethereal:banana_bread", "ethereal:banana", "farming:cabbage", "farming:lettuce", "farming:melon_slice", "animalworld:termitequeen", "animalworld:locust_roasted"},
view_range = 15,
replace_rate = 10,
replace_what = {"farming:soil", "farming:soil_wet"},
replace_with = "default:dirt",
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
},
water_damage = 1,
lava_damage = 5,
light_damage = 0,
fear_height = 4,
animation = {
speed_normal = 100,
stand_speed = 75,
stand_start = 350,
stand_end = 450,
walk_start = 0,
walk_end = 100,
punch_start = 100,
punch_end = 200,
shoot_start = 200,
shoot_end = 300,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:monkey",
nodes = {"default:dry_dirt_with_dry_grass", "default:dirt_with_rainforest_litter", "default:jungleleaves"},
min_light = 0,
interval = 60,
chance = 8000, -- 15000
active_object_count = 6,
min_height = 30,
max_height = 75,
day_toggle = true,
})
end
mobs:register_egg("animalworld:monkey", ("Monkey"), "amonkey.png")
mobs:register_arrow("animalworld:pooball", {
visual = "sprite",
visual_size = {x=.5, y=.5},
textures = {"animalworld_pooball.png"},
velocity = 12,
drop = true,
hit_player = function(self, player)
player:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups = {fleshy=13},
}, nil)
end,
hit_mob = function(self, player)
player:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups = {fleshy=13},
}, nil)
end,
hit_node = function(self, pos, node)
end,
})

View File

@ -25,7 +25,7 @@ mobs:register_mob("animalworld:moose", {
walk_velocity = 1,
run_velocity = 3,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
jump_height = 3,
pushable = true,

90
muskox.lua Normal file
View File

@ -0,0 +1,90 @@
mobs:register_mob("animalworld:muskox", {
stepheight = 1,
type = "animal",
passive = false,
attack_type = "dogfight",
group_attack = true,
owner_loyal = true,
attack_npcs = true,
reach = 2,
damage = 8,
hp_min = 25,
hp_max = 75,
armor = 100,
collisionbox = {-0.5, -0.01, -0.5, 0.5, 0.95, 0.5},
visual = "mesh",
mesh = "Muskox.b3d",
textures = {
{"texturemuskox.png"},
},
makes_footstep_sound = true,
sounds = {
random = "animalworld_muskox",
attack = "animalworld_muskox2",
},
walk_velocity = 1,
run_velocity = 3,
jump = true,
jump_height = 6,
pushable = true,
follow = {"default:apple", "farming:potato", "ethereal:banana_bread", "farming:melon_slice", "farming:carrot", "farming:seed_rice", "farming:corn", "ethereal:snowygrass", "ethereal:crystalgrass"},
view_range = 6,
replace_rate = 10,
replace_what = {"farming:soil", "farming:soil_wet"},
replace_with = "default:dirt",
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
{name = "animalworld:muskoxcorpse", chance = 7, min = 1, max = 1},
},
water_damage = 1,
lava_damage = 5,
light_damage = 0,
fear_height = 2,
animation = {
speed_normal = 50,
stand_speed = 50,
stand_start = 0,
stand_end = 100,
stand2_start = 100,
stand2_end = 200,
walk_start = 200,
walk_end = 300,
punch_speed = 100,
punch_start = 300,
punch_end = 400,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:muskox",
nodes = {"default:permafrost", "default:permafrost_with_moss", "default:permafrost_with_stones"},
neighbors = {"animalworld:animalworld_tundrashrub1"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 5,
min_height = 10,
max_height = 60,
day_toggle = true,
})
end
mobs:register_egg("animalworld:muskox", ("Musk Ox"), "amuskox.png")
mobs:alias_mob("animalworld:muskox", "animalworld:muskox") -- compatibility

View File

@ -26,7 +26,7 @@ stepheight = 1,
walk_velocity = 0.7,
run_velocity = 3,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
drops = {
{name = "animalworld:chicken_raw", chance = 1, min = 1, max = 1},
{name = "animalworld:chicken_feather", chance = 1, min = 0, max = 2},

View File

@ -23,7 +23,7 @@ mobs:register_mob("animalworld:notoptera", {
run_velocity = 1,
walk_chance = 50,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = true,
jump_height = 6,
pushable = true,

View File

@ -23,7 +23,7 @@ mobs:register_mob("animalworld:nymph", {
walk_velocity = 0.6,
run_velocity = 2,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -25,7 +25,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

80
otter.lua Normal file
View File

@ -0,0 +1,80 @@
mobs:register_mob("animalworld:otter", {
type = "animal",
passive = true,
reach = 1,
hp_min = 20,
hp_max = 55,
armor = 100,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.4, 0.4},
visual = "mesh",
mesh = "Otter.b3d",
visual_size = {x = 1.0, y = 1.0},
textures = {
{"textureotter.png"},
},
sounds = {
random = "animalworld_otter",
attack = "animalworld_otter2",
damage = "animalworld_otter3",
},
makes_footstep_sound = true,
walk_velocity = 1.5,
run_velocity = 2,
runaway = true,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
stepheight = 1,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
{name = "mobs:leather", chance = 7, min = 1, max = 1},
},
water_damage = 0,
lava_damage = 4,
light_damage = 0,
fear_height = 2,
animation = {
speed_normal = 100,
stand_speed = 70,
stand_start = 0,
stand_end = 100,
walk_start = 100,
walk_end = 200,
fly_start = 250, -- swim animation
fly_end = 350,
-- 50-70 is slide/water idle
},
fly_in = {"default:water_source", "default:water_flowing", "default:river_water_flowing", "default:river_water"},
floats = 0,
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible", "mobs:bluefish_raw", "nativevillages:catfish_raw"
},
view_range = 10,
on_rightclick = function(self, clicker)
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:otter",
nodes = {"default:water_source", "default:river_water_source"},
neighbors = {"flowers:waterlily_waving"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 2,
min_height = -5,
max_height = 10,
day_toggle = true,
})
end
mobs:register_egg("animalworld:otter", ("Otter"), "aotter.png")

84
polarbear.lua Normal file
View File

@ -0,0 +1,84 @@
mobs:register_mob("animalworld:polarbear", {
type = "monster",
passive = false,
attack_type = "dogfight",
attack_animals = true,
reach = 2,
damage = 10,
hp_min = 25,
hp_max = 80,
armor = 100,
collisionbox = {-0.6, -0.01, -0.6, 0.6, 0.95, 0.6},
visual = "mesh",
mesh = "Polarbear.b3d",
visual_size = {x = 1.0, y = 1.0},
textures = {
{"texturepolarbear.png"},
},
sounds = {
random = "animalworld_bear",
},
makes_footstep_sound = true,
walk_velocity = 1,
run_velocity = 3,
runaway = false,
jump = false,
jump_height = 6,
stepheight = 2,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
{name = "animalworld:polarbearcorpse", chance = 7, min = 1, max = 1},
},
fly_in = {"default:water_source", "default:water_flowing", "default:river_water_flowing", "default:river_water"},
water_damage = 0,
lava_damage = 4,
light_damage = 0,
fear_height = 2,
animation = {
speed_normal = 50,
stand_start = 0,
stand_end = 100,
stand_start = 100,
stand_end = 200,
walk_start = 200,
walk_end = 300,
fly_start = 400,
fly_end = 500,
punch_start = 300,
punch_end = 400,
},
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "xocean:fish_edible", "farming:melon_slice", "farming:melon_slice", "water_life:meat_raw", "water_life:meat_raw", "fishing:fish_raw", "animalworld:chicken_raw", "nativevillages:catfish_raw", "nativevillages:chicken_raw", "animalworld:whalemeat_raw"
},
view_range = 12,
on_rightclick = function(self, clicker)
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:polarbear",
nodes = {"default:ice", "default:snowblock"},
neighbors = {"default:water_source"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 1,
min_height = -10,
max_height = 10,
day_toggle = true,
})
end
mobs:register_egg("animalworld:polarbear", ("Polar Bear"), "apolarbear.png")

View File

@ -22,7 +22,7 @@ stepheight = 3,
walk_velocity = 5,
run_velocity = 6,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
fall_speed = 0,
jump = true,
jump_height = 6,

View File

@ -24,7 +24,7 @@ mobs:register_mob("animalworld:reindeer", {
walk_velocity = 1,
run_velocity = 3,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 3,
pushable = true,

View File

@ -25,7 +25,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

View File

@ -22,7 +22,7 @@ stepheight = 0.6,
run_velocity = 1,
runaway = true,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = false,
stepheight = 1.1,
drops = {
@ -47,7 +47,7 @@ stepheight = 0.6,
floats = 0,
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible", "mobs:bluefish_raw"
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible", "mobs:bluefish_raw", "nativevillages:catfish_raw"
},
view_range = 10,
@ -71,7 +71,7 @@ mobs:spawn({
min_light = 14,
interval = 60,
chance = 8000, -- 15000
active_object_count = 3,
active_object_count = 4,
min_height = 0,
max_height = 10,
day_toggle = true,

View File

@ -33,7 +33,7 @@ mobs:register_mob("animalworld:snail", {
drops = {
{name = "animalworld:snail", chance = 3, min = 1, max = 1},
},
water_damage = 0,
water_damage = 1,
lava_damage = 5,
light_damage = 0,
fear_height = 3,

84
stellerseagle.lua Normal file
View File

@ -0,0 +1,84 @@
mobs:register_mob("animalworld:stellerseagle", {
stepheight = 3,
type = "monster",
passive = false,
attack_type = "dogfight",
attack_animals = true,
owner_loyal = true,
reach = 2,
damage = 6,
hp_min = 25,
hp_max = 45,
armor = 100,
collisionbox = {-0.3, -0.01, -0.3, 0.3, 0.5, 0.3},
visual = "mesh",
mesh = "Stellerseagle.b3d",
visual_size = {x = 1.0, y = 1.0},
textures = {
{"texturestellerseagle.png"},
},
sounds = {
random = "animalworld_stellerseagle",
attack = "animalworld_stellerseagle2",
},
makes_footstep_sound = false,
walk_velocity = 5,
run_velocity = 5,
fall_speed = 0,
jump = true,
jump_height = 6,
stepheight = 3,
fly = true,
drops = {
{name = "animalworld:chicken_raw", chance = 1, min = 1, max = 1},
{name = "animalworld:chicken_feather", chance = 1, min = 1, max = 1},
},
water_damage = 1,
lava_damage = 4,
light_damage = 0,
fear_height = 0,
animation = {
speed_normal = 100,
stand_start = 0,
stand_end = 100,
fly_start = 150, -- swim animation
fly_end = 250,
punch_start = 250,
punch_end = 350,
-- 50-70 is slide/water idle
},
fly_in = {"air"},
floats = 0,
follow = {
"animalworld:rabbit_raw", "mobs:meat_raw", "animalworld:chicken_raw", "water_life:meat_raw", "ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible", "mobs:bluefish_raw", "animalworld:rawmollusk", "nativevillages:catfish_raw"
},
view_range = 16,
on_rightclick = function(self, clicker)
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
end,
})
if not mobs.custom_spawn_animalworld then
mobs:spawn({
name = "animalworld:stellerseagle",
nodes = {"default:permafrost", "default:permafrost_with_moss", "default:permafrost_with_stones"},
min_light = 0,
interval = 60,
chance = 2, -- 15000
active_object_count = 2,
min_height = 30,
max_height = 100,
day_toggle = true,
})
end
mobs:register_egg("animalworld:stellerseagle", ("Stellers Sea Eagle"), "astellerseagle.png")

View File

@ -22,7 +22,7 @@ stepheight = 1,
walk_velocity = 0.2,
run_velocity = 0.3,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
jump_height = 6,
drops = {

View File

@ -25,7 +25,7 @@ stepheight = 6,
fall_speed = -1,
fall_damage = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle"},
jump = true,
jump_height = 8,
stepheight = 6,

View File

@ -3546,4 +3546,313 @@ minetest.register_craft({
minetest.register_craftitem("animalworld:wolverinecorpse", {
description = ("Wolverine Corpse"),
inventory_image = "animalworld_wolverinecorpse.png",
})
})
-- polar bear
minetest.register_node("animalworld:polarbearbeartrophy", {
description = "Polar Bear Trophy",
visual_scale = 1.0,
mesh = "Polarbeartrophy.b3d",
tiles = {"texturepolarbeartrophy.png"},
inventory_image = "apolarbeartrophy.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.4, -0.5, -0.8, 0.4, 0.4, 0.5},
--[[{-0.4, -0.5, -0.8, 0.4, 0.4, 0.5},
{-0.4, -0.5, -0.8, 0.4, 0.4, 0.5}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.4, -0.5, -0.8, 0.4, 0.4, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:polarbeartrophy",
burntime = 2,
})
minetest.register_craft({
output = "animalworld:polarbeartrophy",
type = "shapeless",
recipe =
{"animalworld:polarbearcorpse", "default:axe_stone", "group:wood"}
})
minetest.register_node("animalworld:polarbearpelt", {
description = "Polar Bear Pelt",
visual_scale = 1.0,
mesh = "Bearpelt.b3d",
tiles = {"texturepolarbearpelt.png"},
inventory_image = "apolarbearpelt.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-1, -0.5, -1.2, 1, -0.5, 1.2},
--[[{-1, -0.5, -1.2, 1, -0.5, 1.2},
{-1, -0.5, -1.2, 1, -0.5, 1.2}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-1, -0.5, -1.2, 1, -0.5, 1.2}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:polarbearpelt",
burntime = 2,
})
minetest.register_node("animalworld:polarbearpelthanging", {
description = "Polar Bear Pelt hanging",
visual_scale = 1.0,
mesh = "Bearpelthanging.b3d",
tiles = {"texturepolarbearpelt.png"},
inventory_image = "apolarbearpelt.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5},
--[[{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5},
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:polarbearpelthanging",
burntime = 2,
})
minetest.register_craftitem("animalworld:polarbearcorpse", {
description = ("Polar Bear Corpse"),
inventory_image = "animalworld_polarbearcorpse.png",
})
minetest.register_craft({
output = "animalworld:polarbearpelt",
type = "shapeless",
recipe =
{"animalworld:polarbearcorpse", "default:sword_stone"}
})
minetest.register_craft({
output = "animalworld:polarbearpelthanging",
type = "shapeless",
recipe =
{"animalworld:polarbearcorpse", "default:sword_stone", "default:sign_wall_wood"}
})
-- Muskox
minetest.register_node("animalworld:muskoxtrophy", {
description = "Muskox Trophy",
visual_scale = 1.0,
mesh = "Muskoxtrophy.b3d",
tiles = {"texturemuskoxtrophy.png"},
inventory_image = "amuskoxtrophy.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.7, 0.5, 0.8, 0.5},
--[[{-0.5, -0.5, -0.7, 0.5, 0.8, 0.5},
{-0.5, -0.5, -0.7, 0.5, 0.8, 0.5}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.7, 0.5, 0.8, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:muskoxtrophy",
burntime = 2,
})
minetest.register_node("animalworld:muskoxpelt", {
description = "Muskox Pelt",
visual_scale = 1.0,
mesh = "Bearpelt.b3d",
tiles = {"texturemuskoxpelt.png"},
inventory_image = "amuskoxpelt.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-1, -0.5, -1.2, 1, -0.5, 1.2},
--[[{-1, -0.5, -1.2, 1, -0.5, 1.2},
{-1, -0.5, -1.2, 1, -0.5, 1.2}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-1, -0.5, -1.2, 1, -0.5, 1.2}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:muskoxpelt",
burntime = 2,
})
minetest.register_node("animalworld:muskoxpelthanging", {
description = "Muskox Pelt hanging",
visual_scale = 1.0,
mesh = "Bearpelthanging.b3d",
tiles = {"texturemuskoxpelt.png"},
inventory_image = "amuskoxpelt.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5},
--[[{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5},
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.8, -0.9, 0.4, 0.8, 0.8, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:muskoxpelthanging",
burntime = 2,
})
minetest.register_craftitem("animalworld:muskoxcorpse", {
description = ("Muskox Corpse"),
inventory_image = "animalworld_muskoxcorpse.png",
})
minetest.register_craft({
output = "animalworld:muskoxtrophy",
type = "shapeless",
recipe =
{"animalworld:muskoxcorpse", "default:axe_stone", "group:wood"}
})
minetest.register_craft({
output = "animalworld:muskoxpelt",
type = "shapeless",
recipe =
{"animalworld:muskoxcorpse", "default:sword_stone"}
})
minetest.register_craft({
output = "animalworld:muskoxpelthanging",
type = "shapeless",
recipe =
{"animalworld:muskoxcorpse", "default:sword_stone", "default:sign_wall_wood"}
})
minetest.register_node("animalworld:muskoxstool", {
description = "Muskox Stool",
visual_scale = 1.0,
mesh = "Stool.b3d",
tiles = {"texturemuskoxstool.png"},
inventory_image = "amuskoxstool.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
--[[{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:muskoxstool",
burntime = 2,
})
minetest.register_craft({
output = "animalworld:muskoxstool",
type = "shapeless",
recipe =
{"animalworld:muskoxcorpse", "default:axe_stone", "group:wood", "default:stick"}
})

View File

@ -24,7 +24,7 @@ stepheight = 0.0,
fly_in = "default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing",
fall_speed = 0,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
jump = false,
stepheight = 0.0,
drops = {

240
tundravegetation.lua Normal file
View File

@ -0,0 +1,240 @@
-- Tundra Shrub4
minetest.register_node("animalworld:animalworld_tundrashrub4", {
description = ("Tundra Shrub"),
drawtype = "plantlike",
waving = 1,
tiles = {"animalworld_tundrashrub4.png"},
inventory_image = "animalworld_tundrashrub4.png",
wield_image = "animalworld_tundrashrub4.png",
paramtype = "light",
paramtype2 = "meshoptions",
place_param2 = 4,
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flammable = 3, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 4 / 16, 6 / 16},
},
})
minetest.register_decoration({
name = "animalworld:animalworld_tundrashrub4",
deco_type = "simple",
place_on = {"default:permafrost", "default:permafrost_with_stones"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.1,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"tundra_highland", "tundra_beach", "tundra", "default:permafrost_with_moss"},
y_max = 31000,
y_min = 2,
decoration = "animalworld:animalworld_tundrashrub4",
param2 = 4,
})
-- Tundra Shrub2
minetest.register_node("animalworld:animalworld_tundrashrub2", {
description = ("Tundra Shrub"),
drawtype = "plantlike",
waving = 1,
tiles = {"animalworld_tundrashrub2.png"},
inventory_image = "animalworld_tundrashrub2.png",
wield_image = "animalworld_tundrashrub2.png",
paramtype = "light",
paramtype2 = "meshoptions",
place_param2 = 4,
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flammable = 3, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 4 / 16, 6 / 16},
},
})
minetest.register_decoration({
name = "animalworld:animalworld_tundrashrub2",
deco_type = "simple",
place_on = {"default:permafrost", "default:permafrost_with_stones"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.1,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"tundra_highland", "tundra_beach", "tundra"},
y_max = 31000,
y_min = 2,
decoration = "animalworld:animalworld_tundrashrub2",
param2 = 4,
})
-- Tundra Shrubs
minetest.register_node("animalworld:animalworld_tundrashrub1", {
description = ("Tundra Shrub"),
drawtype = "plantlike",
waving = 1,
visual_scale = 2,
tiles = {"animalworld_tundrashrub1.png"},
inventory_image = "animalworld_tundrashrub1.png",
wield_image = "animalworld_tundrashrub1.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flammable = 3, flora = 1, attached_node = 1,
not_in_creative_inventory=1},
drop = "animalworld:animalworld_tundrashrub1",
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -0.25, 6 / 16},
},
})
-- Tundra Shrubs
minetest.register_node("animalworld:animalworld_tundrashrub3", {
description = ("Tundra Shrub"),
drawtype = "plantlike",
waving = 1,
visual_scale = 2,
tiles = {"animalworld_tundrashrub3.png"},
inventory_image = "animalworld_tundrashrub3.png",
wield_image = "animalworld_tundrashrub3.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flammable = 3, flora = 1, attached_node = 1,
not_in_creative_inventory=1},
drop = "animalworld:animalworld_tundrashrub3",
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -0.25, 6 / 16},
},
})
-- Tundra Shrubs
minetest.register_node("animalworld:animalworld_tundrashrub5", {
description = ("Tundra Shrub"),
drawtype = "plantlike",
waving = 1,
visual_scale = 2,
tiles = {"animalworld_tundrashrub5.png"},
inventory_image = "animalworld_tundrashrub5.png",
wield_image = "animalworld_tundrashrub5.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flammable = 3, flora = 1, attached_node = 1,
not_in_creative_inventory=1},
drop = "animalworld:animalworld_tundrashrub5",
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -0.25, 6 / 16},
},
})
-- Tundra Shrubs
minetest.register_decoration({
name = "animalworld:animalworld_tundrashrub5",
deco_type = "simple",
place_on = {"default:permafrost", "default:permafrost_with_stones"},
sidelen = 4,
noise_params = {
offset = -0.7,
scale = 4.0,
spread = {x = 16, y = 16, z = 16},
seed = 513337,
octaves = 1,
persist = 0.0,
flags = "absvalue, eased"
},
biomes = {"tundra_highland", "tundra_beach", "tundra"},
y_max = 3000,
y_min = 4,
decoration = {
"animalworld:animalworld_tundrashrub5",
},
})
minetest.register_decoration({
name = "animalworld:animalworld_tundrashrub",
deco_type = "simple",
place_on = {"default:permafrost", "default:permafrost_with_stones"},
sidelen = 4,
noise_params = {
offset = -0.7,
scale = 4.0,
spread = {x = 16, y = 16, z = 16},
seed = 513337,
octaves = 1,
persist = 0.0,
flags = "absvalue, eased"
},
biomes = {"tundra_highland", "tundra_beach", "tundra"},
y_max = 3000,
y_min = 4,
decoration = {
"animalworld:animalworld_tundrashrub5",
"animalworld:animalworld_tundrashrub3",
"animalworld:animalworld_tundrashrub1",
},
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:animalworld_tundrashrub",
burntime = 0.1,
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:animalworld_tundrashrub2",
burntime = 0.1,
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:animalworld_tundrashrub3",
burntime = 0.1,
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:animalworld_tundrashrub4",
burntime = 0.1,
})
minetest.register_craft({
type = "fuel",
recipe = "animalworld:animalworld_tundrashrub5",
burntime = 0.1,
})

View File

@ -23,7 +23,7 @@ stepheight = 3,
walk_velocity = 5,
run_velocity = 6,
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "player"},
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion", "animalworld:polarbear", "animalworld:leopardseal", "animalworld:stellerseagle", "player"},
fall_speed = 0,
jump = true,
jump_height = 6,

View File

@ -30,7 +30,6 @@ mobs:register_mob("animalworld:wasp", {
fly = true,
fly_in = {"air"},
floats = 0,
fall_speed = 0,
runaway = false,
jump = true,
jump_height = 6,
@ -40,7 +39,7 @@ mobs:register_mob("animalworld:wasp", {
water_damage = 1,
lava_damage = 4,
light_damage = 0,
fear_height = 3,
fear_height = 0,
animation = {
speed_normal = 400,
stand_start = 0,