Page 1 of 1

[Collection] All the tiny mods

PostPosted: Fri Mar 28, 2014 15:45
by Casimir
Sometimes some tings are to small to have a home of their own. You are invited to post your tiny mods here.

PostPosted: Fri Mar 28, 2014 15:47
by Casimir
Empty buckets are stackable.
license: GLPv3 or later
depends: bucket

update: small fix and .zip

PostPosted: Fri Mar 28, 2014 15:54
by Casimir
Finite liquid looks better by using the same texture for flowing and source.
license: GLPv3 or later
depends: default

PostPosted: Fri Mar 28, 2014 16:16
by Krock
Casimir wrote:...kable.
licnese: GLPv3 or la...

Casimir wrote:...urce.
licnese: GLPv3 or la...

Gonna check them out..

PostPosted: Fri Mar 28, 2014 18:18
by Hybrid Dog
Casimir wrote:Sometimes some tings are to small to have a home of their own. You are invited to post your tiny mods here.
thanks


[Mod] Puzzles [puzzles]

This mod should add the ability to do puzzles in minetest

Depends: default
License: WTFPL
Download: zip, tar.gz
github: puzzles

[spoiler=screenshots]Image
Image[/spoiler]

Re: [Collection] All the tiny mods

PostPosted: Thu May 01, 2014 20:19
by Casimir
Number of items.
Shows the total number of registered items after the game started.
Nodetest: 488*
Minetest NeXt: 302
Nodetopia: 65
license: GLPv3 or later
depends: nothing

*Without stairsplus there are 198. I think I need to do something about this imbalance.

Re: [Collection] All the tiny mods

PostPosted: Fri May 02, 2014 11:27
by bajanhgk
can i have a zip folder of stackable buckets mod please

Re: [Collection] All the tiny mods

PostPosted: Fri May 02, 2014 12:24
by Casimir
Done.

Re: [Collection] All the tiny mods

PostPosted: Sat May 03, 2014 11:31
by bajanhgk
thanks

Re: [Collection] All the tiny mods

PostPosted: Thu May 08, 2014 19:40
by Casimir
[game] engine
A subgame that attempts to show the difference of what the minetest engine does and what subgames add.
license: WTFPL

Image

Re: [Collection] All the tiny mods

PostPosted: Sat May 17, 2014 18:20
by Hybrid Dog
[Mod] Server Heartbeat [palpitation]

This mod damages players if the server lags...

License: WTFPL
Download: zip, tar.gz
github: palpitation

Re: [Collection] All the tiny mods

PostPosted: Sat May 24, 2014 18:33
by Hybrid Dog
[Mod] hydroculture reworked [hydro]

I edited the version of the hydroculture mod I found at a mod mirror web page. I didn't find out the original license yet, maybe it's WTFPL.

Depends: default
License: unknown
Download: zip, tar.gz
github: hydro

Image

Re: [Collection] All the tiny mods

PostPosted: Sat May 24, 2014 22:16
by Inocudom
Hybrid Dog wrote:[Mod] hydroculture reworked [hydro]

I edited the version of the hydroculture mod I found at a mod mirror web page. I didn't find out the original license yet, maybe it's WTFPL.

Depends: default
License: unknown
Download: zip, tar.gz
github: hydro

Image

To be on the safe side, you may want to make textures of your own for it.

Re: [Collection] All the tiny mods

PostPosted: Sun May 25, 2014 08:54
by Hybrid Dog
Inocudom wrote:
Hybrid Dog wrote:[Mod] hydroculture reworked [hydro]

I edited the version of the hydroculture mod I found at a mod mirror web page. I didn't find out the original license yet, maybe it's WTFPL.

Depends: default
License: unknown
Download: zip, tar.gz
github: hydro

Image

To be on the safe side, you may want to make textures of your own for it.

Actually I wanted to keep the textures because I just wanted the mod to work with the newer versions of minetest and improve it a bit.

Re: [Collection] All the tiny mods

PostPosted: Sun May 25, 2014 23:57
by philipbenr
Thank you HybridDog for bringing this back. ;)

Re: [Collection] All the tiny mods

PostPosted: Sun Mar 08, 2015 18:49
by Casimir
This removes all nodes that are in the "dissolve" group when in contact with liquids. I hope that I covert all cases of remove or not remove. There also seems a strange thing when liquid sources get renewed, the param2 gets 240 then.

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
--
-- Remove nodes in liquids
--

local function dissolve(pos_dissolve, pos_liquid)
   local node = minetest.get_node(pos_liquid)
   local name = node.name
   local nodedef = minetest.registered_nodes[name]
   if nodedef and nodedef.liquidtype ~= "none" then
      local min_level = 8 - nodedef.liquid_range
      if node.param2 == 0 or node.param2 == 240 then
         minetest.set_node(pos_dissolve, {name = nodedef.liquid_alternative_flowing, param2 = 7})
      elseif node.param2 > min_level then      
         minetest.set_node(pos_dissolve, {name = name, param2 = node.param2-1})
      end
      return true
   end
end

minetest.register_abm({
   nodenames = {"group:dissolve"},
   neighbors = {"group:liquid"},
   interval = 5,
   chance = 1,
   action = function(pos, node)
      if dissolve(pos, {x=pos.x, y=pos.y+1, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x+1, y=pos.y, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x-1, y=pos.y, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x, y=pos.y, z=pos.z+1}) then return end
      if dissolve(pos, {x=pos.x, y=pos.y, z=pos.z-1}) then return end
   end,
})

Re: [Collection] All the tiny mods

PostPosted: Sun Mar 08, 2015 22:22
by Don
Casimir wrote:This removes all nodes that are in the "dissolve" group when in contact with liquids. I hope that I covert all cases of remove or not remove. There also seems a strange thing when liquid sources get renewed, the param2 gets 240 then.

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
--
-- Remove nodes in liquids
--

local function dissolve(pos_dissolve, pos_liquid)
   local node = minetest.get_node(pos_liquid)
   local name = node.name
   local nodedef = minetest.registered_nodes[name]
   if nodedef and nodedef.liquidtype ~= "none" then
      local min_level = 8 - nodedef.liquid_range
      if node.param2 == 0 or node.param2 == 240 then
         minetest.set_node(pos_dissolve, {name = nodedef.liquid_alternative_flowing, param2 = 7})
      elseif node.param2 > min_level then      
         minetest.set_node(pos_dissolve, {name = name, param2 = node.param2-1})
      end
      return true
   end
end

minetest.register_abm({
   nodenames = {"group:dissolve"},
   neighbors = {"group:liquid"},
   interval = 5,
   chance = 1,
   action = function(pos, node)
      if dissolve(pos, {x=pos.x, y=pos.y+1, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x+1, y=pos.y, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x-1, y=pos.y, z=pos.z}) then return end
      if dissolve(pos, {x=pos.x, y=pos.y, z=pos.z+1}) then return end
      if dissolve(pos, {x=pos.x, y=pos.y, z=pos.z-1}) then return end
   end,
})

What a cool feature.