Page 1 of 2

[Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sun Dec 09, 2012 21:03
by VanessaE

Gloop Blocks



This mod is a random collection of decorative and functional blocks for Minetest, including cement, rainbow blocks, "evil" blocks and sticks, and the usual collection of tools of various strengths and speeds made from either cement or evil components. It also adds a few other useful functions - see below.

Dependencies: Minetest 0.4.7 or later and the corresponding minetest_game "default" mod.

Recommends: glooptest, moreblocks, moreores, default flowers and dyes.

Downloads:
My version: https://github.com/VanessaE/gloopblocks/archive/master.zip
...or browse the code: https://github.com/VanessaE/gloopblocks

Original version (1.0): http://mods.minetest.ru/gloopblocks/gloopblocks.zip

Install: Download and extract one of the above ZIP files. Rename the resultant folder to "gloopblocks" if it isn't already so named, stripping off any numbers or my name if present. Copy this folder to your Minetest mods directory.

License: WTFPL for the code and unique textures, CC-BY-SA for the textures that were derived from the game's defaults. Thanks goes to GloopMaster for starting this mod.

Screenshot:
Image
Blocks, from bottom to top, left to right: basalt, pumice, cement, pavement, mossy stone brick, alternative cobble roadbed, mossy roadbed, evil block, mossy stone, oerkki block, rainbow block, scaffolding, shrubbery (both types). Cement and "evil" tools below that, with wet cement and evil stick at the far right.

Crafting
+ "Show recipes..."

Other useful stuff

* If you have the More Blocks mod installed with its usual StairsPlus component, cement, evil blocks, pumice, basalt, Oerkki blocks, and mossy stone bricks can be cut on the circular/table saw that comes with the Moreblocks mod, into slabs, stairs, etc. Like the block, evil stairs/slabs/etc. emit a small amount of light.

Note: If you don't have More Blocks, but you do at least have the standard "stairs" mod installed, then only cement, pavement, and cobble roadbed will be made available in the slab and stair forms, to try to limit how many nodes are being added (since these would perhaps be the most useful).

* When water and lava come into contact with one another, they will form one of three materials: Flowing lava coming into contact with standing water forms basalt, both flowing into one another form pumice, while standing lava forms obsidian when in contact with flowing or standing water.

* Cobblestone, cobble roadbed, stone, and stone brick blocks, stairs, and slabs (and the various other shapes as well, if More Blocks is installed) slowly turn into their mossy variants in the presence of flowing or standing water, as long there is also air present.

PostPosted: Sun Dec 09, 2012 21:15
by sdzen
hey! those are my textures! wonder how they got there.

PostPosted: Mon Dec 10, 2012 00:05
by VanessaE
Beats me, that's just what came with the ZIP file :-)

PostPosted: Mon Dec 10, 2012 22:01
by GloopMaster
Because that's what i released them with.

PostPosted: Wed Mar 20, 2013 00:02
by VanessaE
Updates:

2013-03-19: Made all stairs/slabs/etc use the circular saw in Moreblocks. In the process, removed all stairs/slabs/etc from creative inventory to reduce clutter. Added pavement stairs/slabs/etc. I'm not entirely sure if I'm using the circular saw properly, as I had to add extra aliases to clone everything over as moreblocks:xxxx to make it work - but it works.

2013-03-18: Restored old lava+water=stuff behavior. If your Minetest build is dated between March 9 and March 18, the lava+water code included in Gloopblocks will not be used (you'll just get one of stone, cobble, or obsidian instead).

2013-03-17: Got rid of the obsidian block provided by this mod and aliased it back to default:obsidian. Got rid of the wool crafting recipes - they were based on my flowers mod, but that mod has its own recipe for this now. Removed old stairs support in favor of full stairsplus support. This mod now depends on moreblocks for said support. Added basalt and pumice stairs/slabs/etc in the process. Aliases are provided to preserve backwards compatibility.

2013-??-??: Nekogloop discontinued maintaining this mod, so I've picked it up. To start, I've tweaked the mod to account for the Mese being a crystal now, and to fix the Pavement recipes (wrong node name for basalt).

PostPosted: Sat Apr 06, 2013 21:04
by VanessaE
Another update: Added obsidian stairs et.al (under the 'stairsplus' namespace) since they got dropped from Technic.

PostPosted: Tue Apr 09, 2013 00:18
by VanessaE
Moved crafting recipes into a separate file. Added mossy stone brick to complement the new(ish) default plain one, crafts to make it, and stairsplus/circular saw compatibility. Added an abm to transform stone brick into mossy stone brick in the presence of water to complement the one that handles cobblestone.

PostPosted: Fri Jun 07, 2013 03:46
by VanessaE
Minor update today: Added an alternative form of cobblestone that should look better for roads than the default one (plus a mossy variant, with similar ways to create it).

PostPosted: Fri Jun 07, 2013 21:57
by VanessaE
Another update: Now all cobble, alt. cobble, and stone brick stairs/slabs/etc. turn mossy in the presence of water also. Slowed the abms down considerably (both to reduce the potential CPU impact and because it was just way too fast before anyway).

PostPosted: Sun Jun 09, 2013 17:55
by VanessaE
Another minor tweak: stone/cobble/etc will only turn mossy in the presence of water if there's air 1 or 2 nodes away (so stone that's more than 1m deep under water won't change).

PostPosted: Mon Jun 10, 2013 00:17
by VanessaE
Minor update: mossy stone drops mossy cobble on dig, and can be crafted from stone + grass as with the other mossy objects.

PostPosted: Sun Jul 28, 2013 04:03
by VanessaE
Update: Added wool stairs/slabs/et al. via moreblocks and its circular saw. Made moreblocks dependency optional.

PostPosted: Mon Sep 23, 2013 00:05
by VanessaE
Update: Made nyan rainbows much more expensive to craft.

PostPosted: Wed Jan 22, 2014 16:51
by VanessaE
Update: Added shrubbery, crafted from leaves and sticks. [ Insert Monty Python jokes here ]

I'd have put these in Home Decor, but this mod is in use on at least one of my servers where Home Decor is not present, so that's where they went. :-)

PostPosted: Sat Feb 15, 2014 06:10
by VanessaE
Small update: Added support for the default stairs mod, so that the stone->mossy stone conversion ABMs have something to convert default stone/stone brick/cobble slabs and stairs into when stairsplus isn't present.

Also added cement, pavement, and clean/mossy roadbed stairs and slabs since they're kinda part of the set, and the conversion ABMs should normally operate on those also.

In total, this adds about 10 new nodes, but only if you didn't already have them, basically. It does not add stairs/slabs for any of this mod's other blocks.

Re: [Mod] Gloop Blocks [20140215] [gloopblocks]

PostPosted: Fri May 30, 2014 00:00
by VanessaE
Small update: in keeping with the changes I made to homedecor, this mod now has a proper nodebox-based 3d model for the Oerkki block.

(bear in mind if you cut one up with the circular saw in moreblocks, the pieces will not reflect this new model because moreblocks can't do that)

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sun Sep 07, 2014 04:46
by CaptainCanti
I hate to bump an old topic, but since I couldn't find any information on this, how does one obtain evil ore/blocks? Like how far down do you have to mine for it, at minimum?

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sun Sep 07, 2014 05:45
by VanessaE
Evil blocks aren't mined, they're crafted.
First Post wrote:* An evil stick can be crafted from one lump of coal, one gold ingot, one regular stick, and one lump of Kalite if you have gloopores or glooptest, or a second gold ingot if not.

* Four of those can be crafted into an evil block, which can also be crafted back to evil sticks. These blocks emit a small amount of light.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sat Sep 19, 2015 21:25
by VanessaE
Update: added slabs/stairs for basalt, pumice, rainbow blocks, and all colors of wool via minetest_game's stairs mod, if Moreblocks isn't present.

(Wow, has it really been a year since the last post in this thread?!)

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Thu Oct 01, 2015 23:16
by EdShouldBeInBed
Vanessa, I'm working on a game. Would it be better to hunt down gloopmaster's old repros for gloopores and test, or do the versions in dreambuilder have significant improvements I'd probably like to integrate? Want the EVIL blocks in my game :)

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Fri Oct 02, 2015 00:23
by VanessaE
The glooptest (ores and tools) and gloopblocks (random nodes) mods in Dreambuilder are the most up-to-date, as far as I know.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Fri Oct 02, 2015 00:30
by EdShouldBeInBed
Awesome. Thanks.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Fri Oct 02, 2015 01:52
by EdShouldBeInBed
Just as a note, for those that want the glooptest stuff by itself:

https://github.com/EdShouldBeInBed/vanglooptest

mirrors the dreambuilder version, if you are insane and don't want dreambuilder in full for whatever reason.

Or, you know, you're addicted to git's submodule feature like I am :P

Vanessa, if you mind, it's gone. But I wasn't sure how much you'd changed since gloop started it, and thought it might be useful.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Fri Oct 02, 2015 02:55
by VanessaE
Oh it's no problem at all. Glooptest ain't my mod anyways, and it's all open source, so rip away. :-)

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Thu Oct 08, 2015 01:59
by Inocudom
This mod no longer supports moreblocks/stairsplus?

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Thu Oct 08, 2015 07:34
by VanessaE
Sure it does. Looks like that last pull I merged put xdecor ahead of moreblocks (if both are installed, it prefers xdecor).

Should be fixed in git now (it registers with both xdecor AND moreblocks, but still ignores default stairs if moreblocks is installed, as before; a more proper fix would be to have something of a preference order -- moreblocks, then xdecor, then fallback to stairs, and set aliases as needed, but someone else can code that if they want it).

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Tue Nov 03, 2015 22:33
by Inocudom
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2015-11-03 17:30:43: ERROR[Main]: ========== ERROR FROM LUA ===========
2015-11-03 17:30:43: ERROR[Main]: Failed to load and run script from
2015-11-03 17:30:43: ERROR[Main]: /home/derek/.minetest/mods/gloopblocks/init.lua:
2015-11-03 17:30:43: ERROR[Main]: /home/derek/.minetest/mods/gloopblocks/init.lua:217: attempt to index field 'worktable_nodes' (a nil value)
2015-11-03 17:30:43: ERROR[Main]: stack traceback:
2015-11-03 17:30:43: ERROR[Main]:    /home/derek/.minetest/mods/gloopblocks/init.lua:217: in main chunk
2015-11-03 17:30:43: ERROR[Main]: ======= END OF ERROR FROM LUA ========
2015-11-03 17:30:43: ERROR[Main]: Server: Failed to load and run /home/derek/.minetest/mods/gloopblocks/init.lua
2015-11-03 17:30:43: ERROR[Main]: ModError: ModError: Failed to load and run /home/derek/.minetest/mods/gloopblocks/init.lua
2015-11-03 17:30:43: ERROR[Main]: Error from Lua:
2015-11-03 17:30:43: ERROR[Main]: /home/derek/.minetest/mods/gloopblocks/init.lua:217: attempt to index field 'worktable_nodes' (a nil value)
2015-11-03 17:30:43: ERROR[Main]: stack traceback:
2015-11-03 17:30:43: ERROR[Main]:    /home/derek/.minetest/mods/gloopblocks/init.lua:217: in main chunk
2015-11-03 17:30:43: ERROR[Main]: Check debug.txt for details.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sat Nov 14, 2015 21:49
by Don
I submitted a pull request for the error. xdecor no longer allows you to register blocks. I commented out the code instead of taking it out just in case jp allows it again.

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sat Nov 14, 2015 22:10
by jp
Don wrote:xdecor no longer allows you to register blocks.

As a general advice, inform yourself better and be careful when you're asserting something.

The support for registering blocks from external mods has never worked, someone notified me of that on github and then I reverted the global access the same day. VanessaE has been notified 2 times on her tracker as well (to the date of 11-03-2015).

Re: [Mod] Gloop Blocks [20140529] [gloopblocks]

PostPosted: Sat Nov 14, 2015 22:34
by Don
jp wrote:
Don wrote:xdecor no longer allows you to register blocks.

As a general advice, inform yourself better and be careful when you're asserting something.

The support for registering blocks from external mods has never worked, someone notified me of that on github and then I reverted the global access the same day. VanessaE has been notified 2 times on her tracker as well (to the date of 11-03-2015).

I never meant it as an insult. I just saw that you removed the ability to register blocks. I even added that I left the code in in case you allow it again. I made no suggestion as to why you removed it.