Compare commits
5 Commits
0be61ab9da
...
0fdc246a1b
Author | SHA1 | Date |
---|---|---|
|
0fdc246a1b | |
|
ac0959b730 | |
|
9bf4670f2a | |
|
1df7199bd8 | |
|
2834985d25 |
|
@ -0,0 +1,12 @@
|
||||||
|
Mysponge
|
||||||
|
|
||||||
|
Soak up water with this sponge.
|
||||||
|
|
||||||
|
Put the wet sponge in the furnace and get water.
|
||||||
|
|
||||||
|
Leave the sponge sit out and it will dry.
|
||||||
|
|
||||||
|
|
||||||
|
Licence - WTFPL
|
||||||
|
|
||||||
|
Forum - https://forum.minetest.net/viewtopic.php?f=9&t=11539
|
11
init.lua
11
init.lua
|
@ -43,12 +43,14 @@ local air_nodes = {
|
||||||
for i in ipairs(air_nodes) do
|
for i in ipairs(air_nodes) do
|
||||||
local airnode = air_nodes[i][1]
|
local airnode = air_nodes[i][1]
|
||||||
minetest.register_node("mysponge:"..airnode,{
|
minetest.register_node("mysponge:"..airnode,{
|
||||||
-- description = "Air 1",
|
description = "Air",
|
||||||
|
inventory_image = "unknown_node.png",
|
||||||
tiles = {"mysponge_air.png"},
|
tiles = {"mysponge_air.png"},
|
||||||
drawtype = "allfaces",
|
drawtype = "allfaces",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
drop = "",
|
||||||
groups = {not_in_creative_inventory=1}
|
groups = {not_in_creative_inventory=1}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
@ -170,6 +172,13 @@ minetest.register_craft({
|
||||||
cooktime = 5,
|
cooktime = 5,
|
||||||
replacements = {{"mysponge:sponge_soaked", "mysponge:sponge_dry"}},
|
replacements = {{"mysponge:sponge_soaked", "mysponge:sponge_dry"}},
|
||||||
})
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "default:water_source 2",
|
||||||
|
recipe = "mysponge:sponge_wet",
|
||||||
|
cooktime = 5,
|
||||||
|
replacements = {{"mysponge:sponge_wet", "mysponge:sponge_dry"}},
|
||||||
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "mysponge:dry_leaves",
|
output = "mysponge:dry_leaves",
|
||||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 136 KiB |
Loading…
Reference in New Issue