Skip to content

Commit

Permalink
fix missing materials found with test chatcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
wsor4035 committed May 25, 2024
1 parent 010ab18 commit 006f526
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ minetest.register_chatcommand("xcompat_test_materials", {
end
end
end

minetest.chat_send_player(name, "Materials test complete")
end
})
8 changes: 7 additions & 1 deletion src/materials/farlands_reloaded.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ local materials = {
silver_ingot = "fl_ores:iron_ingot",
silicon = "mesecons_materials:silicon",
string = "fl_plantlife:oxeye_daisy",
paper = "basic_materials:plastic_sheet",
paper = "",
book = "",
iron_lump = "fl_ores:iron_ore",
wool_grey = "",
wool_green = "",
Expand All @@ -61,6 +62,7 @@ local materials = {
chest = "fl_storage:wood_chest",
cobble = "fl_stone:stone_rubble",
brick = "",
obsidian_glass = "",
water_source = "fl_liquids:water_source",
water_flowing = "fl_liquids:water_flowing",
dirt = "fl_stone:dirt",
Expand All @@ -75,4 +77,8 @@ local materials = {
bowl = "",
}

if minetest.get_modpath("basic_materials") then
materials.paper = "basic_materials:plastic_sheet"
end

return materials
1 change: 1 addition & 0 deletions src/materials/mineclonia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ local materials = {
chest = "mcl_chests:chest",
cobble = "mcl_core:cobble",
brick = "mcl_core:brick",
obsidian_glass = "",
water_source = "mcl_core:water_source",
water_flowing = "mcl_core:water_flowing",
dirt = "mcl_core:dirt",
Expand Down

0 comments on commit 006f526

Please sign in to comment.