[Mod] Mob Spawn Eggs [1.1] [spawneggs]

User avatar
thefamilygrog66
Member
 
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

[Mod] Mob Spawn Eggs [1.1] [spawneggs]

by thefamilygrog66 » Sat Jun 08, 2013 20:55

Mob Spawn Eggs (spawneggs) mod for Minetest


by thefamilygrog66

Description:
This mod randomly spawns "spawning eggs", which when combined with various materials, will become mob spawning eggs (compatible only with PilzAdam's Simple Mobs mod). When the player places one of these, the corresponding mob will appear.

If the player prefers to create a health item instead of a mob, they can simply cook the spawning egg, which will produce a FRIED EGG that can be eaten to regain hearts.


Recipes:

Code: Select all
Dirt Monster
+---------------+---------------+
| spawning egg  |     dirt      |
+---------------+---------------+

Dungeon Master
+---------------+---------------+
| spawning egg  |     mese      |
+---------------+---------------+

Oerkki
+---------------+---------------+
| spawning egg  |   obsidian    |
+---------------+---------------+

Rat
+---------------+---------------+
| spawning egg  |     rat       |
+---------------+---------------+

Sand Monster
+---------------+---------------+
| spawning egg  |     sand      |
+---------------+---------------+

Sheep
+---------------+---------------+
| spawning egg  |  white wool   |
+---------------+---------------+

Stone Monster
+---------------+---------------+
| spawning egg  |     stone     |
+---------------+---------------+

Tree Monster
+---------------+---------------+
| spawning egg  |    sapling    |
+---------------+---------------+

Fried Egg
- cook spawning egg


Mod dependencies: default, mobs, wool

License:
Sourcecode: WTFPL (see below)
Graphics: WTFPL (see below)

Download: https://github.com/thefamilygrog66/spawneggs/archive/master.zip

Browse Code on GitHub: https://github.com/thefamilygrog66/spawneggs/

Screenshots:

Image
Spawning Egg

Image
Inventory loaded with spawn eggs, about to place Spawn Oerkki egg

Image
Right after Spawn Oerkki egg is placed

Image
I just cooked me up a mess of fried eggs - yummy!
Last edited by thefamilygrog66 on Mon Sep 09, 2013 20:06, edited 1 time in total.
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sat Jun 08, 2013 23:48

Nice mod, but I commented out the part that makes an egg appear randomly because the original technically already does that. +1
Last edited by JBR on Sat Jun 08, 2013 23:49, edited 1 time in total.
 

User avatar
cornellius
Member
 
Posts: 82
Joined: Sat Dec 01, 2012 05:08
Location: South East Asian

by cornellius » Sat Jun 08, 2013 23:54

wow nice but make the craft not cheap maybe u can add mese or diamonds

Edit 1 :how to craft egg?
Last edited by cornellius on Sat Jun 08, 2013 23:59, edited 1 time in total.
All Humans Need Is Forgiveness, God Is The First One Who Forgive All Humans So Humans Must Forgive Other Humans
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sat Jun 08, 2013 23:55

cornellius wrote:wow nice but make the craft not cheap maybe u can add mese or diamonds

Yeah. Because you could place one in someones house and if it only costs one dirt then you might not want to open your door..
 

User avatar
cornellius
Member
 
Posts: 82
Joined: Sat Dec 01, 2012 05:08
Location: South East Asian

by cornellius » Sun Jun 09, 2013 00:00

JBR wrote:
cornellius wrote:wow nice but make the craft not cheap maybe u can add mese or diamonds

Yeah. Because you could place one in someones house and if it only costs one dirt then you might not want to open your door..


how to craft the spawn eggs?
All Humans Need Is Forgiveness, God Is The First One Who Forgive All Humans So Humans Must Forgive Other Humans
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Sun Jun 09, 2013 00:03

I like this mod.
Nice how the textures of spawn eggs fit to the corresponding mobs.

Noob 4 life!
My stuff
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sun Jun 09, 2013 00:06

cornellius wrote:
JBR wrote:
cornellius wrote:wow nice but make the craft not cheap maybe u can add mese or diamonds

Yeah. Because you could place one in someones house and if it only costs one dirt then you might not want to open your door..


how to craft the spawn eggs?


Maybe

"" "default:dirt" ""
"default:dirt" "default:mese" "default:dirt"
"default:diamond""default:dirt""default:diamond"

Edit: Wait are you are you talking about currently? If so it's one dirt.
Last edited by JBR on Sun Jun 09, 2013 00:19, edited 1 time in total.
 

User avatar
thefamilygrog66
Member
 
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

by thefamilygrog66 » Sun Jun 09, 2013 02:55

JBR wrote:Nice mod, but I commented out the part that makes an egg appear randomly because the original technically already does that. +1


Thanks - could you elaborate a bit on why you commented out the random egg spawning? I'm not quite sure what you mean about the "original technically" doing that.

cornellius wrote:wow nice but make the craft not cheap maybe u can add mese or diamonds

Edit 1 :how to craft egg?


Thank you. Dungeon Masters require mese blocks, but server owners can easily change the recipes in the first few lines of the init.lua file. The spawning egg doesn't have a recipe - it just randomly spawns (technically, it randomly replaces short grass).

Mossmanikin wrote:I like this mod.
Nice how the textures of spawn eggs fit to the corresponding mobs.


Glad you dig it - I figured it made the most sense to match the textures.
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sun Jun 09, 2013 10:29

thefamilygrog66 wrote:
JBR wrote:Nice mod, but I commented out the part that makes an egg appear randomly because the original technically already does that. +1


Thanks - could you elaborate a bit on why you commented out the random egg spawning? I'm not quite sure what you mean about the "original technically" doing that.


Because it already spawns monsters and I don't think I want it to spawn eggs aswell. Anyway that's just personal preference and how I want it for my game. Still good mod.
Last edited by JBR on Sun Jun 09, 2013 10:30, edited 1 time in total.
 

User avatar
thefamilygrog66
Member
 
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

by thefamilygrog66 » Sun Jun 09, 2013 15:45

JBR wrote:
thefamilygrog66 wrote:
JBR wrote:Nice mod, but I commented out the part that makes an egg appear randomly because the original technically already does that. +1


Thanks - could you elaborate a bit on why you commented out the random egg spawning? I'm not quite sure what you mean about the "original technically" doing that.


Because it already spawns monsters and I don't think I want it to spawn eggs aswell. Anyway that's just personal preference and how I want it for my game. Still good mod.


Ah cool, I understand what you're saying now. In that case, the owner/admin would have to /give playername spawneggs:egg since they won't spawn naturally, unless you're playing in creative mode. I really like that Minetest modding makes it easy to tweak things to suit personal preferences - I know I've done that with almost every mod I have running! :)
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sun Jun 09, 2013 16:22

thefamilygrog66 wrote:
JBR wrote:
thefamilygrog66 wrote:
Thanks - could you elaborate a bit on why you commented out the random egg spawning? I'm not quite sure what you mean about the "original technically" doing that.


Because it already spawns monsters and I don't think I want it to spawn eggs aswell. Anyway that's just personal preference and how I want it for my game. Still good mod.


Ah cool, I understand what you're saying now. In that case, the owner/admin would have to /give playername spawneggs:egg since they won't spawn naturally, unless you're playing in creative mode. I really like that Minetest modding makes it easy to tweak things to suit personal preferences - I know I've done that with almost every mod I have running! :)

Yeah :)
 

tnt2001breese@gmail.com
New member
 
Posts: 1
Joined: Sat Aug 03, 2013 22:23

by tnt2001breese@gmail.com » Sat Aug 03, 2013 23:06

i try to esrtact it but it does not work
 

User avatar
Topywo
Member
 
Posts: 1720
Joined: Fri May 18, 2012 20:27

by Topywo » Sun Aug 04, 2013 22:51

tnt2001breese@gmail.com wrote:i try to esrtact it but it does not work


Your question is very general.

Does there occur an error while extracting, does the extracting work well, but you get an error creating a new world or you can play a game but can't find/use spawneggs?

General info:
- Maybe this helps you: https://forum.minetest.net/viewtopic.php?id=6450
- Spawneggs depends on the simple mobs mod from PilzAdam. You need to install that mod too https://forum.minetest.net/viewtopic.php?id=3063
- Use a newer or latest minetest build
- Exit minetest, look for a file called debug.txt and delete it, start minetest and create a world (with spawneggs enabled), wait for the error, exit minetest, open the (new) debug.txt file, copy the ERRORS lines and paste them here.
 

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

by BrunoMine » Fri Aug 30, 2013 00:35

Could you show me the commands to give each of the eggs?
I want many.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
thefamilygrog66
Member
 
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

by thefamilygrog66 » Fri Aug 30, 2013 18:05

brunob.santos wrote:Could you show me the commands to give each of the eggs?
I want many.


Sure, here you go:

/giveme spawneggs:egg 99
/giveme spawneggs:dirt_monster 99
/giveme spawneggs:dungeon_master 99
/giveme spawneggs:oerkki 99
/giveme spawneggs:rat 99
/giveme spawneggs:sand_monster 99
/giveme spawneggs:sheep 99
/giveme spawneggs:stone_monster 99
/giveme spawneggs:tree_monster 99


Of course, you can change the 99 to whatever number of that item you'd like.
 

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

by BrunoMine » Sat Aug 31, 2013 02:53

thefamilygrog66 wrote:
brunob.santos wrote:Could you show me the commands to give each of the eggs?
I want many.


Sure, here you go:

/giveme spawneggs:egg 99
/giveme spawneggs:dirt_monster 99
/giveme spawneggs:dungeon_master 99
/giveme spawneggs:oerkki 99
/giveme spawneggs:rat 99
/giveme spawneggs:sand_monster 99
/giveme spawneggs:sheep 99
/giveme spawneggs:stone_monster 99
/giveme spawneggs:tree_monster 99


Of course, you can change the 99 to whatever number of that item you'd like.


Thank you! Solved!
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
thefamilygrog66
Member
 
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

by thefamilygrog66 » Mon Sep 09, 2013 20:11

Version 1.1 is now available for download:

- made spawning eggs much easier to break now

- added a "de-spawning" function to prevent too many eggs from overtaking the landscape

- now includes FRIED EGGS - simply cook a spawning egg and you can eat the resulting fried egg to regain hearts

Image
 

Rhys
Member
 
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Tue Sep 10, 2013 15:24

Nice one! It saves doing /spawnentity blah blah blah. Also, this is a great idea! Makes me feel RIGHT at home. :)
 


Return to Mod Releases



Who is online

Users browsing this forum: TenPlus1 and 8 guests