[Mod] Creatures [mob-engine][develop]

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

[Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Image
Description:
This mod adds MOBs in Minetest.
This is a continued version of the old creatures mod and the goal is to test to be formally launched.

MOBs:
  • Chicken
  • Sheep
  • Zombie
  • Oerkki
  • Ghost
Minetest version: 5.0.0

License: modified zlib-License

Download:
mob-engine-develop.zip

Links:
GitHub

About MOBs
Spoiler
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 in nests, which can be thrown to spawn new chicken or fried and eaten.
To keep a live chicken just put them close to a feeder.
Sheep beds can be used for the birth of the sheep.
Spoiler
Sheep spawn only at day-time and are friendly and remain around 5 minutes in the world.
There are four different wool colors: white, grey, brown and black.
They will follow you if you have Wheat in your hand.
Sheep have 8 HP and drop 1-2 wool when using shears or 1 when death.
To keep a live sheep just put them close to a feeder and water.
Chicken nests can be used for the birth of the chickens.
Spoiler
Ghosts only spawn at night-time and not underground.
They are flying in the world and attack you players if they notice them.
Ghosts have 12 HP and don't drop any items atm.
Spoiler
Oerrki 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.
Spoiler
Zombies can spawn to every day-time in the world as long there it is dark enough.
You will find some in caves, dark forests and ofc a lot at night.
If they notice any player near they will attack.
Zombies have 20 HP (like players) and drop rotten flesh randomly.

u34

Re: [Mod] Creatures [mob-engine][develop]

by u34 » Post

what are the plans for the future? any new animals/creatures?

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

I particularly planned to create a mod for cows, I already finished the mesh.

u34

Re: [Mod] Creatures [mob-engine][develop]

by u34 » Post

BrunoMine wrote:I particularly planned to create a mod for cows, I already finished the mesh.
great news, i wanna like to try it out when its finished and released!

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

zombie

Code: Select all

core.register_craftitem(":creatures:rotten_flesh", {
	description = "Rotten Flesh",
	inventory_image = "creatures_rotten_flesh.png",
	on_use = core.item_eat(1),
lost? creatures_rotten_flesh

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Imk wrote:zombie

Code: Select all

core.register_craftitem(":creatures:rotten_flesh", {
	description = "Rotten Flesh",
	inventory_image = "creatures_rotten_flesh.png",
	on_use = core.item_eat(1),
lost? creatures_rotten_flesh
I do not understand what you mean.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

you pointed out in the spooler

Zombies can spawn to every day-time in the world as long there it is dark enough.
You will find some in caves, dark forests and ofc a lot at night.
If they notice any player near they will attack.
Zombies have 20 HP (like players)and drop rotten flesh randomly.

in the old СМЕ

drop rotten flesh
in your script, where is he?
..\zombie\init.lua

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Rotten Flesh will not (in the future) be an exclusive zombie mod item.
So ... https://github.com/minetest-mods/mob-en ... ms.lua#L43

EDIT: Fixed URL

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

thank you I've already found it creatures

well done

the old one started to malfunction
usually zombies began to give out a mistake

changing the textures 32-64 lost this meat ))

Now the place CME we're gonna use yours.
I took it to server :)

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

I am testing on a test server, but have not yet tested enough.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

didn't think about to put them on the engine mobkit ?
viewtopic.php?f=9&t=22112

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Imk wrote:didn't think about to put them on the engine mobkit ?
viewtopic.php?f=9&t=22112
This does not seem possible.
Both projects set out to develop the same things in different ways and aspects.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

was near the zombie spawner, they have a different name
creatures:zombie_spawner
zombie treasure room
spawners in dungeons
zombie:zombie_spawner new name

Code: Select all

2019-12-05 07:59:12: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'creatures' in callback environment_Step(): ...mob-engine/creatures/features/general/hit_bottom.lua:70: attempt to index local 'box2' (a nil value)
2019-12-05 07:59:12: ERROR[Main]: stack traceback:
2019-12-05 07:59:12: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:70: in function 'check_collision'
2019-12-05 07:59:12: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:161: in function 'func'
2019-12-05 07:59:12: ERROR[Main]:       /home/imk/minetest/bin/../builtin/common/after.lua:20: in function '?'
2019-12-05 07:59:12: ERROR[Main]:       /home/imk/minetest/bin/../builtin/game/register.lua:429: in function </home/imk/minetest/bin/../builtin/game/register.lua:413>
2019-12-05 07:59:12: ERROR[Main]: stack traceback:
I have an old world and there is spawners in dungeons creatures:zombie_spawner_dummy
standing next to him.
started to move there's been a mistake.
the reboot doesn't help.
turned it off
load_mod_creatures = false
load_mod_chicken = false
load_mod_ghost = false
load_mod_oerrki = false
load_mod_sheep = false
load_mod_zombie = false

Image
Can this mod be used only with the new world?

can you fix the mistake?
Attachments
screenshot_20191205_080819.jpg
screenshot_20191205_080819.jpg (169.79 KiB) Viewed 1902 times

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

There is no backward compatibility with older versions.
What old version are you using? I can look at this.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

[Modpack] Creatures MOB-Engine [2.3.1] [cme]
viewtopic.php?f=11&t=8638

were already generated dungeons

that the other node is normal, tolerably.
the problem is, being in the revenge of an old dungeons we get a mistake.

maybe a special case.
killed everything around here.
on mod
ran away from dungeons no mistakes.

Image
it turns out to be a mob under the spawners

Code: Select all

2019-12-05 21:35:13: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'oerrki' in callback environment_Step(): ...mob-engine/creatures/features/general/hit_bottom.lua:70: attempt to index local 'box2' (a nil value)
2019-12-05 21:35:13: ERROR[Main]: stack traceback:
2019-12-05 21:35:13: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:70: in function 'check_collision'
2019-12-05 21:35:13: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:161: in function 'func'
2019-12-05 21:35:13: ERROR[Main]:       /home/imk/minetest/bin/../builtin/common/after.lua:20: in function '?'
2019-12-05 21:35:13: ERROR[Main]:       /home/imk/minetest/bin/../builtin/game/register.lua:429: in function </home/imk/minetest/bin/../builtin/game/register.lua:413>
2019-12-05 21:35:13: ERROR[Main]: stack traceback:
Attachments
screenshot_20191205_204734.jpg
screenshot_20191205_204734.jpg (251.48 KiB) Viewed 1902 times

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

oerrki

Code: Select all

2019-12-06 22:46:39: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'oerrki' in callback luaentity_Step(): .../mob-engine/creatures/features/mode/enemy_search.lua:76: attempt to call global 'rnd' (a nil value)
2019-12-06 22:46:39: ERROR[Main]: stack traceback:
2019-12-06 22:46:39: ERROR[Main]:       .../mob-engine/creatures/features/mode/enemy_search.lua:76: in function 'f'
2019-12-06 22:46:39: ERROR[Main]:       ...etest/bin/../mods/mob-engine/creatures/callbacks.lua:52: in function <...etest/bin/../mods/mob-engine/creatures/callbacks.lua:36>
2019-12-06 22:46:39: ERROR[Main]:       (tail call): ?
ghost

Code: Select all

2019-12-06 23:05:24: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'ghost' in callback luaentity_Step(): .../mob-engine/creatures/features/mode/enemy_search.lua:76: attempt to call global 'rnd' (a nil value)
2019-12-06 23:05:24: ERROR[Main]: stack traceback:
2019-12-06 23:05:24: ERROR[Main]:       .../mob-engine/creatures/features/mode/enemy_search.lua:76: in function 'f'
2019-12-06 23:05:24: ERROR[Main]:       ...etest/bin/../mods/mob-engine/creatures/callbacks.lua:52: in function <...etest/bin/../mods/mob-engine/creatures/callbacks.lua:36>
2019-12-06 23:05:24: ERROR[Main]:       (tail call): ?
help all

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Old spawner fixed.
Nil rdn method fixed.
Please test.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

upgrades

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

Code: Select all

2019-12-08 02:03:29: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'creatures' in callback environment_Step(): ...mob-engine/creatures/features/general/hit_bottom.lua:70: attempt to index local 'box2' (a nil value)
2019-12-08 02:03:29: ERROR[Main]: stack traceback:
2019-12-08 02:03:29: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:70: in function 'check_collision'
2019-12-08 02:03:29: ERROR[Main]:       ...mob-engine/creatures/features/general/hit_bottom.lua:161: in function 'func'
2019-12-08 02:03:29: ERROR[Main]:       /home/imk/minetest/bin/../builtin/common/after.lua:20: in function '?'
2019-12-08 02:03:29: ERROR[Main]:       /home/imk/minetest/bin/../builtin/game/register.lua:429: in function </home/imk/minetest/bin/../builtin/game/register.lua:413>
2019-12-08 02:03:29: ERROR[Main]: stack traceback:
there are changes.
had time to see the new spawner
turned it off
I'm gonna try to take a screenshot
Image
highlighted in pink
this black square makes a mistake.

in the past i tried to read it.
by removing the block spawner he's disappearing, too.

Image
I still can't read it.
Attachments
screenshot_20191208_030934.jpg
screenshot_20191208_030934.jpg (277.12 KiB) Viewed 1902 times
screenshot_20191208_020436.jpg
screenshot_20191208_020436.jpg (336.73 KiB) Viewed 1902 times
Last edited by Imk on Sun Dec 08, 2019 01:21, edited 2 times in total.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

that's the way it's supposed to be?
took apart the floor to show you.
zombie spawn cobbled
Image
Attachments
screenshot_20191208_024857.jpg
screenshot_20191208_024857.jpg (145.5 KiB) Viewed 1902 times

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

I get it that black square yours spawner

Image

Image
destroy old spawner

So it turns out spawner drowned cobblestone block
Attachments
screenshot_20191208_035933.jpg
screenshot_20191208_035933.jpg (167.03 KiB) Viewed 1902 times
screenshot_20191208_032823.jpg
screenshot_20191208_032823.jpg (323 KiB) Viewed 1902 times

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by BrunoMine » Post

Are your modpack updated with last changes? Unknow blocks is not possible now.
Re-download and run clean objects command.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

turned it on.
load_mod_creatures = true
load_mod_chicken = true
load_mod_ghost = true
load_mod_oerrki = true
load_mod_sheep = true
load_mod_zombie = true

removing cobblestone block no mistake
2019-12-08 02:03:29: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'creatures' in callback environment_Step(): ...mob-engine/creatures/features/general/hit_bottom.lua:70: attempt to index local 'box2' (a nil value)
2019-12-08 02:03:29: ERROR[Main]: stack traceback:
2019-12-08 02:03:29: ERROR[Main]: ...mob-engine/creatures/features/general/hit_bottom.lua:70: in function 'check_collision'
2019-12-08 02:03:29: ERROR[Main]: ...mob-engine/creatures/features/general/hit_bottom.lua:161: in function 'func'
2019-12-08 02:03:29: ERROR[Main]: /home/imk/minetest/bin/../builtin/common/after.lua:20: in function '?'
2019-12-08 02:03:29: ERROR[Main]: /home/imk/minetest/bin/../builtin/game/register.lua:429: in function </home/imk/minetest/bin/../builtin/game/register.lua:413>
2019-12-08 02:03:29: ERROR[Main]: stack traceback:

it turns out you have to lift it up

another mystery mod on where the texture?
Image
Attachments
screenshot_20191208_050523.jpg
screenshot_20191208_050523.jpg (167.8 KiB) Viewed 1902 times
Last edited by Imk on Sun Dec 08, 2019 03:47, edited 3 times in total.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

Are your modpack updated with last changes? Unknow blocks is not possible now.
Re-download and run clean objects command.
it was done on the off mods
otherwise a mistake didn't let you make screenshots
I wouldn't have been able to get on the server at all :)
Unknow blocks don't pay attention to that!!! just look at their position.
you have spawners in dungeons lift it up
he's in the cobblestone and he's making a mistake.

User avatar
Imk
Member
Posts: 490
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [Mod] Creatures [mob-engine][develop]

by Imk » Post

I found another dungeons
mods on
the most important thing is not to come any closer, and then the mistake will wake up

Image
creatures:zombei_spawner_dummy have to raise it higher.
as soon as I get close will be mistake

zombei don't come out thereof spawner !
Attachments
screenshot_20191208_062605.jpg
screenshot_20191208_062605.jpg (144.79 KiB) Viewed 1902 times
Last edited by Imk on Sun Dec 08, 2019 05:37, edited 2 times in total.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Trog and 12 guests