Page 1 of 3

[Mod] Lucky Block [1.6] [lucky_block]

Posted: Mon Sep 21, 2015 10:53
by TenPlus1
After so many YouTube videos showing Lucky Blocks for Minecraft, I give to you the Lucky Block mod for Minetest :) with an easy to use API for adding new blocks for your own mods and support for some of the already existing mods, this mod can bring goodies and excitement to all players :) To craft a Lucky Block use 1 chest surrounded by gold ingots...

Image

Lucky Blocks included for: default, farming, simple mobs, mobs redo, homedecor, boats, carts, 3d_armor, fire, moreores, bows ... with more available when running certain mods (bakedclay, cblocks, ethereal, farming redo, hoppers, protection redo, teleport potion and more).

ContentDB: https://content.minetest.net/packages/T ... ucky_block

License: MIT

Lucky Blocks: 266 (depending on mods enabled)

Re: Lucky Block [MOD] 0.1

Posted: Mon Sep 21, 2015 13:07
by Don
+1
Play sound fart1? That's funny.

Re: Lucky Block [MOD] 0.1

Posted: Mon Sep 21, 2015 19:24
by blert2112
Going to check this out as soon as my new laptop arrives. Always wanted this for my kids as was on my list to make, now I don't have to. Thanks.

Re: Lucky Block [MOD] 0.1

Posted: Mon Sep 21, 2015 19:46
by mahmutelmas06
+1

Re: Lucky Block [MOD] 0.1

Posted: Tue Sep 22, 2015 02:18
by FreeLikeGNU
A welcome addition! Bring on the entropy!

Re: Lucky Block [MOD] 0.1

Posted: Tue Sep 22, 2015 06:31
by Martno
Cool

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 22, 2015 12:45
by TenPlus1
A few screenshots from the Lucky Stairs Challenge on Xanadu server (first one from bonny, 2nd from myself):

Image
Image

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 22, 2015 17:24
by Wuzzy
So, is this mod basically the same as Surprise Blocks apart from different dependencies and textures? :P

viewtopic.php?f=11&t=9452

PS: Not that I have anything against this mod, of course.

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 22, 2015 17:34
by TenPlus1
Never noticed your mod before wuzzy, although any chance to create a little excitment in Minetest is a good idea :)

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 22, 2015 18:59
by Inocudom
Lucky Blocks, eh? If you are willing to add those to Minetest, then you might not have a problem with adding the following either:
https://youtu.be/qrKne_sWbVI
What you are seeing in this video that I found is something similar to the infamous Terry Traps of Doom 2. Basically, they kill and respawn the player repeatedly (thus the rapid teleporting around) while spamming annoying text and playing loud, irritating sounds (sometimes, flashing colors are used too.) These are great for players that die during Hunger Games matches as well as punishing griefers and trolls. Of course, they could also use your lucky blocks to get players trapped in them.

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 22, 2015 19:08
by TenPlus1
Hrm, somehow I think that players would complain if I added that one, plus anyone troubled with seizures wouldn't be to happy either.

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 29, 2015 03:04
by blert2112
I am really digging this mod! Oops, no pun intended. My kids are having a great time with it. Only problem... It's keeping me from updating my other mods. :)

I closed the pull request I made the other night because I was not happy with it. Please check out my current fork when you get the time and let me know what you think. Feel free to use anything from it that you like.

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Tue Sep 29, 2015 19:42
by TenPlus1
Thanks blert, will do that... We need more lucky block entries for the initial mod so there are more surprises for players/servers using this mod :)

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Wed Sep 30, 2015 02:01
by blert2112
Just up'd a new feature a minute ago, check the schems files. I think you will like it.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Wed Sep 30, 2015 10:28
by TenPlus1
Updated to version 0.2 ... Added commands to the api that purges all lucky blocks, can purge chest items and also add to chest items ... Thanks blert2112.

blert: I'll keep lucky blocks as a single mod to save over-complicating things, although your new commands will help clean the slate so server owners and mod makers can add their own lucky blocks from scratch instead of using defaults which are primarily used as examples anyhow :)

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Wed Sep 30, 2015 13:49
by blert2112
That's cool. I will rebase my fork later today.
Did you check out the well?

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Wed Sep 30, 2015 15:44
by TenPlus1
Yeah, the well looked quite nice but have been meaning to add one to lucky_block for a while kinda like the mc one.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Wed Sep 30, 2015 16:50
by blert2112
TenPlus1 wrote:Yeah, the well looked quite nice but have been meaning to add one to lucky_block for a while kinda like the mc one.
I had originally made it to look like the one from MC but it would require either making new nodes for the top or depending on a stairs mod. If I went the stairs route then which of the many, many stairs mods to depend on (stairs, stairs-redo, stairsplus, xdecor, etc)?
If you throw in an item, or jump in, it will strike lightning and clear the water. Have yet to figure out how to make it drop stuff, or explode, or whatever.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Wed Sep 30, 2015 18:53
by TenPlus1
The exploding part is easy thankfully, it's the design of the well I'm tinkering with just now... I also wanted beacons as well, but that is proving to be more difficult than the actual lightning effect I added.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Thu Nov 05, 2015 11:47
by TenPlus1
Updated: Api has been tweaked slightly and some more lucky blocks added.

Re: [Mod] Lucky Block [0.1][lucky_block]

Posted: Sat Nov 14, 2015 00:21
by wilkgr76
Wuzzy wrote:So, is this mod basically the same as Surprise Blocks apart from different dependencies and textures? :P

viewtopic.php?f=11&t=9452

PS: Not that I have anything against this mod, of course.
This one has negative drops, and also has better drops (drops higher quality stuff, diamond swords, bronze swords, etc.)

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Mon Nov 23, 2015 17:24
by TenPlus1
Added a few new blocks for Ethereal mod and a lucky sandstone platform.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Mon Nov 23, 2015 22:30
by wilkgr76
TenPlus1 wrote:Added a few new blocks for Ethereal mod and a lucky sandstone platform.
Cool! Is it possible to activate them using mesecons? That'd be a handy feature...

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Tue Nov 24, 2015 17:50
by TenPlus1
Some of the functions work only when a player opens the lucky block, so sadly no mesecons support.

Update: Added more 3d_armor and shields blocks.

Re: [Mod] Lucky Block [0.2][lucky_block]

Posted: Tue Nov 24, 2015 21:55
by wilkgr76
TenPlus1 wrote:Some of the functions work only when a player opens the lucky block, so sadly no mesecons support.
Oh, ok. I'll stop being lazy and actually look at the code before I ask questions in the future...... If I remember to...

EDIT: Why is there {"nod", "default:lava_source", 1}, only if the hopper mod is installed?

Code: Select all

-- Hopper mod
if minetest.get_modpath("hopper") then
	lucky_block:add_blocks({
		{"dro", {"hopper:hopper"}, 3},
		{"nod", "default:lava_source", 1},
	})
end