little_fixes
This commit is contained in:
parent
92b6efc971
commit
c33cc778f1
2 changed files with 10 additions and 9 deletions
6
minetest_mm.lua
Normal file
6
minetest_mm.lua
Normal file
|
@ -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.")
|
||||||
|
|
|
@ -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://github.com/mt-mods/home_workshop_modpack.git
|
||||||
git clone --recurse-submodules --branch master https://git.bananach.space/basic_trains.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*)
|
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 "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"
|
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
|
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
|
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
|
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
|
rm -f cloud_items/car.lua
|
||||||
|
|
||||||
#update skins-db
|
echo "Updating skins-db"
|
||||||
cd skinsdb/updater
|
cd skinsdb/updater
|
||||||
python3 update_skins.py
|
python3 update_skins.py
|
||||||
|
|
Loading…
Reference in a new issue