From c33cc778f19757ef06218d67967e336b62aa967c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Dec 2024 22:59:49 +0100 Subject: [PATCH] little_fixes --- minetest_mm.lua | 6 ++++++ mods-download | 13 ++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 minetest_mm.lua diff --git a/minetest_mm.lua b/minetest_mm.lua new file mode 100644 index 00000000..0a4dd067 --- /dev/null +++ b/minetest_mm.lua @@ -0,0 +1,6 @@ +minetest.register_alias("stairs:stair_black", "bakedclay:stair_baked_clay_black") +minetest.log("action", "[minetest_mm] Alias stairs:stair_black -> bakedclay:stair_baked_clay_black registered.") + +minetest.register_alias("stairs:slab_apple_tree_planks", "moretrees:slab_apple_tree_planks") +minetest.log("action", "[minetest_mm] Alias stairs:slab_apple_tree_planks -> moretrees:slab_apple_tree_planks registered.") + diff --git a/mods-download b/mods-download index 3b15e538..51547296 100755 --- a/mods-download +++ b/mods-download @@ -138,25 +138,20 @@ git clone --recurse-submodules --branch master https://cheapiesystems.com/git/ma git clone --recurse-submodules --branch master https://github.com/mt-mods/home_workshop_modpack.git git clone --recurse-submodules --branch master https://git.bananach.space/basic_trains.git -#Clean git stuff +echo "Cleaning some git stuff" rm -rf $(find . -name .git*) -#Make some fixes -#1 -if [[ $(grep -R "run_at_every_load = false" homedecor_modpack/homedecor_kitchen/init.lua | wc -l) = 1 ]] -then echo "Applying fix for unknown kitchen_cabinet blocks: https://git.my-web.xyz/milan/minetest-mm/issues/34" echo "This fix can be removed after some time" sed -i 's/run_at_every_load = false,/run_at_every_load = true,/' homedecor_modpack/homedecor_kitchen/init.lua -fi -#2 +echo "Disabling plasticbox homedecor dependency" sed -i 's/homedecor/homedecor?/' plasticbox/depends.txt -#3 +echo "Removing bugged cloud_car" sed -i 's/loadfile(minetest.get_modpath(minetest.get_current_modname()) .. "\/car.lua")(table.copy(car_def))//' cloud_items/init.lua rm -f cloud_items/car.lua -#update skins-db +echo "Updating skins-db" cd skinsdb/updater python3 update_skins.py