Mehr Mods hinzugefügt

This commit is contained in:
N-Nachtigal 2025-05-10 23:49:11 +02:00
parent 92a55732cf
commit 9e345a25fb
2805 changed files with 2096013 additions and 0 deletions

4
mods/mobs_sky/README.md Normal file
View file

@ -0,0 +1,4 @@
A few sky critters ported from other mob frameworks to "Mobs-Redo".
License information for the models and textures can be found inside
the respective folders.

View file

@ -0,0 +1,82 @@
-- local variables
local l_spawnnear = {"default:stone"}
local l_spawnchance = 30000
local l_skins = {
{"animal_bat.png"},
{"animal_bat.png^[colorize:black:150"}
}
-- spawn definition
mobs:register_mob("mobs_bat:bat", {
type = "animal",
passive = false,
damage = 1,
reach = 2,
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 = 270,
walk_velocity = 3,--10,
run_velocity = 5,--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,
fly_start = 30, fly_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
})
-- Check for custom spawn.lua
local MP = core.get_modpath(core.get_current_modname()) .. "/"
local input = io.open(MP .. "spawn.lua", "r")
if input then
input:close() ; input = nil ; dofile(MP .. "spawn.lua")
else
mobs:spawn({
name = "mobs_bat:bat",
nodes = {"air"},
neighbors = l_spawnnear,
max_light = 6,
interval = 30,
chance = l_spawnchance,
active_object_count = 2,
min_height = -100,
max_height = 150
})
end
-- mob egg
mobs:register_egg("mobs_bat:bat", "Bat", "animal_bat_inv.png", 0)
print("[MOD] Mobs Redo Bat loaded")

View file

@ -0,0 +1,11 @@
--------------------------
--------------------------
-- ANÝMAL BAT --
--------------------------
--------------------------
--
-- Model and textures from Defense Subgame
-- License of code is MIT
-- License of media (models, textures ) (CC BY-SA 3.0)
-- Sounds from bigsoundbank and WTFPL ( confirmed by email )
--

View file

@ -0,0 +1,4 @@
name = mobs_bat
description = Adds bats into your world.
depends = mobs
min_minetest_version = 5.0

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,14 @@
-- Bat spawn example
mobs:spawn({
name = "mobs_bat:bat",
nodes = {"air"},
neighbors = {"default:stone"},
max_light = 6,
interval = 30,
chance = 30000,
active_object_count = 2,
min_height = -100,
max_height = 150
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

View file

@ -0,0 +1,7 @@
Licenses
Code: MIT
Model and textures:
CC-BY-SA 3.0, Author sapier
URL: http://creativecommons.org/licenses/by-sa/3.0/de/legalcode

View file

@ -0,0 +1,222 @@
-- local variables
local l_spawn_chance_gull = 24000
local l_spawn_chance_bird = 36000
-- load settings
local ENABLE_GULLS = core.settings:get_bool("mobs_birds.enable_gulls") ~= false
local ENABLE_LARGE = core.settings:get_bool("mobs_birds.enable_large_birds") ~= false
local ENABLE_SMALL = core.settings:get_bool("mobs_birds.enable_small_birds") ~= false
if not ENABLE_LARGE then
l_spawn_chance_bird = l_spawn_chance_bird - 18000
end
if not ENABLE_SMALL then
l_spawn_chance_bird = l_spawn_chance_bird - 18000
end
-- Mineclone check
local mod_mcl = core.get_modpath("mcl_core")
-- 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 = "animal_gull.b3d",
textures = {
{"animal_gull_mesh.png"},
{"gull_black.png"},
{"gull_gray.png"},
{"gull_grayblue.png"}
},
rotate = 270,
walk_velocity = 4,
run_velocity = 6,
fall_speed = 0,
stepheight = 3,
fly = true,
keep_flying = true,
water_damage = 0,
lava_damage = 10,
light_damage = 0,
view_range = 14,
animation = {
speed_normal = 24, speed_run = 24,
stand_start = 1, stand_end = 95,
walk_start = 1, walk_end = 95,
fly_start = 1, fly_end = 95,
run_start = 1, run_end = 95
},
on_rightclick = function(self, clicker)
mobs:capture_mob(self, clicker, 5, 60, 0, true, nil)
end
})
mobs:register_egg("mobs_birds:gull", "Gull", "default_cloud.png", 1)
end
-- large birds
if ENABLE_LARGE 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 = "animal_gull.b3d",
textures = {
{"bird_blueish.png"},
{"bird_brown.png"},
{"bird_gray.png"},
{"bird_grayblue.png"},
{"bird_red.png"},
{"bird_redish.png"}
},
visual_size = {x = .5, y = .5},
rotate = 270,
walk_velocity = 4,
run_velocity = 6,
fall_speed = 0,
stepheight = 3,
fly = true,
keep_flying = true,
water_damage = 0,
lava_damage = 10,
light_damage = 0,
view_range = 12,
animation = {
speed_normal = 24, speed_run = 24,
stand_start = 1, stand_end = 95,
walk_start = 1, walk_end = 95,
run_start = 1, run_end = 95
},
on_rightclick = function(self, clicker)
mobs:capture_mob(self, clicker, 5, 60, 0, true, nil)
end
})
mobs:register_egg("mobs_birds:bird_lg", "Large bird", "default_cloud.png", 1)
end
-- small birds
if ENABLE_SMALL 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 = "animal_gull.b3d",
textures = {
{"bird_blueish.png"},
{"bird_brown.png"},
{"bird_gray.png"},
{"bird_grayblue.png"},
{"bird_red.png"},
{"bird_redish.png"}
},
visual_size = {x = .25, y = .25},
rotate = 270,
walk_velocity = 4,
run_velocity = 6,
fall_speed = 0,
stepheight = 3,
fly = true,
keep_flying = true,
water_damage = 0,
lava_damage = 10,
light_damage = 0,
view_range = 10,
animation = {
speed_normal = 24, speed_run = 24,
stand_start = 1, stand_end = 95,
walk_start = 1, walk_end = 95,
run_start = 1, run_end = 95
},
on_rightclick = function(self, clicker)
mobs:capture_mob(self, clicker, 5, 60, 0, true, nil)
end
})
mobs:register_egg("mobs_birds:bird_sm", "Small bird", "default_cloud.png", 1)
end
-- Check for custom spawn.lua
local MP = core.get_modpath(core.get_current_modname()) .. "/"
local input = io.open(MP .. "spawn.lua", "r")
if input then
input:close() ; input = nil ; dofile(MP .. "spawn.lua")
else
if ENABLE_GULLS then
mobs:spawn({
name = "mobs_birds:gull",
nodes = {"air"},
neighbors = {"group:water"},
max_light = 5,
interval = 30,
chance = l_spawn_chance_gull,
min_height = 0,
max_height = 200
})
end
if ENABLE_SMALL then
mobs:spawn({
name = "mobs_birds:bird_sm",
nodes = {"air"},
neighbors = {
"group:leaves" , (mod_mcl and "mcl_core:cactus" or "default:cactus")
},
max_light = 5,
interval = 30,
chance = l_spawn_chance_bird,
min_height = 0,
max_height = 200
})
end
if ENABLE_LARGE then
mobs:spawn({
name = "mobs_birds:bird_lg",
nodes = {"air"},
neighbors = {
"group:leaves" , (mod_mcl and "mcl_core:cactus" or "default:cactus")
},
max_light = 5,
interval = 30,
chance = l_spawn_chance_bird,
min_height = 0,
max_height = 200
})
end
end
print("[MOD] Mobs Redo Birds loaded")

View file

@ -0,0 +1,4 @@
name = mobs_birds
description = Adds birds into your world.
depends = mobs
min_minetest_version = 5.0

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,3 @@
mobs_birds.enable_gulls (Enable Gulls) bool true
mobs_birds.enable_large_birds (Enable Large Birds) bool true
mobs_birds.enable_small_birds (Enable Small Birds) bool true

View file

@ -0,0 +1,54 @@
-- load settings
local ENABLE_GULLS = core.settings:get_bool("mobs_birds.enable_gulls") ~= false
local ENABLE_LARGE = core.settings:get_bool("mobs_birds.enable_large_birds") ~= false
local ENABLE_SMALL = core.settings:get_bool("mobs_birds.enable_small_birds") ~= false
-- Custom spawn examples
if ENABLE_GULL then
mobs:spawn({
name = "mobs_birds:gull",
nodes = {"air"},
neighbors = {"group:water"},
max_light = 5,
interval = 30,
chance = 24000,
min_height = 0,
max_height = 200
})
end
if ENABLE_SMALL then
mobs:spawn({
name = "mobs_birds:bird_sm",
nodes = {"air"},
neighbors = {
"group:leaves" , (mod_mcl and "mcl_core:cactus" or "default:cactus")
},
max_light = 5,
interval = 30,
chance = 18000,
min_height = 0,
max_height = 200
})
end
if ENABLE_LARGE then
mobs:spawn({
name = "mobs_birds:bird_lg",
nodes = {"air"},
neighbors = {
"group:leaves" , (mod_mcl and "mcl_core:cactus" or "default:cactus")
},
max_light = 5,
interval = 30,
chance = 18000,
min_height = 0,
max_height = 200
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View file

@ -0,0 +1,6 @@
Licenses
Code: MIT
Model/Textures: CC-BY-SA 3.0, Author AspireMint
texture modification by: blert2112

View file

@ -0,0 +1,103 @@
-- mod check and settings
local butterfly_mod = core.get_modpath("butterflies")
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 = 20000
-- Butterfly definition
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,
fly_start = 0, fly_end = 90
},
--[[
after_activate = function(self, staticdata, def, dtime)
if butterfly_mod then
local pos = self.object:get_pos()
local butter = {"white", "red", "violet"}
local replace = "butterflies:butterfly_" .. butter[math.random(#butter)]
core.set_node(pos, {name = replace})
self.object:remove()
end
end,
]]
on_rightclick = function(self, clicker)
-- if not butterfly_mod then
mobs:capture_mob(self, clicker, 10, 80, 0, true, "mobs_butterfly:butterfly")
-- end
end
})
--if not butterfly_mod then
-- spawn in world
mobs:spawn_specific("mobs_butterfly:butterfly", {"air"},
l_spawnnear, 5, 20, 30, l_spawnchance, 1, 0, 31000)
-- spawn egg
mobs:register_egg("mobs_butterfly:butterfly", "Butterfly", "default_cloud.png", 1)
--end
print("[MOD] Mobs Redo Butterfly loaded")

View file

@ -0,0 +1,4 @@
name = mobs_butterfly
description = Adds butterflies into your world.
depends = mobs
min_minetest_version = 5.0

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,5 @@
release = 31003
author = TenPlus1
name = mobs_sky
description = Sky Mobs for Mobs Redo
title = Sky Mobs

View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB