[Mod] Easter Eggs [easter_eggs] [1.0]

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

[Mod] Easter Eggs [easter_eggs] [1.0]

by iisu » Post

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
Image
Image
Image
Image
Image
Download:
easter_eggs_v0.2.2.zip
(80.21 KiB) Downloaded 183 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
Image
Screenshot
Screenshot
scrshot.png (464.73 KiB) Viewed 897 times
Known issues:
For some magical reason when testing with everamzah's hud_hunger (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.

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

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

by Chibi ghost » Post

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

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

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

by iisu » Post

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
In-game: ExeterDad
Location: New Hampshire U.S.A

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

by ExeterDad » Post

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

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

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

by Chibi ghost » Post

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: 2577
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

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

by Andrey01 » Post

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

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

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

by Andrey01 » Post

By the way can you add Easter cakes?

Sokomine
Member
Posts: 4289
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

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

by Sokomine » Post

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: 220
Joined: Tue Mar 28, 2017 20:13
GitHub: iisu
IRC: iisu
In-game: iisu
Location: Internet

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

by iisu » Post

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: 220
Joined: Tue Mar 28, 2017 20:13
GitHub: iisu
IRC: iisu
In-game: iisu
Location: Internet

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

by iisu » Post

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

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

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

by sorcerykid » Post

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: 220
Joined: Tue Mar 28, 2017 20:13
GitHub: iisu
IRC: iisu
In-game: iisu
Location: Internet

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

by iisu » Post

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: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

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

by rubenwardy » Post

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
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

Re: [Mod] Easter Eggs [easter_eggs]

by Sergey » Post

iisu wrote:Its purpose is to celebrate Easter events
I am Atheist.

Image

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

Re: [Mod] Easter Eggs [easter_eggs]

by rubenwardy » Post

Sergey wrote: I am Atheist.
Good for you
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Post

iisu, but you have found to add Easter cakes

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

Re: [Mod] Easter Eggs [easter_eggs]

by ExeterDad » Post

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: 2577
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Post

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

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

Re: [Mod] Easter Eggs [easter_eggs]

by Sergey » Post

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: 2577
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Easter Eggs [easter_eggs]

by Andrey01 » Post

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

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

Re: [Mod] Easter Eggs [easter_eggs]

by iisu » Post

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: 220
Joined: Tue Mar 28, 2017 20:13
GitHub: iisu
IRC: iisu
In-game: iisu
Location: Internet

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

by iisu » Post

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: 220
Joined: Tue Mar 28, 2017 20:13
GitHub: iisu
IRC: iisu
In-game: iisu
Location: Internet

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

by iisu » Post

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

Kennen
New member
Posts: 9
Joined: Thu May 09, 2019 13:40
GitHub: Abuser
IRC: Abuser
In-game: Hood

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

by Kennen » Post

Can u pm me. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests