Page 1 of 1

[Mod] Surprise Blocks [0.3] [tsm_surprise]

Posted: Fri Jun 06, 2014 16:34
by Wuzzy
Note: This mod has been abandoned.

Name: Surprise Blocks [tsm_surprise]

Description: This little mod adds a new block to Minetest: The surprise block! This is a block with a question mark on it. It contains a little surprise in it. If you mine it (or it gets destroyed by a different means), one or more low-grade items may drop out of it. The block spawns on the world just slightly floating above the ground. It looks like this:
Image
(The texture is animated)

Download: http://repo.or.cz/minetest_tsm_surprise ... a822ce.zip

Git repository page: http://repo.or.cz/minetest_tsm_surprise.git
License of everything: WTFPL
Works in Minetest 0.4.16 or later.
Depends on: Treasurer.
To be usable, this mod also needs at least one so-called treasure registration mod (TRM). You find some of these in the linked thread. Without any TRM, the surprise blocks simply don’t know what they should contain and therefore are always empty.
Optional dependencies: intllib, doc_items

My personal todo list:
  • Improve spawning (base it on perlin noise or something like that)

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jun 06, 2014 17:30
by TG-MyinaWD
Lucky Blocks for Minetest Nicely done.
I will try my best at making a Texture.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jun 06, 2014 18:47
by Krock
I can't get anythng out of that box - got the treasurer mod too.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jun 06, 2014 18:53
by Wuzzy
To get something, you need:
  • tsm_surprise
  • treasurer
  • at least one TRM
  • the dependencies of that TRMs (all TRMs are dependent)
TRMs are mods which “register” item types of some to the treasurer mod so the mod knows which treasures to pick from and how valuable they are.
For starters, try trm_default_example for some items of the default mod. (it is bundled with treasurer)
For items of other mods, see here:
https://forum.minetest.net/viewtopic.php?p=113052#p113052

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Sat Jun 07, 2014 02:01
by philipbenr
Woah! Is this Super Mario World?!
;) Nice to see some new, nice mods Wuzzy.

Novel...

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Thu Oct 02, 2014 12:24
by Dragonop
I made a texture, maybe is too simple, but maybe you like it, i dont now.
The texture that I made
The texture that I made
Surprise Block.png (219 Bytes) Viewed 2657 times

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Thu Oct 02, 2014 14:33
by Wuzzy
Lol, it just looks like the current texture. But it is not animated.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Thu Oct 02, 2014 16:37
by cx384
Really nice mod. :D
Spoiler
Wuzzy wrote:Description: This little mod adds a new block to inetest:
[/list]
lol
I think there is missing a letter.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Oct 03, 2014 00:31
by Dragonop
Wuzzy wrote:Lol, it just looks like the current texture. But it is not animated.
It looks a little more ''free''

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Thu Jul 07, 2016 11:16
by ParaklataChotou
Wuzzy wrote:Name: Surprise blocks [tsm_surprise]

Description: This little mod adds a new block to Minetest: The surprise block! This is a block with a question mark on it. It contains a little surprise in it. If you mine it (or it gets destroyed by a different means), one or more low-grade items may drop out of it. The block spawns on the world just slightly floating above the ground. It looks like this (in minetest_game):
Image
(btw: the texture is animated)
This mods works with other subgames, too (here: ethereal):
Image

The block is cracky and can therefore be broken with pickaxes (for example).

License of everything: WTFPL
Depends on: Treasurer.
To be usable, this mod also needs at least one so-called treasure registration mod (TRM). You find some of these in the linked thread. Without any TRM, the surprise blocks simply don’t know what they should contain and therefore are always empty.

My personal todo list:
  • Find or make a better texture for the surprise block
  • Improve spawning (base it on perlin noise or something like that)
  • Collect more ideas? xD
I was trying to use a garbage who 10 + uploaded, but it never works. But this surprise block works really fine. Thank you. :). I like these blocks.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Thu Jul 07, 2016 19:42
by TenPlus1
ParaklataChotou: Does lucky_blocks bring up any errors when you use them ?

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jul 08, 2016 14:20
by ParaklataChotou
TenPlus1 wrote:ParaklataChotou: Does lucky_blocks bring up any errors when you use them ?
Hello. Well, the surprise blocks are working fine. But lucky blocks are good for single player. It's not a good idea enable on server. It's a good mod that you've made, but it's a little bit shocking.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jul 08, 2016 16:07
by TenPlus1
Lol, you havent played on Xanadu then :) we have a Lucky Block Arena where players come to break blocks and usually battle it out with what items they have gathered :)

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Jul 08, 2016 19:15
by ParaklataChotou
TenPlus1 wrote:Lol, you havent played on Xanadu then :) we have a Lucky Block Arena where players come to break blocks and usually battle it out with what items they have gathered :)
But it's in an specified area. It's not in the whole server. And I've played Xanadu. Beautiful world, nice work about etherial redo. I like it.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Wed Oct 26, 2016 13:10
by EdShouldBeInBed
Wuzzy, I have several TRMs installed, but every surprise block I break is empty. Is there a particular dir in my minetest game's tree I should place the TRM in, or is there a config flag I'm missing? I have the mods connected to each TRM installed.

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Oct 28, 2016 12:45
by u19503
Lucky blocks Nice am i allawd To make mod support for my Vanilla 32x32 pack?
viewtopic.php?f=4&t=15758

Re: [Mod] Surprise blocks [0.1] [tsm_surprise]

Posted: Fri Oct 28, 2016 22:50
by Wuzzy
toby109tt: You don't need anyone's permission to create texture packs for anything.

EdShouldBeInBed: Oh, this is too bad. It works for me. Can you give me a list of the mods you have active? Also, what version of Treasurer do you use?

I guess the entire Treasurer thing needs a rework sooner or later. Especially the TRMs I released are pretty much outdated. :-/ Also, the core Treasurer mod is technically still WIP, so don't expect too much. I haven't developed it since ages. Boy, I have so many different projects to maintain, it's crazy. XD

Version 0.2

Posted: Sat Oct 29, 2016 01:13
by Wuzzy
Version 0.2 released!

Image

Updates:
- New texture
- Sounds
- Add short block description for Item Documentation mod [doc_items]
- Refactor code and add some metadata

Re: [Mod] Surprise blocks [0.3] [tsm_surprise]

Posted: Sat Nov 19, 2016 01:47
by Wuzzy
Version 0.3 released!

Updates:
- Compability with Documentation System 0.7.0
- Make sure the surprise blocks can't get destroyed by the cave generator algorithm
- Fix mod not working with both intllib and mod security enabled