Page Menu
Home
1F616EMO Bugtracker
Search
Configure Global Search
Log In
Files
F152836
init.lua
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
init.lua
View Options
-- twi_mods/moreblocks_mod/init.lua
-- Moreblocks modifications
--[[
This code is licensed under the zlib license;
see ./LICENSE.md for more information.
]]
-- Adopt the linuxforks way of crafting stone tiles
minetest
.
clear_craft
({
recipe
=
{
{
"default:cobble"
,
"default:cobble"
,
"default:cobble"
},
{
"default:cobble"
,
"default:stone"
,
"default:cobble"
},
{
"default:cobble"
,
"default:cobble"
,
"default:cobble"
},
}
})
minetest
.
register_craft
({
output
=
"moreblocks:stone_tile 4"
,
recipe
=
{
{
"default:cobble"
,
"default:cobble"
},
{
"default:cobble"
,
"default:cobble"
},
}
})
minetest
.
register_craft
({
output
=
"moreblocks:stone_tile 36"
,
recipe
=
{
{
"moreblocks:cobble_compressed"
,
"moreblocks:cobble_compressed"
},
{
"moreblocks:cobble_compressed"
,
"moreblocks:cobble_compressed"
},
}
})
-- Allow compressed cobbles to be smelt into stone/grind into gravel
minetest
.
register_craft
({
type
=
"cooking"
,
output
=
"default:stone 9"
,
recipe
=
"moreblocks:cobble_compressed"
,
cooktime
=
3
*
8
,
})
technic
.
register_grinder_recipe
({
input
=
{
"moreblocks:cobble_compressed"
},
time
=
3
*
8
,
output
=
"default:gravel 9"
})
-- Hide deprecated nodes from crafting recipies
local
nodes
=
{
"moreblocks:wood_tile_flipped"
,
"moreblocks:wood_tile_down"
,
"moreblocks:wood_tile_left"
,
"moreblocks:wood_tile_right"
,
}
for
_
,
name
in
ipairs
(
nodes
)
do
local
groups
=
table
.
copy
(
minetest
.
registered_nodes
[
name
].
groups
or
{})
groups
.
not_in_creative_inventory
=
1
groups
.
not_in_craft_guide
=
1
minetest
.
override_item
(
name
,
{
groups
=
groups
})
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jan 23 2026, 4:11 PM (5 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1f/94/77762f9f75303f09d047d7e118d9
Default Alt Text
init.lua (1 KB)
Attached To
Mode
rTWIMODS Survival Server Custom Modifications
Attached
Detach File
Event Timeline
Log In to Comment