nonfunctional checkpoint

This commit is contained in:
flux
2022-06-11 18:17:41 -07:00
parent dce587cf33
commit c5ddb5f2d4
109 changed files with 2088 additions and 2153 deletions

View 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
View 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
View 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
View 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