name changes for compatability
|
@ -0,0 +1,2 @@
|
||||||
|
default
|
||||||
|
mobs
|
|
@ -0,0 +1,55 @@
|
||||||
|
|
||||||
|
if mobs.mod and mobs.mod == "redo" then
|
||||||
|
|
||||||
|
-- local variables
|
||||||
|
local l_skins = {
|
||||||
|
{"animal_bat.png"},
|
||||||
|
{"animal_bat.png^[colorize:black:150"}
|
||||||
|
}
|
||||||
|
local l_spawnnear = {"default:stone"}
|
||||||
|
local l_spawnchance = 10000
|
||||||
|
|
||||||
|
mobs:register_mob("mobs_bat:bat", {
|
||||||
|
type = "animal",
|
||||||
|
damage = 1,
|
||||||
|
attack_type = "dogfight",
|
||||||
|
hp_min = 7,
|
||||||
|
hp_max = 12,
|
||||||
|
armor = 130,
|
||||||
|
collisionbox = {-0.4,-0.4,-0.4, 0.4,0.4,0.4},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = "animal_bat.b3d",
|
||||||
|
textures = l_skins,
|
||||||
|
rotate = 4.5,
|
||||||
|
walk_velocity = 10,
|
||||||
|
run_velocity = 23,
|
||||||
|
fall_speed = 0,
|
||||||
|
stepheight = 3,
|
||||||
|
sounds = {
|
||||||
|
random = "animal_bat",
|
||||||
|
war_cry = "animal_bat",
|
||||||
|
damage = "animal_bat",
|
||||||
|
attack = "animal_bat",
|
||||||
|
},
|
||||||
|
fly = true,
|
||||||
|
water_damage = 2,
|
||||||
|
lava_damage = 10,
|
||||||
|
light_damage = 0,
|
||||||
|
view_range = 10,
|
||||||
|
animation = {
|
||||||
|
speed_normal = 24, speed_run = 24,
|
||||||
|
stand_start = 30, stand_end = 59,
|
||||||
|
walk_start = 30, walk_end = 59,
|
||||||
|
run_start = 30, run_end = 59,
|
||||||
|
punch_start = 60, punch_end = 89
|
||||||
|
},
|
||||||
|
on_rightclick = function(self, clicker)
|
||||||
|
mobs:capture_mob(self, clicker, 5, 60, 0, true, nil)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
--name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height
|
||||||
|
mobs:spawn_specific("mobs_bat:bat", {"air"}, l_spawnnear, 2, 10, 30, l_spawnchance, 5, -100, 11000)
|
||||||
|
mobs:register_egg("mobs_bat:bat", "Bat", "animal_bat_inv.png", 0)
|
||||||
|
|
||||||
|
end
|
|
@ -0,0 +1,12 @@
|
||||||
|
--------------------------
|
||||||
|
--------------------------
|
||||||
|
-- ANÝMAL BAT --
|
||||||
|
--------------------------
|
||||||
|
--------------------------
|
||||||
|
--
|
||||||
|
-- Model and textures from Defense Subgame
|
||||||
|
-- License of defense mod GPL
|
||||||
|
-- License of media (models, textures ) (CC BY-SA 3.0)
|
||||||
|
-- License of Api WTFPL Simple Mobs by PilzAdam > Mob Redo by Ten1plus > Redo+ Mahmutelmas06
|
||||||
|
-- Sounds from bigsoundbank and WTFPL ( confirmed by email )
|
||||||
|
--
|
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 518 B |
|
@ -0,0 +1,5 @@
|
||||||
|
Licenses
|
||||||
|
|
||||||
|
Model and textures:
|
||||||
|
CC-BY-SA 3.0, Author sapier
|
||||||
|
URL: http://creativecommons.org/licenses/by-sa/3.0/de/legalcode
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
-- SETTINGS
|
||||||
|
|
||||||
|
ENABLE_GULLS = true
|
||||||
|
ENABLE_LARGE_BIRDS = true
|
||||||
|
ENABLE_SMALL_BIRDS = true
|
|
@ -0,0 +1,2 @@
|
||||||
|
default
|
||||||
|
mobs
|
|
@ -0,0 +1,142 @@
|
||||||
|
|
||||||
|
if mobs.mod and mobs.mod == "redo" then
|
||||||
|
|
||||||
|
-- local variables
|
||||||
|
local l_skins_gull = {
|
||||||
|
{"animal_gull_mesh.png"},
|
||||||
|
{"gull_black.png"},
|
||||||
|
{"gull_gray.png"},
|
||||||
|
{"gull_grayblue.png"}
|
||||||
|
}
|
||||||
|
local l_skins_bird = {
|
||||||
|
{"bird_blueish.png"},
|
||||||
|
{"bird_brown.png"},
|
||||||
|
{"bird_gray.png"},
|
||||||
|
{"bird_grayblue.png"},
|
||||||
|
{"bird_red.png"},
|
||||||
|
{"bird_redish.png"}
|
||||||
|
}
|
||||||
|
local l_anims = {
|
||||||
|
speed_normal = 24, speed_run = 24,
|
||||||
|
stand_start = 1, stand_end = 95,
|
||||||
|
walk_start = 1, walk_end = 95,
|
||||||
|
run_start = 1, run_end = 95
|
||||||
|
}
|
||||||
|
local l_model = "animal_gull.b3d"
|
||||||
|
local l_egg_texture = "default_cloud.png"
|
||||||
|
local l_capture_chance_h = 5
|
||||||
|
local l_capture_chance_n = 60
|
||||||
|
local l_spawn_in = {"air"}
|
||||||
|
local l_spawn_near_gull = {"default:water_source", "default:water_flowing"}
|
||||||
|
local l_spawn_near_bird = {"default:leaves", "default:pine_needles", "default:jungleleaves", "default:cactus"}
|
||||||
|
local l_spawn_chance_gull = 12000
|
||||||
|
local l_spawn_chance_bird = 24000
|
||||||
|
|
||||||
|
-- load settings
|
||||||
|
dofile(minetest.get_modpath("mobs_birds").."/SETTINGS.txt")
|
||||||
|
if not ENABLE_LARGE_BIRDS then
|
||||||
|
l_spawn_chance_bird = l_spawn_chance_bird - 12000
|
||||||
|
end
|
||||||
|
if not ENABLE_SMALL_BIRDS then
|
||||||
|
l_spawn_chance_bird = l_spawn_chance_bird - 12000
|
||||||
|
end
|
||||||
|
|
||||||
|
-- gulls
|
||||||
|
if ENABLE_GULLS then
|
||||||
|
mobs:register_mob("mobs_birds:gull", {
|
||||||
|
type = "animal",
|
||||||
|
passive = true,
|
||||||
|
hp_min = 5,
|
||||||
|
hp_max = 10,
|
||||||
|
armor = 100,
|
||||||
|
collisionbox = {-1, -0.3, -1, 1, 0.3, 1},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = l_model,
|
||||||
|
textures = l_skins_gull,
|
||||||
|
rotate = 4.5,
|
||||||
|
walk_velocity = 4,
|
||||||
|
run_velocity = 6,
|
||||||
|
fall_speed = 0,
|
||||||
|
stepheight = 3,
|
||||||
|
fly = true,
|
||||||
|
water_damage = 0,
|
||||||
|
lava_damage = 10,
|
||||||
|
light_damage = 0,
|
||||||
|
view_range = 14,
|
||||||
|
animation = l_anims,
|
||||||
|
on_rightclick = function(self, clicker)
|
||||||
|
mobs:capture_mob(self, clicker, l_capture_chance_h, l_capture_chance_n, 0, true, nil)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
--name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height
|
||||||
|
mobs:spawn_specific("mobs_birds:gull", l_spawn_in, l_spawn_near_gull, 5, 20, 30, l_spawn_chance_gull, 2, 0, 31000)
|
||||||
|
mobs:register_egg("mobs_birds:gull", "Gull", l_egg_texture, 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- large birds
|
||||||
|
if ENABLE_LARGE_BIRDS then
|
||||||
|
mobs:register_mob("mobs_birds:bird_lg", {
|
||||||
|
type = "animal",
|
||||||
|
passive = true,
|
||||||
|
hp_min = 5,
|
||||||
|
hp_max = 10,
|
||||||
|
armor = 100,
|
||||||
|
collisionbox = {-0.5, -0.3, -0.5, 0.5, 0.3, 0.5},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = l_model,
|
||||||
|
textures = l_skins_bird,
|
||||||
|
visual_size = {x=.5, y=.5},
|
||||||
|
rotate = 4.5,
|
||||||
|
walk_velocity = 4,
|
||||||
|
run_velocity = 6,
|
||||||
|
fall_speed = 0,
|
||||||
|
stepheight = 3,
|
||||||
|
fly = true,
|
||||||
|
water_damage = 0,
|
||||||
|
lava_damage = 10,
|
||||||
|
light_damage = 0,
|
||||||
|
view_range = 12,
|
||||||
|
animation = l_anims,
|
||||||
|
on_rightclick = function(self, clicker)
|
||||||
|
mobs:capture_mob(self, clicker, l_capture_chance_h, l_capture_chance_n, 0, true, nil)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
--name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height
|
||||||
|
mobs:spawn_specific("mobs_birds:bird_lg", l_spawn_in, l_spawn_near_bird, 5, 20, 30, l_spawn_chance_bird, 2, 0, 31000)
|
||||||
|
mobs:register_egg("mobs_birds:bird_lg", "Large bird", l_egg_texture, 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- small birds
|
||||||
|
if ENABLE_SMALL_BIRDS then
|
||||||
|
mobs:register_mob("mobs_birds:bird_sm", {
|
||||||
|
type = "animal",
|
||||||
|
passive = true,
|
||||||
|
hp_min = 2,
|
||||||
|
hp_max = 5,
|
||||||
|
armor = 100,
|
||||||
|
collisionbox = {-0.25, -0.3, -0.25, 0.25, 0.3, 0.25},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = l_model,
|
||||||
|
textures = l_skins_bird,
|
||||||
|
visual_size = {x=.25, y=.25},
|
||||||
|
rotate = 4.5,
|
||||||
|
walk_velocity = 4,
|
||||||
|
run_velocity = 6,
|
||||||
|
fall_speed = 0,
|
||||||
|
stepheight = 3,
|
||||||
|
fly = true,
|
||||||
|
water_damage = 0,
|
||||||
|
lava_damage = 10,
|
||||||
|
light_damage = 0,
|
||||||
|
view_range = 10,
|
||||||
|
animation = l_anims,
|
||||||
|
on_rightclick = function(self, clicker)
|
||||||
|
mobs:capture_mob(self, clicker, l_capture_chance_h, l_capture_chance_n, 0, true, nil)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
--name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height
|
||||||
|
mobs:spawn_specific("mobs_birds:bird_sm", l_spawn_in, l_spawn_near_bird, 5, 20, 30, l_spawn_chance_bird, 2, 0, 31000)
|
||||||
|
mobs:register_egg("mobs_birds:bird_sm", "Small bird", l_egg_texture, 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 9.8 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 378 B |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 47 KiB |
|
@ -0,0 +1,6 @@
|
||||||
|
Licenses
|
||||||
|
|
||||||
|
Model/Textures: unknown
|
||||||
|
Author: AspireMint
|
||||||
|
|
||||||
|
texture modification by: blert2112
|
|
@ -0,0 +1,2 @@
|
||||||
|
default
|
||||||
|
mobs
|
|
@ -0,0 +1,49 @@
|
||||||
|
|
||||||
|
if mobs.mod and mobs.mod == "redo" then
|
||||||
|
|
||||||
|
-- local variables
|
||||||
|
local l_skins = {
|
||||||
|
{"bf1.png^bf2.png^bf3.png^bf4.png^bf5.png"},
|
||||||
|
{"(bf1.png^[colorize:orange)^(bf2.png^[colorize:violet)^(bf3.png^[colorize:yellow)^(bf4.png^[colorize:cyan)^(bf5.png^[colorize:black)"},
|
||||||
|
{"(bf1.png^[colorize:magenta)^(bf2.png^[colorize:green)^(bf3.png^[colorize:red)^(bf4.png^[colorize:blue)^(bf5.png^[colorize:white)"},
|
||||||
|
{"(bf1.png^[colorize:yellow)^(bf2.png^[colorize:cyan)^(bf3.png^[colorize:green)^(bf4.png^[colorize:violet)^(bf5.png^[colorize:darkgray)"},
|
||||||
|
{"(bf1.png^[colorize:pink)^(bf2.png^[colorize:white)^(bf3.png^[colorize:blue)^(bf4.png^[colorize:orange)^(bf5.png^[colorize:gray)"},
|
||||||
|
{"(bf1.png^[colorize:darkgreen)^(bf2.png^[colorize:brown)^(bf3.png^[colorize:black)^(bf4.png^[colorize:darkgray)^(bf5.png^[colorize:red)"}
|
||||||
|
}
|
||||||
|
local l_spawnnear = {"group:flower"}
|
||||||
|
local l_spawnchance = 10000
|
||||||
|
|
||||||
|
-- Butterfly
|
||||||
|
mobs:register_mob("mobs_butterfly:butterfly", {
|
||||||
|
type = "animal",
|
||||||
|
passive = true,
|
||||||
|
hp_min = 1,
|
||||||
|
hp_max = 2,
|
||||||
|
armor = 100,
|
||||||
|
collisionbox = {-1, -0.3, -1, 1, 0.3, 1},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = "mobf_butterfly.x",
|
||||||
|
textures = l_skins,
|
||||||
|
walk_velocity = 2,
|
||||||
|
fall_speed = 0,
|
||||||
|
stepheight = 3,
|
||||||
|
fly = true,
|
||||||
|
water_damage = 1,
|
||||||
|
lava_damage = 1,
|
||||||
|
light_damage = 0,
|
||||||
|
fall_damage = 0,
|
||||||
|
view_range = 10,
|
||||||
|
animation = {
|
||||||
|
speed_normal = 15, speed_run = 30,
|
||||||
|
stand_start = 0, stand_end = 90,
|
||||||
|
walk_start = 0, walk_end = 90,
|
||||||
|
},
|
||||||
|
on_rightclick = function(self, clicker)
|
||||||
|
mobs:capture_mob(self, clicker, 10, 80, 0, true, nil)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
--name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height
|
||||||
|
mobs:spawn_specific("mobs_butterfly:butterfly", {"air"}, l_spawnnear, 5, 20, 30, l_spawnchance, 2, 0, 31000)
|
||||||
|
mobs:register_egg("mobs_butterfly:butterfly", "Butterfly", "default_cloud.png", 1)
|
||||||
|
|
||||||
|
end
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |