[Mod] Surprise Blocks [0.3] [tsm_surprise]

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

[Mod] Surprise Blocks [0.3] [tsm_surprise]

by Wuzzy » Post

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)
Last edited by Wuzzy on Fri May 03, 2019 13:55, edited 12 times in total.

TG-MyinaWD
Member
Posts: 356
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .
Location: Far Eden

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

by TG-MyinaWD » Post

Lucky Blocks for Minetest Nicely done.
I will try my best at making a Texture.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.

User avatar
Krock
Developer
Posts: 4648
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

I can't get anythng out of that box - got the treasurer mod too.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

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

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

by Wuzzy » Post

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

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

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

by philipbenr » Post

Woah! Is this Super Mario World?!
;) Nice to see some new, nice mods Wuzzy.

Novel...

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

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

by Dragonop » Post

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 2586 times

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

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

by Wuzzy » Post

Lol, it just looks like the current texture. But it is not animated.

User avatar
cx384
Member
Posts: 653
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

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

by cx384 » Post

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.
Last edited by cx384 on Fri Oct 03, 2014 18:45, edited 1 time in total.
Can your read this?

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

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

by Dragonop » Post

Wuzzy wrote:Lol, it just looks like the current texture. But it is not animated.
It looks a little more ''free''

User avatar
ParaklataChotou
Member
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

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

by ParaklataChotou » Post

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.
Last edited by ParaklataChotou on Fri Jul 08, 2016 14:20, edited 1 time in total.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

ParaklataChotou: Does lucky_blocks bring up any errors when you use them ?

User avatar
ParaklataChotou
Member
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

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

by ParaklataChotou » Post

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.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

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

User avatar
ParaklataChotou
Member
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

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

by ParaklataChotou » Post

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.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.

EdShouldBeInBed
Member
Posts: 48
Joined: Sun Feb 22, 2015 16:03
In-game: EdShdBInBed

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

by EdShouldBeInBed » Post

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.
I'm a writer who tinkers with code on occasion. I play minetest when insomnia makes the writing hard.

u19503

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

by u19503 » Post

Lucky blocks Nice am i allawd To make mod support for my Vanilla 32x32 pack?
viewtopic.php?f=4&t=15758

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

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

by Wuzzy » Post

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

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

Version 0.2

by Wuzzy » Post

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

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

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

by Wuzzy » Post

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests