poikilos
3 years ago
13 changed files with 1521 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
For license information, see the following files, where they exist, in |
||||
|
each modpack or mod: |
||||
|
|
||||
|
oldcoder.txt |
||||
|
LICENSE |
||||
|
LICENSE.txt |
||||
|
license.txt |
||||
|
README.md |
||||
|
README.txt |
||||
|
readme.txt |
||||
|
|
||||
|
and/or files with similar names. |
@ -0,0 +1,275 @@ |
|||||
|
All of the files involved are used and distributed under FOSS licens- |
||||
|
es. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
License: CC0 aka CC Public Domain |
||||
|
is, or was, described by: |
||||
|
https://creativecommons.org/publicdomain/zero/1.0/ |
||||
|
|
||||
|
License: CC BY-SA 4.0 |
||||
|
is, or was, described by: |
||||
|
https://creativecommons.org/licenses/by-sa/4.0/ |
||||
|
|
||||
|
License: CC BY-SA 3.0 |
||||
|
is, or was, described by: |
||||
|
https://creativecommons.org/licenses/by-sa/3.0/ |
||||
|
|
||||
|
License: CC BY-NC-SA 4.0 |
||||
|
is, or was, described by: |
||||
|
https://creativecommons.org/licenses/by-nc-sa/4.0/ |
||||
|
|
||||
|
License: CC BY-NC-SA 3.0 |
||||
|
is, or was, described by: |
||||
|
https://creativecommons.org/licenses/by-nc-sa/3.0/ |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Original components which are not covered under other copyrights and |
||||
|
licenses are copyright and licensed as follows: |
||||
|
|
||||
|
(c) 2019 and CC BY-NC-SA 4.0: OldCoder (Robert Kiraly). |
||||
|
|
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Additional meats: |
||||
|
- codermobs_beef.png |
||||
|
- codermobs_beef_raw.png |
||||
|
- codermobs_ostrich_meat.png |
||||
|
- codermobs_ostrich_meat_raw.png |
||||
|
- codermobs_venison.png |
||||
|
- codermobs_venison_raw.png |
||||
|
|
||||
|
(c) 2021 Poikilos CC BY-SA 4.0 |
||||
|
|
||||
|
|
||||
|
Spider Meat: |
||||
|
- Edited by Poikilos, based on model and texture by AspireMint according to |
||||
|
<https://forums.minetest.org/viewtopic.php?f=9&t=9301> and |
||||
|
possibly implied by |
||||
|
<https://git.minetest.org/minetest-LOTR/Lord-of-the-Test/src/branch/master/README.md>. |
||||
|
- codermobs_lott_spider_meat_raw.png |
||||
|
- codermobs_lott_spider_meat.png |
||||
|
|
||||
|
(c) ~2014 AspireMint and 2021 Poikilos (edited by) CC BY-SA 3.0 |
||||
|
- history: <https://git.minetest.org/minetest-LOTR/Lord-of-the-Test/commits/branch/master/mods/lottmobs/textures/lottmobs_spider.png> |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
More Creeps and Weirdos for Mobs Redo |
||||
|
https://github.com/22i/amcaw |
||||
|
(Poikilos fork: https://github.com/poikilos/amcaw) |
||||
|
includes: baby, blorp, bubblescum, camel, castle critter, castle guard, |
||||
|
castle king, cavelady, caveman, desert lizard, digibug, discomole, |
||||
|
flobmothership, floob, g, googoat, growbotgreg, guineapig, hippo, |
||||
|
hotdog, hunchback, lawyer, loliman, mandog, oldlady, ponie, ponygirl, |
||||
|
ragingbull, ratman, robotted, robottod, rocketgirafe, rockmonster, |
||||
|
sneaky sal, snowdevil and zebra. |
||||
|
|
||||
|
(c) Astromojang, RickWeek84, amcaw CC BY-SA 3.0 |
||||
|
|
||||
|
except: |
||||
|
- codermobs_oldlady_sea_hag_mesh.png |
||||
|
(c) Astromojang, RickWeek84, amcaw and 2021 Poikilos (edited by) |
||||
|
CC BY-SA 3.0 |
||||
|
|
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
|
||||
|
Skeletons: |
||||
|
|
||||
|
mdskeleton model: |
||||
|
Mdoege |
||||
|
|
||||
|
mdskeleton texture (replaced 2019): |
||||
|
(c) 2019 Poikilos CC BY-SA 4.0 |
||||
|
|
||||
|
mdskeleton sounds (replaced 2019): |
||||
|
(c) 2019 Poikilos CC BY-SA 4.0 |
||||
|
|
||||
|
--------------------------------------------------------------------- |
||||
|
|
||||
|
Models and mesh textures for "baby_chick", "bom", and "icebom": |
||||
|
|
||||
|
(c) 2019 and CC-BY-NC-SA 4.0: Poikilos. OldCoder as well for the "ice- |
||||
|
bom" mesh texture. |
||||
|
|
||||
|
For sound-file information, see the Lua files. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Denny code and media: |
||||
|
See "denny.lua" |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Improved Spider/Bug Sounds: |
||||
|
codermobs_damage_giant_exoskeleton, codermobs_death_giant_bug, |
||||
|
codermobs_use_giant_exoskeleton |
||||
|
(c) 2019 and CC BY-SA 4.0: Poikilos |
||||
|
|
||||
|
Improved Particles: |
||||
|
codermobs_blood, codermobs_damage_stone, codermobs_lott_spider_blood |
||||
|
(c) 2019 and CC BY-SA 4.0: Poikilos |
||||
|
|
||||
|
codermobs_fireball: |
||||
|
(c) 2012 to 2019 and CC-BY-SA 3.0: Sapier, Poikilos |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Media for "animal_materials", "deer", "elk", and "ostrich": |
||||
|
|
||||
|
See the 5 associated Lua source files. In general, the media is: |
||||
|
(c) 2012 to 2019 and CC-BY-SA 3.0: Sapier and Poikilos. |
||||
|
|
||||
|
The "ostrich" texture is as described above but also attribution: Old- |
||||
|
Coder. |
||||
|
|
||||
|
Code for "animal_materials": Same as media. The other 4 mobs listed |
||||
|
here use new code. |
||||
|
|
||||
|
More about the Elk: |
||||
|
|
||||
|
Pixel Art Elk texture: |
||||
|
(c) 2012 to 2019 and CC BY-SA 3.0: Sapier, Polikilos (skinned by) |
||||
|
|
||||
|
HD (video-based) and Lo-fi (16-color video-based) Elk Textures: |
||||
|
based on Elk video "Elk.webm.360p.vp9" (CC BY 2.0 Generic) |
||||
|
Stephen Baker [BLM/Oregon](blm.gov/yg5c).jpg, Poikilos (skinned by) |
||||
|
|
||||
|
Additionally, "chicken.lua" uses Sapier's 3D egg. See that Lua source |
||||
|
file as well. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Egg texture: |
||||
|
MIT License |
||||
|
(c) 2016-2019 TenPlus1 and Poikilos |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Car model: |
||||
|
(c) 2015 and CC-BY-NC-SA 3.0: Melkor. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
mdoege code and/or media |
||||
|
----------------------------- |
||||
|
WTFPL |
||||
|
|
||||
|
PilzAdam code and/or media |
||||
|
----------------------------- |
||||
|
WTFPL |
||||
|
|
||||
|
Bat |
||||
|
----------------------------- |
||||
|
Code: GPL |
||||
|
Model and texture: CC BY-SA 3.0. Attribution: Defense Subgame. |
||||
|
Sound file: WTFPL |
||||
|
|
||||
|
Birds |
||||
|
----------------------------- |
||||
|
(c) 2012-2019 and CC-BY-SA 3.0: Sapier, Poikilos. Sapier created |
||||
|
the original models. Poikilos derived new models from them and created |
||||
|
new textures. |
||||
|
|
||||
|
Butterfly |
||||
|
----------------------------- |
||||
|
(c) 2012 to 2019 and CC BY-SA 3.0: AspireMint. |
||||
|
|
||||
|
Realistic Milk Bucket |
||||
|
----------------------------- |
||||
|
(c) 2015-2019 and CC BY-SA 3.0: ElementW, Poikilos (modified by). |
||||
|
|
||||
|
D00Med code |
||||
|
----------------------------- |
||||
|
GNU Lesser General Public License 2.1 |
||||
|
|
||||
|
D00Med models and/or textures |
||||
|
----------------------------- |
||||
|
Originals: CC BY-SA 3.0 Unported. Attribution: D00Med. |
||||
|
New panda texture: CC BY SA 3.0 2016 D00Med and 2021 Poikilos |
||||
|
|
||||
|
Mr. Goat |
||||
|
----------------------------- |
||||
|
(c) 2016 to 2019 and CC BY-SA 3.0: Don Batman. OldCoder worked on the |
||||
|
eyes. |
||||
|
|
||||
|
NSSM components |
||||
|
----------------------------- |
||||
|
No NSSM are believed presently to be used. If they're used in the |
||||
|
future, the applicable license will be GPL3. |
||||
|
|
||||
|
Sapier components |
||||
|
----------------------------- |
||||
|
(c) 2012-2019 and CC-BY-SA 3.0: Sapier. |
||||
|
|
||||
|
"mobs_mc" components |
||||
|
----------------------------- |
||||
|
Code and models: GNU GPL V3 |
||||
|
|
||||
|
Other "mobs_mc" Polar Bear media: CC BY-SA 4.0. Attribution: "mobs_mc" |
||||
|
team. |
||||
|
|
||||
|
Skandarella components |
||||
|
----------------------------- |
||||
|
For snail, kangaroo, tiger, and T-Rex media license information, see: |
||||
|
license-skandarella.txt |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Krupnov Pavel and TenPlus1 components: |
||||
|
|
||||
|
The MIT License (MIT) |
||||
|
|
||||
|
(c) 2014 Krupnov Pavel -- bugs, kpgmobs, pmobs |
||||
|
(c) 2014 Krupnov Pavel and 2016 TenPlus1 -- mobs_animal |
||||
|
(c) 2016 TenPlus1 -- mobs_monster and mobs_npc |
||||
|
|
||||
|
Permission is hereby granted, free of charge, to any person obtaining |
||||
|
a copy of this software and associated documentation files (the |
||||
|
"Software"), to deal in the Software without restriction, including |
||||
|
without limitation the rights to use, copy, modify, merge, publish, |
||||
|
distribute, sublicense, and/or sell copies of the Software, and to |
||||
|
permit persons to whom the Software is furnished to do so, subject to |
||||
|
the following conditions: |
||||
|
|
||||
|
The above copyright notice and this permission notice shall be |
||||
|
included in all copies or substantial portions of the Software. |
||||
|
|
||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
Blockmen components: |
||||
|
|
||||
|
(c) 2015-2016 BlockMen <blockmen2015@gmail.com> |
||||
|
|
||||
|
This software is provided 'as-is', without any express or implied |
||||
|
warranty. In no event will the authors be held liable for any damages |
||||
|
arising from the use of this software. |
||||
|
|
||||
|
Permission is granted to anyone to use this software for any purpose, |
||||
|
including commercial applications, and to alter it and redistribute it |
||||
|
freely, subject to the following restrictions: |
||||
|
|
||||
|
1. The origin of this software must not be misrepresented; you must |
||||
|
not claim that you wrote the original software. If you use this |
||||
|
software in a product, an acknowledgment in the product documentation |
||||
|
is required. |
||||
|
|
||||
|
2. Altered source versions must be plainly marked as such, and must |
||||
|
not be misrepresented as being the original software. |
||||
|
|
||||
|
3. This notice may not be removed or altered from any source |
||||
|
distribution. |
||||
|
|
||||
|
(end of document) |
@ -0,0 +1,146 @@ |
|||||
|
-- Kangaroo. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "kangaroo" |
||||
|
local ucname = "Kangaroo" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 30 , |
||||
|
min_height = 1 , |
||||
|
max_height = 150 , |
||||
|
|
||||
|
spawn_type = "animal" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:desert_sand" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"ethereal:dry_dirt" , |
||||
|
"ethereal:grass_grove" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_kangaroo.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_npcs = false , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 2 , |
||||
|
fear_height = 4 , |
||||
|
floats = 0 , |
||||
|
group_attack = true , |
||||
|
hp_max = 55 , |
||||
|
hp_min = 25 , |
||||
|
jump = true , |
||||
|
jump_height = 8 , |
||||
|
owner_loyal = true , |
||||
|
passive = false , |
||||
|
pushable = true , |
||||
|
reach = 2 , |
||||
|
run_velocity = 5 , |
||||
|
runaway = true , |
||||
|
stepheight = 2 , |
||||
|
view_range = 10 , |
||||
|
walk_velocity = 5 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 5 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -0.50, -0.01, -0.50, 0.50, 0.95, 0.50 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = {{ msname .. ".png" }} , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 100 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
punch_start = 200 , |
||||
|
punch_end = 300 , |
||||
|
|
||||
|
die_start = 1 , |
||||
|
die_end = 2 , |
||||
|
die_speed = 1 , |
||||
|
die_loop = false , |
||||
|
die_rotate = true , |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"default:grass_3" , |
||||
|
"default:dry_grass_3" , |
||||
|
"ethereal:dry_shrub" , |
||||
|
"farming:lettuce" , |
||||
|
"farming:seed_wheat" , |
||||
|
"default:junglegrass" , |
||||
|
} , |
||||
|
|
||||
|
runaway_from = { |
||||
|
"animalworld:bear" , |
||||
|
"animalworld:crocodile" , |
||||
|
"animalworld:tiger" , |
||||
|
"animalworld:spider" , |
||||
|
"animalworld:spidermale" , |
||||
|
"animalworld:shark" , |
||||
|
"animalworld:hyena" , |
||||
|
"animalworld:kobra" , |
||||
|
"animalworld:monitor" , |
||||
|
"animalworld:snowleopard" , |
||||
|
"animalworld:volverine" , |
||||
|
"player" |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
} , |
||||
|
|
||||
|
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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,19 @@ |
|||||
|
Name: codermobs |
||||
|
Source: New mod using existing media files |
||||
|
License: See "LICENSE" |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
1. This is a new mod which implements a number of Final Minetest 3D |
||||
|
mobs. |
||||
|
|
||||
|
For general information, see the "_game" documentation, which covers |
||||
|
this mod and the associated modpack in detail. |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
2. The code is largely new, but it includes elements from existing |
||||
|
mods. The media files, in most cases, have been extracted from the |
||||
|
same or similar mods. |
||||
|
|
||||
|
For license information, see "LICENSE". |
@ -0,0 +1,166 @@ |
|||||
|
-- Snail. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "snail" |
||||
|
local ucname = "Snail" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 40000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 2 , |
||||
|
max_height = 200 , |
||||
|
|
||||
|
spawn_type = "animal" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:dirt_with_dry_grass" , |
||||
|
"ethereal:mushroom_dirt" , |
||||
|
} , |
||||
|
|
||||
|
spawn_by = { |
||||
|
"group:grass" , |
||||
|
"flowers:mushroom_brown" , |
||||
|
"farming:cucumber" , |
||||
|
"flowers:dandelion_yellow" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_snail.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_npcs = false , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 0 , |
||||
|
fear_height = 3 , |
||||
|
floats = 0 , |
||||
|
group_attack = true , |
||||
|
hp_max = 20 , |
||||
|
hp_min = 10 , |
||||
|
stepheight = 3 , |
||||
|
jump = false , |
||||
|
jump_height = 3 , |
||||
|
owner_loyal = true , |
||||
|
passive = true , |
||||
|
pushable = true , |
||||
|
reach = 2 , |
||||
|
run_velocity = 0.4 , |
||||
|
runaway = false , |
||||
|
type = "animal" , |
||||
|
view_range = 5 , |
||||
|
walk_velocity = 0.2 , |
||||
|
|
||||
|
lava_damage = 5 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 1 , |
||||
|
|
||||
|
collisionbox = { -0.20, -0.01, -0.20, 0.20, 0.30, 0.20 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = {{ msname .. ".png" }} , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 25 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
die_start = 1 , |
||||
|
die_end = 2 , |
||||
|
die_speed = 1 , |
||||
|
die_loop = false , |
||||
|
die_rotate = true , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"default:apple" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"farming:seed_wheat" , |
||||
|
"default:junglegrass" , |
||||
|
"farming:seed_oat" , |
||||
|
"default:kelp" , |
||||
|
"seaweed" , |
||||
|
"xocean:kelp" , |
||||
|
"default:grass" , |
||||
|
"farming:cucumber" , |
||||
|
"farming:cabbage" , |
||||
|
"xocean:seagrass" , |
||||
|
"farming:lettuce" , |
||||
|
"default:junglegrass" |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ |
||||
|
name = "codermobs:snail" , |
||||
|
chance = 3 , |
||||
|
min = 1 , |
||||
|
max = 1 , |
||||
|
} , |
||||
|
} , |
||||
|
|
||||
|
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, |
||||
|
30, 50, 80, false, nil) then |
||||
|
return |
||||
|
end |
||||
|
end , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
minetest.register_craftitem (":codermobs:escargot", { |
||||
|
description = ("Escargot") , |
||||
|
inventory_image = "codermobs_escargot.png" , |
||||
|
on_use = minetest.item_eat (2) , |
||||
|
groups = { food_meat_raw=1, flammable=2 } , |
||||
|
}) |
||||
|
|
||||
|
minetest.register_craft ({ |
||||
|
output = "codermobs:escargot" , |
||||
|
type = "shapeless" , |
||||
|
recipe = { |
||||
|
"codermobs:snail" , |
||||
|
"group:food_garlic_clove" , |
||||
|
"group:food_butter" , |
||||
|
"farming:bread" , |
||||
|
} , |
||||
|
}) |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,131 @@ |
|||||
|
-- Tiger. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "tiger" |
||||
|
local ucname = "Tiger" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 1 , |
||||
|
max_height = 50 , |
||||
|
|
||||
|
spawn_type = "monster" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:dirt_with_rainforest_litter" , |
||||
|
"ethereal:green_dirt" , |
||||
|
"ethereal:grass_grove" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_tiger.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_animals = true , |
||||
|
attack_npcs = true , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 13 , |
||||
|
fear_height = 4 , |
||||
|
group_attack = true , |
||||
|
hp_max = 75 , |
||||
|
hp_min = 45 , |
||||
|
owner_loyal = false , |
||||
|
passive = false , |
||||
|
pushable = false , |
||||
|
reach = 2 , |
||||
|
runaway = false , |
||||
|
view_range = 15 , |
||||
|
|
||||
|
floats = 0 , |
||||
|
jump = true , |
||||
|
jump_height = 6 , |
||||
|
run_velocity = 4 , |
||||
|
stepheight = 2 , |
||||
|
walk_velocity = 2 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 4 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -0.50, -0.01, -0.50, 0.50, 0.95, 0.50 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = {{ msname .. ".png" }} , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 100 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
punch_start = 200 , |
||||
|
punch_end = 300 , |
||||
|
-- 50-70 is slide/water idle |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"ethereal:fish_raw" , |
||||
|
"animalworld:rawfish" , |
||||
|
"mobs_fish:tropical" , |
||||
|
"mobs:meat_raw" , |
||||
|
"animalworld:rabbit_raw" , |
||||
|
"animalworld:pork_raw" , |
||||
|
"water_life:meat_raw" , |
||||
|
"animalworld:chicken_raw" , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
random = "codermobs_tiger" , |
||||
|
attack = "codermobs_tiger" , |
||||
|
} , |
||||
|
|
||||
|
on_rightclick = function (self, clicker) |
||||
|
if mobs:feed_tame (self, clicker, 4, true, 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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,141 @@ |
|||||
|
-- T-Rex. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "trex" |
||||
|
local ucname = "T-Rex" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 1 , |
||||
|
max_height = 500 , |
||||
|
|
||||
|
spawn_type = "monster" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"ethereal:prairie_dirt" , |
||||
|
"ethereal:dry_dirt" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"default:dirt_with_rainforest_litter" , |
||||
|
"default:sand" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_trex.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_animals = true , |
||||
|
attack_npcs = true , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 30 , |
||||
|
fear_height = 3 , |
||||
|
group_attack = true , |
||||
|
hp_max = 550 , |
||||
|
hp_min = 300 , |
||||
|
owner_loyal = false , |
||||
|
passive = false , |
||||
|
pathfinding = true , |
||||
|
pushable = false , |
||||
|
reach = 6 , |
||||
|
runaway = false , |
||||
|
view_range = 10 , |
||||
|
|
||||
|
floats = 0 , |
||||
|
jump = false , |
||||
|
jump_height = 6 , |
||||
|
run_velocity = 3 , |
||||
|
stepheight = 1 , |
||||
|
walk_chance = 20 , |
||||
|
walk_velocity = 3 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 4 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -1.20, -0.01, -1.00, 1.20, 1.50, 1.00 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = {{ msname .. ".png" }} , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 30, |
||||
|
stand_start = 250, |
||||
|
stand_end = 350, |
||||
|
walk_speed = 75, |
||||
|
walk_start = 0, |
||||
|
walk_end = 100, |
||||
|
punch_speed = 100, |
||||
|
punch_start = 100, |
||||
|
punch_end = 200, |
||||
|
-- 50-70 is slide/water idle |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"ethereal:fish_raw" , |
||||
|
"animalworld:rawfish" , |
||||
|
"mobs_fish:tropical" , |
||||
|
"mobs:meat_raw" , |
||||
|
"animalworld:rabbit_raw" , |
||||
|
"animalworld:pork_raw" , |
||||
|
"water_life:meat_raw" , |
||||
|
"animalworld:chicken_raw" , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
random = "codermobs_trex1" , |
||||
|
attack = "codermobs_trex2" , |
||||
|
distance = 20 , |
||||
|
} , |
||||
|
|
||||
|
on_rightclick = function (self, clicker) |
||||
|
if mobs:feed_tame (self, clicker, 4, true, 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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,13 @@ |
|||||
|
Name: codermobs |
||||
|
Source: New modpack mixing original and forked mods |
||||
|
License: See notes below |
||||
|
|
||||
|
---------------------------------------------------------------------- |
||||
|
|
||||
|
The full documentation for "codermobs" is presently merged into the |
||||
|
"_game" documentation. |
||||
|
|
||||
|
Media files are derived, in general, from older mods. The code mixes |
||||
|
old and new pieces. |
||||
|
|
||||
|
License files are present in the individual mod directories. |
@ -0,0 +1,5 @@ |
|||||
|
See the version of the branch in EnlivenMinetest/Bucket_Game-base/ |
||||
|
for the license if it is not in the Bucket_Game-branches directory. |
||||
|
Not being present indicates it doesn't change in the patch. |
||||
|
It is not present in the patch to avoid conflicts with patches |
||||
|
that involve the same directory. |
@ -0,0 +1,153 @@ |
|||||
|
-- Kangaroo. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "kangaroo" |
||||
|
local ucname = "Kangaroo" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 30 , |
||||
|
min_height = 1 , |
||||
|
max_height = 150 , |
||||
|
|
||||
|
spawn_type = "animal" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:desert_sand" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"ethereal:dry_dirt" , |
||||
|
"ethereal:grass_grove" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_kangaroo.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local dup_texture_count = 18 |
||||
|
local multimesh_textures = {} |
||||
|
for multimesh_texture_i = 1,dup_texture_count,1 |
||||
|
do |
||||
|
multimesh_textures[multimesh_texture_i] = msname .. ".png" |
||||
|
end |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_npcs = false , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 2 , |
||||
|
fear_height = 4 , |
||||
|
floats = 0 , |
||||
|
group_attack = true , |
||||
|
hp_max = 55 , |
||||
|
hp_min = 25 , |
||||
|
jump = true , |
||||
|
jump_height = 8 , |
||||
|
owner_loyal = true , |
||||
|
passive = false , |
||||
|
pushable = true , |
||||
|
reach = 2 , |
||||
|
run_velocity = 5 , |
||||
|
runaway = true , |
||||
|
stepheight = 2 , |
||||
|
view_range = 10 , |
||||
|
walk_velocity = 5 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 5 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -0.50, -0.01, -0.50, 0.50, 0.95, 0.50 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = multimesh_textures , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 100 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
punch_start = 200 , |
||||
|
punch_end = 300 , |
||||
|
|
||||
|
die_start = 1 , |
||||
|
die_end = 2 , |
||||
|
die_speed = 1 , |
||||
|
die_loop = false , |
||||
|
die_rotate = true , |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"default:grass_3" , |
||||
|
"default:dry_grass_3" , |
||||
|
"ethereal:dry_shrub" , |
||||
|
"farming:lettuce" , |
||||
|
"farming:seed_wheat" , |
||||
|
"default:junglegrass" , |
||||
|
} , |
||||
|
|
||||
|
runaway_from = { |
||||
|
"animalworld:bear" , |
||||
|
"animalworld:crocodile" , |
||||
|
"animalworld:tiger" , |
||||
|
"animalworld:spider" , |
||||
|
"animalworld:spidermale" , |
||||
|
"animalworld:shark" , |
||||
|
"animalworld:hyena" , |
||||
|
"animalworld:kobra" , |
||||
|
"animalworld:monitor" , |
||||
|
"animalworld:snowleopard" , |
||||
|
"animalworld:volverine" , |
||||
|
"player" |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
} , |
||||
|
|
||||
|
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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,173 @@ |
|||||
|
-- Snail. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "snail" |
||||
|
local ucname = "Snail" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 40000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 2 , |
||||
|
max_height = 200 , |
||||
|
|
||||
|
spawn_type = "animal" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:dirt_with_dry_grass" , |
||||
|
"ethereal:mushroom_dirt" , |
||||
|
} , |
||||
|
|
||||
|
spawn_by = { |
||||
|
"group:grass" , |
||||
|
"flowers:mushroom_brown" , |
||||
|
"farming:cucumber" , |
||||
|
"flowers:dandelion_yellow" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_snail.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local dup_texture_count = 10 |
||||
|
local multimesh_textures = {} |
||||
|
for multimesh_texture_i = 1,dup_texture_count,1 |
||||
|
do |
||||
|
multimesh_textures[multimesh_texture_i] = msname .. ".png" |
||||
|
end |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_npcs = false , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 0 , |
||||
|
fear_height = 3 , |
||||
|
floats = 0 , |
||||
|
group_attack = true , |
||||
|
hp_max = 20 , |
||||
|
hp_min = 10 , |
||||
|
stepheight = 3 , |
||||
|
jump = false , |
||||
|
jump_height = 3 , |
||||
|
owner_loyal = true , |
||||
|
passive = true , |
||||
|
pushable = true , |
||||
|
reach = 2 , |
||||
|
run_velocity = 0.4 , |
||||
|
runaway = false , |
||||
|
type = "animal" , |
||||
|
view_range = 5 , |
||||
|
walk_velocity = 0.2 , |
||||
|
|
||||
|
lava_damage = 5 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 1 , |
||||
|
|
||||
|
collisionbox = { -0.20, -0.01, -0.20, 0.20, 0.30, 0.20 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = multimesh_textures , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 25 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
die_start = 1 , |
||||
|
die_end = 2 , |
||||
|
die_speed = 1 , |
||||
|
die_loop = false , |
||||
|
die_rotate = true , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"default:apple" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"farming:seed_wheat" , |
||||
|
"default:junglegrass" , |
||||
|
"farming:seed_oat" , |
||||
|
"default:kelp" , |
||||
|
"seaweed" , |
||||
|
"xocean:kelp" , |
||||
|
"default:grass" , |
||||
|
"farming:cucumber" , |
||||
|
"farming:cabbage" , |
||||
|
"xocean:seagrass" , |
||||
|
"farming:lettuce" , |
||||
|
"default:junglegrass" |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ |
||||
|
name = "codermobs:snail" , |
||||
|
chance = 3 , |
||||
|
min = 1 , |
||||
|
max = 1 , |
||||
|
} , |
||||
|
} , |
||||
|
|
||||
|
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, |
||||
|
30, 50, 80, false, nil) then |
||||
|
return |
||||
|
end |
||||
|
end , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
minetest.register_craftitem (":codermobs:escargot", { |
||||
|
description = ("Escargot") , |
||||
|
inventory_image = "codermobs_escargot.png" , |
||||
|
on_use = minetest.item_eat (2) , |
||||
|
groups = { food_meat_raw=1, flammable=2 } , |
||||
|
}) |
||||
|
|
||||
|
minetest.register_craft ({ |
||||
|
output = "codermobs:escargot" , |
||||
|
type = "shapeless" , |
||||
|
recipe = { |
||||
|
"codermobs:snail" , |
||||
|
"group:food_garlic_clove" , |
||||
|
"group:food_butter" , |
||||
|
"farming:bread" , |
||||
|
} , |
||||
|
}) |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,138 @@ |
|||||
|
-- Tiger. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "tiger" |
||||
|
local ucname = "Tiger" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 1 , |
||||
|
max_height = 50 , |
||||
|
|
||||
|
spawn_type = "monster" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"default:dirt_with_rainforest_litter" , |
||||
|
"ethereal:green_dirt" , |
||||
|
"ethereal:grass_grove" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_tiger.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local dup_texture_count = 20 |
||||
|
local multimesh_textures = {} |
||||
|
for multimesh_texture_i = 1,dup_texture_count,1 |
||||
|
do |
||||
|
multimesh_textures[multimesh_texture_i] = msname .. ".png" |
||||
|
end |
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_animals = true , |
||||
|
attack_npcs = true , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 13 , |
||||
|
fear_height = 4 , |
||||
|
group_attack = true , |
||||
|
hp_max = 75 , |
||||
|
hp_min = 45 , |
||||
|
owner_loyal = false , |
||||
|
passive = false , |
||||
|
pushable = false , |
||||
|
reach = 2 , |
||||
|
runaway = false , |
||||
|
view_range = 15 , |
||||
|
|
||||
|
floats = 0 , |
||||
|
jump = true , |
||||
|
jump_height = 6 , |
||||
|
run_velocity = 4 , |
||||
|
stepheight = 2 , |
||||
|
walk_velocity = 2 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 4 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -0.50, -0.01, -0.50, 0.50, 0.95, 0.50 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = multimesh_textures , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 100 , |
||||
|
stand_start = 0 , |
||||
|
stand_end = 100 , |
||||
|
walk_start = 100 , |
||||
|
walk_end = 200 , |
||||
|
punch_start = 200 , |
||||
|
punch_end = 300 , |
||||
|
-- 50-70 is slide/water idle |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"ethereal:fish_raw" , |
||||
|
"animalworld:rawfish" , |
||||
|
"mobs_fish:tropical" , |
||||
|
"mobs:meat_raw" , |
||||
|
"animalworld:rabbit_raw" , |
||||
|
"animalworld:pork_raw" , |
||||
|
"water_life:meat_raw" , |
||||
|
"animalworld:chicken_raw" , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
random = "codermobs_tiger" , |
||||
|
attack = "codermobs_tiger" , |
||||
|
} , |
||||
|
|
||||
|
on_rightclick = function (self, clicker) |
||||
|
if mobs:feed_tame (self, clicker, 4, true, 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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
@ -0,0 +1,149 @@ |
|||||
|
-- T-Rex. Descended from Skandarella version. |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local lcname = "trex" |
||||
|
local ucname = "T-Rex" |
||||
|
local msname = "codermobs_" .. lcname |
||||
|
local obj_name = "codermobs:" .. lcname |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
mobs_param = { |
||||
|
lcname = lcname , |
||||
|
ucname = ucname , |
||||
|
obj_name = obj_name , |
||||
|
|
||||
|
aoc = -1 , |
||||
|
spawn_chance = 8000 , |
||||
|
|
||||
|
day_mode = true , |
||||
|
min_light = 0 , |
||||
|
max_light = 20 , |
||||
|
min_height = 1 , |
||||
|
max_height = 500 , |
||||
|
|
||||
|
spawn_type = "monster" , |
||||
|
|
||||
|
spawn_nodes = { |
||||
|
"ethereal:prairie_dirt" , |
||||
|
"ethereal:dry_dirt" , |
||||
|
"default:dry_dirt_with_dry_grass" , |
||||
|
"default:dirt_with_rainforest_litter" , |
||||
|
"default:sand" , |
||||
|
} , |
||||
|
|
||||
|
add_egg = true , |
||||
|
egg_image = "egg_trex.png" , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.adjust_param() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
local dup_texture_count = 30 |
||||
|
local multimesh_textures = {} |
||||
|
for multimesh_texture_i = 1,dup_texture_count,1 |
||||
|
do |
||||
|
multimesh_textures[multimesh_texture_i] = msname .. ".png" |
||||
|
end |
||||
|
|
||||
|
|
||||
|
mobs_param.core_param = { |
||||
|
type = mobs_param.spawn_type , |
||||
|
makes_footstep_sound = true , |
||||
|
|
||||
|
armor = 100 , |
||||
|
attack_animals = true , |
||||
|
attack_npcs = true , |
||||
|
attack_type = "dogfight" , |
||||
|
damage = 30 , |
||||
|
fear_height = 3 , |
||||
|
group_attack = true , |
||||
|
hp_max = 550 , |
||||
|
hp_min = 300 , |
||||
|
owner_loyal = false , |
||||
|
passive = false , |
||||
|
pathfinding = true , |
||||
|
pushable = false , |
||||
|
reach = 6 , |
||||
|
runaway = false , |
||||
|
view_range = 10 , |
||||
|
|
||||
|
floats = 0 , |
||||
|
jump = false , |
||||
|
jump_height = 6 , |
||||
|
run_velocity = 3 , |
||||
|
stepheight = 1 , |
||||
|
walk_chance = 20 , |
||||
|
walk_velocity = 3 , |
||||
|
|
||||
|
air_damage = 0 , |
||||
|
lava_damage = 4 , |
||||
|
light_damage = 0 , |
||||
|
water_damage = 0 , |
||||
|
|
||||
|
collisionbox = { -1.20, -0.01, -1.00, 1.20, 1.50, 1.00 } , |
||||
|
mesh = msname .. ".b3d" , |
||||
|
textures = multimesh_textures , |
||||
|
visual = "mesh" , |
||||
|
|
||||
|
animation = { |
||||
|
speed_normal = 30, |
||||
|
stand_start = 250, |
||||
|
stand_end = 350, |
||||
|
walk_speed = 75, |
||||
|
walk_start = 0, |
||||
|
walk_end = 100, |
||||
|
punch_speed = 100, |
||||
|
punch_start = 100, |
||||
|
punch_end = 200, |
||||
|
-- 50-70 is slide/water idle |
||||
|
} , |
||||
|
|
||||
|
drops = { |
||||
|
{ name="mobs:meat_raw", chance=1, min=1, max=1 } , |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
} , |
||||
|
|
||||
|
follow = { |
||||
|
"ethereal:fish_raw" , |
||||
|
"animalworld:rawfish" , |
||||
|
"mobs_fish:tropical" , |
||||
|
"mobs:meat_raw" , |
||||
|
"animalworld:rabbit_raw" , |
||||
|
"animalworld:pork_raw" , |
||||
|
"water_life:meat_raw" , |
||||
|
"animalworld:chicken_raw" , |
||||
|
} , |
||||
|
|
||||
|
sounds = { |
||||
|
random = "codermobs_trex1" , |
||||
|
attack = "codermobs_trex2" , |
||||
|
distance = 20 , |
||||
|
} , |
||||
|
|
||||
|
on_rightclick = function (self, clicker) |
||||
|
if mobs:feed_tame (self, clicker, 4, true, 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 , |
||||
|
} |
||||
|
|
||||
|
-- =================================================================== |
||||
|
|
||||
|
codermobs.setup_mob() |
||||
|
codermobs.log_done() |
||||
|
|
||||
|
-- =================================================================== |
||||
|
-- End of file. |
Loading…
Reference in new issue