[Mod] Lucky Block [1.0] [lucky_block]

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

[Mod] Lucky Block [1.0] [lucky_block]

by TenPlus1 » Mon Sep 21, 2015 10:53

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 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).

Download: https://notabug.org/TenPlus1/lucky_block/archive/master.zip

Source: https://notabug.org/TenPlus1/lucky_block

License: MIT

Lucky Blocks: 253 (depending on mods enabled)
Attachments
lucky_block.jpg
(98.74 KiB) Not downloaded yet
Last edited by TenPlus1 on Thu Oct 18, 2018 20:06, edited 40 times in total.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Lucky Block [MOD] 0.1

by Don » Mon Sep 21, 2015 13:07

+1
Play sound fart1? That's funny.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: Lucky Block [MOD] 0.1

by blert2112 » Mon Sep 21, 2015 19:24

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.
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum
 

User avatar
FreeLikeGNU
Member
 
Posts: 125
Joined: Tue Oct 28, 2014 02:50
GitHub: FreeLikeGNU
IRC: freelikegnu
In-game: FreeLikeGNU
 

Martno
Member
 
Posts: 77
Joined: Thu May 28, 2015 07:09
Location: Hungary
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Sep 22, 2015 12:45

A few screenshots from the Lucky Stairs Challenge on Xanadu server (first one from bonny, 2nd from myself):

Image
Image
 

User avatar
Wuzzy
Member
 
Posts: 3207
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

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

by Wuzzy » Tue Sep 22, 2015 17:24

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.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Sep 22, 2015 17:34

Never noticed your mod before wuzzy, although any chance to create a little excitment in Minetest is a good idea :)
 

User avatar
Inocudom
Member
 
Posts: 3010
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

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

by Inocudom » Tue Sep 22, 2015 18:59

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.
My whole legacy is an abomination.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Sep 22, 2015 19:08

Hrm, somehow I think that players would complain if I added that one, plus anyone troubled with seizures wouldn't be to happy either.
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

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

by blert2112 » Tue Sep 29, 2015 03:04

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.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Sep 29, 2015 19:42

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 :)
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

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

by blert2112 » Wed Sep 30, 2015 02:01

Just up'd a new feature a minute ago, check the schems files. I think you will like it.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Wed Sep 30, 2015 10:28

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 :)
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

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

by blert2112 » Wed Sep 30, 2015 13:49

That's cool. I will rebase my fork later today.
Did you check out the well?
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Wed Sep 30, 2015 15:44

Yeah, the well looked quite nice but have been meaning to add one to lucky_block for a while kinda like the mc one.
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

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

by blert2112 » Wed Sep 30, 2015 16:50

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.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Wed Sep 30, 2015 18:53

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.
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Thu Nov 05, 2015 11:47

Updated: Api has been tweaked slightly and some more lucky blocks added.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Sat Nov 14, 2015 00:21

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.)
N/A
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Mon Nov 23, 2015 17:24

Added a few new blocks for Ethereal mod and a lucky sandstone platform.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Mon Nov 23, 2015 22:30

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...
N/A
 

User avatar
TenPlus1
Member
 
Posts: 2382
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Nov 24, 2015 17:50

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.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Tue Nov 24, 2015 21:55

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
N/A
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests