mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-12 21:10:24 +02:00
nonfunctional checkpoint
This commit is contained in:
54
resources/craft_materials.lua
Normal file
54
resources/craft_materials.lua
Normal file
@ -0,0 +1,54 @@
|
||||
moreblocks.resources.craft_materials = {}
|
||||
|
||||
if moreblocks.has.bucket then
|
||||
table.insert_all(moreblocks.resources.craft_materials, {
|
||||
bucket_empty = "bucket:bucket_empty",
|
||||
})
|
||||
end
|
||||
|
||||
if moreblocks.has.default then
|
||||
table.insert_all(moreblocks.resources.craft_materials, {
|
||||
acacia_tree = "default:acacia_tree",
|
||||
aspen_tree = "default:aspen_tree",
|
||||
book = "default:book",
|
||||
bookshelf = "default:bookshelf",
|
||||
brick = "default:brick",
|
||||
bronze_ingot = "default:bronze_ingot",
|
||||
cactus = "default:cactus",
|
||||
chest = "default:chest",
|
||||
chest_locked = "default:chest_locked",
|
||||
coal_lump = "default:coal_lump",
|
||||
cobble = "default:cobble",
|
||||
copper_block = "default:copperblock",
|
||||
copper_ingot = "default:copper_ingot",
|
||||
desert_cobble = "default:desert_cobble",
|
||||
desert_stone = "default:desert_stone",
|
||||
dirt = "default:dirt",
|
||||
dirt_with_grass = "default:dirt_with_grass",
|
||||
dry_shrub = "default:dry_shrub",
|
||||
glass = "default:glass",
|
||||
gold_ingot = "default:gold_ingot",
|
||||
jungle_grass = "default:junglegrass",
|
||||
jungle_tree = "default:jungletree",
|
||||
mossy_cobble = "default:mossycobble",
|
||||
obsidian = "default:obsidian",
|
||||
obsidian_glass = "default:obsidian_glass",
|
||||
pine_tree = "default:pine_tree",
|
||||
sandstone = "default:sandstone",
|
||||
steel_ingot = "default:steel_ingot",
|
||||
stick = "default:stick",
|
||||
stone_brick = "default:stonebrick",
|
||||
stone = "default:stone",
|
||||
torch = "default:torch",
|
||||
trap_material = "default:mese_crystal_fragment",
|
||||
tree = "default:tree",
|
||||
wood = "default:wood",
|
||||
})
|
||||
end
|
||||
|
||||
if moreblocks.has.vessels then
|
||||
table.insert_all(moreblocks.resources.craft_materials, {
|
||||
glass_bottle = "vessels:glass_bottle",
|
||||
vessels_shelf = "vessels:shelf",
|
||||
})
|
||||
end
|
5
resources/init.lua
Normal file
5
resources/init.lua
Normal file
@ -0,0 +1,5 @@
|
||||
moreblocks.resources = {}
|
||||
|
||||
moreblocks.dofile("resources", "craft_materials")
|
||||
moreblocks.dofile("resources", "sounds")
|
||||
moreblocks.dofile("resources", "textures")
|
19
resources/sounds.lua
Normal file
19
resources/sounds.lua
Normal file
@ -0,0 +1,19 @@
|
||||
--[[
|
||||
More Blocks: sound definitions
|
||||
|
||||
Copyright © 2011-2021 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
moreblocks.resources.sounds = {}
|
||||
|
||||
if moreblocks.has.default then
|
||||
table.insert_all(moreblocks.resources.sounds, {
|
||||
dirt = default.node_sound_dirt_defaults(),
|
||||
glass = default.node_sound_glass_defaults(),
|
||||
leaves = default.node_sound_leaves_defaults(),
|
||||
metal = default.node_sound_metal_defaults(),
|
||||
stone = default.node_sound_stone_defaults(),
|
||||
wood = default.node_sound_wood_defaults(),
|
||||
})
|
||||
end
|
16
resources/textures.lua
Normal file
16
resources/textures.lua
Normal file
@ -0,0 +1,16 @@
|
||||
moreblocks.resources.textures = {}
|
||||
|
||||
if moreblocks.has.default then
|
||||
table.insert_all(moreblocks.resources.textures, {
|
||||
wood = "default_wood.png",
|
||||
glass = "default_glass.png",
|
||||
glass_detail = "default_glass_detail.png",
|
||||
stone = "default_stone.png",
|
||||
desert_stone = "default_desert_stone.png",
|
||||
obsidian_glass = "default_obsidian_glass.png",
|
||||
obsidian_glass_detail = "default_obsidian_glass_detail.png",
|
||||
obsidian = "default_obsidian.png",
|
||||
sandstone = "default_sandstone.png",
|
||||
|
||||
})
|
||||
end
|
Reference in New Issue
Block a user