use basic_materials mod where possible
This commit is contained in:
parent
1196565fbb
commit
f88f471423
25
crafts.lua
25
crafts.lua
@ -41,31 +41,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "gloopblocks:wet_cement",
|
|
||||||
recipe = {
|
|
||||||
"bucket:bucket_water",
|
|
||||||
"default:gravel",
|
|
||||||
},
|
|
||||||
replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'},},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "cooking",
|
|
||||||
output = "gloopblocks:cement",
|
|
||||||
recipe = "gloopblocks:wet_cement",
|
|
||||||
cooktime = 8
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "default:gravel",
|
|
||||||
recipe = {
|
|
||||||
{"gloopblocks:cement"},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
if minetest.get_modpath("glooptest") then
|
if minetest.get_modpath("glooptest") then
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
default
|
default
|
||||||
|
basic_materials
|
||||||
moreblocks?
|
moreblocks?
|
||||||
stairs?
|
stairs?
|
||||||
glooptest?
|
glooptest?
|
||||||
|
45
init.lua
45
init.lua
@ -45,14 +45,6 @@ if not minetest.setting_getbool("pbj_pup_alias_nyancat") then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("gloopblocks:cement", {
|
|
||||||
description = S("Cement"),
|
|
||||||
tiles = {"gloopblocks_cement.png"},
|
|
||||||
is_ground_content = true,
|
|
||||||
groups = {cracky=2},
|
|
||||||
sounds = default.node_sound_stone_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("gloopblocks:evil_block", {
|
minetest.register_node("gloopblocks:evil_block", {
|
||||||
description = S("Evil Block"),
|
description = S("Evil Block"),
|
||||||
tiles = {"gloopblocks_evil_block.png"},
|
tiles = {"gloopblocks_evil_block.png"},
|
||||||
@ -360,35 +352,7 @@ if minetest.setting_getbool("gloopblocks_mossy_conversion") ~= false then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--[[
|
|
||||||
if minetest.get_modpath("xdecor") then
|
|
||||||
xdecor.worktable_nodes.gloopblocks = {
|
|
||||||
"oerkki_block", "stone_brick_mossy", "stone_mossy", "cobble_road",
|
|
||||||
"cobble_road_mossy", "cement", "pavement","rainbow_block",
|
|
||||||
"evil_block", "basalt", "pumice"
|
|
||||||
}
|
|
||||||
|
|
||||||
if minetest.setting_getbool("gloopblocks_mossy_conversion") then
|
|
||||||
local subnames = {
|
|
||||||
"", "_nanoslab", "_micropanel", "_microslab", "_thinstair", "_cube",
|
|
||||||
"_panel", "_slab", "_doublepanel", "_halfstair", "_outerstair",
|
|
||||||
"_stair", "_innerstair"
|
|
||||||
}
|
|
||||||
for _, subname in ipairs(subnames) do
|
|
||||||
gloopblocks_register_mossy_conversion({
|
|
||||||
-- Cobble --> Mossy Cobble
|
|
||||||
{ "default:cobble"..subname, "default:mossycobble"..subname },
|
|
||||||
-- Cobble Road --> Mossy Cobble Road
|
|
||||||
{ "gloopblocks:cobble_road"..subname, "gloopblocks:cobble_road_mossy"..subname },
|
|
||||||
-- Stone Brick --> Stone Brick Mossy
|
|
||||||
{ "default:stonebrick"..subname, "gloopblocks:stone_brick_mossy"..subname},
|
|
||||||
-- Stone --> Mossy Stone
|
|
||||||
{ "default:stone"..subname, "gloopblocks:stone_mossy"..subname}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
--]]
|
|
||||||
if minetest.get_modpath("moreblocks") then
|
if minetest.get_modpath("moreblocks") then
|
||||||
|
|
||||||
stairsplus:register_all("gloopblocks", "oerkki_block", "gloopblocks:oerkki_block", {
|
stairsplus:register_all("gloopblocks", "oerkki_block", "gloopblocks:oerkki_block", {
|
||||||
@ -438,9 +402,9 @@ if minetest.get_modpath("moreblocks") then
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
stairsplus:register_all("gloopblocks", "cement", "gloopblocks:cement", {
|
stairsplus:register_all("gloopblocks", "cement", "basic_materials:cement_block", {
|
||||||
description = S("Cement"),
|
description = S("Cement"),
|
||||||
tiles = {"gloopblocks_cement.png"},
|
tiles = {"basic_materials_cement_block.png"},
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -826,11 +790,6 @@ minetest.register_tool("gloopblocks:sword_evil", {
|
|||||||
|
|
||||||
-- Other items
|
-- Other items
|
||||||
|
|
||||||
minetest.register_craftitem("gloopblocks:wet_cement", {
|
|
||||||
description = S("Wet Cement"),
|
|
||||||
inventory_image = "gloopblocks_wet_cement.png",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("gloopblocks:evil_stick", {
|
minetest.register_craftitem("gloopblocks:evil_stick", {
|
||||||
description = S("Evil Stick"),
|
description = S("Evil Stick"),
|
||||||
inventory_image = "gloopblocks_evil_stick.png",
|
inventory_image = "gloopblocks_evil_stick.png",
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 344 B |
Binary file not shown.
Before Width: | Height: | Size: 366 B |
Loading…
x
Reference in New Issue
Block a user