Update chicken, sheep, ghost, oerkki, & zombie mods with creatures...

Replaces mobs:oerkki
master
Jordan Irwin 2021-04-30 06:06:50 -07:00
parent 0e7aa3f1af
commit 27973087b0
78 changed files with 479 additions and 817 deletions

View File

@ -79,7 +79,8 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* [animals_aggressive][] -- version: [4eede4d Git][ver.animals_aggressive] *2017-08-28*
* mob_shark ([CC BY-SA][lic.ccbysa3.0]) -- forked from [Animals Modpack][animals]
* [animals_harmless][] -- version: [e9b02a8][ver.animals_harmless] *2017-08-09*
* mob_sheep ([Zlib][lic.zlib]) -- forked from [mob-engine][]
* [chicken][creatures] ([Zlib][lic.creatures] / [CC BY-SA][lic.ccbysa3.0]) -- version: [c89960a Git][ver.chicken] *2021-04-30*
* [sheep][creatures] ([Zlib][lic.creatures] / [CC BY-SA][lic.ccbysa3.0]) -- version: [10523b6 Git][ver.sheep] *2021-04-30*
* [dinosaurs_aggressive][] -- version: [874f299 Git][ver.dinosaurs_aggressive] *2017-07-27*
* velociraptor ([LGPL][lic.lgpl2.1] / [CC BY-SA][lic.ccbysa3.0]) -- forked from *mobs_farlands* (part of [farlands][] sub-game)
* engine/
@ -90,7 +91,10 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* general/
* [mobs_animal][] ([MIT][lic.mobs_animal]) -- version: [80e72a4 Git][ver.mobs_animal] *2021-04-13* ([patched][patch.mobs_animal])
* [monsters_aggressive][] (see individual mods for licensing) -- version: [89a8187 Git][ver.monsters_aggressive] *2017-08-30*
* [ghost][creatures] ([Zlib][lic.creatures] / [CC BY-SA][lic.ccbysa3.0]) -- version: [2d3308c Git][ver.ghost] *2021-04-30*
* [oerkki][creatures] ([Zlib][lic.creatures] / [CC BY-SA][lic.ccbysa3.0]) -- version: [eb98833 Git][ver.oerkki] *2021-04-30*
* [sneeker][] ([CC0][lic.cc0]) -- version: [7c05c4d Git][ver.sneeker] *2021-04-19*
* [zombie][creatures] ([Zlib][lic.creatures] / [CC BY-SA][lic.ccbysa3.0]) -- version: [213a05b Git][ver.zombie] *2021-04-30*
* [monsters_passive][] (see individual mods for licensing) -- version: [b07fe19 Git][ver.monsters_passive] *2017-08-09*
* [painting][] (???) -- version [8961849 Git][ver.painting] *2016-05-05*
* [pipeworks][] ([LGPL][lic.lgpl3.0]) -- version: [2021-02-19][ver.pipeworks]
@ -303,7 +307,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[listitems]: https://forum.minetest.net/viewtopic.php?t=18049
[mesecons]: https://forum.minetest.net/viewtopic.php?t=628
[minetest_game]: https://github.com/minetest/minetest_game
[mob-engine]: https://github.com/minetest-mods/mob-engine
[mobkit]: https://forum.minetest.net/viewtopic.php?t=22112
[mobs_animal]: https://github.com/tenplus1/mobs_animal
[goblins]: https://forum.minetest.net/viewtopic.php?t=13004
@ -484,6 +487,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.castle_tapestries]: https://github.com/minetest-mods/castle_tapestries/tree/f5e3ac1
[ver.castle_weapons]: https://github.com/minetest-mods/castle_weapons/tree/d3cf095
[ver.chatlog]: https://github.com/AntumMT/mod-chatlog/tree/v1.0
[ver.chicken]: http://github.com/AntumMT/mod-creatures/tree/c89960a
[ver.christmas]: https://github.com/TheZenKitteh/minetest-christmas/tree/d3bd872
[ver.cleaner]: https://github.com/AntumMT/mod-cleaner/tree/68222b1
[ver.coloredwood]: https://gitlab.com/VanessaE/coloredwood/tags/2021-01-30
@ -505,6 +509,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.fort_spikes]: https://github.com/xeranas/fort_spikes/tree/3b98b46
[ver.gems_encrustable]: https://github.com/wowiamdiamonds/gems/tree/81d513d
[ver.gems_tools]: https://github.com/captainLAD/gems/tree/b375432
[ver.ghost]: https://github.com/AntumMT/mod-creatures/tree/2d3308c
[ver.glass]: https://github.com/AntumMT/mod-glass/releases/tag/v1.0
[ver.glow]: https://github.com/bdjnk/glow/tree/4c015a0
[ver.hbarmor]: http://repo.or.cz/minetest_hbarmor.git/tree/93d994c
@ -547,6 +552,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.mywoodslopes]: https://github.com/minetest-mods/mywoodslopes/tree/3a1b531
[ver.nether]: https://github.com/minetest-mods/nether/tree/v3
[ver.no_fall_damage]: https://repo.or.cz/minetest_no_fall_damage.git/shortlog/refs/tags/1.0.0
[ver.oerkki]: https://github.com/AntumMT/mod-creatures/tree/eb98833
[ver.override]: https://github.com/AntumMT/mod-override/tree/e6dda7a
[ver.painting]: https://github.com/minetest-mods/painting/tree/8961849
[ver.pipeworks]: https://gitlab.com/VanessaE/pipeworks/-/tags/2021-02-19
@ -556,6 +562,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.rainbow_ore]: https://github.com/FsxShader2012/rainbow_ore/tree/6e77693
[ver.server_shop]: https://github.com/AntumMT/mod-server_shop/releases/tag/v1.1
[ver.sfinv_buttons]: http://repo.or.cz/minetest_sfinv_buttons.git/tree/ebb1f7c
[ver.sheep]: https://github.com/AntumMT/mod-creatures/tree/10523b6
[ver.signs_lib]: https://gitlab.com/VanessaE/signs_lib/tree/2021-03-04-2
[ver.simple_protection]: https://github.com/SmallJoker/simple_protection/tree/3630fe9
[ver.slingshot]: https://github.com/AntumMT/mod-slingshot/tree/bb77525
@ -578,6 +585,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.windmill]: https://github.com/Sokomine/windmill/tree/47b029d
[ver.workbench]: https://github.com/minetest-mods/workbench/tree/bd14f59
[ver.worldedge]: https://github.com/minetest-mods/worldedge/tree/608462d
[ver.zombie]: https://github.com/AntumMT/mod-creatures/tree/213a05b
[patch.3d_armor]: https://github.com/AntumMT/mp-3d_armor/tree/19d1001
[patch.airtanks]: https://github.com/AntumMT/mod-airtanks/tree/fd52265

View File

@ -17,4 +17,4 @@ 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.
3. This notice may not be removed or altered from any source distribution.

View File

@ -2,13 +2,14 @@ Chicken for Creatures MOB-Engine
================================
Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com>
Version: 2.2
Version: 2.3
Adds chicken to Minetest (requires Creatures MOB-Engine).
Chicken spawn on dirt and grass blocks, have 5 HP and are friendly. When killed or dying
they drop meat, which can be eaten or cooked and probably some feathers. Also they drop
randomly eggs, which can be thrown to spawn new chicken or fried and eaten.
randomly eggs, which can be thrown to spawn new chicken or fried and eaten. They appear
with white or brown feathers.
License:

View File

@ -0,0 +1,40 @@
Version 2.1
-----------
- Added death animations
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Fixed bug that hostile mobs did sometimes not attack
- Reduced sheep model size
- Tweak codestyle a bit/ added missing documentation of combat values
Version 2.2
-----------
- Added chicken
- Readded sheep spawner (by LNJ)
- Fix possible crash (reported by bbaez)
- Added descriptions to spawners
- Added option to set custom panic and swim animations
Version 2.2.1
-------------
- Fixed crash caused by not existing node
Version 2.2.2
-------------
- Eggs can be thrown to spawn chicken (rare)
- Chicken drop chicken meat and feather(s) on death
- Fixed spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
Version 2.3
-----------
- Added Oerrki
- Added fried eggs
- Fixed moveing facement being reset
- Fixed chicken model
- Fixed sneaky variable not working
- Fixed feathers being eatable
Version 2.3.1
-------------
- Added colored sheep
- Fixed Oerrki spawning times (spawns on night as intended)

View File

@ -29,7 +29,7 @@ local function timer(step, entity)
if entity.physical_state == false then
if entity.ref then
if math.random(1, 20) == 5 then
core.add_entity(entity.ref:getpos(), "creatures:chicken")
core.add_entity(entity.ref:get_pos(), "creatures:chicken")
end
entity.ref:remove()
end
@ -39,7 +39,7 @@ local function timer(step, entity)
end
function throw_egg(player, strength)
local pos = player:getpos()
local pos = player:get_pos()
pos.y = pos.y + 1.5
local dir = player:get_look_dir()
pos.x = pos.x + dir.x
@ -49,8 +49,8 @@ function throw_egg(player, strength)
local entity = obj:get_luaentity()
entity.ref = obj
entity.mergeable = false
obj:setvelocity({x = dir.x * strength, y = -3, z = dir.z * strength})
obj:setacceleration({x = dir.x * -5 + dir.y, y = -13, z = dir.z * -5 + dir.y})
obj:set_velocity({x = dir.x * strength, y = -3, z = dir.z * strength})
obj:set_acceleration({x = dir.x * -5 + dir.y, y = -13, z = dir.z * -5 + dir.y})
timer(0.1, entity)
return true
end

View File

@ -21,53 +21,45 @@
if creatures.mobs_replace_items then
-- Use egg & fried egg from 'mobs' engine
minetest.register_alias("creatures:egg", "mobs:egg")
minetest.register_alias("creatures:fried_egg", "mobs:chicken_egg_fried")
else
-- Egg
dofile(core.get_modpath("chicken") .. "/egg.lua")
end
-- Egg
dofile(core.get_modpath("chicken") .. "/egg.lua")
local function dropEgg(obj)
local pos = obj:getpos()
local pos = obj:get_pos()
if pos then
creatures.dropItems(pos, {{"creatures:egg"}})
end
end
if creatures.mobs_replace_items then
-- Use meat & feather from 'mobs' engine
minetest.register_alias("creatures:chicken_flesh", "mobs:chicken_raw")
minetest.register_alias("creatures:chicken_meat", "mobs:chicken_cooked")
minetest.register_alias("creatures:feather", "mobs:chicken_feather")
else
-- Flesh
core.register_craftitem(":creatures:chicken_flesh", {
description = "Raw Chicken Flesh",
inventory_image = "creatures_chicken_flesh.png",
on_use = core.item_eat(1)
})
core.register_craftitem(":creatures:chicken_meat", {
description = "Chicken Meat",
inventory_image = "creatures_chicken_meat.png",
on_use = core.item_eat(3)
})
core.register_craft({
type = "cooking",
output = "creatures:chicken_meat",
recipe = "creatures:chicken_flesh",
})
-- Feather
core.register_craftitem(":creatures:feather", {
description = "Feather",
inventory_image = "creatures_feather.png",
})
end
-- Flesh
core.register_craftitem(":creatures:chicken_flesh", {
description = "Raw Chicken Flesh",
inventory_image = "creatures_chicken_flesh.png",
on_use = core.item_eat(1)
})
core.register_craftitem(":creatures:chicken_meat", {
description = "Chicken Meat",
inventory_image = "creatures_chicken_meat.png",
on_use = core.item_eat(3)
})
core.register_craft({
type = "cooking",
output = "creatures:chicken_meat",
recipe = "creatures:chicken_flesh",
})
-- Feather
core.register_craftitem(":creatures:feather", {
description = "Feather",
inventory_image = "creatures_feather.png",
})
local colors = {
white = {chance = 0.7},
brown = {chance = 0.3}
}
local def = {
-- general
@ -88,14 +80,14 @@ local def = {
idle2 = {chance = 0.69, duration = 0.8},
pick = {chance = 0.2, duration = 2},
walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2},
panic = {moving_speed = 2.1},
panic = {moving_speed = 3.1, update_yaw = 0.8},
lay_egg = {chance = 0.01, duration = 1},
},
model = {
mesh = "creatures_chicken.b3d",
textures = {"creatures_chicken.png"},
collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3},
textures = {"creatures_chicken_white.png"},
collisionbox = {-0.19, -0.01, -0.19, 0.19, 0.52, 0.19},
rotation = 90.0,
collide_with_objects = false,
animations = {
@ -140,6 +132,20 @@ local def = {
{"creatures:feather", {min = 1, max = 2}, chance = 0.45},
},
get_staticdata = function(self)
return {
feather_color = self.feather_color,
}
end,
on_activate = function(self, staticdata)
if not self.feather_color then
self.feather_color = creatures.rnd(colors) or "white"
end
-- update feather color
self.object:set_properties({textures = {"creatures_chicken_" .. self.feather_color .. ".png"}})
end,
on_step = function(self, dtime)
if self.mode == "lay_egg" then
dropEgg(self.object)

View File

Before

Width:  |  Height:  |  Size: 710 B

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 452 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1,40 @@
Version 2.1
-----------
- Added death animations
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Fixed bug that hostile mobs did sometimes not attack
- Reduced sheep model size
- Tweak codestyle a bit/ added missing documentation of combat values
Version 2.2
-----------
- Added chicken
- Readded sheep spawner (by LNJ)
- Fix possible crash (reported by bbaez)
- Added descriptions to spawners
- Added option to set custom panic and swim animations
Version 2.2.1
-------------
- Fixed crash caused by not existing node
Version 2.2.2
-------------
- Eggs can be thrown to spawn chicken (rare)
- Chicken drop chicken meat and feather(s) on death
- Fixed spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
Version 2.3
-----------
- Added Oerrki
- Added fried eggs
- Fixed moveing facement being reset
- Fixed chicken model
- Fixed sneaky variable not working
- Fixed feathers being eatable
Version 2.3.1
-------------
- Added colored sheep
- Fixed Oerrki spawning times (spawns on night as intended)

View File

@ -48,7 +48,7 @@ end
local function shear(self, drop_count, sound)
if self.has_wool == true then
self.has_wool = false
local pos = self.object:getpos()
local pos = self.object:get_pos()
if sound then
core.sound_play("creatures_shears", {pos = pos, gain = 1, max_hear_distance = 10})
end
@ -60,7 +60,12 @@ end
-- white, grey, brown, black (see wool colors as reference)
local colors = {"white", "grey", "brown", "black"}
local colors = {
white = {chance = 0.7},
grey = {chance = 0.1},
brown = {chance = 0.1},
black = {chance = 0.1}
}
local def = {
name = "creatures:sheep",
@ -78,7 +83,7 @@ local def = {
model = {
mesh = "creatures_sheep.b3d",
textures = {"creatures_sheep.png^creatures_sheep_white.png"},
collisionbox = {-0.5, -0.01, -0.55, 0.5, 1.1, 0.55},
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.06, 0.45},
rotation = -90.0,
animations = {
idle = {start = 1, stop = 60, speed = 15},
@ -119,7 +124,7 @@ local def = {
if self.has_wool then
table.insert(items, {"wool:" .. self.wool_color, {min = 1, max = 2}})
end
creatures.dropItems(self.object:getpos(), items)
creatures.dropItems(self.object:get_pos(), items)
end,
spawning = {
@ -147,6 +152,10 @@ local def = {
}
},
on_punch = function(self, puncher)
shear(self)
end,
get_staticdata = function(self)
return {
has_wool = self.has_wool,
@ -160,7 +169,7 @@ local def = {
end
if not self.wool_color then
self.wool_color = colors[math.random(1, #colors)]
self.wool_color = creatures.rnd(colors) or "white"
end
-- update fur
setColor(self)

View File

@ -0,0 +1,20 @@
Copyright (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.

View File

@ -0,0 +1,40 @@
Version 2.1
-----------
- Added death animations
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Fixed bug that hostile mobs did sometimes not attack
- Reduced sheep model size
- Tweak codestyle a bit/ added missing documentation of combat values
Version 2.2
-----------
- Added chicken
- Readded sheep spawner (by LNJ)
- Fix possible crash (reported by bbaez)
- Added descriptions to spawners
- Added option to set custom panic and swim animations
Version 2.2.1
-------------
- Fixed crash caused by not existing node
Version 2.2.2
-------------
- Eggs can be thrown to spawn chicken (rare)
- Chicken drop chicken meat and feather(s) on death
- Fixed spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
Version 2.3
-----------
- Added Oerrki
- Added fried eggs
- Fixed moveing facement being reset
- Fixed chicken model
- Fixed sneaky variable not working
- Fixed feathers being eatable
Version 2.3.1
-------------
- Added colored sheep
- Fixed Oerrki spawning times (spawns on night as intended)

View File

@ -45,7 +45,7 @@ local def = {
model = {
mesh = "creatures_ghost.b3d",
textures = {"creatures_ghost.png"},
collisionbox = {-0.25, 0, -0.3, 0.25, 1.3, 0.3},
collisionbox = {-0.22, 0, -0.22, 0.22, 1.2, 0.22},
rotation = -90.0,
animations = {
idle = {start = 0, stop = 80, speed = 15},

View File

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 718 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1,30 +0,0 @@
## Oerkki mod for [Minetest][]
---
### **Description:**
Oerkki mod extracted from *[mobs_monster][]* @ [Git commit 1561ec1][ver.mobs_monster].
[b]Mob description:[/b]
- Found in dark areas like most monsters Oerkki wander the caverns stealing away torches on the ground and attacking anyone found in that area. 1 in 3 chance of dropping obsidian.
---
### **Dependencies:**
- **Required:**
- ***[mobs (mobs_redo)][mobs_redo]***
---
### **Licensing:**
[MIT](license.txt)
[Minetest]: http://www.minetest.net/
[mobs_monster]: https://github.com/tenplus1/mobs_monster
[mobs_redo]: https://forum.minetest.net/viewtopic.php?t=9917
[ver.mobs_monster]: https://github.com/tenplus1/mobs_monster/tree/1561ec1

View File

@ -0,0 +1,31 @@
Oerkki for Creatures MOB-Engine
===============================
Copyright (c) 2016 BlockMen <blockmen2015@gmail.com>
Version: 1.0 Beta
Adds classic Minetest Ghost called "Oerkki". (requires Creatures MOB-Engine).
Oerkki spawn only at night or in dark places and remain around 5 minutes in the world.
Other than Ghosts or Zombies they don't die by sunlight.
License:
~~~~~~~~
Code:
(c) Copyright 2016 BlockMen; modified zlib-License
see "LICENSE.txt" for details.
Mesh/Model:
(c) Copyright 2016 BlockMen; CC-BY-SA 3.0
derivated from Pavel_S's work; WTFPL
Textures:
(c) Copyright Pavel_S; WTFPL
Sounds:
(c) Copyright 2016 BlockMen; CC-BY-SA 3.0
Github:
~~~~~~~

View File

@ -0,0 +1,40 @@
Version 2.1
-----------
- Added death animations
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Fixed bug that hostile mobs did sometimes not attack
- Reduced sheep model size
- Tweak codestyle a bit/ added missing documentation of combat values
Version 2.2
-----------
- Added chicken
- Readded sheep spawner (by LNJ)
- Fix possible crash (reported by bbaez)
- Added descriptions to spawners
- Added option to set custom panic and swim animations
Version 2.2.1
-------------
- Fixed crash caused by not existing node
Version 2.2.2
-------------
- Eggs can be thrown to spawn chicken (rare)
- Chicken drop chicken meat and feather(s) on death
- Fixed spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
Version 2.3
-----------
- Added Oerrki
- Added fried eggs
- Fixed moveing facement being reset
- Fixed chicken model
- Fixed sneaky variable not working
- Fixed feathers being eatable
Version 2.3.1
-------------
- Added colored sheep
- Fixed Oerrki spawning times (spawns on night as intended)

View File

@ -1,3 +1,3 @@
default
mobs
intllib?
creatures
oerrki?

View File

@ -1,71 +1,113 @@
local S = mobs.intllib
--= Oerkki for Creatures MOB-Engine (cme) =--
-- Copyright (c) 2016 BlockMen <blockmen2015@gmail.com>
--
-- init.lua
--
-- 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.
--
-- Oerkki by PilzAdam
local def = {
name = "creatures:oerkki",
stats = {
hp = 13,
lifetime = 540, -- 9 Minutes
can_jump = 1,
can_swim = true,
can_burn = true,
can_panic = true,
has_falldamage = true,
has_kockback = true,
sneaky = true,
hostile = true,
},
mobs:register_mob("mobs:oerkki", {
type = "monster",
passive = false,
attack_type = "dogfight",
pathfinding = true,
reach = 2,
damage = 4,
hp_min = 8,
hp_max = 34,
armor = 100,
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
visual = "mesh",
mesh = "mobs_oerkki.b3d",
textures = {
{"mobs_oerkki.png"},
{"mobs_oerkki2.png"},
},
makes_footstep_sound = false,
sounds = {
random = "mobs_oerkki",
},
walk_velocity = 1,
run_velocity = 3,
view_range = 10,
jump = true,
drops = {
{name = "default:obsidian", chance = 3, min = 1, max = 2},
},
water_damage = 2,
lava_damage = 4,
light_damage = 1,
fear_height = 4,
animation = {
stand_start = 0,
stand_end = 23,
walk_start = 24,
walk_end = 36,
run_start = 37,
run_end = 49,
punch_start = 37,
punch_end = 49,
speed_normal = 15,
speed_run = 15,
},
replace_rate = 5,
replace_what = {"default:torch"},
replace_with = "air",
replace_offset = -1,
immune_to = {
{"default:sword_wood", 0}, -- no damage
{"default:gold_lump", -10}, -- heals by 10 points
},
})
model = {
mesh = "creatures_oerkki.b3d",
textures = {"creatures_oerkki.png"},
collisionbox = {-0.22, -0.01, -0.22, 0.22, 1.65, 0.22},
rotation = -90.0,
animations = {
idle = {start = 1, stop = 23, speed = 15},
walk = {start = 24, stop = 31, speed = 8, loop = false},
walk_long = {start = 24, stop = 31, speed = 8, loop = false},
attack = {start = 37, stop = 49, speed = 18},
death = {start = 50, stop = 76, speed = 32, loop = false, duration = 2.52},
},
},
sounds = {
on_damage = {name = "creatures_oerkki_hit", gain = 1.0, distance = 10},
on_death = {name = "creatures_oerkki_hit", gain = 1.0, distance = 10},
swim = {name = "creatures_splash", gain = 1.0, distance = 10},
random = {
idle = {name = "creatures_oerkki_idle", gain = 1.0, distance = 25},
attack = {name = "creatures_oerkki_attack", gain = 1.0, distance = 20},
},
},
mobs:spawn({
name = "mobs:oerkki",
nodes = {"default:stone"},
max_light = 7,
chance = 7000,
max_height = -10,
})
modes = {
idle = {chance = 0.59, duration = 3, update_yaw = 8},
walk = {chance = 0.3, duration = 5.5, moving_speed = 1.5},
walk_long = {chance = 0.11, duration = 8, moving_speed = 1.3, update_yaw = 5},
-- special modes
attack = {chance = 0, moving_speed = 2.9},
panic = {duration = 4, moving_speed = 3.2},
},
mobs:register_egg("mobs:oerkki", S("Oerkki"), "default_obsidian.png", 1)
combat = {
attack_damage = 2,
attack_speed = 0.6,
attack_radius = 1.2,
search_enemy = true,
search_timer = 1.6,
search_radius = 15,
search_type = "player",
},
spawning = {
abm_nodes = {
spawn_on = {"default:dirt_with_grass", "default:dirt", "default:stone"},
},
abm_interval = 55,
abm_chance = 7800,
max_number = 1,
number = {min = 1, max = 3},
time_range = {min = 18500, max = 5100},
light = {min = 0, max = 8},
height_limit = {min = -200, max = 50},
spawn_egg = {
description = "Oerkki Spawn-Egg",
texture = "creatures_egg_oerkki.png",
},
spawner = {
description = "Oerkki Spawner",
range = 8,
player_range = 20,
number = 6,
light = {min = 0, max = 8},
}
},
}
creatures.register_mob(def)
-- Convert "Oerrki's" (caused by typo)
creatures.register_alias("creatures:oerrki", "creatures:oerkki")

View File

@ -1,21 +1,20 @@
The MIT License (MIT)
Copyright (c) 2016 BlockMen <blockmen2015@gmail.com>
Copyright (c) 2016 TenPlus1
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:
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.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the 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:
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.
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.

View File

@ -1,7 +0,0 @@
# German Translation for mobs_monster mod
# Deutsche Übersetzung der mobs_monster Mod
# last update: 2016/June/10
# Author: Xanthin
Oerkki = Oerkki

View File

@ -1,5 +0,0 @@
# Template for translations of mob_oerkki mod
# last update: 2017-08-09
Oerkki =

View File

@ -1,8 +0,0 @@
# Türkçe çeviri by Admicos
# Turkish translation by Admicos
# Son düzenleme: 26 Nisan 2017
# Last edit: 26 April 2017
Oerkki = Oerkki

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,20 @@
Copyright (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.

View File

@ -0,0 +1,40 @@
Version 2.1
-----------
- Added death animations
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Fixed bug that hostile mobs did sometimes not attack
- Reduced sheep model size
- Tweak codestyle a bit/ added missing documentation of combat values
Version 2.2
-----------
- Added chicken
- Readded sheep spawner (by LNJ)
- Fix possible crash (reported by bbaez)
- Added descriptions to spawners
- Added option to set custom panic and swim animations
Version 2.2.1
-------------
- Fixed crash caused by not existing node
Version 2.2.2
-------------
- Eggs can be thrown to spawn chicken (rare)
- Chicken drop chicken meat and feather(s) on death
- Fixed spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
Version 2.3
-----------
- Added Oerrki
- Added fried eggs
- Fixed moveing facement being reset
- Fixed chicken model
- Fixed sneaky variable not working
- Fixed feathers being eatable
Version 2.3.1
-------------
- Added colored sheep
- Fixed Oerrki spawning times (spawns on night as intended)

View File

@ -51,7 +51,7 @@ local def = {
model = {
mesh = "creatures_zombie.b3d",
textures = {"creatures_zombie.png"},
collisionbox = {-0.25, -0.01, -0.3, 0.25, 1.75, 0.3},
collisionbox = {-0.25, -0.01, -0.25, 0.25, 1.65, 0.25},
rotation = -90.0,
animations = {
idle = {start = 0, stop = 80, speed = 15},

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,202 +0,0 @@
Creatures MOB-Engine API
------------------------
creatures.register_mob(#Creature definition)
-registers a mob at MOB-Engine; returns true when sucessfull
creatures.rnd(chance_table)
-returns a weighted random table element; chance_sum of table must be 1
^ example: creatures.rnd({elem1 = {chance = 0.7}, {elem2 = {chance = 0.3}})
creatures.compare_pos(pos1, pos2)
-returns true if pos1 == pos2
creatures.findTarget(search_obj, pos, radius, search_type, mob_name, xray, no_count)
-returns table of found objects (as ObjectRef) and boolean player_near
^ search_obj is searching object; can be nil
^ pos is starting position for search radius
^ radius for searching in blocks/node
^ search_type that specifies returned object requirements
^ "all" -- returns every object except dropped Items
^ "hostile" -- returns every object(creature) that has hostile setting or is player
^ ignores "mob_type" if specified
^ "nonhostile" -- returns every object that is not hostile or player
^ "player" -- returns all players
^ "mate" -- returns all objects(creatures) that are of same kind
^ requires "mob_type" specifies
^ mob_type specifies creature that is ignored or searched, depending on search_type
^ xray allows searching through blocks/nodes (default == false)
^ no_count skips collecting loop and returns just the boolean player_near
^ table is empty
creatures.dropItems(pos, drops)
-drops items at position pos
^ pos where to drop Items
^ drops table in #ItemDrops format
#ItemDrops
----------
{
{
<Itemname>, -- e.g. "default:wood"
<amount>, -- either a <number> or table in format {min = <number>, max = <number>}; optional
<rarity> -- "chance = <value>": <value> between 0.0 and 1.0
},
}
Example:
Will drop with a chance of 30% 1 to 3 items of type "default:wood"
and with a chance of 100% 2 items of type "default:stone"
{
{"default:wood", {min = 1, max = 3}, chance = 0.3},
{"default:stone", 2}
}
#Creature definition
--------------------
{
name = "", -- e.g. "creatures:sheep"
stats = {
hp = 1, -- 1 HP = "1/2 player heart"
hostile = false, -- is mob hostile (required for mode "attack") <optional>
lifetime = 300, -- after which time mob despawns, in seconds <optional>
dies_when_tamed = false, -- stop despawn when tamed <optional>
can_jump = 1, -- height in nodes <optional>
can_swim = false, -- can mob swim or will it drown <optional>
can_fly = false, -- allows to fly (requires mode "fly") and disable step sounds <optional>
can_burn = false, -- takes damage of lava <optional>
can_panic = false, -- runs fast around when hit (requires mode "walk") <optional>
has_falldamage = false, -- deals damage if falling more than 3 blocks <optional>
has_kockback = false, -- get knocked back when hit <optional>
sneaky = false, -- disables step sounds <optional>
light = {min, max}, -- which light level will burn creature (requires can_burn = true) <optional>
},
modes = {
idle = {chance = <part of 1.0>, duration = <time>, moving_speed = <number>, update_yaw = <yawtime>},
^ chance -- number between 0.0 and 1.0 (!!NOTE: sum of all modes MUST be 1.0!!)
^ if chance is 0 then mode is not chosen automatically
^ duration -- time in seconds until the next mode is chosen (depending on chance)
^ moving_speed -- moving speed(flying/walking) <optional>
^ update_yaw -- timer in seconds until the looking dir is changed <optional>
^ if moving_speed > 0 then the moving direction is also changed
-- special modes
attack = {<same as above>}
follow = {<same as above>, radius = <number>, timer = <time>, items = <table>},
^ same as above -- all possible values like specified above
^ radius -- search distance in blocks/nodes for player
^ timer -- time in seconds between each check for player
^ items -- table of items to make mob follow in format {<Itemname>, <Itemname>}; e.g. {"farming:wheat"}
eat = {<same as above>, nodes = <table>},
^ same as above -- all possible values like specified above
^ items -- eatable nodes in format {<Itemname>, <Itemname>}; e.g. {"default:dirt_with_grass"}
},
model = {
mesh = "creatures_sheep.x", -- mesh name; see Minetest Documentation for supported filetypes
textures = {"creatures_sheep.png"}, -- table of textures; see Minetest Documentation
collisionbox = <NodeBox>, -- defines mesh collision box; see Minetest Documentation
rotation = 0.0, -- sets rotation offset when moving
backface_culling = false, -- set true to enable backface culling
animations = { -- animation used if defined <optional>
idle = {#AnimationDef}, -- see #AnimationDef
... -- depends on modes (must correspond to be used);
^ supported "special modes": eat, follow, attack, death, swim, panic
},
},
sounds = {
on_damage = {#SoundDef}, -- see #SoundDef <optional>
on_death = {#SoundDef}, -- see #SoundDef <optional>
swim = {#SoundDef}, -- see #SoundDef <optional>
random = { -- depends on mode <optional>
idle = {#SoundDef}, -- <optional>
... -- depends on modes (must correspond to be used); supports "special modes": eat, follow, attack
},
},
drops = {#ItemDrops}, -- see #ItemDrops definition <optional>
^ can also be a function; receives "self" reference
combat = { -- specifies behavior of hostile mobs in "attack" mode
attack_damage = 1, -- how much damage deals each hit
attack_speed = 0.6, -- time in seconds between hits
attack_radius = 1.1, -- distance in blocks mob can reach to hit
search_enemy = true, -- true to search enemies to attack
search_timer = 2, -- time in seconds to search an enemy (only if none found yet)
search_radius = 12, -- radius in blocks within enemies are searched
search_type = "player", -- what enemy is being searched (see types at creatures.findTarget())
}
spawning = { -- defines spawning in world <optional>
abm_nodes = {
spawn_on = {<table>}, -- on what nodes mob can spawn <optional>
^ table -- nodes and groups in table format; e.g. {"group:stone", "default:stone"}
neighbors = {}, -- what node should be neighbors to spawnnode <optional>
^ can be nil or table as above; "air" is forced always as neighbor
},
abm_interval = <interval>, -- time in seconds until Minetest tries to find a node with set specs
abm_chance = <chance>, -- chance is 1/<chance>
max_number = <number>, -- maximum mobs of this kind per mapblock(16x16x16)
number = <amount>, -- how many mobs are spawned if found suitable spawn position
^ amount -- number or table {min = <value>, max = <value>}
time_range = <range>, -- time range in time of day format (0-24000) <optional>
^ range -- table {min = <value>, max = <value>}
light = <range>, -- min and max lightvalue at spawn position <optional>
^ range -- table {min = <value>, max = <value>}
height_limit = <range>, -- min and max height (world Y coordinate) <optional>
^ range -- table {min = <value>, max = <value>}
spawn_egg = { -- is set a spawn_egg is added to creative inventory <optional>
description = <desc>, -- Item description as string
texture = <name>, -- texture name as string
},
spawner = { -- is set a spawner_node is added to creative inventory <optional>
range = <number>, -- defines an area (in blocks/nodes) within mobs are spawned
number = <number>, -- maxmimum number of mobs spawned in area defined via range
description = <desc>, -- Item description as string <optional>
light = <range>, -- min and max lightvalue at spawn position <optional>
^ range -- table {min = <value>, max = <value>}
}
},
on_rightclick = func(self, clicker) -- called when mob is rightclicked
^ prevents default action when returns boolean true
on_punch = func(self, puncher) -- called when mob is punched (puncher can be nil)
^ prevents default action when returns boolean true
on_step = func(self, dtime) -- called each server step
^ prevents default action when returns boolean true
on_activate = func(self, staticdata) -- called when mob (re-)actived
^ Note: staticdata is deserialized by MOB-Engine (including costum values)
get_staticdata = func(self) -- called when mob is punched (puncher can be nil)
^ must return a table to save mob data (serialization is done by MOB-Engine)
^ e.g:
return {
costum_mob_data = self.my_value,
}
}
#AnimationDef {
start = 0, -- animation start frame
stop = 80, -- animation end frame
speed = 15, -- animation speed
loop = true, -- if false, animation if just played once <optional>
duration = 1 -- only supported in "death"-Animation, sets time the animation needs until mob is removed <optional>
}
#SoundDef {
name = <name>, -- sound name as string; see Minetest documentation
gain = 1.0, -- sound gain; see Minetest documentation
distance = <number>, -- hear distance in blocks/nodes <optional>
time_min = <time> -- minimum time in seconds between sounds (random only) <optional>
time_max = <time> -- maximum time in seconds between sounds (random only) <optional>
}

View File

@ -1,180 +0,0 @@
# Change Log
All the remarkable changes of this project will be documented in this file.
This project adhere to [Semantic Versioning](http://semver.org/).
---
## [2.3.2][2.3.2] - 2017-04-10
### Changed
- Update general information
### Fixed
- Fix Minetest Bower integration
---
## [2.3.1][2.3.1] - 2016-02-16
### Added
- Add colored sheep
### Fixed
- Fix Oerrki spawning times (spawns on night as intended)
---
## [2.3.0][2.3.0] - 2016-02-11
### Added
- Add Oerrki
- Add fried eggs
### Fixed
- Fix moveing facement being reset
- Fix chicken model
- Fix sneaky variable not working
- Fix feathers being eatable
---
## [2.2.2][2.2.2] - 2016-02-03
### Added
- Add feature: Eggs can be thrown to spawn chicken (rare)
- Add feature: Chicken drop chicken meat and feather(s) on death
### Fixed
- Fix crash caused by not existing node
- Fix spawn eggs being endless in singleplayer
- Fix searching for target if in panic mode
---
## [2.2.0][2.2.0] - 2015-11-09
### Added
- Add chicken
- Add again sheep spawner (by LNJ)
- Add descriptions to spawners
- Add option to set custom panic and swim animations
### Fixed
- Fix possible crash (reported by bbaez)
---
## [2.1.0][2.1.0] - 2015-10-25
### Added
- Re-add zombies, ghosts and sheep
- Add feature "Feed sheep 5 times with wheat to tame"
- Add death animations
- Add missing documentation of combat values
### Changed
- Change license to modified zlib-License
- Complete rewrite and rename to Creatures MOB-Engine
- Clean up code
- Zombie spawners are now generated in dungeons (if they have more than 4 rooms)
- Reduce sheep model size
- Tweak codestyle a bit
### Fixed
- Fix bug that hostile mobs did sometimes not attack
---
## [1.1.5][1.1.5] - 2015-08-14
### Added
- Add description and screenshot files
### Changed
- Use [colorize instead of textures
### Fixed
- Fix "undeclared global variable" error
- Make sounds mono (fixes loud zombies, sheep)
- Fix sheep states
---
## [1.1.4][1.1.4] - 2014-08-05
### Added
- Add feature: Sheep drop meat when killed
### Changed
- Improve jump, decrease herd radius
### Removed
- Remove double-check
### Fixed
- Fix spawning
---
## [1.1.3][1.1.3] - 2014-05-25
### Changed
- Increase sheep detection radius
### Fixed
- Fix panic of sheep
- Fix crash caused by spawn control
- Fix mobs flood
---
## [1.1.2][1.1.2] - 2014-05-10
### Added
- Add shears
- Add recipe for shears
- Add feature: sheep follows player with wheat
### Fixed
- Fix the flood of the world with items
---
## [1.1.1][1.1.1] - 2014-04-27
### Added
- Add minetest.line_of_sight()
- Add experimental spawning control
### Changed
- Cleanup code
- Max lifetime for zombies
### Fixed
- Fix crashes
---
## [1.1.0][1.1.0] - 2014-03-13
### Added
- Add sheeps
### Changed
- Restructure code
### Fixed
- Fix issues
---
## [1.0.1][1.0.1] - 2014-03-13
---
[2.3.2]: https://github.com/minetest-mods/mob-engine/compare/2.3.1...2.3.2
[2.3.1]: https://github.com/minetest-mods/mob-engine/compare/2.3.0...2.3.1
[2.3.0]: https://github.com/minetest-mods/mob-engine/compare/2.2.2...2.3.0
[2.2.2]: https://github.com/minetest-mods/mob-engine/compare/2.2.0...2.2.2
[2.2.0]: https://github.com/minetest-mods/mob-engine/compare/2.1.0...2.2.0
[2.1.0]: https://github.com/minetest-mods/mob-engine/compare/1.1.5...2.1.0
[1.1.5]: https://github.com/minetest-mods/mob-engine/compare/1.1.4...1.1.5
[1.1.4]: https://github.com/minetest-mods/mob-engine/compare/1.1.3...1.1.4
[1.1.3]: https://github.com/minetest-mods/mob-engine/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/minetest-mods/mob-engine/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/minetest-mods/mob-engine/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/minetest-mods/mob-engine/compare/1.0.1...1.1.0
[1.0.1]: https://github.com/minetest-mods/mob-engine/commit/d5db6af4deb62ac5aa09f221361854378596e5cc

View File

@ -1,192 +0,0 @@
# Contributing to Mob Engine
The following is a set of guidelines for contributing to Mob Engine, which are hosted in the Minetest Mods Team on GitHub. These are just guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
---
## What should I know before I get started?
### Mob Engine
Mob Engine is a mod(pack) for Minetest that provides a mob engine and several creatures to the game.
---
## How Can I Contribute?
### Reporting Bugs
This section guides you through submitting a bug report for Mob Engine. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](.github/ISSUE_TEMPLATE.md), the information it asks for helps us resolve issues faster.
#### Before Submitting A Bug Report
**Perform a [cursory search](https://github.com/minetest-mods/mob-engine/issues?&q=is%3Aissue)** to see if the problem has already been reported. If it has, add a comment to the existing issue instead of opening a new one.
#### How Do I Submit A (Good) Bug Report?
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue on repository and provide the following information by filling in [the template](.github/ISSUE_TEMPLATE.md).
Explain the problem and include additional details to help maintainers reproduce the problem:
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as many details as possible.
* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://daringfireball.net/projects/markdown/syntax#precode).
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
* **Explain which behavior you expected to see instead and why.**
* **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
Provide more context by answering these questions:
* **Did the problem start happening recently** (e.g. after updating to a new version of Mob Engine) or was this always a problem?
* If the problem started happening recently, **can you reproduce the problem in an older version of Mob Engine?** What's the most recent version in which the problem doesn't happen? You can download older versions of Mob Engine from [the releases page](https://github.com/minetest-mods/mob-engine/releases).
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
Include details about your configuration and environment:
* **Which version of Mob Engine are you using?**
* **Which version of the Minetest you're using?**
### Suggesting Enhancements
This section guides you through submitting an enhancement suggestion for Mob Engine, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](ISSUE_TEMPLATE.md), including the steps that you imagine you would take if the feature you're requesting existed.
#### Before Submitting An Enhancement Suggestion
**Perform a [cursory search](https://github.com/minetest-mods/mob-engine/issues?&q=is%3Aissue)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
#### How Do I Submit A (Good) Enhancement Suggestion?
Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/).Create an issue on that repository and provide the following information:
* **Use a clear and descriptive title** for the issue to identify the suggestion.
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible.
* **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets which you use in those examples, as [Markdown code blocks](https://daringfireball.net/projects/markdown/syntax#precode).
* **Describe the current behavior** and **explain which behavior you expected to see instead** and why.
* **Include screenshots and animated GIFs** which help you demonstrate the steps or point out the part of Mob Engine which the suggestion is related to. You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **Explain why this enhancement would be useful**
* **Specify which version of Mob Engine you're using.**
* **Specify which version of Minetest you're using.**
### Code Contributions
Unsure where to begin contributing to Mob Engine? You can start by looking through these `quicker` and `help-wanted` issues:
* [Quicker issues][quicker] - issues which should only require a few lines of code, and a test or two.
* [Help wanted issues][help-wanted] - issues which should be a bit more involved than `quicker` issues.
Both issue lists are sorted by total number of comments. While not perfect, number of comments is a reasonable proxy for impact a given change will have.
#### Branching Model
Mob Engine adopts [Vincent Driessen's branching model](http://nvie.com/posts/a-successful-git-branching-model):
| Branch name | Type | branch off from | merge into | Description |
| --- | --- | --- | --- | --- |
| master | main branch | n/a | n/a | Branch where the source code of `HEAD` always reflects a production-ready state. |
| develop | main branch | n/a | n/a | Branch where the source code of `HEAD` always reflects a state with the latest delivered development changes for the next release. This is where any automatic nightly builds are built from.
| feature/... | supporting branch | `develop` | `develop` | Branches that exists as long as the new feature is in development, but will eventually be merged into develop (to definitely add the new feature to the upcoming release) or discarded (in case of a disappointing experiment).
| release/... | supporting branch | `develop` | `develop`, `master` and *tag version* | Branches that support preparation of a new production release. They allow for last-minute dotting of is and crossing ts. Furthermore, they allow for minor bug fixes and preparing meta-data for a release (version number, build dates, etc.). By doing all of this work on a release branch, the develop branch is cleared to receive features for the next big release.
| hotfix/... | supporting branch | `master` | `develop`, `master` and *tag version* | Branches that arise from the necessity to act immediately upon an undesired state of a live production version. When a critical bug in a production version must be resolved immediately, a hotfix branch may be branched off from the corresponding tag on the master branch that marks the production version. |
For more information on the Vincent Driessen's branching model, see [A successful Git branching model](http://nvie.com/posts/a-successful-git-branching-model).
#### Start contributing
To start contibuting you must follow these steps:
1. Fork the repository
2. Choose the desired branch (except `master` or `develop`) or create a new branch (from `develop` with `feature` prefix or from master with `hotfix` prefix).
3. Start coding.
### Pull Requests
* Fill in [the required template](.github/PULL_REQUEST_TEMPLATE.md)
* Document new code based on the
[Documentation Styleguide](#documentation-styleguide)
* End files with a newline.
---
## Styleguides
### Git Commit Messages
* Use the present tense ("Add feature" not "Added feature")
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
* Limit the first line to 72 characters or less
* Reference issues and pull requests liberally
### Documentation Styleguide
Use [Markdown](https://daringfireball.net/projects/markdown) in all documentation
---
## Additional Notes
### Issue and Pull Request Labels
This section lists the labels we use to help us track and manage issues and pull requests.
The labels are loosely grouped by their purpose, but it's not required that every issue have a label from every group or that an issue can't have more than one label from the same group.
Please open an issue if you have suggestions for new labels, and if you notice some labels are missing.
#### Type of Issue and Issue State
| Label name | Search link | Description |
| --- | --- | --- |
| `bug` | [search][search-label-bug] | Confirmed bugs or reports that are very likely to be bugs. |
| `duplicate` | [search][search-label-duplicate] | Issues which are duplicates of other issues, i.e. they have been reported before. |
| `enhancement` | [search][search-label-enhancement] | Feature requests. |
| `feedback` | [search][search-label-feedback] | General feedback more than bug reports or feature requests. |
| `help-wanted` | [search][search-label-help-wanted] | Complex issues wich need an intensive development. The develop team would appreciate help from the community in resolving these issues. |
| `invalid` | [search][search-label-invalid] | Issues which aren't valid (e.g. user errors). |
| `more-information-needed` | [search][search-label-more-information-needed] | More information needs to be collected about these problems or feature requests (e.g. steps to reproduce). |
| `needs-reproduction` | [search][search-label-needs-reproduction] | Likely bugs, but haven't been reliably reproduced. |
| `question` | [search][search-label-question] | Questions more than bug reports or feature requests (e.g. how do I do X). |
| `quicker` | [search][search-label-quicker] | Less complex issues which are quicker to resolve. Good first issues to work on for developers who want to contribute to the project. |
| `wontfix` | [search][search-label-wontfix] | The core development team has decided not to fix these issues for now, either because they're working as intended or for some other reason. |
#### Topic Categories
| Label name | Search link | Description |
| --- | --- | --- |
| `api` | [search][search-label-api] | Related to API. |
| `crash` | [search][search-label-crash] | Reports of Mob Engine causing Minetest crash. |
| `documentation` | [search][search-label-documentation] | Related to any type of documentation. |
#### Pull Request Labels
| Label name | Search link | Description |
| --- | --- | --- |
| `needs-review` | [search][search-label-needs-review] | Pull requests which need review, and approval from maintainers or core development team. |
| `needs-testing` | [search][search-label-needs-testing] | Pull requests which need manual testing. |
| `requires-changes` | [search][search-label-requires-changes] | Pull requests which need to be updated based on review comments and then reviewed again. |
| `under-review` | [search][search-label-under-review] | Pull requests being reviewed by maintainers or development core team. |
| `work-in-progress` | [search][search-label-work-in-progress] | Pull requests which are still being worked on, more changes will follow. |
[search-label-api]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aapi
[search-label-bug]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Abug
[search-label-crash]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Acrash
[search-label-documentation]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Adocumentation
[search-label-duplicate]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aduplicate
[search-label-enhancement]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aenhancement
[search-label-feedback]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Afeedback
[search-label-help-wanted]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Ahelp-wanted
[search-label-invalid]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Ainvalid
[search-label-more-information-needed]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Amore-information-needed
[search-label-needs-reproduction]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aneeds-reproduction
[search-label-needs-review]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aneeds-review
[search-label-needs-testing]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aneeds-testing
[search-label-question]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aquestion
[search-label-quicker]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aquicker
[search-label-requires-changes]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Arequires-changes
[search-label-under-review]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Aunder-review
[search-label-wontfix]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Awontfix
[search-label-work-in-progress]: https://github.com/minetest-mods/mob-engine/issues?&q=label%3Awork-in-progress

View File

@ -1,47 +0,0 @@
# Mob Engine
**Mob Engine** *(formely Creatures MOB-Engine)* is a mod(pack) for [Minetest](http://www.minetest.net/) that provides a mob engine and several creatures to the game.
Currently includes:
- chickens
- ghosts
- mob engine
- oerrkis
- sheep
- zombies
**Mob Engine** was started as a fork of [BlockMen](https://github.com/BlockMen)'s [Creature MOB-Engine](https://github.com/BlockMen/cme) (when the developer abandoned the project) with the purpose of maintain.
**Version:** 2.3.2 ([change log](CHANGELOG.md))
---
## Install
### Minetest Bower *(recommended)*
**Mob Engine** is on **[Minetest Bower](https://minetest-bower.herokuapp.com)** *(a mod repository and package manager for Minetest)*
You can easily install with the command:
`bower install --save mob-engine`
More information [here](https://minetest-bower.herokuapp.com/mods/mob-engine).
### Manual
You can download the [latest release](https://github.com/minetest-mods/mob-engine/releases) and extract it to your `mods` folder.
More information [here](http://wiki.minetest.net/Installing_Mods).
---
## License
**Code (if not stated differently)**
Copyright 2015-2016 BlockMen; modified zlib-License
**Media (if not stated differently)**
Copyright (2014-2016) BlockMen; CC-BY-SA 3.0
*See [license](LICENSE) for more details.*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 KiB

View File

@ -1,3 +0,0 @@
## Replace certain items with ones from "mobs" (mobs_redo) engine if available.
# E.g., 'mobs:meat_raw' will be used instead of 'creatures:flesh'.
creatures.mobs_replace_items (Use items from 'mobs' engine) bool false