[Mod] Easter Eggs [easter_eggs] [1.0]

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

[Mod] Easter Eggs [easter_eggs] [1.0]

by iisu » Tue Apr 11, 2017 08:55

This mod adds chocolate eggs and blocks and gold eggs. Its purpose is to celebrate Easter events and to introduce some rare items collectible during the events.

Chocolate egg, Dark chocolate egg
Edible, restore 3 HP by default.
Introduce 'sugar rush' effect. This requires hunger mod to work.
The effect is triggered when player eats chocolate egg while his satiation (hunger) level is full. For 5 seconds player's speed is tripled and then he loses 10HP.
All these values are configurable.

Chocolate block, Dark chocolate block
Decorative nodes, crafted from chocolate eggs.

Gold egg
When used, gives the player some (by default 1~4) random items from a configurable pool of items.
Gold eggs can be used as decorative blocks or crafted into gold blocks (there's no recipe to restore gold eggs from a gold block).

Crafting:
+ Spoiler


Download:
easter_eggs_v0.2.2.zip
(80.21 KiB) Downloaded 85 times


Github: https://github.com/iisu/minetest-easter-eggs
License: WTFPL
Dependencies:
default (optional*)
hud (optional)
hunger (optional)
hbhunger (optional)
stairs (optional)
stairsplus (optional)
walls (optional)
--
* It is a regular dependency in the project, as the default configuration (namely loot_pool table in config.lua) uses items from default mod and the code doesn't check for the presence of default anywhere. You can use the mod without default but be sure to remove all defaut items from loot_pool (configurable in loot_pool.lua and remove default dependency from depends.txt manually.

Screenshot:
+ Spoiler


Known issues:
For some magical reason when testing with everamzah's hud_hunger (https://forum.minetest.net/viewtopic.php?f=11&t=14182) the speedup effect didn't work but the damage was dealt eventually. :v
Last edited by iisu on Sat Mar 24, 2018 20:50, edited 7 times in total.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
Chibi ghost
Member
 
Posts: 786
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [mod] Easter Eggs [easter-eggs]

by Chibi ghost » Tue Apr 11, 2017 13:39

nice looking mod how about adding a sugar crash after the rush
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [mod] Easter Eggs [easter-eggs]

by iisu » Tue Apr 11, 2017 13:54

Do you mean that it should just speed up the player for 5 seconds and _then_ take his health?
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [mod] Easter Eggs [easter-eggs]

by ExeterDad » Tue Apr 11, 2017 15:16

iisu wrote:Do you mean that it should just speed up the player for 5 seconds and _then_ take his health?

Or it can adjust the player physics and make them "sluggish" for a bit :P
 

User avatar
Chibi ghost
Member
 
Posts: 786
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [mod] Easter Eggs [easter-eggs]

by Chibi ghost » Tue Apr 11, 2017 15:46

ExeterDad wrote:
iisu wrote:Do you mean that it should just speed up the player for 5 seconds and _then_ take his health?

Or it can adjust the player physics and make them "sluggish" for a bit :P

yes that's what I meant
 

User avatar
Andrey01
Member
 
Posts: 2172
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [mod] Easter Eggs [easter-eggs]

by Andrey01 » Tue Apr 11, 2017 18:14

Nice mod!I will certainly use that mod to Easter`s holiday!
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
Andrey01
Member
 
Posts: 2172
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [mod] Easter Eggs [easter-eggs]

by Andrey01 » Tue Apr 11, 2017 18:16

By the way can you add Easter cakes?
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [mod] Easter Eggs [easter-eggs]

by Sokomine » Tue Apr 11, 2017 23:06

Hope to find some of those eggs on at least some servers out there :-)
A list of my mods can be found here.
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [mod] Easter Eggs [easter-eggs]

by iisu » Wed Apr 12, 2017 21:37

Update to v. 0.1 released.

@Chibi ghost: Damage is now only dealt once after the speedup effect ends.
Also, renamed it to 'sugar overdose'. It sounds better.

@ExeterDad The purpose of 'sugar overdose' is to let the player move faster for a short period of time for a price of his health.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [mod] Easter Eggs [easter-eggs]

by iisu » Fri Apr 14, 2017 23:52

Updated to v. 0.2.
Move request filed.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
sorcerykid
Member
 
Posts: 861
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: [mod] Easter Eggs [easter-eggs]

by sorcerykid » Sat Apr 15, 2017 00:54

Nice work! I am adding this mod to JT2 tonight, and will probably keep it around for a few weeks after the holiday to give people plenty of time to enjoy their Easter treats.
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [mod] Easter Eggs [easter-eggs]

by iisu » Sat Apr 15, 2017 08:40

Thanks!
Since there are mobs on your server, you might consider disabling the feature to spawn the eggs around players and change the mobs to drop them when they get killed instead.
If you think any configuration fits the general purpose better than current defaults, please tell me so I can improve.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [mod] Easter Eggs [easter-eggs]

by rubenwardy » Sat Apr 15, 2017 10:11

Looks good!

The mod name in your title is incorrect btw, it should be _ instead of -

[Mod] Easter Eggs [easter_eggs]

Also capital letter for mod, as is standard
 

User avatar
Sergey
Member
 
Posts: 784
Joined: Wed Jan 11, 2017 13:28
Location: Russia

Re: [Mod] Easter Eggs [easter_eggs]

by Sergey » Sat Apr 15, 2017 11:33

iisu wrote:Its purpose is to celebrate Easter events

I am Atheist.

Image
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
Andrey01
Member
 
Posts: 2172
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Sat Apr 15, 2017 17:04

iisu, but you have found to add Easter cakes
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] Easter Eggs [easter_eggs]

by ExeterDad » Sat Apr 15, 2017 17:13

HOMETOWN is (since restart last night) using this mod and the players are thrilled :)
You putting the eggs in world automatically and as entities is brilliant. I was planning to put together some sort "egg hunt" mod for the special weekend, but knew in the back of my mind it would be a challenge to hide and dig the eggs as our spawn is protected. This approach was a simple and perfect solution. I did however add about a dozen other types of eggs as to get some colors and variation into the event.
Thank you for your efforts... it made my objective much easier :D
 

User avatar
Andrey01
Member
 
Posts: 2172
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Sun Apr 16, 2017 13:35

Sergey wrote:
iisu wrote:Its purpose is to celebrate Easter events

I am Atheist.

Image

???"Merry nothing"?It looks like is funny.Buut... how can be christmas is atheist?:o
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
Sergey
Member
 
Posts: 784
Joined: Wed Jan 11, 2017 13:28
Location: Russia

Re: [Mod] Easter Eggs [easter_eggs]

by Sergey » Sun Apr 16, 2017 14:21

Andrey01 wrote:???"Merry nothing"?It looks like is funny.Buut... how can be christmas is atheist?:o

It can not be. That's the point of this fun picture.

P.S. Andrey, sometimes I think you would better just write in Russian here
 

User avatar
Andrey01
Member
 
Posts: 2172
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Sun Apr 16, 2017 14:27

Sergey wrote:
Andrey01 wrote:???"Merry nothing"?It looks like is funny.Buut... how can be christmas is atheist?:o

It can not be. That's the point of this fun picture.

P.S. Andrey, sometimes I think you would better just write in Russian here

I can not write in Russian here, because all these forums are writing in Russain.It can write only in Russian discussion
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [Mod] Easter Eggs [easter_eggs]

by iisu » Sun Apr 16, 2017 20:28

Updated to v. 0.2.1. There are new dark chocolate blocks, thanks to HybridDog.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [Mod] Easter Eggs [easter_eggs] [0.2.2]

by iisu » Thu Jun 15, 2017 15:11

Added some optimizations:
  • reduced file sizes of textures
  • added a configuration option to disable the 3d model of golden egg and use plantlike drawtype instead

To disable the 3d model and use the fallback drawtype, reset the USE_OBJ flag in config.lua. you can then safely remove models/ directory which contains the 3d model, as it is unused with the fallback drawtype.
Roses are red, violets are blue. Omae wa mou shindeiru.
 

User avatar
iisu
Member
 
Posts: 145
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Re: [Mod] Easter Eggs [easter_eggs] [1.0]

by iisu » Sat Mar 24, 2018 20:52

Version 1.0 released!
Added support for stairs, stairsplus and walls.
Roses are red, violets are blue. Omae wa mou shindeiru.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 4 guests